acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX...
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
43 do
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
48 fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
95 fi
96 rm -f conf$$.sh
97 fi
98
99
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117 ;;
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
123 fi
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
127 fi
128 case $CONFIG_SHELL in
129 '')
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
137 /*)
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
153 ;;
154 esac
155
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
166 N
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
177
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
210 fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS=" $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE 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:4:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1407 fi
1408 else
1409 multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413 ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1444 fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1545
1546 else
1547 GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1592 *)
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1602 :
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1606 :
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1610 fi
1611 fi
1612 done
1613 done
1614 ;;
1615 esac
1616 done
1617
1618
1619 fi
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1628 fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1656 fi
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1670 fi
1671
1672 test "$2" = conftest.file
1673 )
1674 then
1675 # Ok.
1676 :
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1734 do
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1742 fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1767 fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782 test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1837 fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1890 fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1928 fi
1929 done
1930 done
1931
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1967
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1971
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1973
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1983
1984
1985
1986
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1989
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1993
1994 fi;
1995
1996
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2000
2001 fi;
2002
2003
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2007
2008 fi;
2009
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2017 #
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2023 #
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2026
2027
2028
2029
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2058 fi
2059 done
2060 done
2061
2062 fi
2063 fi
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073 fi
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2096 fi
2097 done
2098 done
2099
2100 fi
2101 fi
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2109 fi
2110
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2114 fi
2115
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2138 fi
2139 done
2140 done
2141
2142 fi
2143 fi
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2151 fi
2152
2153 fi
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2168 do
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2176 fi
2177 done
2178 done
2179
2180 fi
2181 fi
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2189 fi
2190
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2194 fi
2195
2196 fi
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2211 do
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2219 fi
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2223 fi
2224 done
2225 done
2226
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2237 fi
2238 fi
2239 fi
2240 fi
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2248 fi
2249
2250 fi
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2254 do
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2267 do
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2275 fi
2276 done
2277 done
2278
2279 fi
2280 fi
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2288 fi
2289
2290 test -n "$CC" && break
2291 done
2292 fi
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2296 do
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2317 fi
2318 done
2319 done
2320
2321 fi
2322 fi
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2330 fi
2331
2332 test -n "$ac_ct_CC" && break
2333 done
2334
2335 CC=$ac_ct_CC
2336 fi
2337
2338 fi
2339
2340
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2346
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373
2374 int
2375 main ()
2376 {
2377
2378 ;
2379 return 0;
2380 }
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2391 fi
2392
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2406
2407 int
2408 main ()
2409 {
2410
2411 ;
2412 return 0;
2413 }
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2431
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2437 do
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2441 ;;
2442 conftest.$ac_ext )
2443 # This is the source file.
2444 ;;
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2456 * )
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2463
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2469 fi
2470
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2474
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2500 fi
2501 fi
2502 fi
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2505
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2514
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2542 fi
2543
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2547
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2551 fi
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2563
2564 int
2565 main ()
2566 {
2567
2568 ;
2569 return 0;
2570 }
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2594 fi
2595
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 fi
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2613
2614 int
2615 main ()
2616 {
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2620
2621 ;
2622 return 0;
2623 }
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2651
2652 ac_compiler_gnu=no
2653 fi
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2656
2657 fi
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2675
2676 int
2677 main ()
2678 {
2679
2680 ;
2681 return 0;
2682 }
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 ac_cv_prog_cc_g=no
2712 fi
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2714 fi
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2724 fi
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2730 fi
2731 fi
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2755 {
2756 return p[i];
2757 }
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2759 {
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2766 }
2767
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2776
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2783 int
2784 main ()
2785 {
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2787 ;
2788 return 0;
2789 }
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2799 do
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2828
2829 fi
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2834
2835 fi
2836
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2841 *)
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2846
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2885 do
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2894 int
2895 main ()
2896 {
2897 exit (42);
2898 ;
2899 return 0;
2900 }
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2924 :
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2928
2929 continue
2930 fi
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2939 int
2940 main ()
2941 {
2942 exit (42);
2943 ;
2944 return 0;
2945 }
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2973
2974 fi
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2982 fi
2983
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2987
2988 fi
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3003 do
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3016 do
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3024 fi
3025 done
3026 done
3027
3028 fi
3029 fi
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3037 fi
3038
3039 test -n "$CXX" && break
3040 done
3041 fi
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3045 do
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3058 do
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3066 fi
3067 done
3068 done
3069
3070 fi
3071 fi
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3084
3085 CXX=$ac_ct_CXX
3086 fi
3087
3088
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3108
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3120
3121 int
3122 main ()
3123 {
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3127
3128 ;
3129 return 0;
3130 }
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3158
3159 ac_compiler_gnu=no
3160 fi
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3163
3164 fi
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3182
3183 int
3184 main ()
3185 {
3186
3187 ;
3188 return 0;
3189 }
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218 ac_cv_prog_cxx_g=no
3219 fi
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3231 fi
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3237 fi
3238 fi
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3246 do
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3255 int
3256 main ()
3257 {
3258 exit (42);
3259 ;
3260 return 0;
3261 }
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3285 :
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3289
3290 continue
3291 fi
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3300 int
3301 main ()
3302 {
3303 exit (42);
3304 ;
3305 return 0;
3306 }
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3334
3335 fi
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3343 fi
3344
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3350
3351 CXXFLAGS="$save_CXXFLAGS"
3352
3353
3354
3355
3356 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3357 # available). Uncomment the next line to force a particular method.
3358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3360 LN_S=$as_ln_s
3361 if test "$LN_S" = "ln -s"; then
3362 echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 else
3365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3366 echo "${ECHO_T}no, using $LN_S" >&6
3367 fi
3368
3369 #LN_S='cp -p'
3370
3371 if test -n "$ac_tool_prefix"; then
3372 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3373 set dummy ${ac_tool_prefix}as; ac_word=$2
3374 echo "$as_me:$LINENO: checking for $ac_word" >&5
3375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3376 if test "${ac_cv_prog_AS+set}" = set; then
3377 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 else
3379 if test -n "$AS"; then
3380 ac_cv_prog_AS="$AS" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385 IFS=$as_save_IFS
3386 test -z "$as_dir" && as_dir=.
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_AS="${ac_tool_prefix}as"
3390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391 break 2
3392 fi
3393 done
3394 done
3395
3396 fi
3397 fi
3398 AS=$ac_cv_prog_AS
3399 if test -n "$AS"; then
3400 echo "$as_me:$LINENO: result: $AS" >&5
3401 echo "${ECHO_T}$AS" >&6
3402 else
3403 echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3405 fi
3406
3407 fi
3408 if test -z "$ac_cv_prog_AS"; then
3409 ac_ct_AS=$AS
3410 # Extract the first word of "as", so it can be a program name with args.
3411 set dummy as; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417 if test -n "$ac_ct_AS"; then
3418 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_ac_ct_AS="as"
3428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3430 fi
3431 done
3432 done
3433
3434 fi
3435 fi
3436 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3437 if test -n "$ac_ct_AS"; then
3438 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3439 echo "${ECHO_T}$ac_ct_AS" >&6
3440 else
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 fi
3444
3445 AS=$ac_ct_AS
3446 else
3447 AS="$ac_cv_prog_AS"
3448 fi
3449
3450 if test -n "$ac_tool_prefix"; then
3451 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ar; ac_word=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_AR+set}" = set; then
3456 echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458 if test -n "$AR"; then
3459 ac_cv_prog_AR="$AR" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3463 do
3464 IFS=$as_save_IFS
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_AR="${ac_tool_prefix}ar"
3469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470 break 2
3471 fi
3472 done
3473 done
3474
3475 fi
3476 fi
3477 AR=$ac_cv_prog_AR
3478 if test -n "$AR"; then
3479 echo "$as_me:$LINENO: result: $AR" >&5
3480 echo "${ECHO_T}$AR" >&6
3481 else
3482 echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486 fi
3487 if test -z "$ac_cv_prog_AR"; then
3488 ac_ct_AR=$AR
3489 # Extract the first word of "ar", so it can be a program name with args.
3490 set dummy ar; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3494 echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496 if test -n "$ac_ct_AR"; then
3497 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3501 do
3502 IFS=$as_save_IFS
3503 test -z "$as_dir" && as_dir=.
3504 for ac_exec_ext in '' $ac_executable_extensions; do
3505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506 ac_cv_prog_ac_ct_AR="ar"
3507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508 break 2
3509 fi
3510 done
3511 done
3512
3513 fi
3514 fi
3515 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3516 if test -n "$ac_ct_AR"; then
3517 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3518 echo "${ECHO_T}$ac_ct_AR" >&6
3519 else
3520 echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3522 fi
3523
3524 AR=$ac_ct_AR
3525 else
3526 AR="$ac_cv_prog_AR"
3527 fi
3528
3529 if test -n "$ac_tool_prefix"; then
3530 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_RANLIB+set}" = set; then
3535 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537 if test -n "$RANLIB"; then
3538 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3539 else
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 for as_dir in $PATH
3542 do
3543 IFS=$as_save_IFS
3544 test -z "$as_dir" && as_dir=.
3545 for ac_exec_ext in '' $ac_executable_extensions; do
3546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 break 2
3550 fi
3551 done
3552 done
3553
3554 fi
3555 fi
3556 RANLIB=$ac_cv_prog_RANLIB
3557 if test -n "$RANLIB"; then
3558 echo "$as_me:$LINENO: result: $RANLIB" >&5
3559 echo "${ECHO_T}$RANLIB" >&6
3560 else
3561 echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565 fi
3566 if test -z "$ac_cv_prog_RANLIB"; then
3567 ac_ct_RANLIB=$RANLIB
3568 # Extract the first word of "ranlib", so it can be a program name with args.
3569 set dummy ranlib; ac_word=$2
3570 echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3572 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575 if test -n "$ac_ct_RANLIB"; then
3576 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3580 do
3581 IFS=$as_save_IFS
3582 test -z "$as_dir" && as_dir=.
3583 for ac_exec_ext in '' $ac_executable_extensions; do
3584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585 ac_cv_prog_ac_ct_RANLIB="ranlib"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 break 2
3588 fi
3589 done
3590 done
3591
3592 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3593 fi
3594 fi
3595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3596 if test -n "$ac_ct_RANLIB"; then
3597 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3598 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3599 else
3600 echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3602 fi
3603
3604 RANLIB=$ac_ct_RANLIB
3605 else
3606 RANLIB="$ac_cv_prog_RANLIB"
3607 fi
3608
3609
3610 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3611 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3612 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3613 if test "${enable_maintainer_mode+set}" = set; then
3614 enableval="$enable_maintainer_mode"
3615 USE_MAINTAINER_MODE=$enableval
3616 else
3617 USE_MAINTAINER_MODE=no
3618 fi;
3619 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3620 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3621
3622
3623 if test $USE_MAINTAINER_MODE = yes; then
3624 MAINTAINER_MODE_TRUE=
3625 MAINTAINER_MODE_FALSE='#'
3626 else
3627 MAINTAINER_MODE_TRUE='#'
3628 MAINTAINER_MODE_FALSE=
3629 fi
3630
3631 MAINT=$MAINTAINER_MODE_TRUE
3632
3633
3634
3635 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3636 # which are themselves conditionally expanded.
3637 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3638 ## other macros from doing the same. This should be automated.) -pme
3639 need_libmath=no
3640
3641 # Find platform-specific directories containing configuration info.
3642 # Also possibly modify flags used elsewhere, as needed by the platform.
3643
3644 . $glibcxx_srcdir/configure.host
3645 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3649
3650
3651
3652
3653 # Check whether --enable-shared or --disable-shared was given.
3654 if test "${enable_shared+set}" = set; then
3655 enableval="$enable_shared"
3656 p=${PACKAGE-default}
3657 case $enableval in
3658 yes) enable_shared=yes ;;
3659 no) enable_shared=no ;;
3660 *)
3661 enable_shared=no
3662 # Look at the argument we got. We use all the common list separators.
3663 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3664 for pkg in $enableval; do
3665 if test "X$pkg" = "X$p"; then
3666 enable_shared=yes
3667 fi
3668 done
3669 IFS="$ac_save_ifs"
3670 ;;
3671 esac
3672 else
3673 enable_shared=yes
3674 fi;
3675 # Check whether --enable-static or --disable-static was given.
3676 if test "${enable_static+set}" = set; then
3677 enableval="$enable_static"
3678 p=${PACKAGE-default}
3679 case $enableval in
3680 yes) enable_static=yes ;;
3681 no) enable_static=no ;;
3682 *)
3683 enable_static=no
3684 # Look at the argument we got. We use all the common list separators.
3685 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3686 for pkg in $enableval; do
3687 if test "X$pkg" = "X$p"; then
3688 enable_static=yes
3689 fi
3690 done
3691 IFS="$ac_save_ifs"
3692 ;;
3693 esac
3694 else
3695 enable_static=yes
3696 fi;
3697 # Check whether --enable-fast-install or --disable-fast-install was given.
3698 if test "${enable_fast_install+set}" = set; then
3699 enableval="$enable_fast_install"
3700 p=${PACKAGE-default}
3701 case $enableval in
3702 yes) enable_fast_install=yes ;;
3703 no) enable_fast_install=no ;;
3704 *)
3705 enable_fast_install=no
3706 # Look at the argument we got. We use all the common list separators.
3707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3708 for pkg in $enableval; do
3709 if test "X$pkg" = "X$p"; then
3710 enable_fast_install=yes
3711 fi
3712 done
3713 IFS="$ac_save_ifs"
3714 ;;
3715 esac
3716 else
3717 enable_fast_install=yes
3718 fi;
3719
3720 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3721 if test "${with_gnu_ld+set}" = set; then
3722 withval="$with_gnu_ld"
3723 test "$withval" = no || with_gnu_ld=yes
3724 else
3725 with_gnu_ld=no
3726 fi;
3727 ac_prog=ld
3728 if test "$GCC" = yes; then
3729 # Check if gcc -print-prog-name=ld gives a path.
3730 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3731 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3732 case $host in
3733 *-*-mingw*)
3734 # gcc leaves a trailing carriage return which upsets mingw
3735 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3736 *)
3737 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3738 esac
3739 case $ac_prog in
3740 # Accept absolute paths.
3741 [\\/]* | [A-Za-z]:[\\/]*)
3742 re_direlt='/[^/][^/]*/\.\./'
3743 # Canonicalize the path of ld
3744 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3745 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3746 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3747 done
3748 test -z "$LD" && LD="$ac_prog"
3749 ;;
3750 "")
3751 # If it fails, then pretend we aren't using GCC.
3752 ac_prog=ld
3753 ;;
3754 *)
3755 # If it is relative, then search for the first ld in PATH.
3756 with_gnu_ld=unknown
3757 ;;
3758 esac
3759 elif test "$with_gnu_ld" = yes; then
3760 echo "$as_me:$LINENO: checking for GNU ld" >&5
3761 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3762 else
3763 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3764 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3765 fi
3766 if test "${lt_cv_path_LD+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 else
3769 if test -z "$LD"; then
3770 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3771 for ac_dir in $PATH; do
3772 test -z "$ac_dir" && ac_dir=.
3773 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3774 lt_cv_path_LD="$ac_dir/$ac_prog"
3775 # Check to see if the program is GNU ld. I'd rather use --version,
3776 # but apparently some GNU ld's only accept -v.
3777 # Break only if it was the GNU/non-GNU ld that we prefer.
3778 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3779 test "$with_gnu_ld" != no && break
3780 else
3781 test "$with_gnu_ld" != yes && break
3782 fi
3783 fi
3784 done
3785 IFS="$ac_save_ifs"
3786 else
3787 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3788 fi
3789 fi
3790
3791 LD="$lt_cv_path_LD"
3792 if test -n "$LD"; then
3793 echo "$as_me:$LINENO: result: $LD" >&5
3794 echo "${ECHO_T}$LD" >&6
3795 else
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3798 fi
3799 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3800 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3801 { (exit 1); exit 1; }; }
3802 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3803 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3804 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 else
3807 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3808 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3809 lt_cv_prog_gnu_ld=yes
3810 else
3811 lt_cv_prog_gnu_ld=no
3812 fi
3813 fi
3814 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3815 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3816 with_gnu_ld=$lt_cv_prog_gnu_ld
3817
3818
3819 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3820 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3821 if test "${lt_cv_ld_reload_flag+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 else
3824 lt_cv_ld_reload_flag='-r'
3825 fi
3826 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3827 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3828 reload_flag=$lt_cv_ld_reload_flag
3829 test -n "$reload_flag" && reload_flag=" $reload_flag"
3830
3831 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3832 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3833 if test "${lt_cv_path_NM+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3835 else
3836 if test -n "$NM"; then
3837 # Let the user override the test.
3838 lt_cv_path_NM="$NM"
3839 else
3840 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3841 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3842 test -z "$ac_dir" && ac_dir=.
3843 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3844 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3845 # Check to see if the nm accepts a BSD-compat flag.
3846 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3847 # nm: unknown option "B" ignored
3848 # Tru64's nm complains that /dev/null is an invalid object file
3849 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3850 lt_cv_path_NM="$tmp_nm -B"
3851 break
3852 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3853 lt_cv_path_NM="$tmp_nm -p"
3854 break
3855 else
3856 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3857 continue # so that we can try to find one that supports BSD flags
3858 fi
3859 fi
3860 done
3861 IFS="$ac_save_ifs"
3862 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3863 fi
3864 fi
3865
3866 NM="$lt_cv_path_NM"
3867 echo "$as_me:$LINENO: result: $NM" >&5
3868 echo "${ECHO_T}$NM" >&6
3869
3870 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3871 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3872 if test "${lt_cv_deplibs_check_method+set}" = set; then
3873 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 else
3875 lt_cv_file_magic_cmd='$MAGIC_CMD'
3876 lt_cv_file_magic_test_file=
3877 lt_cv_deplibs_check_method='unknown'
3878 # Need to set the preceding variable on all platforms that support
3879 # interlibrary dependencies.
3880 # 'none' -- dependencies not supported.
3881 # `unknown' -- same as none, but documents that we really don't know.
3882 # 'pass_all' -- all dependencies passed with no checks.
3883 # 'test_compile' -- check by making test program.
3884 # 'file_magic [regex]' -- check by looking for files in library path
3885 # which responds to the $file_magic_cmd with a given egrep regex.
3886 # If you have `file' or equivalent on your system and you're not sure
3887 # whether `pass_all' will *always* work, you probably want this one.
3888
3889 case $host_os in
3890 aix*)
3891 lt_cv_deplibs_check_method=pass_all
3892 ;;
3893
3894 beos*)
3895 lt_cv_deplibs_check_method=pass_all
3896 ;;
3897
3898 bsdi4*)
3899 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3900 lt_cv_file_magic_cmd='/usr/bin/file -L'
3901 lt_cv_file_magic_test_file=/shlib/libc.so
3902 ;;
3903
3904 cygwin* | mingw* |pw32*)
3905 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3906 lt_cv_file_magic_cmd='$OBJDUMP -f'
3907 ;;
3908
3909 darwin* | rhapsody*)
3910 # this will be overwritten by pass_all, but leave it in just in case
3911 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3912 lt_cv_file_magic_cmd='/usr/bin/file -L'
3913 case "$host_os" in
3914 rhapsody* | darwin1.012)
3915 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3916 ;;
3917 *) # Darwin 1.3 on
3918 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3919 ;;
3920 esac
3921 lt_cv_deplibs_check_method=pass_all
3922 ;;
3923
3924 freebsd* | kfreebsd*-gnu)
3925 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3926 case $host_cpu in
3927 i*86 )
3928 # Not sure whether the presence of OpenBSD here was a mistake.
3929 # Let's accept both of them until this is cleared up.
3930 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3931 lt_cv_file_magic_cmd=/usr/bin/file
3932 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3933 ;;
3934 esac
3935 else
3936 lt_cv_deplibs_check_method=pass_all
3937 fi
3938 ;;
3939
3940 gnu*)
3941 lt_cv_deplibs_check_method=pass_all
3942 ;;
3943
3944 hpux10.20*|hpux11*)
3945 case $host_cpu in
3946 hppa*)
3947 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3948 lt_cv_file_magic_cmd=/usr/bin/file
3949 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3950 ;;
3951 ia64*)
3952 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3953 lt_cv_file_magic_cmd=/usr/bin/file
3954 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3955 ;;
3956 esac
3957 ;;
3958
3959 irix5* | irix6*)
3960 case $host_os in
3961 irix5*)
3962 # this will be overridden with pass_all, but let us keep it just in case
3963 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3964 ;;
3965 *)
3966 case $LD in
3967 *-32|*"-32 ") libmagic=32-bit;;
3968 *-n32|*"-n32 ") libmagic=N32;;
3969 *-64|*"-64 ") libmagic=64-bit;;
3970 *) libmagic=never-match;;
3971 esac
3972 # this will be overridden with pass_all, but let us keep it just in case
3973 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3974 ;;
3975 esac
3976 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3977 lt_cv_deplibs_check_method=pass_all
3978 ;;
3979
3980 # This must be Linux ELF.
3981 linux-gnu*)
3982 lt_cv_deplibs_check_method=pass_all
3983 ;;
3984
3985 netbsd* | knetbsd*-gnu)
3986 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3987 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3988 else
3989 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3990 fi
3991 ;;
3992
3993 newsos6)
3994 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3995 lt_cv_file_magic_cmd=/usr/bin/file
3996 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3997 ;;
3998
3999 osf3* | osf4* | osf5*)
4000 # this will be overridden with pass_all, but let us keep it just in case
4001 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4002 lt_cv_file_magic_test_file=/shlib/libc.so
4003 lt_cv_deplibs_check_method=pass_all
4004 ;;
4005
4006 sco3.2v5*)
4007 lt_cv_deplibs_check_method=pass_all
4008 ;;
4009
4010 solaris*)
4011 lt_cv_deplibs_check_method=pass_all
4012 lt_cv_file_magic_test_file=/lib/libc.so
4013 ;;
4014
4015 sysv5uw[78]* | sysv4*uw2*)
4016 lt_cv_deplibs_check_method=pass_all
4017 ;;
4018
4019 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4020 case $host_vendor in
4021 ncr)
4022 lt_cv_deplibs_check_method=pass_all
4023 ;;
4024 motorola)
4025 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]'
4026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4027 ;;
4028 esac
4029 ;;
4030 esac
4031
4032 fi
4033 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4034 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4035 file_magic_cmd=$lt_cv_file_magic_cmd
4036 deplibs_check_method=$lt_cv_deplibs_check_method
4037
4038
4039
4040
4041
4042 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4043
4044 # Only perform the check for file, if the check method requires it
4045 case $deplibs_check_method in
4046 file_magic*)
4047 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4048 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4049 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4052 else
4053 case $MAGIC_CMD in
4054 /*)
4055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4056 ;;
4057 ?:/*)
4058 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4059 ;;
4060 *)
4061 ac_save_MAGIC_CMD="$MAGIC_CMD"
4062 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4063 ac_dummy="/usr/bin:$PATH"
4064 for ac_dir in $ac_dummy; do
4065 test -z "$ac_dir" && ac_dir=.
4066 if test -f $ac_dir/${ac_tool_prefix}file; then
4067 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4068 if test -n "$file_magic_test_file"; then
4069 case $deplibs_check_method in
4070 "file_magic "*)
4071 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4073 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4074 egrep "$file_magic_regex" > /dev/null; then
4075 :
4076 else
4077 cat <<EOF 1>&2
4078
4079 *** Warning: the command libtool uses to detect shared libraries,
4080 *** $file_magic_cmd, produces output that libtool cannot recognize.
4081 *** The result is that libtool may fail to recognize shared libraries
4082 *** as such. This will affect the creation of libtool libraries that
4083 *** depend on shared libraries, but programs linked with such libtool
4084 *** libraries will work regardless of this problem. Nevertheless, you
4085 *** may want to report the problem to your system manager and/or to
4086 *** bug-libtool@gnu.org
4087
4088 EOF
4089 fi ;;
4090 esac
4091 fi
4092 break
4093 fi
4094 done
4095 IFS="$ac_save_ifs"
4096 MAGIC_CMD="$ac_save_MAGIC_CMD"
4097 ;;
4098 esac
4099 fi
4100
4101 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4102 if test -n "$MAGIC_CMD"; then
4103 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4104 echo "${ECHO_T}$MAGIC_CMD" >&6
4105 else
4106 echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6
4108 fi
4109
4110 if test -z "$lt_cv_path_MAGIC_CMD"; then
4111 if test -n "$ac_tool_prefix"; then
4112 echo "$as_me:$LINENO: checking for file" >&5
4113 echo $ECHO_N "checking for file... $ECHO_C" >&6
4114 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 else
4117 case $MAGIC_CMD in
4118 /*)
4119 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4120 ;;
4121 ?:/*)
4122 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4123 ;;
4124 *)
4125 ac_save_MAGIC_CMD="$MAGIC_CMD"
4126 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4127 ac_dummy="/usr/bin:$PATH"
4128 for ac_dir in $ac_dummy; do
4129 test -z "$ac_dir" && ac_dir=.
4130 if test -f $ac_dir/file; then
4131 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4132 if test -n "$file_magic_test_file"; then
4133 case $deplibs_check_method in
4134 "file_magic "*)
4135 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4136 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4137 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4138 egrep "$file_magic_regex" > /dev/null; then
4139 :
4140 else
4141 cat <<EOF 1>&2
4142
4143 *** Warning: the command libtool uses to detect shared libraries,
4144 *** $file_magic_cmd, produces output that libtool cannot recognize.
4145 *** The result is that libtool may fail to recognize shared libraries
4146 *** as such. This will affect the creation of libtool libraries that
4147 *** depend on shared libraries, but programs linked with such libtool
4148 *** libraries will work regardless of this problem. Nevertheless, you
4149 *** may want to report the problem to your system manager and/or to
4150 *** bug-libtool@gnu.org
4151
4152 EOF
4153 fi ;;
4154 esac
4155 fi
4156 break
4157 fi
4158 done
4159 IFS="$ac_save_ifs"
4160 MAGIC_CMD="$ac_save_MAGIC_CMD"
4161 ;;
4162 esac
4163 fi
4164
4165 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4166 if test -n "$MAGIC_CMD"; then
4167 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4168 echo "${ECHO_T}$MAGIC_CMD" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174 else
4175 MAGIC_CMD=:
4176 fi
4177 fi
4178
4179 fi
4180 ;;
4181 esac
4182
4183 if test -n "$ac_tool_prefix"; then
4184 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4185 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4186 echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4188 if test "${ac_cv_prog_RANLIB+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4190 else
4191 if test -n "$RANLIB"; then
4192 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4193 else
4194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4195 for as_dir in $PATH
4196 do
4197 IFS=$as_save_IFS
4198 test -z "$as_dir" && as_dir=.
4199 for ac_exec_ext in '' $ac_executable_extensions; do
4200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4201 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4203 break 2
4204 fi
4205 done
4206 done
4207
4208 fi
4209 fi
4210 RANLIB=$ac_cv_prog_RANLIB
4211 if test -n "$RANLIB"; then
4212 echo "$as_me:$LINENO: result: $RANLIB" >&5
4213 echo "${ECHO_T}$RANLIB" >&6
4214 else
4215 echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6
4217 fi
4218
4219 fi
4220 if test -z "$ac_cv_prog_RANLIB"; then
4221 ac_ct_RANLIB=$RANLIB
4222 # Extract the first word of "ranlib", so it can be a program name with args.
4223 set dummy ranlib; ac_word=$2
4224 echo "$as_me:$LINENO: checking for $ac_word" >&5
4225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4226 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4227 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 else
4229 if test -n "$ac_ct_RANLIB"; then
4230 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4231 else
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH
4234 do
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_ac_ct_RANLIB="ranlib"
4240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4242 fi
4243 done
4244 done
4245
4246 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4247 fi
4248 fi
4249 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4250 if test -n "$ac_ct_RANLIB"; then
4251 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4252 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258 RANLIB=$ac_ct_RANLIB
4259 else
4260 RANLIB="$ac_cv_prog_RANLIB"
4261 fi
4262
4263 if test -n "$ac_tool_prefix"; then
4264 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4265 set dummy ${ac_tool_prefix}strip; ac_word=$2
4266 echo "$as_me:$LINENO: checking for $ac_word" >&5
4267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4268 if test "${ac_cv_prog_STRIP+set}" = set; then
4269 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 else
4271 if test -n "$STRIP"; then
4272 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4273 else
4274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4275 for as_dir in $PATH
4276 do
4277 IFS=$as_save_IFS
4278 test -z "$as_dir" && as_dir=.
4279 for ac_exec_ext in '' $ac_executable_extensions; do
4280 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4281 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 break 2
4284 fi
4285 done
4286 done
4287
4288 fi
4289 fi
4290 STRIP=$ac_cv_prog_STRIP
4291 if test -n "$STRIP"; then
4292 echo "$as_me:$LINENO: result: $STRIP" >&5
4293 echo "${ECHO_T}$STRIP" >&6
4294 else
4295 echo "$as_me:$LINENO: result: no" >&5
4296 echo "${ECHO_T}no" >&6
4297 fi
4298
4299 fi
4300 if test -z "$ac_cv_prog_STRIP"; then
4301 ac_ct_STRIP=$STRIP
4302 # Extract the first word of "strip", so it can be a program name with args.
4303 set dummy strip; ac_word=$2
4304 echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4306 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 else
4309 if test -n "$ac_ct_STRIP"; then
4310 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4311 else
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4313 for as_dir in $PATH
4314 do
4315 IFS=$as_save_IFS
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4319 ac_cv_prog_ac_ct_STRIP="strip"
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 break 2
4322 fi
4323 done
4324 done
4325
4326 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4327 fi
4328 fi
4329 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4330 if test -n "$ac_ct_STRIP"; then
4331 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4332 echo "${ECHO_T}$ac_ct_STRIP" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338 STRIP=$ac_ct_STRIP
4339 else
4340 STRIP="$ac_cv_prog_STRIP"
4341 fi
4342
4343
4344 # Check for any special flags to pass to ltconfig.
4345 libtool_flags="--cache-file=$cache_file"
4346 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4347 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4348 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4349 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4350 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4351
4352
4353 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4354 if test "${enable_libtool_lock+set}" = set; then
4355 enableval="$enable_libtool_lock"
4356
4357 fi;
4358 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4359 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4360
4361
4362 # Check whether --with-pic or --without-pic was given.
4363 if test "${with_pic+set}" = set; then
4364 withval="$with_pic"
4365 pic_mode="$withval"
4366 else
4367 pic_mode=default
4368 fi;
4369 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4370 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4371
4372 # Some flags need to be propagated to the compiler or linker for good
4373 # libtool support.
4374 case $host in
4375 *-*-irix6*)
4376 # Find out which ABI we are using.
4377 echo '#line 4377 "configure"' > conftest.$ac_ext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>&5
4380 ac_status=$?
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; then
4383 if test "$lt_cv_prog_gnu_ld" = yes; then
4384 case `/usr/bin/file conftest.$ac_objext` in
4385 *32-bit*)
4386 LD="${LD-ld} -melf32bsmip"
4387 ;;
4388 *N32*)
4389 LD="${LD-ld} -melf32bmipn32"
4390 ;;
4391 *64-bit*)
4392 LD="${LD-ld} -melf64bmip"
4393 ;;
4394 esac
4395 else
4396 case `/usr/bin/file conftest.$ac_objext` in
4397 *32-bit*)
4398 LD="${LD-ld} -32"
4399 ;;
4400 *N32*)
4401 LD="${LD-ld} -n32"
4402 ;;
4403 *64-bit*)
4404 LD="${LD-ld} -64"
4405 ;;
4406 esac
4407 fi
4408 fi
4409 rm -rf conftest*
4410 ;;
4411
4412 ia64-*-hpux*)
4413 # Find out which ABI we are using.
4414 echo 'int i;' > conftest.$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4417 ac_status=$?
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 case "`/usr/bin/file conftest.o`" in
4421 *ELF-32*)
4422 HPUX_IA64_MODE="32"
4423 ;;
4424 *ELF-64*)
4425 HPUX_IA64_MODE="64"
4426 ;;
4427 esac
4428 fi
4429 rm -rf conftest*
4430 ;;
4431
4432 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4433 # Find out which ABI we are using.
4434 echo 'int i;' > conftest.$ac_ext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>&5
4437 ac_status=$?
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; then
4440 case "`/usr/bin/file conftest.o`" in
4441 *32-bit*)
4442 case $host in
4443 x86_64-*linux*)
4444 LD="${LD-ld} -m elf_i386"
4445 ;;
4446 ppc64-*linux*|powerpc64-*linux*)
4447 LD="${LD-ld} -m elf32ppclinux"
4448 ;;
4449 s390x-*linux*)
4450 LD="${LD-ld} -m elf_s390"
4451 ;;
4452 sparc64-*linux*)
4453 LD="${LD-ld} -m elf32_sparc"
4454 ;;
4455 esac
4456 ;;
4457 *64-bit*)
4458 case $host in
4459 x86_64-*linux*)
4460 LD="${LD-ld} -m elf_x86_64"
4461 ;;
4462 ppc*-*linux*|powerpc*-*linux*)
4463 LD="${LD-ld} -m elf64ppc"
4464 ;;
4465 s390*-*linux*)
4466 LD="${LD-ld} -m elf64_s390"
4467 ;;
4468 sparc*-*linux*)
4469 LD="${LD-ld} -m elf64_sparc"
4470 ;;
4471 esac
4472 ;;
4473 esac
4474 fi
4475 rm -rf conftest*
4476 ;;
4477
4478 *-*-sco3.2v5*)
4479 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4480 SAVE_CFLAGS="$CFLAGS"
4481 CFLAGS="$CFLAGS -belf"
4482 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4483 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4484 if test "${lt_cv_cc_needs_belf+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 else
4487
4488
4489 ac_ext=c
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4494
4495 if test x$gcc_no_link = xyes; then
4496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4498 { (exit 1); exit 1; }; }
4499 fi
4500 cat >conftest.$ac_ext <<_ACEOF
4501 /* confdefs.h. */
4502 _ACEOF
4503 cat confdefs.h >>conftest.$ac_ext
4504 cat >>conftest.$ac_ext <<_ACEOF
4505 /* end confdefs.h. */
4506
4507 int
4508 main ()
4509 {
4510
4511 ;
4512 return 0;
4513 }
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4517 (eval $ac_link) 2>conftest.er1
4518 ac_status=$?
4519 grep -v '^ *+' conftest.er1 >conftest.err
4520 rm -f conftest.er1
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } &&
4524 { ac_try='test -z "$ac_c_werror_flag"
4525 || test ! -s conftest.err'
4526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 (eval $ac_try) 2>&5
4528 ac_status=$?
4529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4530 (exit $ac_status); }; } &&
4531 { ac_try='test -s conftest$ac_exeext'
4532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 (eval $ac_try) 2>&5
4534 ac_status=$?
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); }; }; then
4537 lt_cv_cc_needs_belf=yes
4538 else
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4541
4542 lt_cv_cc_needs_belf=no
4543 fi
4544 rm -f conftest.err conftest.$ac_objext \
4545 conftest$ac_exeext conftest.$ac_ext
4546 ac_ext=c
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4551
4552 fi
4553 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4554 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4555 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4556 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4557 CFLAGS="$SAVE_CFLAGS"
4558 fi
4559 ;;
4560
4561
4562 esac
4563
4564
4565 # Save cache, so that ltconfig can load it
4566 cat >confcache <<\_ACEOF
4567 # This file is a shell script that caches the results of configure
4568 # tests run on this system so they can be shared between configure
4569 # scripts and configure runs, see configure's option --config-cache.
4570 # It is not useful on other systems. If it contains results you don't
4571 # want to keep, you may remove or edit it.
4572 #
4573 # config.status only pays attention to the cache file if you give it
4574 # the --recheck option to rerun configure.
4575 #
4576 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4577 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4578 # following values.
4579
4580 _ACEOF
4581
4582 # The following way of writing the cache mishandles newlines in values,
4583 # but we know of no workaround that is simple, portable, and efficient.
4584 # So, don't put newlines in cache variables' values.
4585 # Ultrix sh set writes to stderr and can't be redirected directly,
4586 # and sets the high bit in the cache file unless we assign to the vars.
4587 {
4588 (set) 2>&1 |
4589 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4590 *ac_space=\ *)
4591 # `set' does not quote correctly, so add quotes (double-quote
4592 # substitution turns \\\\ into \\, and sed turns \\ into \).
4593 sed -n \
4594 "s/'/'\\\\''/g;
4595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4596 ;;
4597 *)
4598 # `set' quotes correctly as required by POSIX, so do not add quotes.
4599 sed -n \
4600 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4601 ;;
4602 esac;
4603 } |
4604 sed '
4605 t clear
4606 : clear
4607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4608 t end
4609 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4610 : end' >>confcache
4611 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4612 if test -w $cache_file; then
4613 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4614 cat confcache >$cache_file
4615 else
4616 echo "not updating unwritable cache $cache_file"
4617 fi
4618 fi
4619 rm -f confcache
4620
4621 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4622 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4623 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4624 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4625 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4626 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4627 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4628 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4629 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4630 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4631 echo "$as_me: error: libtool configure failed" >&2;}
4632 { (exit 1); exit 1; }; }
4633
4634 # Reload cache, that may have been modified by ltconfig
4635 if test -r "$cache_file"; then
4636 # Some versions of bash will fail to source /dev/null (special
4637 # files actually), so we avoid doing that.
4638 if test -f "$cache_file"; then
4639 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4640 echo "$as_me: loading cache $cache_file" >&6;}
4641 case $cache_file in
4642 [\\/]* | ?:[\\/]* ) . $cache_file;;
4643 *) . ./$cache_file;;
4644 esac
4645 fi
4646 else
4647 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4648 echo "$as_me: creating cache $cache_file" >&6;}
4649 >$cache_file
4650 fi
4651
4652
4653 # This can be used to rebuild libtool when needed
4654 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4655
4656 # Always use our own libtool.
4657 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4658
4659 # Redirect the config.log output again, so that the ltconfig log is not
4660 # clobbered by the next message.
4661 exec 5>>./config.log
4662
4663 ac_ext=cc
4664 ac_cpp='$CXXCPP $CPPFLAGS'
4665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4668 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4669 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4670 if test -z "$CXXCPP"; then
4671 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673 else
4674 # Double quotes because CXXCPP needs to be expanded
4675 for CXXCPP in "$CXX -E" "/lib/cpp"
4676 do
4677 ac_preproc_ok=false
4678 for ac_cxx_preproc_warn_flag in '' yes
4679 do
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat >conftest.$ac_ext <<_ACEOF
4687 /* confdefs.h. */
4688 _ACEOF
4689 cat confdefs.h >>conftest.$ac_ext
4690 cat >>conftest.$ac_ext <<_ACEOF
4691 /* end confdefs.h. */
4692 #ifdef __STDC__
4693 # include <limits.h>
4694 #else
4695 # include <assert.h>
4696 #endif
4697 Syntax error
4698 _ACEOF
4699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4701 ac_status=$?
4702 grep -v '^ *+' conftest.er1 >conftest.err
4703 rm -f conftest.er1
4704 cat conftest.err >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); } >/dev/null; then
4707 if test -s conftest.err; then
4708 ac_cpp_err=$ac_cxx_preproc_warn_flag
4709 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4710 else
4711 ac_cpp_err=
4712 fi
4713 else
4714 ac_cpp_err=yes
4715 fi
4716 if test -z "$ac_cpp_err"; then
4717 :
4718 else
4719 echo "$as_me: failed program was:" >&5
4720 sed 's/^/| /' conftest.$ac_ext >&5
4721
4722 # Broken: fails on valid input.
4723 continue
4724 fi
4725 rm -f conftest.err conftest.$ac_ext
4726
4727 # OK, works on sane cases. Now check whether non-existent headers
4728 # can be detected and how.
4729 cat >conftest.$ac_ext <<_ACEOF
4730 /* confdefs.h. */
4731 _ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <ac_nonexistent.h>
4736 _ACEOF
4737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4739 ac_status=$?
4740 grep -v '^ *+' conftest.er1 >conftest.err
4741 rm -f conftest.er1
4742 cat conftest.err >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); } >/dev/null; then
4745 if test -s conftest.err; then
4746 ac_cpp_err=$ac_cxx_preproc_warn_flag
4747 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4748 else
4749 ac_cpp_err=
4750 fi
4751 else
4752 ac_cpp_err=yes
4753 fi
4754 if test -z "$ac_cpp_err"; then
4755 # Broken: success on invalid input.
4756 continue
4757 else
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4760
4761 # Passes both tests.
4762 ac_preproc_ok=:
4763 break
4764 fi
4765 rm -f conftest.err conftest.$ac_ext
4766
4767 done
4768 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4769 rm -f conftest.err conftest.$ac_ext
4770 if $ac_preproc_ok; then
4771 break
4772 fi
4773
4774 done
4775 ac_cv_prog_CXXCPP=$CXXCPP
4776
4777 fi
4778 CXXCPP=$ac_cv_prog_CXXCPP
4779 else
4780 ac_cv_prog_CXXCPP=$CXXCPP
4781 fi
4782 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4783 echo "${ECHO_T}$CXXCPP" >&6
4784 ac_preproc_ok=false
4785 for ac_cxx_preproc_warn_flag in '' yes
4786 do
4787 # Use a header file that comes with gcc, so configuring glibc
4788 # with a fresh cross-compiler works.
4789 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4790 # <limits.h> exists even on freestanding compilers.
4791 # On the NeXT, cc -E runs the code through the compiler's parser,
4792 # not just through cpp. "Syntax error" is here to catch this case.
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h. */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h. */
4799 #ifdef __STDC__
4800 # include <limits.h>
4801 #else
4802 # include <assert.h>
4803 #endif
4804 Syntax error
4805 _ACEOF
4806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4808 ac_status=$?
4809 grep -v '^ *+' conftest.er1 >conftest.err
4810 rm -f conftest.er1
4811 cat conftest.err >&5
4812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4813 (exit $ac_status); } >/dev/null; then
4814 if test -s conftest.err; then
4815 ac_cpp_err=$ac_cxx_preproc_warn_flag
4816 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4817 else
4818 ac_cpp_err=
4819 fi
4820 else
4821 ac_cpp_err=yes
4822 fi
4823 if test -z "$ac_cpp_err"; then
4824 :
4825 else
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.$ac_ext >&5
4828
4829 # Broken: fails on valid input.
4830 continue
4831 fi
4832 rm -f conftest.err conftest.$ac_ext
4833
4834 # OK, works on sane cases. Now check whether non-existent headers
4835 # can be detected and how.
4836 cat >conftest.$ac_ext <<_ACEOF
4837 /* confdefs.h. */
4838 _ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <ac_nonexistent.h>
4843 _ACEOF
4844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4846 ac_status=$?
4847 grep -v '^ *+' conftest.er1 >conftest.err
4848 rm -f conftest.er1
4849 cat conftest.err >&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } >/dev/null; then
4852 if test -s conftest.err; then
4853 ac_cpp_err=$ac_cxx_preproc_warn_flag
4854 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4855 else
4856 ac_cpp_err=
4857 fi
4858 else
4859 ac_cpp_err=yes
4860 fi
4861 if test -z "$ac_cpp_err"; then
4862 # Broken: success on invalid input.
4863 continue
4864 else
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4867
4868 # Passes both tests.
4869 ac_preproc_ok=:
4870 break
4871 fi
4872 rm -f conftest.err conftest.$ac_ext
4873
4874 done
4875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4876 rm -f conftest.err conftest.$ac_ext
4877 if $ac_preproc_ok; then
4878 :
4879 else
4880 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4881 See \`config.log' for more details." >&5
4882 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4883 See \`config.log' for more details." >&2;}
4884 { (exit 1); exit 1; }; }
4885 fi
4886
4887 ac_ext=c
4888 ac_cpp='$CPP $CPPFLAGS'
4889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4892
4893
4894
4895 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4896 lt_save_CC="$CC"
4897 lt_save_CFLAGS="$CFLAGS"
4898 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4899 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4900 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4901 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4902 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4903 deplibs_check_method="$deplibs_check_method" \
4904 file_magic_cmd="$file_magic_cmd" \
4905 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4906 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4907 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4908 echo "$as_me: error: libtool tag configuration failed" >&2;}
4909 { (exit 1); exit 1; }; }
4910 CC="$lt_save_CC"
4911 CFLAGS="$lt_save_CFLAGS"
4912
4913 # Redirect the config.log output again, so that the ltconfig log is not
4914 # clobbered by the next message.
4915 exec 5>>./config.log
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925 # Possibly disable most of the library.
4926 ## TODO: Consider skipping unncessary tests altogether in this case, rather
4927 ## than just ignoring the results. Faster /and/ more correct, win win.
4928
4929 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4930 if test "${enable_hosted_libstdcxx+set}" = set; then
4931 enableval="$enable_hosted_libstdcxx"
4932
4933 else
4934 case "$host" in
4935 arm*-*-symbianelf*)
4936 enable_hosted_libstdcxx=no
4937 ;;
4938 *)
4939 enable_hosted_libstdcxx=yes
4940 ;;
4941 esac
4942 fi;
4943 if test "$enable_hosted_libstdcxx" = no; then
4944 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4945 echo "$as_me: Only freestanding libraries will be built" >&6;}
4946 is_hosted=no
4947 hosted_define=0
4948 enable_abi_check=no
4949 enable_libstdcxx_pch=no
4950 else
4951 is_hosted=yes
4952 hosted_define=1
4953 fi
4954
4955
4956 cat >>confdefs.h <<_ACEOF
4957 #define _GLIBCXX_HOSTED $hosted_define
4958 _ACEOF
4959
4960
4961
4962 # Check for compiler support that doesn't require linking.
4963
4964 echo "$as_me:$LINENO: checking for exception model to use" >&5
4965 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4966
4967
4968 ac_ext=cc
4969 ac_cpp='$CXXCPP $CPPFLAGS'
4970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4973
4974 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4975 if test "${enable_sjlj_exceptions+set}" = set; then
4976 enableval="$enable_sjlj_exceptions"
4977
4978 case "$enableval" in
4979 yes|no|auto) ;;
4980 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4981 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4982 { (exit 1); exit 1; }; } ;;
4983 esac
4984
4985 else
4986 enable_sjlj_exceptions=auto
4987 fi;
4988
4989
4990 if test $enable_sjlj_exceptions = auto; then
4991 # Botheration. Now we've got to detect the exception model. Link tests
4992 # against libgcc.a are problematic since we've not been given proper -L
4993 # bits for single-tree newlib and libgloss.
4994 #
4995 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4996 cat > conftest.$ac_ext << EOF
4997 #line 4997 "configure"
4998 struct S { ~S(); };
4999 void bar();
5000 void foo()
5001 {
5002 S s;
5003 bar();
5004 }
5005 EOF
5006 old_CXXFLAGS="$CXXFLAGS"
5007 CXXFLAGS=-S
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>&5
5010 ac_status=$?
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; then
5013 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5014 enable_sjlj_exceptions=yes
5015 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5016 enable_sjlj_exceptions=no
5017 fi
5018 fi
5019 CXXFLAGS="$old_CXXFLAGS"
5020 rm -f conftest*
5021 fi
5022
5023 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5024 # to two different models.
5025 case $enable_sjlj_exceptions in
5026 yes)
5027
5028 cat >>confdefs.h <<\_ACEOF
5029 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5030 _ACEOF
5031
5032 ac_exception_model_name=sjlj
5033 ;;
5034 no)
5035 ac_exception_model_name="call frame"
5036 ;;
5037 *)
5038 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5039 echo "$as_me: error: unable to detect exception model" >&2;}
5040 { (exit 1); exit 1; }; }
5041 ;;
5042 esac
5043 ac_ext=c
5044 ac_cpp='$CPP $CPPFLAGS'
5045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5048
5049 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5050 echo "${ECHO_T}$ac_exception_model_name" >&6
5051
5052
5053 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5054 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5055 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5056 if test "${enable_libstdcxx_pch+set}" = set; then
5057 enableval="$enable_libstdcxx_pch"
5058
5059 case "$enableval" in
5060 yes|no) ;;
5061 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5062 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5063 { (exit 1); exit 1; }; } ;;
5064 esac
5065
5066 else
5067 enable_libstdcxx_pch=$is_hosted
5068 fi;
5069
5070 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5071 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5072
5073 if test $enable_libstdcxx_pch = yes; then
5074 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5075 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5076 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079 ac_save_CXXFLAGS="$CXXFLAGS"
5080 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5081
5082
5083 ac_ext=cc
5084 ac_cpp='$CXXCPP $CPPFLAGS'
5085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5088
5089 echo '#include <math.h>' > conftest.h
5090 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5091 -o conftest.h.gch 1>&5 2>&1 &&
5092 echo '#error "pch failed"' > conftest.h &&
5093 echo '#include "conftest.h"' > conftest.cc &&
5094 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5095 then
5096 glibcxx_cv_prog_CXX_pch=yes
5097 else
5098 glibcxx_cv_prog_CXX_pch=no
5099 fi
5100 rm -f conftest*
5101 CXXFLAGS=$ac_save_CXXFLAGS
5102 ac_ext=c
5103 ac_cpp='$CPP $CPPFLAGS'
5104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5107
5108
5109 fi
5110 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5111 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5112 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5113 fi
5114
5115
5116 if test $enable_libstdcxx_pch = yes; then
5117 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5118 else
5119 glibcxx_PCHFLAGS=""
5120 fi
5121
5122
5123
5124 # Enable all the variable C++ runtime options.
5125
5126 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5127 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5128 # Check whether --enable-cstdio or --disable-cstdio was given.
5129 if test "${enable_cstdio+set}" = set; then
5130 enableval="$enable_cstdio"
5131
5132 case "$enableval" in
5133 stdio) ;;
5134 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5135 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5136 { (exit 1); exit 1; }; } ;;
5137 esac
5138
5139 else
5140 enable_cstdio=stdio
5141 fi;
5142
5143
5144 # Now that libio has been removed, you can have any color you want as long
5145 # as it's black. This is one big no-op until other packages are added, but
5146 # showing the framework never hurts.
5147 case ${enable_cstdio} in
5148 stdio)
5149 CSTDIO_H=config/io/c_io_stdio.h
5150 BASIC_FILE_H=config/io/basic_file_stdio.h
5151 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5152 echo "$as_me:$LINENO: result: stdio" >&5
5153 echo "${ECHO_T}stdio" >&6
5154 ;;
5155 esac
5156
5157
5158
5159
5160
5161 ac_ext=c
5162 ac_cpp='$CPP $CPPFLAGS'
5163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5166 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5167 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5168 # On Suns, sometimes $CPP names a directory.
5169 if test -n "$CPP" && test -d "$CPP"; then
5170 CPP=
5171 fi
5172 if test -z "$CPP"; then
5173 if test "${ac_cv_prog_CPP+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5175 else
5176 # Double quotes because CPP needs to be expanded
5177 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5178 do
5179 ac_preproc_ok=false
5180 for ac_c_preproc_warn_flag in '' yes
5181 do
5182 # Use a header file that comes with gcc, so configuring glibc
5183 # with a fresh cross-compiler works.
5184 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5185 # <limits.h> exists even on freestanding compilers.
5186 # On the NeXT, cc -E runs the code through the compiler's parser,
5187 # not just through cpp. "Syntax error" is here to catch this case.
5188 cat >conftest.$ac_ext <<_ACEOF
5189 /* confdefs.h. */
5190 _ACEOF
5191 cat confdefs.h >>conftest.$ac_ext
5192 cat >>conftest.$ac_ext <<_ACEOF
5193 /* end confdefs.h. */
5194 #ifdef __STDC__
5195 # include <limits.h>
5196 #else
5197 # include <assert.h>
5198 #endif
5199 Syntax error
5200 _ACEOF
5201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5202 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5203 ac_status=$?
5204 grep -v '^ *+' conftest.er1 >conftest.err
5205 rm -f conftest.er1
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } >/dev/null; then
5209 if test -s conftest.err; then
5210 ac_cpp_err=$ac_c_preproc_warn_flag
5211 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5212 else
5213 ac_cpp_err=
5214 fi
5215 else
5216 ac_cpp_err=yes
5217 fi
5218 if test -z "$ac_cpp_err"; then
5219 :
5220 else
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5223
5224 # Broken: fails on valid input.
5225 continue
5226 fi
5227 rm -f conftest.err conftest.$ac_ext
5228
5229 # OK, works on sane cases. Now check whether non-existent headers
5230 # can be detected and how.
5231 cat >conftest.$ac_ext <<_ACEOF
5232 /* confdefs.h. */
5233 _ACEOF
5234 cat confdefs.h >>conftest.$ac_ext
5235 cat >>conftest.$ac_ext <<_ACEOF
5236 /* end confdefs.h. */
5237 #include <ac_nonexistent.h>
5238 _ACEOF
5239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5241 ac_status=$?
5242 grep -v '^ *+' conftest.er1 >conftest.err
5243 rm -f conftest.er1
5244 cat conftest.err >&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); } >/dev/null; then
5247 if test -s conftest.err; then
5248 ac_cpp_err=$ac_c_preproc_warn_flag
5249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5250 else
5251 ac_cpp_err=
5252 fi
5253 else
5254 ac_cpp_err=yes
5255 fi
5256 if test -z "$ac_cpp_err"; then
5257 # Broken: success on invalid input.
5258 continue
5259 else
5260 echo "$as_me: failed program was:" >&5
5261 sed 's/^/| /' conftest.$ac_ext >&5
5262
5263 # Passes both tests.
5264 ac_preproc_ok=:
5265 break
5266 fi
5267 rm -f conftest.err conftest.$ac_ext
5268
5269 done
5270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5271 rm -f conftest.err conftest.$ac_ext
5272 if $ac_preproc_ok; then
5273 break
5274 fi
5275
5276 done
5277 ac_cv_prog_CPP=$CPP
5278
5279 fi
5280 CPP=$ac_cv_prog_CPP
5281 else
5282 ac_cv_prog_CPP=$CPP
5283 fi
5284 echo "$as_me:$LINENO: result: $CPP" >&5
5285 echo "${ECHO_T}$CPP" >&6
5286 ac_preproc_ok=false
5287 for ac_c_preproc_warn_flag in '' yes
5288 do
5289 # Use a header file that comes with gcc, so configuring glibc
5290 # with a fresh cross-compiler works.
5291 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5292 # <limits.h> exists even on freestanding compilers.
5293 # On the NeXT, cc -E runs the code through the compiler's parser,
5294 # not just through cpp. "Syntax error" is here to catch this case.
5295 cat >conftest.$ac_ext <<_ACEOF
5296 /* confdefs.h. */
5297 _ACEOF
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #ifdef __STDC__
5302 # include <limits.h>
5303 #else
5304 # include <assert.h>
5305 #endif
5306 Syntax error
5307 _ACEOF
5308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5310 ac_status=$?
5311 grep -v '^ *+' conftest.er1 >conftest.err
5312 rm -f conftest.er1
5313 cat conftest.err >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); } >/dev/null; then
5316 if test -s conftest.err; then
5317 ac_cpp_err=$ac_c_preproc_warn_flag
5318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5319 else
5320 ac_cpp_err=
5321 fi
5322 else
5323 ac_cpp_err=yes
5324 fi
5325 if test -z "$ac_cpp_err"; then
5326 :
5327 else
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5330
5331 # Broken: fails on valid input.
5332 continue
5333 fi
5334 rm -f conftest.err conftest.$ac_ext
5335
5336 # OK, works on sane cases. Now check whether non-existent headers
5337 # can be detected and how.
5338 cat >conftest.$ac_ext <<_ACEOF
5339 /* confdefs.h. */
5340 _ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5344 #include <ac_nonexistent.h>
5345 _ACEOF
5346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5348 ac_status=$?
5349 grep -v '^ *+' conftest.er1 >conftest.err
5350 rm -f conftest.er1
5351 cat conftest.err >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); } >/dev/null; then
5354 if test -s conftest.err; then
5355 ac_cpp_err=$ac_c_preproc_warn_flag
5356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5357 else
5358 ac_cpp_err=
5359 fi
5360 else
5361 ac_cpp_err=yes
5362 fi
5363 if test -z "$ac_cpp_err"; then
5364 # Broken: success on invalid input.
5365 continue
5366 else
5367 echo "$as_me: failed program was:" >&5
5368 sed 's/^/| /' conftest.$ac_ext >&5
5369
5370 # Passes both tests.
5371 ac_preproc_ok=:
5372 break
5373 fi
5374 rm -f conftest.err conftest.$ac_ext
5375
5376 done
5377 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5378 rm -f conftest.err conftest.$ac_ext
5379 if $ac_preproc_ok; then
5380 :
5381 else
5382 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5383 See \`config.log' for more details." >&5
5384 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5385 See \`config.log' for more details." >&2;}
5386 { (exit 1); exit 1; }; }
5387 fi
5388
5389 ac_ext=c
5390 ac_cpp='$CPP $CPPFLAGS'
5391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5394
5395
5396 echo "$as_me:$LINENO: checking for egrep" >&5
5397 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5398 if test "${ac_cv_prog_egrep+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 else
5401 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5402 then ac_cv_prog_egrep='grep -E'
5403 else ac_cv_prog_egrep='egrep'
5404 fi
5405 fi
5406 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5407 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5408 EGREP=$ac_cv_prog_egrep
5409
5410
5411 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5412 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5413 if test "${ac_cv_header_stdc+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5415 else
5416 cat >conftest.$ac_ext <<_ACEOF
5417 /* confdefs.h. */
5418 _ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 #include <stdlib.h>
5423 #include <stdarg.h>
5424 #include <string.h>
5425 #include <float.h>
5426
5427 int
5428 main ()
5429 {
5430
5431 ;
5432 return 0;
5433 }
5434 _ACEOF
5435 rm -f conftest.$ac_objext
5436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5437 (eval $ac_compile) 2>conftest.er1
5438 ac_status=$?
5439 grep -v '^ *+' conftest.er1 >conftest.err
5440 rm -f conftest.er1
5441 cat conftest.err >&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } &&
5444 { ac_try='test -z "$ac_c_werror_flag"
5445 || test ! -s conftest.err'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5447 (eval $ac_try) 2>&5
5448 ac_status=$?
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; } &&
5451 { ac_try='test -s conftest.$ac_objext'
5452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 (eval $ac_try) 2>&5
5454 ac_status=$?
5455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5456 (exit $ac_status); }; }; then
5457 ac_cv_header_stdc=yes
5458 else
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5461
5462 ac_cv_header_stdc=no
5463 fi
5464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5465
5466 if test $ac_cv_header_stdc = yes; then
5467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5468 cat >conftest.$ac_ext <<_ACEOF
5469 /* confdefs.h. */
5470 _ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 #include <string.h>
5475
5476 _ACEOF
5477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5478 $EGREP "memchr" >/dev/null 2>&1; then
5479 :
5480 else
5481 ac_cv_header_stdc=no
5482 fi
5483 rm -f conftest*
5484
5485 fi
5486
5487 if test $ac_cv_header_stdc = yes; then
5488 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5489 cat >conftest.$ac_ext <<_ACEOF
5490 /* confdefs.h. */
5491 _ACEOF
5492 cat confdefs.h >>conftest.$ac_ext
5493 cat >>conftest.$ac_ext <<_ACEOF
5494 /* end confdefs.h. */
5495 #include <stdlib.h>
5496
5497 _ACEOF
5498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5499 $EGREP "free" >/dev/null 2>&1; then
5500 :
5501 else
5502 ac_cv_header_stdc=no
5503 fi
5504 rm -f conftest*
5505
5506 fi
5507
5508 if test $ac_cv_header_stdc = yes; then
5509 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5510 if test "$cross_compiling" = yes; then
5511 :
5512 else
5513 cat >conftest.$ac_ext <<_ACEOF
5514 /* confdefs.h. */
5515 _ACEOF
5516 cat confdefs.h >>conftest.$ac_ext
5517 cat >>conftest.$ac_ext <<_ACEOF
5518 /* end confdefs.h. */
5519 #include <ctype.h>
5520 #if ((' ' & 0x0FF) == 0x020)
5521 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5522 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5523 #else
5524 # define ISLOWER(c) \
5525 (('a' <= (c) && (c) <= 'i') \
5526 || ('j' <= (c) && (c) <= 'r') \
5527 || ('s' <= (c) && (c) <= 'z'))
5528 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5529 #endif
5530
5531 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5532 int
5533 main ()
5534 {
5535 int i;
5536 for (i = 0; i < 256; i++)
5537 if (XOR (islower (i), ISLOWER (i))
5538 || toupper (i) != TOUPPER (i))
5539 exit(2);
5540 exit (0);
5541 }
5542 _ACEOF
5543 rm -f conftest$ac_exeext
5544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5545 (eval $ac_link) 2>&5
5546 ac_status=$?
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5550 (eval $ac_try) 2>&5
5551 ac_status=$?
5552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5553 (exit $ac_status); }; }; then
5554 :
5555 else
5556 echo "$as_me: program exited with status $ac_status" >&5
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.$ac_ext >&5
5559
5560 ( exit $ac_status )
5561 ac_cv_header_stdc=no
5562 fi
5563 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5564 fi
5565 fi
5566 fi
5567 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5568 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5569 if test $ac_cv_header_stdc = yes; then
5570
5571 cat >>confdefs.h <<\_ACEOF
5572 #define STDC_HEADERS 1
5573 _ACEOF
5574
5575 fi
5576
5577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5588 inttypes.h stdint.h unistd.h
5589 do
5590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5591 echo "$as_me:$LINENO: checking for $ac_header" >&5
5592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 else
5596 cat >conftest.$ac_ext <<_ACEOF
5597 /* confdefs.h. */
5598 _ACEOF
5599 cat confdefs.h >>conftest.$ac_ext
5600 cat >>conftest.$ac_ext <<_ACEOF
5601 /* end confdefs.h. */
5602 $ac_includes_default
5603
5604 #include <$ac_header>
5605 _ACEOF
5606 rm -f conftest.$ac_objext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5608 (eval $ac_compile) 2>conftest.er1
5609 ac_status=$?
5610 grep -v '^ *+' conftest.er1 >conftest.err
5611 rm -f conftest.er1
5612 cat conftest.err >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); } &&
5615 { ac_try='test -z "$ac_c_werror_flag"
5616 || test ! -s conftest.err'
5617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5618 (eval $ac_try) 2>&5
5619 ac_status=$?
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); }; } &&
5622 { ac_try='test -s conftest.$ac_objext'
5623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 (eval $ac_try) 2>&5
5625 ac_status=$?
5626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 (exit $ac_status); }; }; then
5628 eval "$as_ac_Header=yes"
5629 else
5630 echo "$as_me: failed program was:" >&5
5631 sed 's/^/| /' conftest.$ac_ext >&5
5632
5633 eval "$as_ac_Header=no"
5634 fi
5635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5636 fi
5637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5640 cat >>confdefs.h <<_ACEOF
5641 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5642 _ACEOF
5643
5644 fi
5645
5646 done
5647
5648
5649
5650 echo "$as_me:$LINENO: checking for C locale to use" >&5
5651 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5652 # Check whether --enable-clocale or --disable-clocale was given.
5653 if test "${enable_clocale+set}" = set; then
5654 enableval="$enable_clocale"
5655
5656 case "$enableval" in
5657 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5658 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5659 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5660 { (exit 1); exit 1; }; } ;;
5661 esac
5662
5663 else
5664 enable_clocale=auto
5665 fi;
5666
5667
5668 # If they didn't use this option switch, or if they specified --enable
5669 # with no specific model, we'll have to look for one. If they
5670 # specified --disable (???), do likewise.
5671 if test $enable_clocale = no || test $enable_clocale = yes; then
5672 enable_clocale=auto
5673 fi
5674
5675 # Either a known package, or "auto"
5676 enable_clocale_flag=$enable_clocale
5677
5678 # Probe for locale support if no specific model is specified.
5679 # Default to "generic".
5680 if test $enable_clocale_flag = auto; then
5681 case ${target_os} in
5682 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5683 cat >conftest.$ac_ext <<_ACEOF
5684 /* confdefs.h. */
5685 _ACEOF
5686 cat confdefs.h >>conftest.$ac_ext
5687 cat >>conftest.$ac_ext <<_ACEOF
5688 /* end confdefs.h. */
5689
5690 #include <features.h>
5691 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5692 _GLIBCXX_ok
5693 #endif
5694
5695 _ACEOF
5696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5697 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5698 enable_clocale_flag=gnu
5699 else
5700 enable_clocale_flag=generic
5701 fi
5702 rm -f conftest*
5703
5704
5705 # Test for bugs early in glibc-2.2.x series
5706 if test $enable_clocale_flag = gnu; then
5707 if test "$cross_compiling" = yes; then
5708 enable_clocale_flag=generic
5709 else
5710 cat >conftest.$ac_ext <<_ACEOF
5711 /* confdefs.h. */
5712 _ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716
5717 #define _GNU_SOURCE 1
5718 #include <locale.h>
5719 #include <string.h>
5720 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5721 extern __typeof(newlocale) __newlocale;
5722 extern __typeof(duplocale) __duplocale;
5723 extern __typeof(strcoll_l) __strcoll_l;
5724 #endif
5725 int main()
5726 {
5727 const char __one[] = "Äuglein Augmen";
5728 const char __two[] = "Äuglein";
5729 int i;
5730 int j;
5731 __locale_t loc;
5732 __locale_t loc_dup;
5733 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5734 loc_dup = __duplocale(loc);
5735 i = __strcoll_l(__one, __two, loc);
5736 j = __strcoll_l(__one, __two, loc_dup);
5737 return 0;
5738 }
5739
5740 _ACEOF
5741 rm -f conftest$ac_exeext
5742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5743 (eval $ac_link) 2>&5
5744 ac_status=$?
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 (eval $ac_try) 2>&5
5749 ac_status=$?
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; }; then
5752 enable_clocale_flag=gnu
5753 else
5754 echo "$as_me: program exited with status $ac_status" >&5
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5757
5758 ( exit $ac_status )
5759 enable_clocale_flag=generic
5760 fi
5761 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5762 fi
5763 fi
5764
5765 # ... at some point put __strxfrm_l tests in as well.
5766 ;;
5767 darwin* | freebsd*)
5768 enable_clocale_flag=darwin
5769 ;;
5770 *)
5771 enable_clocale_flag=generic
5772 ;;
5773 esac
5774 fi
5775
5776 # Deal with gettext issues. Default to not using it (=no) until we detect
5777 # support for it later. Let the user turn it off via --e/d, but let that
5778 # default to on for easier handling.
5779 USE_NLS=no
5780 # Check whether --enable-nls or --disable-nls was given.
5781 if test "${enable_nls+set}" = set; then
5782 enableval="$enable_nls"
5783
5784 else
5785 enable_nls=yes
5786 fi;
5787
5788 # Set configure bits for specified locale package
5789 case ${enable_clocale_flag} in
5790 generic)
5791 echo "$as_me:$LINENO: result: generic" >&5
5792 echo "${ECHO_T}generic" >&6
5793
5794 CLOCALE_H=config/locale/generic/c_locale.h
5795 CLOCALE_CC=config/locale/generic/c_locale.cc
5796 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5797 CCOLLATE_CC=config/locale/generic/collate_members.cc
5798 CCTYPE_CC=config/locale/generic/ctype_members.cc
5799 CMESSAGES_H=config/locale/generic/messages_members.h
5800 CMESSAGES_CC=config/locale/generic/messages_members.cc
5801 CMONEY_CC=config/locale/generic/monetary_members.cc
5802 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5803 CTIME_H=config/locale/generic/time_members.h
5804 CTIME_CC=config/locale/generic/time_members.cc
5805 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5806 ;;
5807 darwin)
5808 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5809 echo "${ECHO_T}darwin or freebsd" >&6
5810
5811 CLOCALE_H=config/locale/generic/c_locale.h
5812 CLOCALE_CC=config/locale/generic/c_locale.cc
5813 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5814 CCOLLATE_CC=config/locale/generic/collate_members.cc
5815 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5816 CMESSAGES_H=config/locale/generic/messages_members.h
5817 CMESSAGES_CC=config/locale/generic/messages_members.cc
5818 CMONEY_CC=config/locale/generic/monetary_members.cc
5819 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5820 CTIME_H=config/locale/generic/time_members.h
5821 CTIME_CC=config/locale/generic/time_members.cc
5822 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5823 ;;
5824
5825 gnu)
5826 echo "$as_me:$LINENO: result: gnu" >&5
5827 echo "${ECHO_T}gnu" >&6
5828
5829 # Declare intention to use gettext, and add support for specific
5830 # languages.
5831 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5832 ALL_LINGUAS="de fr"
5833
5834 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5835 # Extract the first word of "msgfmt", so it can be a program name with args.
5836 set dummy msgfmt; ac_word=$2
5837 echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5839 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 else
5842 if test -n "$check_msgfmt"; then
5843 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5844 else
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5846 for as_dir in $PATH
5847 do
5848 IFS=$as_save_IFS
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_check_msgfmt="yes"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5854 break 2
5855 fi
5856 done
5857 done
5858
5859 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5860 fi
5861 fi
5862 check_msgfmt=$ac_cv_prog_check_msgfmt
5863 if test -n "$check_msgfmt"; then
5864 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5865 echo "${ECHO_T}$check_msgfmt" >&6
5866 else
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5869 fi
5870
5871 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5872 USE_NLS=yes
5873 fi
5874 # Export the build objects.
5875 for ling in $ALL_LINGUAS; do \
5876 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5877 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5878 done
5879
5880
5881
5882 CLOCALE_H=config/locale/gnu/c_locale.h
5883 CLOCALE_CC=config/locale/gnu/c_locale.cc
5884 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5885 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5886 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5887 CMESSAGES_H=config/locale/gnu/messages_members.h
5888 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5889 CMONEY_CC=config/locale/gnu/monetary_members.cc
5890 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5891 CTIME_H=config/locale/gnu/time_members.h
5892 CTIME_CC=config/locale/gnu/time_members.cc
5893 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5894 ;;
5895 ieee_1003.1-2001)
5896 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5897 echo "${ECHO_T}IEEE 1003.1" >&6
5898
5899 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5900 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5901 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5902 CCOLLATE_CC=config/locale/generic/collate_members.cc
5903 CCTYPE_CC=config/locale/generic/ctype_members.cc
5904 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5905 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5906 CMONEY_CC=config/locale/generic/monetary_members.cc
5907 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5908 CTIME_H=config/locale/generic/time_members.h
5909 CTIME_CC=config/locale/generic/time_members.cc
5910 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5911 ;;
5912 esac
5913
5914 # This is where the testsuite looks for locale catalogs, using the
5915 # -DLOCALEDIR define during testsuite compilation.
5916 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5917
5918
5919 # A standalone libintl (e.g., GNU libintl) may be in use.
5920 if test $USE_NLS = yes; then
5921
5922 for ac_header in libintl.h
5923 do
5924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5926 echo "$as_me:$LINENO: checking for $ac_header" >&5
5927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 fi
5931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5933 else
5934 # Is the header compilable?
5935 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5936 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5937 cat >conftest.$ac_ext <<_ACEOF
5938 /* confdefs.h. */
5939 _ACEOF
5940 cat confdefs.h >>conftest.$ac_ext
5941 cat >>conftest.$ac_ext <<_ACEOF
5942 /* end confdefs.h. */
5943 $ac_includes_default
5944 #include <$ac_header>
5945 _ACEOF
5946 rm -f conftest.$ac_objext
5947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5948 (eval $ac_compile) 2>conftest.er1
5949 ac_status=$?
5950 grep -v '^ *+' conftest.er1 >conftest.err
5951 rm -f conftest.er1
5952 cat conftest.err >&5
5953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 (exit $ac_status); } &&
5955 { ac_try='test -z "$ac_c_werror_flag"
5956 || test ! -s conftest.err'
5957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 (eval $ac_try) 2>&5
5959 ac_status=$?
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); }; } &&
5962 { ac_try='test -s conftest.$ac_objext'
5963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 (eval $ac_try) 2>&5
5965 ac_status=$?
5966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); }; }; then
5968 ac_header_compiler=yes
5969 else
5970 echo "$as_me: failed program was:" >&5
5971 sed 's/^/| /' conftest.$ac_ext >&5
5972
5973 ac_header_compiler=no
5974 fi
5975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5976 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5977 echo "${ECHO_T}$ac_header_compiler" >&6
5978
5979 # Is the header present?
5980 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5981 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5982 cat >conftest.$ac_ext <<_ACEOF
5983 /* confdefs.h. */
5984 _ACEOF
5985 cat confdefs.h >>conftest.$ac_ext
5986 cat >>conftest.$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5988 #include <$ac_header>
5989 _ACEOF
5990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5992 ac_status=$?
5993 grep -v '^ *+' conftest.er1 >conftest.err
5994 rm -f conftest.er1
5995 cat conftest.err >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } >/dev/null; then
5998 if test -s conftest.err; then
5999 ac_cpp_err=$ac_c_preproc_warn_flag
6000 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6001 else
6002 ac_cpp_err=
6003 fi
6004 else
6005 ac_cpp_err=yes
6006 fi
6007 if test -z "$ac_cpp_err"; then
6008 ac_header_preproc=yes
6009 else
6010 echo "$as_me: failed program was:" >&5
6011 sed 's/^/| /' conftest.$ac_ext >&5
6012
6013 ac_header_preproc=no
6014 fi
6015 rm -f conftest.err conftest.$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6017 echo "${ECHO_T}$ac_header_preproc" >&6
6018
6019 # So? What about this header?
6020 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6021 yes:no: )
6022 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6023 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6024 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6025 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6026 ac_header_preproc=yes
6027 ;;
6028 no:yes:* )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6030 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6032 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6033 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6034 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6035 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6036 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6038 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6039 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6040 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6041 (
6042 cat <<\_ASBOX
6043 ## ----------------------------------------- ##
6044 ## Report this to the package-unused lists. ##
6045 ## ----------------------------------------- ##
6046 _ASBOX
6047 ) |
6048 sed "s/^/$as_me: WARNING: /" >&2
6049 ;;
6050 esac
6051 echo "$as_me:$LINENO: checking for $ac_header" >&5
6052 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 else
6056 eval "$as_ac_Header=\$ac_header_preproc"
6057 fi
6058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6060
6061 fi
6062 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6063 cat >>confdefs.h <<_ACEOF
6064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 _ACEOF
6066
6067 else
6068 USE_NLS=no
6069 fi
6070
6071 done
6072
6073 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6074 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6075 if test "${ac_cv_search_gettext+set}" = set; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6077 else
6078 ac_func_search_save_LIBS=$LIBS
6079 ac_cv_search_gettext=no
6080 if test x$gcc_no_link = xyes; then
6081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6083 { (exit 1); exit 1; }; }
6084 fi
6085 cat >conftest.$ac_ext <<_ACEOF
6086 /* confdefs.h. */
6087 _ACEOF
6088 cat confdefs.h >>conftest.$ac_ext
6089 cat >>conftest.$ac_ext <<_ACEOF
6090 /* end confdefs.h. */
6091
6092 /* Override any gcc2 internal prototype to avoid an error. */
6093 #ifdef __cplusplus
6094 extern "C"
6095 #endif
6096 /* We use char because int might match the return type of a gcc2
6097 builtin and then its argument prototype would still apply. */
6098 char gettext ();
6099 int
6100 main ()
6101 {
6102 gettext ();
6103 ;
6104 return 0;
6105 }
6106 _ACEOF
6107 rm -f conftest.$ac_objext conftest$ac_exeext
6108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6109 (eval $ac_link) 2>conftest.er1
6110 ac_status=$?
6111 grep -v '^ *+' conftest.er1 >conftest.err
6112 rm -f conftest.er1
6113 cat conftest.err >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); } &&
6116 { ac_try='test -z "$ac_c_werror_flag"
6117 || test ! -s conftest.err'
6118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6119 (eval $ac_try) 2>&5
6120 ac_status=$?
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); }; } &&
6123 { ac_try='test -s conftest$ac_exeext'
6124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6125 (eval $ac_try) 2>&5
6126 ac_status=$?
6127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); }; }; then
6129 ac_cv_search_gettext="none required"
6130 else
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.$ac_ext >&5
6133
6134 fi
6135 rm -f conftest.err conftest.$ac_objext \
6136 conftest$ac_exeext conftest.$ac_ext
6137 if test "$ac_cv_search_gettext" = no; then
6138 for ac_lib in intl; do
6139 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6140 if test x$gcc_no_link = xyes; then
6141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6143 { (exit 1); exit 1; }; }
6144 fi
6145 cat >conftest.$ac_ext <<_ACEOF
6146 /* confdefs.h. */
6147 _ACEOF
6148 cat confdefs.h >>conftest.$ac_ext
6149 cat >>conftest.$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6151
6152 /* Override any gcc2 internal prototype to avoid an error. */
6153 #ifdef __cplusplus
6154 extern "C"
6155 #endif
6156 /* We use char because int might match the return type of a gcc2
6157 builtin and then its argument prototype would still apply. */
6158 char gettext ();
6159 int
6160 main ()
6161 {
6162 gettext ();
6163 ;
6164 return 0;
6165 }
6166 _ACEOF
6167 rm -f conftest.$ac_objext conftest$ac_exeext
6168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6169 (eval $ac_link) 2>conftest.er1
6170 ac_status=$?
6171 grep -v '^ *+' conftest.er1 >conftest.err
6172 rm -f conftest.er1
6173 cat conftest.err >&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); } &&
6176 { ac_try='test -z "$ac_c_werror_flag"
6177 || test ! -s conftest.err'
6178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6179 (eval $ac_try) 2>&5
6180 ac_status=$?
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); }; } &&
6183 { ac_try='test -s conftest$ac_exeext'
6184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6185 (eval $ac_try) 2>&5
6186 ac_status=$?
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); }; }; then
6189 ac_cv_search_gettext="-l$ac_lib"
6190 break
6191 else
6192 echo "$as_me: failed program was:" >&5
6193 sed 's/^/| /' conftest.$ac_ext >&5
6194
6195 fi
6196 rm -f conftest.err conftest.$ac_objext \
6197 conftest$ac_exeext conftest.$ac_ext
6198 done
6199 fi
6200 LIBS=$ac_func_search_save_LIBS
6201 fi
6202 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6203 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6204 if test "$ac_cv_search_gettext" != no; then
6205 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6206
6207 else
6208 USE_NLS=no
6209 fi
6210
6211 fi
6212 if test $USE_NLS = yes; then
6213 cat >>confdefs.h <<\_ACEOF
6214 #define _GLIBCXX_USE_NLS 1
6215 _ACEOF
6216
6217 fi
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6235 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6236 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6237 if test "${enable_libstdcxx_allocator+set}" = set; then
6238 enableval="$enable_libstdcxx_allocator"
6239
6240 case "$enableval" in
6241 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6242 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6243 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6244 { (exit 1); exit 1; }; } ;;
6245 esac
6246
6247 else
6248 enable_libstdcxx_allocator=auto
6249 fi;
6250
6251
6252 # If they didn't use this option switch, or if they specified --enable
6253 # with no specific model, we'll have to look for one. If they
6254 # specified --disable (???), do likewise.
6255 if test $enable_libstdcxx_allocator = no ||
6256 test $enable_libstdcxx_allocator = yes;
6257 then
6258 enable_libstdcxx_allocator=auto
6259 fi
6260
6261 # Either a known package, or "auto". Auto implies the default choice
6262 # for a particular platform.
6263 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6264
6265 # Probe for host-specific support if no specific model is specified.
6266 # Default to "new".
6267 if test $enable_libstdcxx_allocator_flag = auto; then
6268 case ${target_os} in
6269 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6270 enable_libstdcxx_allocator_flag=mt
6271 ;;
6272 *)
6273 enable_libstdcxx_allocator_flag=new
6274 ;;
6275 esac
6276 fi
6277 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6278 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6279
6280
6281 # Set configure bits for specified locale package
6282 case ${enable_libstdcxx_allocator_flag} in
6283 bitmap)
6284 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6285 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6286 ;;
6287 malloc)
6288 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6289 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6290 ;;
6291 mt)
6292 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6294 ;;
6295 new)
6296 ALLOCATOR_H=config/allocator/new_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6298 ;;
6299 pool)
6300 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6302 ;;
6303 esac
6304
6305
6306
6307
6308
6309 # Check whether --enable-cheaders or --disable-cheaders was given.
6310 if test "${enable_cheaders+set}" = set; then
6311 enableval="$enable_cheaders"
6312
6313 case "$enableval" in
6314 c|c_std) ;;
6315 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6316 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6317 { (exit 1); exit 1; }; } ;;
6318 esac
6319
6320 else
6321 enable_cheaders=$c_model
6322 fi;
6323
6324 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6325 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6326
6327 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6328
6329
6330
6331
6332
6333
6334
6335
6336 # Check whether --enable-c99 or --disable-c99 was given.
6337 if test "${enable_c99+set}" = set; then
6338 enableval="$enable_c99"
6339
6340 case "$enableval" in
6341 yes|no) ;;
6342 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6343 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6344 { (exit 1); exit 1; }; } ;;
6345 esac
6346
6347 else
6348 enable_c99=yes
6349 fi;
6350
6351
6352 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6353 # even if C99 support is turned off.
6354
6355 for ac_header in wchar.h
6356 do
6357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6359 echo "$as_me:$LINENO: checking for $ac_header" >&5
6360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6362 echo $ECHO_N "(cached) $ECHO_C" >&6
6363 fi
6364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6366 else
6367 # Is the header compilable?
6368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6370 cat >conftest.$ac_ext <<_ACEOF
6371 /* confdefs.h. */
6372 _ACEOF
6373 cat confdefs.h >>conftest.$ac_ext
6374 cat >>conftest.$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 $ac_includes_default
6377 #include <$ac_header>
6378 _ACEOF
6379 rm -f conftest.$ac_objext
6380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6381 (eval $ac_compile) 2>conftest.er1
6382 ac_status=$?
6383 grep -v '^ *+' conftest.er1 >conftest.err
6384 rm -f conftest.er1
6385 cat conftest.err >&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } &&
6388 { ac_try='test -z "$ac_c_werror_flag"
6389 || test ! -s conftest.err'
6390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6391 (eval $ac_try) 2>&5
6392 ac_status=$?
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 (eval $ac_try) 2>&5
6398 ac_status=$?
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6401 ac_header_compiler=yes
6402 else
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6405
6406 ac_header_compiler=no
6407 fi
6408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6410 echo "${ECHO_T}$ac_header_compiler" >&6
6411
6412 # Is the header present?
6413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6415 cat >conftest.$ac_ext <<_ACEOF
6416 /* confdefs.h. */
6417 _ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 #include <$ac_header>
6422 _ACEOF
6423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6425 ac_status=$?
6426 grep -v '^ *+' conftest.er1 >conftest.err
6427 rm -f conftest.er1
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } >/dev/null; then
6431 if test -s conftest.err; then
6432 ac_cpp_err=$ac_c_preproc_warn_flag
6433 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6434 else
6435 ac_cpp_err=
6436 fi
6437 else
6438 ac_cpp_err=yes
6439 fi
6440 if test -z "$ac_cpp_err"; then
6441 ac_header_preproc=yes
6442 else
6443 echo "$as_me: failed program was:" >&5
6444 sed 's/^/| /' conftest.$ac_ext >&5
6445
6446 ac_header_preproc=no
6447 fi
6448 rm -f conftest.err conftest.$ac_ext
6449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6450 echo "${ECHO_T}$ac_header_preproc" >&6
6451
6452 # So? What about this header?
6453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6454 yes:no: )
6455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6459 ac_header_preproc=yes
6460 ;;
6461 no:yes:* )
6462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6474 (
6475 cat <<\_ASBOX
6476 ## ----------------------------------------- ##
6477 ## Report this to the package-unused lists. ##
6478 ## ----------------------------------------- ##
6479 _ASBOX
6480 ) |
6481 sed "s/^/$as_me: WARNING: /" >&2
6482 ;;
6483 esac
6484 echo "$as_me:$LINENO: checking for $ac_header" >&5
6485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6487 echo $ECHO_N "(cached) $ECHO_C" >&6
6488 else
6489 eval "$as_ac_Header=\$ac_header_preproc"
6490 fi
6491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6493
6494 fi
6495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6496 cat >>confdefs.h <<_ACEOF
6497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6498 _ACEOF
6499 ac_has_wchar_h=yes
6500 else
6501 ac_has_wchar_h=no
6502 fi
6503
6504 done
6505
6506 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6507 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6508 cat >conftest.$ac_ext <<_ACEOF
6509 /* confdefs.h. */
6510 _ACEOF
6511 cat confdefs.h >>conftest.$ac_ext
6512 cat >>conftest.$ac_ext <<_ACEOF
6513 /* end confdefs.h. */
6514 #include <wchar.h>
6515 int
6516 main ()
6517 {
6518 mbstate_t teststate;
6519 ;
6520 return 0;
6521 }
6522 _ACEOF
6523 rm -f conftest.$ac_objext
6524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6525 (eval $ac_compile) 2>conftest.er1
6526 ac_status=$?
6527 grep -v '^ *+' conftest.er1 >conftest.err
6528 rm -f conftest.er1
6529 cat conftest.err >&5
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } &&
6532 { ac_try='test -z "$ac_c_werror_flag"
6533 || test ! -s conftest.err'
6534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6535 (eval $ac_try) 2>&5
6536 ac_status=$?
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); }; } &&
6539 { ac_try='test -s conftest.$ac_objext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6541 (eval $ac_try) 2>&5
6542 ac_status=$?
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6545 have_mbstate_t=yes
6546 else
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6549
6550 have_mbstate_t=no
6551 fi
6552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6553 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6554 echo "${ECHO_T}$have_mbstate_t" >&6
6555 if test x"$have_mbstate_t" = xyes; then
6556 cat >>confdefs.h <<\_ACEOF
6557 #define HAVE_MBSTATE_T 1
6558 _ACEOF
6559
6560 fi
6561
6562 if test x"$enable_c99" = x"yes"; then
6563
6564
6565
6566 ac_ext=cc
6567 ac_cpp='$CXXCPP $CPPFLAGS'
6568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6571
6572
6573 # Check for the existence of <math.h> functions used if C99 is enabled.
6574 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6575 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6576 if test "${ac_c99_math+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6578 else
6579
6580 cat >conftest.$ac_ext <<_ACEOF
6581 /* confdefs.h. */
6582 _ACEOF
6583 cat confdefs.h >>conftest.$ac_ext
6584 cat >>conftest.$ac_ext <<_ACEOF
6585 /* end confdefs.h. */
6586 #include <math.h>
6587 int
6588 main ()
6589 {
6590 fpclassify(0.0);
6591 isfinite(0.0);
6592 isinf(0.0);
6593 isnan(0.0);
6594 isnormal(0.0);
6595 signbit(0.0);
6596 isgreater(0.0,0.0);
6597 isgreaterequal(0.0,0.0);
6598 isless(0.0,0.0);
6599 islessequal(0.0,0.0);
6600 islessgreater(0.0,0.0);
6601 islessgreater(0.0,0.0);
6602 isunordered(0.0,0.0);
6603
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_cxx_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 ac_c99_math=yes
6631 else
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6634
6635 ac_c99_math=no
6636 fi
6637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6638
6639 fi
6640
6641 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6642 echo "${ECHO_T}$ac_c99_math" >&6
6643 if test x"$ac_c99_math" = x"yes"; then
6644 cat >>confdefs.h <<\_ACEOF
6645 #define _GLIBCXX_USE_C99_MATH 1
6646 _ACEOF
6647
6648 fi
6649
6650 # Check for the existence of <complex.h> complex functions.
6651 # This is necessary even though libstdc++ uses the builtin versions
6652 # of these functions, because if the builtin cannot be used, a reference
6653 # to the library function is emitted.
6654 # In addition, need to explicitly specify "C" compilation for this
6655 # one, or else the backwards C++ <complex.h> include will be selected.
6656 save_CXXFLAGS="$CXXFLAGS"
6657 CXXFLAGS="$CXXFLAGS -x c"
6658
6659 for ac_header in complex.h
6660 do
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6663 echo "$as_me:$LINENO: checking for $ac_header" >&5
6664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6666 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 fi
6668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6669 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6670 else
6671 # Is the header compilable?
6672 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6673 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6674 cat >conftest.$ac_ext <<_ACEOF
6675 /* confdefs.h. */
6676 _ACEOF
6677 cat confdefs.h >>conftest.$ac_ext
6678 cat >>conftest.$ac_ext <<_ACEOF
6679 /* end confdefs.h. */
6680 $ac_includes_default
6681 #include <$ac_header>
6682 _ACEOF
6683 rm -f conftest.$ac_objext
6684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6685 (eval $ac_compile) 2>conftest.er1
6686 ac_status=$?
6687 grep -v '^ *+' conftest.er1 >conftest.err
6688 rm -f conftest.er1
6689 cat conftest.err >&5
6690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6691 (exit $ac_status); } &&
6692 { ac_try='test -z "$ac_cxx_werror_flag"
6693 || test ! -s conftest.err'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6695 (eval $ac_try) 2>&5
6696 ac_status=$?
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; } &&
6699 { ac_try='test -s conftest.$ac_objext'
6700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 (eval $ac_try) 2>&5
6702 ac_status=$?
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); }; }; then
6705 ac_header_compiler=yes
6706 else
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.$ac_ext >&5
6709
6710 ac_header_compiler=no
6711 fi
6712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6713 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6714 echo "${ECHO_T}$ac_header_compiler" >&6
6715
6716 # Is the header present?
6717 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6718 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #include <$ac_header>
6726 _ACEOF
6727 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6728 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6729 ac_status=$?
6730 grep -v '^ *+' conftest.er1 >conftest.err
6731 rm -f conftest.er1
6732 cat conftest.err >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } >/dev/null; then
6735 if test -s conftest.err; then
6736 ac_cpp_err=$ac_cxx_preproc_warn_flag
6737 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6738 else
6739 ac_cpp_err=
6740 fi
6741 else
6742 ac_cpp_err=yes
6743 fi
6744 if test -z "$ac_cpp_err"; then
6745 ac_header_preproc=yes
6746 else
6747 echo "$as_me: failed program was:" >&5
6748 sed 's/^/| /' conftest.$ac_ext >&5
6749
6750 ac_header_preproc=no
6751 fi
6752 rm -f conftest.err conftest.$ac_ext
6753 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6754 echo "${ECHO_T}$ac_header_preproc" >&6
6755
6756 # So? What about this header?
6757 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6758 yes:no: )
6759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6763 ac_header_preproc=yes
6764 ;;
6765 no:yes:* )
6766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6778 (
6779 cat <<\_ASBOX
6780 ## ----------------------------------------- ##
6781 ## Report this to the package-unused lists. ##
6782 ## ----------------------------------------- ##
6783 _ASBOX
6784 ) |
6785 sed "s/^/$as_me: WARNING: /" >&2
6786 ;;
6787 esac
6788 echo "$as_me:$LINENO: checking for $ac_header" >&5
6789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6791 echo $ECHO_N "(cached) $ECHO_C" >&6
6792 else
6793 eval "$as_ac_Header=\$ac_header_preproc"
6794 fi
6795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6797
6798 fi
6799 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6800 cat >>confdefs.h <<_ACEOF
6801 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6802 _ACEOF
6803 ac_has_complex_h=yes
6804 else
6805 ac_has_complex_h=no
6806 fi
6807
6808 done
6809
6810 ac_c99_complex=no;
6811 if test x"$ac_has_complex_h" = x"yes"; then
6812 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6813 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6814 cat >conftest.$ac_ext <<_ACEOF
6815 /* confdefs.h. */
6816 _ACEOF
6817 cat confdefs.h >>conftest.$ac_ext
6818 cat >>conftest.$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #include <complex.h>
6821 int
6822 main ()
6823 {
6824 typedef __complex__ float float_type; float_type tmpf;
6825 cabsf(tmpf);
6826 cargf(tmpf);
6827 ccosf(tmpf);
6828 ccoshf(tmpf);
6829 cexpf(tmpf);
6830 csinf(tmpf);
6831 csinhf(tmpf);
6832 csqrtf(tmpf);
6833 ctanf(tmpf);
6834 ctanhf(tmpf);
6835 cpowf(tmpf, tmpf);
6836 typedef __complex__ double double_type; double_type tmpd;
6837 cabs(tmpd);
6838 carg(tmpd);
6839 ccos(tmpd);
6840 ccosh(tmpd);
6841 cexp(tmpd);
6842 csin(tmpd);
6843 csinh(tmpd);
6844 csqrt(tmpd);
6845 ctan(tmpd);
6846 ctanh(tmpd);
6847 cpow(tmpd, tmpd);
6848 typedef __complex__ long double ld_type; ld_type tmpld;
6849 cabsl(tmpld);
6850 cargl(tmpld);
6851 ccosl(tmpld);
6852 ccoshl(tmpld);
6853 cexpl(tmpld);
6854 csinl(tmpld);
6855 csinhl(tmpld);
6856 csqrtl(tmpld);
6857 ctanl(tmpld);
6858 ctanhl(tmpld);
6859 cpowl(tmpld, tmpld);
6860
6861 ;
6862 return 0;
6863 }
6864 _ACEOF
6865 rm -f conftest.$ac_objext
6866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6867 (eval $ac_compile) 2>conftest.er1
6868 ac_status=$?
6869 grep -v '^ *+' conftest.er1 >conftest.err
6870 rm -f conftest.er1
6871 cat conftest.err >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } &&
6874 { ac_try='test -z "$ac_cxx_werror_flag"
6875 || test ! -s conftest.err'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877 (eval $ac_try) 2>&5
6878 ac_status=$?
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; } &&
6881 { ac_try='test -s conftest.$ac_objext'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6883 (eval $ac_try) 2>&5
6884 ac_status=$?
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; }; then
6887 ac_c99_complex=yes
6888 else
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.$ac_ext >&5
6891
6892 ac_c99_complex=no
6893 fi
6894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6895 fi
6896 CXXFLAGS="$save_CXXFLAGS"
6897 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6898 echo "${ECHO_T}$ac_c99_complex" >&6
6899 if test x"$ac_c99_complex" = x"yes"; then
6900 cat >>confdefs.h <<\_ACEOF
6901 #define _GLIBCXX_USE_C99_COMPLEX 1
6902 _ACEOF
6903
6904 fi
6905
6906 # Check for the existence in <stdio.h> of vscanf, et. al.
6907 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6908 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6909 if test "${ac_c99_stdio+set}" = set; then
6910 echo $ECHO_N "(cached) $ECHO_C" >&6
6911 else
6912
6913 cat >conftest.$ac_ext <<_ACEOF
6914 /* confdefs.h. */
6915 _ACEOF
6916 cat confdefs.h >>conftest.$ac_ext
6917 cat >>conftest.$ac_ext <<_ACEOF
6918 /* end confdefs.h. */
6919 #include <stdio.h>
6920 #include <stdarg.h>
6921 void foo(char* fmt, ...)
6922 {
6923 va_list args; va_start(args, fmt);
6924 vfscanf(stderr, "%i", args);
6925 vscanf("%i", args);
6926 vsnprintf(fmt, 0, "%i", args);
6927 vsscanf(fmt, "%i", args);
6928 }
6929 int
6930 main ()
6931 {
6932 snprintf("12", 0, "%i");
6933 ;
6934 return 0;
6935 }
6936 _ACEOF
6937 rm -f conftest.$ac_objext
6938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6939 (eval $ac_compile) 2>conftest.er1
6940 ac_status=$?
6941 grep -v '^ *+' conftest.er1 >conftest.err
6942 rm -f conftest.er1
6943 cat conftest.err >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); } &&
6946 { ac_try='test -z "$ac_cxx_werror_flag"
6947 || test ! -s conftest.err'
6948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949 (eval $ac_try) 2>&5
6950 ac_status=$?
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); }; } &&
6953 { ac_try='test -s conftest.$ac_objext'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 (eval $ac_try) 2>&5
6956 ac_status=$?
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; }; then
6959 ac_c99_stdio=yes
6960 else
6961 echo "$as_me: failed program was:" >&5
6962 sed 's/^/| /' conftest.$ac_ext >&5
6963
6964 ac_c99_stdio=no
6965 fi
6966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6967
6968 fi
6969
6970 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6971 echo "${ECHO_T}$ac_c99_stdio" >&6
6972
6973 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6974 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6975 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6976 if test "${ac_c99_stdlib+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 else
6979
6980 cat >conftest.$ac_ext <<_ACEOF
6981 /* confdefs.h. */
6982 _ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6986 #include <stdlib.h>
6987 int
6988 main ()
6989 {
6990 char* tmp;
6991 strtof("gnu", &tmp);
6992 strtold("gnu", &tmp);
6993 llabs(10);
6994 lldiv(10,1);
6995 atoll("10");
6996 _Exit(0);
6997 lldiv_t mydivt;
6998 ;
6999 return 0;
7000 }
7001 _ACEOF
7002 rm -f conftest.$ac_objext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7004 (eval $ac_compile) 2>conftest.er1
7005 ac_status=$?
7006 grep -v '^ *+' conftest.er1 >conftest.err
7007 rm -f conftest.er1
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -z "$ac_cxx_werror_flag"
7012 || test ! -s conftest.err'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 (eval $ac_try) 2>&5
7015 ac_status=$?
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; } &&
7018 { ac_try='test -s conftest.$ac_objext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7024 ac_c99_stdlib=yes
7025 else
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.$ac_ext >&5
7028
7029 ac_c99_stdlib=no
7030 fi
7031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7032
7033 fi
7034
7035 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7036 echo "${ECHO_T}$ac_c99_stdlib" >&6
7037
7038 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7039
7040 for ac_header in wctype.h
7041 do
7042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7044 echo "$as_me:$LINENO: checking for $ac_header" >&5
7045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7047 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 fi
7049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7051 else
7052 # Is the header compilable?
7053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7056 /* confdefs.h. */
7057 _ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 $ac_includes_default
7062 #include <$ac_header>
7063 _ACEOF
7064 rm -f conftest.$ac_objext
7065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7066 (eval $ac_compile) 2>conftest.er1
7067 ac_status=$?
7068 grep -v '^ *+' conftest.er1 >conftest.err
7069 rm -f conftest.er1
7070 cat conftest.err >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try='test -z "$ac_cxx_werror_flag"
7074 || test ! -s conftest.err'
7075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7076 (eval $ac_try) 2>&5
7077 ac_status=$?
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; } &&
7080 { ac_try='test -s conftest.$ac_objext'
7081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7082 (eval $ac_try) 2>&5
7083 ac_status=$?
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); }; }; then
7086 ac_header_compiler=yes
7087 else
7088 echo "$as_me: failed program was:" >&5
7089 sed 's/^/| /' conftest.$ac_ext >&5
7090
7091 ac_header_compiler=no
7092 fi
7093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7095 echo "${ECHO_T}$ac_header_compiler" >&6
7096
7097 # Is the header present?
7098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7100 cat >conftest.$ac_ext <<_ACEOF
7101 /* confdefs.h. */
7102 _ACEOF
7103 cat confdefs.h >>conftest.$ac_ext
7104 cat >>conftest.$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7106 #include <$ac_header>
7107 _ACEOF
7108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7110 ac_status=$?
7111 grep -v '^ *+' conftest.er1 >conftest.err
7112 rm -f conftest.er1
7113 cat conftest.err >&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } >/dev/null; then
7116 if test -s conftest.err; then
7117 ac_cpp_err=$ac_cxx_preproc_warn_flag
7118 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7119 else
7120 ac_cpp_err=
7121 fi
7122 else
7123 ac_cpp_err=yes
7124 fi
7125 if test -z "$ac_cpp_err"; then
7126 ac_header_preproc=yes
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7130
7131 ac_header_preproc=no
7132 fi
7133 rm -f conftest.err conftest.$ac_ext
7134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7135 echo "${ECHO_T}$ac_header_preproc" >&6
7136
7137 # So? What about this header?
7138 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7139 yes:no: )
7140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7144 ac_header_preproc=yes
7145 ;;
7146 no:yes:* )
7147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7159 (
7160 cat <<\_ASBOX
7161 ## ----------------------------------------- ##
7162 ## Report this to the package-unused lists. ##
7163 ## ----------------------------------------- ##
7164 _ASBOX
7165 ) |
7166 sed "s/^/$as_me: WARNING: /" >&2
7167 ;;
7168 esac
7169 echo "$as_me:$LINENO: checking for $ac_header" >&5
7170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7172 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 else
7174 eval "$as_ac_Header=\$ac_header_preproc"
7175 fi
7176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7178
7179 fi
7180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7181 cat >>confdefs.h <<_ACEOF
7182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7183 _ACEOF
7184 ac_has_wctype_h=yes
7185 else
7186 ac_has_wctype_h=no
7187 fi
7188
7189 done
7190
7191 ac_c99_wchar=no;
7192 if test x"$ac_has_wchar_h" = xyes &&
7193 test x"$ac_has_wctype_h" = xyes; then
7194 cat >conftest.$ac_ext <<_ACEOF
7195 /* confdefs.h. */
7196 _ACEOF
7197 cat confdefs.h >>conftest.$ac_ext
7198 cat >>conftest.$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7200 #include <wchar.h>
7201 #include <stddef.h>
7202 wint_t i;
7203 long l = WEOF;
7204 long j = WCHAR_MIN;
7205 long k = WCHAR_MAX;
7206 namespace test
7207 {
7208 using ::btowc;
7209 using ::fgetwc;
7210 using ::fgetws;
7211 using ::fputwc;
7212 using ::fputws;
7213 using ::fwide;
7214 using ::fwprintf;
7215 using ::fwscanf;
7216 using ::getwc;
7217 using ::getwchar;
7218 using ::mbrlen;
7219 using ::mbrtowc;
7220 using ::mbsinit;
7221 using ::mbsrtowcs;
7222 using ::putwc;
7223 using ::putwchar;
7224 using ::swprintf;
7225 using ::swscanf;
7226 using ::ungetwc;
7227 using ::vfwprintf;
7228 using ::vswprintf;
7229 using ::vwprintf;
7230 using ::wcrtomb;
7231 using ::wcscat;
7232 using ::wcschr;
7233 using ::wcscmp;
7234 using ::wcscoll;
7235 using ::wcscpy;
7236 using ::wcscspn;
7237 using ::wcsftime;
7238 using ::wcslen;
7239 using ::wcsncat;
7240 using ::wcsncmp;
7241 using ::wcsncpy;
7242 using ::wcspbrk;
7243 using ::wcsrchr;
7244 using ::wcsrtombs;
7245 using ::wcsspn;
7246 using ::wcsstr;
7247 using ::wcstod;
7248 using ::wcstok;
7249 using ::wcstol;
7250 using ::wcstold;
7251 using ::wcstoll;
7252 using ::wcstoul;
7253 using ::wcstoull;
7254 using ::wcsxfrm;
7255 using ::wctob;
7256 using ::wmemchr;
7257 using ::wmemcmp;
7258 using ::wmemcpy;
7259 using ::wmemmove;
7260 using ::wmemset;
7261 using ::wprintf;
7262 using ::wscanf;
7263 }
7264
7265 int
7266 main ()
7267 {
7268
7269 ;
7270 return 0;
7271 }
7272 _ACEOF
7273 rm -f conftest.$ac_objext
7274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7275 (eval $ac_compile) 2>conftest.er1
7276 ac_status=$?
7277 grep -v '^ *+' conftest.er1 >conftest.err
7278 rm -f conftest.er1
7279 cat conftest.err >&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -z "$ac_cxx_werror_flag"
7283 || test ! -s conftest.err'
7284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 (eval $ac_try) 2>&5
7286 ac_status=$?
7287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7288 (exit $ac_status); }; } &&
7289 { ac_try='test -s conftest.$ac_objext'
7290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 (eval $ac_try) 2>&5
7292 ac_status=$?
7293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7294 (exit $ac_status); }; }; then
7295 ac_c99_wchar=yes
7296 else
7297 echo "$as_me: failed program was:" >&5
7298 sed 's/^/| /' conftest.$ac_ext >&5
7299
7300 ac_c99_wchar=no
7301 fi
7302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7303
7304 # Checks for wide character functions that may not be present.
7305 # Injection of these is wrapped with guard macros.
7306 # NB: only put functions here, instead of immediately above, if
7307 # absolutely necessary.
7308 cat >conftest.$ac_ext <<_ACEOF
7309 /* confdefs.h. */
7310 _ACEOF
7311 cat confdefs.h >>conftest.$ac_ext
7312 cat >>conftest.$ac_ext <<_ACEOF
7313 /* end confdefs.h. */
7314 #include <wchar.h>
7315 namespace test { using ::vfwscanf; }
7316 int
7317 main ()
7318 {
7319
7320 ;
7321 return 0;
7322 }
7323 _ACEOF
7324 rm -f conftest.$ac_objext
7325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7326 (eval $ac_compile) 2>conftest.er1
7327 ac_status=$?
7328 grep -v '^ *+' conftest.er1 >conftest.err
7329 rm -f conftest.er1
7330 cat conftest.err >&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); } &&
7333 { ac_try='test -z "$ac_cxx_werror_flag"
7334 || test ! -s conftest.err'
7335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7336 (eval $ac_try) 2>&5
7337 ac_status=$?
7338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339 (exit $ac_status); }; } &&
7340 { ac_try='test -s conftest.$ac_objext'
7341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 (eval $ac_try) 2>&5
7343 ac_status=$?
7344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345 (exit $ac_status); }; }; then
7346
7347 cat >>confdefs.h <<\_ACEOF
7348 #define HAVE_VFWSCANF 1
7349 _ACEOF
7350
7351 else
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7354
7355 fi
7356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7357
7358 cat >conftest.$ac_ext <<_ACEOF
7359 /* confdefs.h. */
7360 _ACEOF
7361 cat confdefs.h >>conftest.$ac_ext
7362 cat >>conftest.$ac_ext <<_ACEOF
7363 /* end confdefs.h. */
7364 #include <wchar.h>
7365 namespace test { using ::vswscanf; }
7366 int
7367 main ()
7368 {
7369
7370 ;
7371 return 0;
7372 }
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376 (eval $ac_compile) 2>conftest.er1
7377 ac_status=$?
7378 grep -v '^ *+' conftest.er1 >conftest.err
7379 rm -f conftest.er1
7380 cat conftest.err >&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try='test -z "$ac_cxx_werror_flag"
7384 || test ! -s conftest.err'
7385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7386 (eval $ac_try) 2>&5
7387 ac_status=$?
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); }; } &&
7390 { ac_try='test -s conftest.$ac_objext'
7391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7392 (eval $ac_try) 2>&5
7393 ac_status=$?
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); }; }; then
7396
7397 cat >>confdefs.h <<\_ACEOF
7398 #define HAVE_VSWSCANF 1
7399 _ACEOF
7400
7401 else
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7404
7405 fi
7406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7407
7408 cat >conftest.$ac_ext <<_ACEOF
7409 /* confdefs.h. */
7410 _ACEOF
7411 cat confdefs.h >>conftest.$ac_ext
7412 cat >>conftest.$ac_ext <<_ACEOF
7413 /* end confdefs.h. */
7414 #include <wchar.h>
7415 namespace test { using ::vwscanf; }
7416 int
7417 main ()
7418 {
7419
7420 ;
7421 return 0;
7422 }
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7426 (eval $ac_compile) 2>conftest.er1
7427 ac_status=$?
7428 grep -v '^ *+' conftest.er1 >conftest.err
7429 rm -f conftest.er1
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } &&
7433 { ac_try='test -z "$ac_cxx_werror_flag"
7434 || test ! -s conftest.err'
7435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7436 (eval $ac_try) 2>&5
7437 ac_status=$?
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }; } &&
7440 { ac_try='test -s conftest.$ac_objext'
7441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442 (eval $ac_try) 2>&5
7443 ac_status=$?
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); }; }; then
7446
7447 cat >>confdefs.h <<\_ACEOF
7448 #define HAVE_VWSCANF 1
7449 _ACEOF
7450
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7454
7455 fi
7456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457
7458 cat >conftest.$ac_ext <<_ACEOF
7459 /* confdefs.h. */
7460 _ACEOF
7461 cat confdefs.h >>conftest.$ac_ext
7462 cat >>conftest.$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 #include <wchar.h>
7465 namespace test { using ::wcstof; }
7466 int
7467 main ()
7468 {
7469
7470 ;
7471 return 0;
7472 }
7473 _ACEOF
7474 rm -f conftest.$ac_objext
7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7476 (eval $ac_compile) 2>conftest.er1
7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } &&
7483 { ac_try='test -z "$ac_cxx_werror_flag"
7484 || test ! -s conftest.err'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; } &&
7490 { ac_try='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 (eval $ac_try) 2>&5
7493 ac_status=$?
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7496
7497 cat >>confdefs.h <<\_ACEOF
7498 #define HAVE_WCSTOF 1
7499 _ACEOF
7500
7501 else
7502 echo "$as_me: failed program was:" >&5
7503 sed 's/^/| /' conftest.$ac_ext >&5
7504
7505 fi
7506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7507
7508 cat >conftest.$ac_ext <<_ACEOF
7509 /* confdefs.h. */
7510 _ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <wctype.h>
7515 int
7516 main ()
7517 {
7518 wint_t t; int i = iswblank(t);
7519 ;
7520 return 0;
7521 }
7522 _ACEOF
7523 rm -f conftest.$ac_objext
7524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7525 (eval $ac_compile) 2>conftest.er1
7526 ac_status=$?
7527 grep -v '^ *+' conftest.er1 >conftest.err
7528 rm -f conftest.er1
7529 cat conftest.err >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); } &&
7532 { ac_try='test -z "$ac_cxx_werror_flag"
7533 || test ! -s conftest.err'
7534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 (eval $ac_try) 2>&5
7536 ac_status=$?
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); }; } &&
7539 { ac_try='test -s conftest.$ac_objext'
7540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 (eval $ac_try) 2>&5
7542 ac_status=$?
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); }; }; then
7545
7546 cat >>confdefs.h <<\_ACEOF
7547 #define HAVE_ISWBLANK 1
7548 _ACEOF
7549
7550 else
7551 echo "$as_me: failed program was:" >&5
7552 sed 's/^/| /' conftest.$ac_ext >&5
7553
7554 fi
7555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7556
7557 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7558 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7559 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7560 echo "${ECHO_T}$ac_c99_wchar" >&6
7561 fi
7562
7563 # Option parsed, now set things appropriately.
7564 if test x"$ac_c99_math" = x"no" ||
7565 test x"$ac_c99_complex" = x"no" ||
7566 test x"$ac_c99_stdio" = x"no" ||
7567 test x"$ac_c99_stdlib" = x"no" ||
7568 test x"$ac_c99_wchar" = x"no"; then
7569 enable_c99=no;
7570 else
7571 cat >>confdefs.h <<\_ACEOF
7572 #define _GLIBCXX_USE_C99 1
7573 _ACEOF
7574
7575 fi
7576
7577 ac_ext=c
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7582
7583 fi
7584
7585 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7586 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7587 echo "$as_me:$LINENO: result: $enable_c99" >&5
7588 echo "${ECHO_T}$enable_c99" >&6
7589
7590
7591 # Check whether --enable-long-long or --disable-long-long was given.
7592 if test "${enable_long_long+set}" = set; then
7593 enableval="$enable_long_long"
7594
7595 case "$enableval" in
7596 yes|no) ;;
7597 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7598 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7599 { (exit 1); exit 1; }; } ;;
7600 esac
7601
7602 else
7603 enable_long_long=yes
7604 fi;
7605
7606 if test $enable_long_long = yes; then
7607 cat >>confdefs.h <<\_ACEOF
7608 #define _GLIBCXX_USE_LONG_LONG 1
7609 _ACEOF
7610
7611 fi
7612 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7613 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7614 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7615 echo "${ECHO_T}$enable_long_long" >&6
7616
7617
7618 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7619 if test "${enable_wchar_t+set}" = set; then
7620 enableval="$enable_wchar_t"
7621
7622 case "$enableval" in
7623 yes|no) ;;
7624 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7625 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7626 { (exit 1); exit 1; }; } ;;
7627 esac
7628
7629 else
7630 enable_wchar_t=yes
7631 fi;
7632
7633 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7634 cat >>confdefs.h <<\_ACEOF
7635 #define _GLIBCXX_USE_WCHAR_T 1
7636 _ACEOF
7637
7638 fi
7639 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7640 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7641 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7642 echo "${ECHO_T}$enable_wchar_t" >&6
7643
7644
7645 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7646 if test "${enable_concept_checks+set}" = set; then
7647 enableval="$enable_concept_checks"
7648
7649 case "$enableval" in
7650 yes|no) ;;
7651 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7652 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7653 { (exit 1); exit 1; }; } ;;
7654 esac
7655
7656 else
7657 enable_concept_checks=no
7658 fi;
7659
7660 if test $enable_concept_checks = yes; then
7661 cat >>confdefs.h <<\_ACEOF
7662 #define _GLIBCXX_CONCEPT_CHECKS 1
7663 _ACEOF
7664
7665 fi
7666
7667
7668 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7669 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7670 enableval="$enable_libstdcxx_debug_flags"
7671 case "x$enable_libstdcxx_debug_flags" in
7672 xno | x) enable_libstdcxx_debug_flags= ;;
7673 x-*) ;;
7674 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7675 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7676 { (exit 1); exit 1; }; } ;;
7677 esac
7678 else
7679 enable_libstdcxx_debug_flags="-g3 -O0"
7680 fi;
7681
7682
7683 # Option parsed, now set things appropriately
7684 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7685
7686
7687 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7688 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7689
7690
7691 echo "$as_me:$LINENO: checking for additional debug build" >&5
7692 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7693 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7694 if test "${enable_libstdcxx_debug+set}" = set; then
7695 enableval="$enable_libstdcxx_debug"
7696
7697 case "$enableval" in
7698 yes|no) ;;
7699 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7700 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7701 { (exit 1); exit 1; }; } ;;
7702 esac
7703
7704 else
7705 enable_libstdcxx_debug=no
7706 fi;
7707
7708 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7709 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7710
7711
7712 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7713 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7714 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7715 if test "${enable_cxx_flags+set}" = set; then
7716 enableval="$enable_cxx_flags"
7717 case "x$enable_cxx_flags" in
7718 xno | x) enable_cxx_flags= ;;
7719 x-*) ;;
7720 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7721 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7722 { (exit 1); exit 1; }; } ;;
7723 esac
7724 else
7725 enable_cxx_flags=
7726 fi;
7727
7728
7729 # Run through flags (either default or command-line) and set anything
7730 # extra (e.g., #defines) that must accompany particular g++ options.
7731 if test -n "$enable_cxx_flags"; then
7732 for f in $enable_cxx_flags; do
7733 case "$f" in
7734 -fhonor-std) ;;
7735 -*) ;;
7736 *) # and we're trying to pass /what/ exactly?
7737 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7738 echo "$as_me: error: compiler flags start with a -" >&2;}
7739 { (exit 1); exit 1; }; } ;;
7740 esac
7741 done
7742 fi
7743
7744 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7745 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7746 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7747
7748
7749
7750 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7751 if test "${enable_fully_dynamic_string+set}" = set; then
7752 enableval="$enable_fully_dynamic_string"
7753
7754 case "$enableval" in
7755 yes|no) ;;
7756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7757 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7758 { (exit 1); exit 1; }; } ;;
7759 esac
7760
7761 else
7762 enable_fully_dynamic_string=no
7763 fi;
7764
7765 if test $enable_fully_dynamic_string = yes; then
7766 cat >>confdefs.h <<\_ACEOF
7767 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7768 _ACEOF
7769
7770 fi
7771
7772
7773 # No surprises, no surprises...
7774
7775 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7776 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7777 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7778 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7779 echo "${ECHO_T}$target_thread_file" >&6
7780
7781 if test $target_thread_file != single; then
7782 cat >>confdefs.h <<\_ACEOF
7783 #define HAVE_GTHR_DEFAULT 1
7784 _ACEOF
7785
7786 fi
7787
7788 glibcxx_thread_h=gthr-$target_thread_file.h
7789
7790 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7791 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7792 enable_thread=yes
7793 else
7794 enable_thread=no
7795 fi
7796
7797
7798
7799 if test $atomicity_dir = cpu/generic ; then
7800 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7801 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7802 if test $target_thread_file = single; then
7803 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7804 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7805 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7806 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7807 else
7808 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7809 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7810 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7811 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7812 fi
7813 fi
7814
7815
7816 if $GLIBCXX_IS_NATIVE; then
7817
7818 # We can do more elaborate tests that assume a working linker.
7819 CANADIAN=no
7820
7821 # Check for available headers.
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7838 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7839 sys/types.h sys/ipc.h sys/sem.h
7840 do
7841 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7843 echo "$as_me:$LINENO: checking for $ac_header" >&5
7844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7846 echo $ECHO_N "(cached) $ECHO_C" >&6
7847 fi
7848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7850 else
7851 # Is the header compilable?
7852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7854 cat >conftest.$ac_ext <<_ACEOF
7855 /* confdefs.h. */
7856 _ACEOF
7857 cat confdefs.h >>conftest.$ac_ext
7858 cat >>conftest.$ac_ext <<_ACEOF
7859 /* end confdefs.h. */
7860 $ac_includes_default
7861 #include <$ac_header>
7862 _ACEOF
7863 rm -f conftest.$ac_objext
7864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7865 (eval $ac_compile) 2>conftest.er1
7866 ac_status=$?
7867 grep -v '^ *+' conftest.er1 >conftest.err
7868 rm -f conftest.er1
7869 cat conftest.err >&5
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); } &&
7872 { ac_try='test -z "$ac_c_werror_flag"
7873 || test ! -s conftest.err'
7874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875 (eval $ac_try) 2>&5
7876 ac_status=$?
7877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878 (exit $ac_status); }; } &&
7879 { ac_try='test -s conftest.$ac_objext'
7880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7881 (eval $ac_try) 2>&5
7882 ac_status=$?
7883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884 (exit $ac_status); }; }; then
7885 ac_header_compiler=yes
7886 else
7887 echo "$as_me: failed program was:" >&5
7888 sed 's/^/| /' conftest.$ac_ext >&5
7889
7890 ac_header_compiler=no
7891 fi
7892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7894 echo "${ECHO_T}$ac_header_compiler" >&6
7895
7896 # Is the header present?
7897 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7898 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7899 cat >conftest.$ac_ext <<_ACEOF
7900 /* confdefs.h. */
7901 _ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7904 /* end confdefs.h. */
7905 #include <$ac_header>
7906 _ACEOF
7907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7909 ac_status=$?
7910 grep -v '^ *+' conftest.er1 >conftest.err
7911 rm -f conftest.er1
7912 cat conftest.err >&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } >/dev/null; then
7915 if test -s conftest.err; then
7916 ac_cpp_err=$ac_c_preproc_warn_flag
7917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7918 else
7919 ac_cpp_err=
7920 fi
7921 else
7922 ac_cpp_err=yes
7923 fi
7924 if test -z "$ac_cpp_err"; then
7925 ac_header_preproc=yes
7926 else
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7929
7930 ac_header_preproc=no
7931 fi
7932 rm -f conftest.err conftest.$ac_ext
7933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7934 echo "${ECHO_T}$ac_header_preproc" >&6
7935
7936 # So? What about this header?
7937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7938 yes:no: )
7939 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7940 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7942 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7943 ac_header_preproc=yes
7944 ;;
7945 no:yes:* )
7946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7950 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7951 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7952 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7953 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7955 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7956 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7957 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7958 (
7959 cat <<\_ASBOX
7960 ## ----------------------------------------- ##
7961 ## Report this to the package-unused lists. ##
7962 ## ----------------------------------------- ##
7963 _ASBOX
7964 ) |
7965 sed "s/^/$as_me: WARNING: /" >&2
7966 ;;
7967 esac
7968 echo "$as_me:$LINENO: checking for $ac_header" >&5
7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 eval "$as_ac_Header=\$ac_header_preproc"
7974 fi
7975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7977
7978 fi
7979 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7980 cat >>confdefs.h <<_ACEOF
7981 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7982 _ACEOF
7983
7984 fi
7985
7986 done
7987
7988
7989
7990 # All these tests are for C++; save the language and the compiler flags.
7991 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7992 # found in GLIBCXX_CONFIGURE.
7993
7994
7995 ac_ext=cc
7996 ac_cpp='$CXXCPP $CPPFLAGS'
7997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8000
8001 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8002 ac_save_CXXFLAGS="$CXXFLAGS"
8003
8004 # Check for maintainer-mode bits.
8005 if test x"$USE_MAINTAINER_MODE" = xno; then
8006 WERROR=''
8007 else
8008 WERROR='-Werror'
8009 fi
8010
8011 # Check for -ffunction-sections -fdata-sections
8012 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8013 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8014 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8015 cat >conftest.$ac_ext <<_ACEOF
8016 /* confdefs.h. */
8017 _ACEOF
8018 cat confdefs.h >>conftest.$ac_ext
8019 cat >>conftest.$ac_ext <<_ACEOF
8020 /* end confdefs.h. */
8021
8022 int
8023 main ()
8024 {
8025 int foo;
8026 ;
8027 return 0;
8028 }
8029 _ACEOF
8030 rm -f conftest.$ac_objext
8031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8032 (eval $ac_compile) 2>conftest.er1
8033 ac_status=$?
8034 grep -v '^ *+' conftest.er1 >conftest.err
8035 rm -f conftest.er1
8036 cat conftest.err >&5
8037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8038 (exit $ac_status); } &&
8039 { ac_try='test -z "$ac_cxx_werror_flag"
8040 || test ! -s conftest.err'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8042 (eval $ac_try) 2>&5
8043 ac_status=$?
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; } &&
8046 { ac_try='test -s conftest.$ac_objext'
8047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8048 (eval $ac_try) 2>&5
8049 ac_status=$?
8050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8051 (exit $ac_status); }; }; then
8052 ac_fdsections=yes
8053 else
8054 echo "$as_me: failed program was:" >&5
8055 sed 's/^/| /' conftest.$ac_ext >&5
8056
8057 ac_fdsections=no
8058 fi
8059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8060 if test "$ac_test_CXXFLAGS" = set; then
8061 CXXFLAGS="$ac_save_CXXFLAGS"
8062 else
8063 # this is the suspicious part
8064 CXXFLAGS=''
8065 fi
8066 if test x"$ac_fdsections" = x"yes"; then
8067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8068 fi
8069 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8070 echo "${ECHO_T}$ac_fdsections" >&6
8071
8072 ac_ext=c
8073 ac_cpp='$CPP $CPPFLAGS'
8074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8077
8078
8079
8080
8081
8082 # If we're not using GNU ld, then there's no point in even trying these
8083 # tests. Check for that first. We should have already tested for gld
8084 # by now (in libtool), but require it now just to be safe...
8085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8087
8088
8089
8090 # The name set by libtool depends on the version of libtool. Shame on us
8091 # for depending on an impl detail, but c'est la vie. Older versions used
8092 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8093 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8094 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8095 # set (hence we're using an older libtool), then set it.
8096 if test x${with_gnu_ld+set} != xset; then
8097 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8098 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8099 with_gnu_ld=no
8100 else
8101 with_gnu_ld=$ac_cv_prog_gnu_ld
8102 fi
8103 fi
8104
8105 # Start by getting the version number. I think the libtool test already
8106 # does some of this, but throws away the result.
8107
8108 ldver=`$LD --version 2>/dev/null | head -1 | \
8109 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8110
8111 glibcxx_gnu_ld_version=`echo $ldver | \
8112 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8113
8114 # Set --gc-sections.
8115 if test "$with_gnu_ld" = "notbroken"; then
8116 # GNU ld it is! Joy and bunny rabbits!
8117
8118 # All these tests are for C++; save the language and the compiler flags.
8119 # Need to do this so that g++ won't try to link in libstdc++
8120 ac_test_CFLAGS="${CFLAGS+set}"
8121 ac_save_CFLAGS="$CFLAGS"
8122 CFLAGS='-x c++ -Wl,--gc-sections'
8123
8124 # Check for -Wl,--gc-sections
8125 # XXX This test is broken at the moment, as symbols required for linking
8126 # are now in libsupc++ (not built yet). In addition, this test has
8127 # cored on solaris in the past. In addition, --gc-sections doesn't
8128 # really work at the moment (keeps on discarding used sections, first
8129 # .eh_frame and now some of the glibc sections for iconv).
8130 # Bzzzzt. Thanks for playing, maybe next time.
8131 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8132 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8133 if test "$cross_compiling" = yes; then
8134 ac_sectionLDflags=yes
8135 else
8136 cat >conftest.$ac_ext <<_ACEOF
8137 /* confdefs.h. */
8138 _ACEOF
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8142
8143 int main(void)
8144 {
8145 try { throw 1; }
8146 catch (...) { };
8147 return 0;
8148 }
8149
8150 _ACEOF
8151 rm -f conftest$ac_exeext
8152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8153 (eval $ac_link) 2>&5
8154 ac_status=$?
8155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8156 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_sectionLDflags=yes
8163 else
8164 echo "$as_me: program exited with status $ac_status" >&5
8165 echo "$as_me: failed program was:" >&5
8166 sed 's/^/| /' conftest.$ac_ext >&5
8167
8168 ( exit $ac_status )
8169 ac_sectionLDflags=no
8170 fi
8171 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8172 fi
8173 if test "$ac_test_CFLAGS" = set; then
8174 CFLAGS="$ac_save_CFLAGS"
8175 else
8176 # this is the suspicious part
8177 CFLAGS=''
8178 fi
8179 if test "$ac_sectionLDflags" = "yes"; then
8180 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8181 fi
8182 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8183 echo "${ECHO_T}$ac_sectionLDflags" >&6
8184 fi
8185
8186 # Set linker optimization flags.
8187 if test x"$with_gnu_ld" = x"yes"; then
8188 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8189 fi
8190
8191
8192
8193
8194
8195 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8196 ac_save_CXXFLAGS="$CXXFLAGS"
8197 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8198
8199 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8200 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8201 if test "${ac_cv_lib_m_sin+set}" = set; then
8202 echo $ECHO_N "(cached) $ECHO_C" >&6
8203 else
8204 ac_check_lib_save_LIBS=$LIBS
8205 LIBS="-lm $LIBS"
8206 if test x$gcc_no_link = xyes; then
8207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8209 { (exit 1); exit 1; }; }
8210 fi
8211 cat >conftest.$ac_ext <<_ACEOF
8212 /* confdefs.h. */
8213 _ACEOF
8214 cat confdefs.h >>conftest.$ac_ext
8215 cat >>conftest.$ac_ext <<_ACEOF
8216 /* end confdefs.h. */
8217
8218 /* Override any gcc2 internal prototype to avoid an error. */
8219 #ifdef __cplusplus
8220 extern "C"
8221 #endif
8222 /* We use char because int might match the return type of a gcc2
8223 builtin and then its argument prototype would still apply. */
8224 char sin ();
8225 int
8226 main ()
8227 {
8228 sin ();
8229 ;
8230 return 0;
8231 }
8232 _ACEOF
8233 rm -f conftest.$ac_objext conftest$ac_exeext
8234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8235 (eval $ac_link) 2>conftest.er1
8236 ac_status=$?
8237 grep -v '^ *+' conftest.er1 >conftest.err
8238 rm -f conftest.er1
8239 cat conftest.err >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); } &&
8242 { ac_try='test -z "$ac_c_werror_flag"
8243 || test ! -s conftest.err'
8244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 (eval $ac_try) 2>&5
8246 ac_status=$?
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); }; } &&
8249 { ac_try='test -s conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8251 (eval $ac_try) 2>&5
8252 ac_status=$?
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_cv_lib_m_sin=yes
8256 else
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8259
8260 ac_cv_lib_m_sin=no
8261 fi
8262 rm -f conftest.err conftest.$ac_objext \
8263 conftest$ac_exeext conftest.$ac_ext
8264 LIBS=$ac_check_lib_save_LIBS
8265 fi
8266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8267 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8268 if test $ac_cv_lib_m_sin = yes; then
8269 libm="-lm"
8270 fi
8271
8272 ac_save_LIBS="$LIBS"
8273 LIBS="$LIBS $libm"
8274
8275
8276
8277 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8278 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8279 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8280 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8283
8284
8285
8286 ac_ext=cc
8287 ac_cpp='$CXXCPP $CPPFLAGS'
8288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8291
8292 cat >conftest.$ac_ext <<_ACEOF
8293 /* confdefs.h. */
8294 _ACEOF
8295 cat confdefs.h >>conftest.$ac_ext
8296 cat >>conftest.$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8298 #include <math.h>
8299 #ifdef HAVE_IEEEFP_H
8300 #include <ieeefp.h>
8301 #endif
8302
8303 int
8304 main ()
8305 {
8306 isinf(0);
8307 ;
8308 return 0;
8309 }
8310 _ACEOF
8311 rm -f conftest.$ac_objext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8313 (eval $ac_compile) 2>conftest.er1
8314 ac_status=$?
8315 grep -v '^ *+' conftest.er1 >conftest.err
8316 rm -f conftest.er1
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_cxx_werror_flag"
8321 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5
8324 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } &&
8327 { ac_try='test -s conftest.$ac_objext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 glibcxx_cv_func_isinf_use=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8337
8338 glibcxx_cv_func_isinf_use=no
8339 fi
8340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8341 ac_ext=c
8342 ac_cpp='$CPP $CPPFLAGS'
8343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8346
8347
8348 fi
8349
8350 fi
8351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8352 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8353
8354 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8355
8356 for ac_func in isinf
8357 do
8358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8359 echo "$as_me:$LINENO: checking for $ac_func" >&5
8360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8361 if eval "test \"\${$as_ac_var+set}\" = set"; then
8362 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 else
8364 if test x$gcc_no_link = xyes; then
8365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8367 { (exit 1); exit 1; }; }
8368 fi
8369 cat >conftest.$ac_ext <<_ACEOF
8370 /* confdefs.h. */
8371 _ACEOF
8372 cat confdefs.h >>conftest.$ac_ext
8373 cat >>conftest.$ac_ext <<_ACEOF
8374 /* end confdefs.h. */
8375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8377 #define $ac_func innocuous_$ac_func
8378
8379 /* System header to define __stub macros and hopefully few prototypes,
8380 which can conflict with char $ac_func (); below.
8381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8382 <limits.h> exists even on freestanding compilers. */
8383
8384 #ifdef __STDC__
8385 # include <limits.h>
8386 #else
8387 # include <assert.h>
8388 #endif
8389
8390 #undef $ac_func
8391
8392 /* Override any gcc2 internal prototype to avoid an error. */
8393 #ifdef __cplusplus
8394 extern "C"
8395 {
8396 #endif
8397 /* We use char because int might match the return type of a gcc2
8398 builtin and then its argument prototype would still apply. */
8399 char $ac_func ();
8400 /* The GNU C library defines this for functions which it implements
8401 to always fail with ENOSYS. Some functions are actually named
8402 something starting with __ and the normal name is an alias. */
8403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8404 choke me
8405 #else
8406 char (*f) () = $ac_func;
8407 #endif
8408 #ifdef __cplusplus
8409 }
8410 #endif
8411
8412 int
8413 main ()
8414 {
8415 return f != $ac_func;
8416 ;
8417 return 0;
8418 }
8419 _ACEOF
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8422 (eval $ac_link) 2>conftest.er1
8423 ac_status=$?
8424 grep -v '^ *+' conftest.er1 >conftest.err
8425 rm -f conftest.er1
8426 cat conftest.err >&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -z "$ac_c_werror_flag"
8430 || test ! -s conftest.err'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 (eval $ac_try) 2>&5
8433 ac_status=$?
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; } &&
8436 { ac_try='test -s conftest$ac_exeext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 (eval $ac_try) 2>&5
8439 ac_status=$?
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 eval "$as_ac_var=yes"
8443 else
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8446
8447 eval "$as_ac_var=no"
8448 fi
8449 rm -f conftest.err conftest.$ac_objext \
8450 conftest$ac_exeext conftest.$ac_ext
8451 fi
8452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8454 if test `eval echo '${'$as_ac_var'}'` = yes; then
8455 cat >>confdefs.h <<_ACEOF
8456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8457 _ACEOF
8458
8459 fi
8460 done
8461
8462 else
8463
8464 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8465 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8468 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 else
8470
8471
8472
8473 ac_ext=cc
8474 ac_cpp='$CXXCPP $CPPFLAGS'
8475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8478
8479 cat >conftest.$ac_ext <<_ACEOF
8480 /* confdefs.h. */
8481 _ACEOF
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8485 #include <math.h>
8486 #ifdef HAVE_IEEEFP_H
8487 #include <ieeefp.h>
8488 #endif
8489
8490 int
8491 main ()
8492 {
8493 _isinf(0);
8494 ;
8495 return 0;
8496 }
8497 _ACEOF
8498 rm -f conftest.$ac_objext
8499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8500 (eval $ac_compile) 2>conftest.er1
8501 ac_status=$?
8502 grep -v '^ *+' conftest.er1 >conftest.err
8503 rm -f conftest.er1
8504 cat conftest.err >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } &&
8507 { ac_try='test -z "$ac_cxx_werror_flag"
8508 || test ! -s conftest.err'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; } &&
8514 { ac_try='test -s conftest.$ac_objext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 (eval $ac_try) 2>&5
8517 ac_status=$?
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 glibcxx_cv_func__isinf_use=yes
8521 else
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.$ac_ext >&5
8524
8525 glibcxx_cv_func__isinf_use=no
8526 fi
8527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8528 ac_ext=c
8529 ac_cpp='$CPP $CPPFLAGS'
8530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8533
8534
8535 fi
8536
8537 fi
8538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8539 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8540
8541 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8542
8543 for ac_func in _isinf
8544 do
8545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8546 echo "$as_me:$LINENO: checking for $ac_func" >&5
8547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8548 if eval "test \"\${$as_ac_var+set}\" = set"; then
8549 echo $ECHO_N "(cached) $ECHO_C" >&6
8550 else
8551 if test x$gcc_no_link = xyes; then
8552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8554 { (exit 1); exit 1; }; }
8555 fi
8556 cat >conftest.$ac_ext <<_ACEOF
8557 /* confdefs.h. */
8558 _ACEOF
8559 cat confdefs.h >>conftest.$ac_ext
8560 cat >>conftest.$ac_ext <<_ACEOF
8561 /* end confdefs.h. */
8562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8564 #define $ac_func innocuous_$ac_func
8565
8566 /* System header to define __stub macros and hopefully few prototypes,
8567 which can conflict with char $ac_func (); below.
8568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8569 <limits.h> exists even on freestanding compilers. */
8570
8571 #ifdef __STDC__
8572 # include <limits.h>
8573 #else
8574 # include <assert.h>
8575 #endif
8576
8577 #undef $ac_func
8578
8579 /* Override any gcc2 internal prototype to avoid an error. */
8580 #ifdef __cplusplus
8581 extern "C"
8582 {
8583 #endif
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8586 char $ac_func ();
8587 /* The GNU C library defines this for functions which it implements
8588 to always fail with ENOSYS. Some functions are actually named
8589 something starting with __ and the normal name is an alias. */
8590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8591 choke me
8592 #else
8593 char (*f) () = $ac_func;
8594 #endif
8595 #ifdef __cplusplus
8596 }
8597 #endif
8598
8599 int
8600 main ()
8601 {
8602 return f != $ac_func;
8603 ;
8604 return 0;
8605 }
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8610 ac_status=$?
8611 grep -v '^ *+' conftest.er1 >conftest.err
8612 rm -f conftest.er1
8613 cat conftest.err >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try='test -z "$ac_c_werror_flag"
8617 || test ! -s conftest.err'
8618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8619 (eval $ac_try) 2>&5
8620 ac_status=$?
8621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8622 (exit $ac_status); }; } &&
8623 { ac_try='test -s conftest$ac_exeext'
8624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8625 (eval $ac_try) 2>&5
8626 ac_status=$?
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); }; }; then
8629 eval "$as_ac_var=yes"
8630 else
8631 echo "$as_me: failed program was:" >&5
8632 sed 's/^/| /' conftest.$ac_ext >&5
8633
8634 eval "$as_ac_var=no"
8635 fi
8636 rm -f conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
8638 fi
8639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8641 if test `eval echo '${'$as_ac_var'}'` = yes; then
8642 cat >>confdefs.h <<_ACEOF
8643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8644 _ACEOF
8645
8646 fi
8647 done
8648
8649 fi
8650 fi
8651
8652
8653
8654 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8655 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8656 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8657 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8658 echo $ECHO_N "(cached) $ECHO_C" >&6
8659 else
8660
8661
8662
8663 ac_ext=cc
8664 ac_cpp='$CXXCPP $CPPFLAGS'
8665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8668
8669 cat >conftest.$ac_ext <<_ACEOF
8670 /* confdefs.h. */
8671 _ACEOF
8672 cat confdefs.h >>conftest.$ac_ext
8673 cat >>conftest.$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 #include <math.h>
8676 #ifdef HAVE_IEEEFP_H
8677 #include <ieeefp.h>
8678 #endif
8679
8680 int
8681 main ()
8682 {
8683 isnan(0);
8684 ;
8685 return 0;
8686 }
8687 _ACEOF
8688 rm -f conftest.$ac_objext
8689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690 (eval $ac_compile) 2>conftest.er1
8691 ac_status=$?
8692 grep -v '^ *+' conftest.er1 >conftest.err
8693 rm -f conftest.er1
8694 cat conftest.err >&5
8695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696 (exit $ac_status); } &&
8697 { ac_try='test -z "$ac_cxx_werror_flag"
8698 || test ! -s conftest.err'
8699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700 (eval $ac_try) 2>&5
8701 ac_status=$?
8702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703 (exit $ac_status); }; } &&
8704 { ac_try='test -s conftest.$ac_objext'
8705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706 (eval $ac_try) 2>&5
8707 ac_status=$?
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8710 glibcxx_cv_func_isnan_use=yes
8711 else
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8714
8715 glibcxx_cv_func_isnan_use=no
8716 fi
8717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8718 ac_ext=c
8719 ac_cpp='$CPP $CPPFLAGS'
8720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8723
8724
8725 fi
8726
8727 fi
8728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8729 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8730
8731 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8732
8733 for ac_func in isnan
8734 do
8735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8736 echo "$as_me:$LINENO: checking for $ac_func" >&5
8737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8738 if eval "test \"\${$as_ac_var+set}\" = set"; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8740 else
8741 if test x$gcc_no_link = xyes; then
8742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8744 { (exit 1); exit 1; }; }
8745 fi
8746 cat >conftest.$ac_ext <<_ACEOF
8747 /* confdefs.h. */
8748 _ACEOF
8749 cat confdefs.h >>conftest.$ac_ext
8750 cat >>conftest.$ac_ext <<_ACEOF
8751 /* end confdefs.h. */
8752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8754 #define $ac_func innocuous_$ac_func
8755
8756 /* System header to define __stub macros and hopefully few prototypes,
8757 which can conflict with char $ac_func (); below.
8758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8759 <limits.h> exists even on freestanding compilers. */
8760
8761 #ifdef __STDC__
8762 # include <limits.h>
8763 #else
8764 # include <assert.h>
8765 #endif
8766
8767 #undef $ac_func
8768
8769 /* Override any gcc2 internal prototype to avoid an error. */
8770 #ifdef __cplusplus
8771 extern "C"
8772 {
8773 #endif
8774 /* We use char because int might match the return type of a gcc2
8775 builtin and then its argument prototype would still apply. */
8776 char $ac_func ();
8777 /* The GNU C library defines this for functions which it implements
8778 to always fail with ENOSYS. Some functions are actually named
8779 something starting with __ and the normal name is an alias. */
8780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8781 choke me
8782 #else
8783 char (*f) () = $ac_func;
8784 #endif
8785 #ifdef __cplusplus
8786 }
8787 #endif
8788
8789 int
8790 main ()
8791 {
8792 return f != $ac_func;
8793 ;
8794 return 0;
8795 }
8796 _ACEOF
8797 rm -f conftest.$ac_objext conftest$ac_exeext
8798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8799 (eval $ac_link) 2>conftest.er1
8800 ac_status=$?
8801 grep -v '^ *+' conftest.er1 >conftest.err
8802 rm -f conftest.er1
8803 cat conftest.err >&5
8804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8805 (exit $ac_status); } &&
8806 { ac_try='test -z "$ac_c_werror_flag"
8807 || test ! -s conftest.err'
8808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 (eval $ac_try) 2>&5
8810 ac_status=$?
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); }; } &&
8813 { ac_try='test -s conftest$ac_exeext'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 (eval $ac_try) 2>&5
8816 ac_status=$?
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; }; then
8819 eval "$as_ac_var=yes"
8820 else
8821 echo "$as_me: failed program was:" >&5
8822 sed 's/^/| /' conftest.$ac_ext >&5
8823
8824 eval "$as_ac_var=no"
8825 fi
8826 rm -f conftest.err conftest.$ac_objext \
8827 conftest$ac_exeext conftest.$ac_ext
8828 fi
8829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8831 if test `eval echo '${'$as_ac_var'}'` = yes; then
8832 cat >>confdefs.h <<_ACEOF
8833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8834 _ACEOF
8835
8836 fi
8837 done
8838
8839 else
8840
8841 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8842 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8843 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8844 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 else
8847
8848
8849
8850 ac_ext=cc
8851 ac_cpp='$CXXCPP $CPPFLAGS'
8852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8855
8856 cat >conftest.$ac_ext <<_ACEOF
8857 /* confdefs.h. */
8858 _ACEOF
8859 cat confdefs.h >>conftest.$ac_ext
8860 cat >>conftest.$ac_ext <<_ACEOF
8861 /* end confdefs.h. */
8862 #include <math.h>
8863 #ifdef HAVE_IEEEFP_H
8864 #include <ieeefp.h>
8865 #endif
8866
8867 int
8868 main ()
8869 {
8870 _isnan(0);
8871 ;
8872 return 0;
8873 }
8874 _ACEOF
8875 rm -f conftest.$ac_objext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8877 (eval $ac_compile) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_cxx_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest.$ac_objext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 glibcxx_cv_func__isnan_use=yes
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8901
8902 glibcxx_cv_func__isnan_use=no
8903 fi
8904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8905 ac_ext=c
8906 ac_cpp='$CPP $CPPFLAGS'
8907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8910
8911
8912 fi
8913
8914 fi
8915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8916 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8917
8918 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8919
8920 for ac_func in _isnan
8921 do
8922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8923 echo "$as_me:$LINENO: checking for $ac_func" >&5
8924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8925 if eval "test \"\${$as_ac_var+set}\" = set"; then
8926 echo $ECHO_N "(cached) $ECHO_C" >&6
8927 else
8928 if test x$gcc_no_link = xyes; then
8929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8931 { (exit 1); exit 1; }; }
8932 fi
8933 cat >conftest.$ac_ext <<_ACEOF
8934 /* confdefs.h. */
8935 _ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8941 #define $ac_func innocuous_$ac_func
8942
8943 /* System header to define __stub macros and hopefully few prototypes,
8944 which can conflict with char $ac_func (); below.
8945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8946 <limits.h> exists even on freestanding compilers. */
8947
8948 #ifdef __STDC__
8949 # include <limits.h>
8950 #else
8951 # include <assert.h>
8952 #endif
8953
8954 #undef $ac_func
8955
8956 /* Override any gcc2 internal prototype to avoid an error. */
8957 #ifdef __cplusplus
8958 extern "C"
8959 {
8960 #endif
8961 /* We use char because int might match the return type of a gcc2
8962 builtin and then its argument prototype would still apply. */
8963 char $ac_func ();
8964 /* The GNU C library defines this for functions which it implements
8965 to always fail with ENOSYS. Some functions are actually named
8966 something starting with __ and the normal name is an alias. */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8968 choke me
8969 #else
8970 char (*f) () = $ac_func;
8971 #endif
8972 #ifdef __cplusplus
8973 }
8974 #endif
8975
8976 int
8977 main ()
8978 {
8979 return f != $ac_func;
8980 ;
8981 return 0;
8982 }
8983 _ACEOF
8984 rm -f conftest.$ac_objext conftest$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>conftest.er1
8987 ac_status=$?
8988 grep -v '^ *+' conftest.er1 >conftest.err
8989 rm -f conftest.er1
8990 cat conftest.err >&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try='test -z "$ac_c_werror_flag"
8994 || test ! -s conftest.err'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8996 (eval $ac_try) 2>&5
8997 ac_status=$?
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; } &&
9000 { ac_try='test -s conftest$ac_exeext'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9002 (eval $ac_try) 2>&5
9003 ac_status=$?
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 eval "$as_ac_var=yes"
9007 else
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.$ac_ext >&5
9010
9011 eval "$as_ac_var=no"
9012 fi
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 fi
9016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9018 if test `eval echo '${'$as_ac_var'}'` = yes; then
9019 cat >>confdefs.h <<_ACEOF
9020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9021 _ACEOF
9022
9023 fi
9024 done
9025
9026 fi
9027 fi
9028
9029
9030
9031 echo "$as_me:$LINENO: checking for finite declaration" >&5
9032 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9033 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9034 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9035 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 else
9037
9038
9039
9040 ac_ext=cc
9041 ac_cpp='$CXXCPP $CPPFLAGS'
9042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9045
9046 cat >conftest.$ac_ext <<_ACEOF
9047 /* confdefs.h. */
9048 _ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <math.h>
9053 #ifdef HAVE_IEEEFP_H
9054 #include <ieeefp.h>
9055 #endif
9056
9057 int
9058 main ()
9059 {
9060 finite(0);
9061 ;
9062 return 0;
9063 }
9064 _ACEOF
9065 rm -f conftest.$ac_objext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9067 (eval $ac_compile) 2>conftest.er1
9068 ac_status=$?
9069 grep -v '^ *+' conftest.er1 >conftest.err
9070 rm -f conftest.er1
9071 cat conftest.err >&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try='test -z "$ac_cxx_werror_flag"
9075 || test ! -s conftest.err'
9076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9077 (eval $ac_try) 2>&5
9078 ac_status=$?
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); }; } &&
9081 { ac_try='test -s conftest.$ac_objext'
9082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9083 (eval $ac_try) 2>&5
9084 ac_status=$?
9085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9086 (exit $ac_status); }; }; then
9087 glibcxx_cv_func_finite_use=yes
9088 else
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9091
9092 glibcxx_cv_func_finite_use=no
9093 fi
9094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9095 ac_ext=c
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9100
9101
9102 fi
9103
9104 fi
9105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9106 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9107
9108 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9109
9110 for ac_func in finite
9111 do
9112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9113 echo "$as_me:$LINENO: checking for $ac_func" >&5
9114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9115 if eval "test \"\${$as_ac_var+set}\" = set"; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 if test x$gcc_no_link = xyes; then
9119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9121 { (exit 1); exit 1; }; }
9122 fi
9123 cat >conftest.$ac_ext <<_ACEOF
9124 /* confdefs.h. */
9125 _ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h. */
9129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9131 #define $ac_func innocuous_$ac_func
9132
9133 /* System header to define __stub macros and hopefully few prototypes,
9134 which can conflict with char $ac_func (); below.
9135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9136 <limits.h> exists even on freestanding compilers. */
9137
9138 #ifdef __STDC__
9139 # include <limits.h>
9140 #else
9141 # include <assert.h>
9142 #endif
9143
9144 #undef $ac_func
9145
9146 /* Override any gcc2 internal prototype to avoid an error. */
9147 #ifdef __cplusplus
9148 extern "C"
9149 {
9150 #endif
9151 /* We use char because int might match the return type of a gcc2
9152 builtin and then its argument prototype would still apply. */
9153 char $ac_func ();
9154 /* The GNU C library defines this for functions which it implements
9155 to always fail with ENOSYS. Some functions are actually named
9156 something starting with __ and the normal name is an alias. */
9157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9158 choke me
9159 #else
9160 char (*f) () = $ac_func;
9161 #endif
9162 #ifdef __cplusplus
9163 }
9164 #endif
9165
9166 int
9167 main ()
9168 {
9169 return f != $ac_func;
9170 ;
9171 return 0;
9172 }
9173 _ACEOF
9174 rm -f conftest.$ac_objext conftest$ac_exeext
9175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9176 (eval $ac_link) 2>conftest.er1
9177 ac_status=$?
9178 grep -v '^ *+' conftest.er1 >conftest.err
9179 rm -f conftest.er1
9180 cat conftest.err >&5
9181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9182 (exit $ac_status); } &&
9183 { ac_try='test -z "$ac_c_werror_flag"
9184 || test ! -s conftest.err'
9185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 (eval $ac_try) 2>&5
9187 ac_status=$?
9188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9189 (exit $ac_status); }; } &&
9190 { ac_try='test -s conftest$ac_exeext'
9191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9192 (eval $ac_try) 2>&5
9193 ac_status=$?
9194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9195 (exit $ac_status); }; }; then
9196 eval "$as_ac_var=yes"
9197 else
9198 echo "$as_me: failed program was:" >&5
9199 sed 's/^/| /' conftest.$ac_ext >&5
9200
9201 eval "$as_ac_var=no"
9202 fi
9203 rm -f conftest.err conftest.$ac_objext \
9204 conftest$ac_exeext conftest.$ac_ext
9205 fi
9206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9208 if test `eval echo '${'$as_ac_var'}'` = yes; then
9209 cat >>confdefs.h <<_ACEOF
9210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9211 _ACEOF
9212
9213 fi
9214 done
9215
9216 else
9217
9218 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9219 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9220 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9221 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9222 echo $ECHO_N "(cached) $ECHO_C" >&6
9223 else
9224
9225
9226
9227 ac_ext=cc
9228 ac_cpp='$CXXCPP $CPPFLAGS'
9229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9232
9233 cat >conftest.$ac_ext <<_ACEOF
9234 /* confdefs.h. */
9235 _ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #include <math.h>
9240 #ifdef HAVE_IEEEFP_H
9241 #include <ieeefp.h>
9242 #endif
9243
9244 int
9245 main ()
9246 {
9247 _finite(0);
9248 ;
9249 return 0;
9250 }
9251 _ACEOF
9252 rm -f conftest.$ac_objext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9254 (eval $ac_compile) 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } &&
9261 { ac_try='test -z "$ac_cxx_werror_flag"
9262 || test ! -s conftest.err'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; } &&
9268 { ac_try='test -s conftest.$ac_objext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9274 glibcxx_cv_func__finite_use=yes
9275 else
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9278
9279 glibcxx_cv_func__finite_use=no
9280 fi
9281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9282 ac_ext=c
9283 ac_cpp='$CPP $CPPFLAGS'
9284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9287
9288
9289 fi
9290
9291 fi
9292 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9293 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9294
9295 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9296
9297 for ac_func in _finite
9298 do
9299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9300 echo "$as_me:$LINENO: checking for $ac_func" >&5
9301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9302 if eval "test \"\${$as_ac_var+set}\" = set"; then
9303 echo $ECHO_N "(cached) $ECHO_C" >&6
9304 else
9305 if test x$gcc_no_link = xyes; then
9306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9308 { (exit 1); exit 1; }; }
9309 fi
9310 cat >conftest.$ac_ext <<_ACEOF
9311 /* confdefs.h. */
9312 _ACEOF
9313 cat confdefs.h >>conftest.$ac_ext
9314 cat >>conftest.$ac_ext <<_ACEOF
9315 /* end confdefs.h. */
9316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9318 #define $ac_func innocuous_$ac_func
9319
9320 /* System header to define __stub macros and hopefully few prototypes,
9321 which can conflict with char $ac_func (); below.
9322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9323 <limits.h> exists even on freestanding compilers. */
9324
9325 #ifdef __STDC__
9326 # include <limits.h>
9327 #else
9328 # include <assert.h>
9329 #endif
9330
9331 #undef $ac_func
9332
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 #ifdef __cplusplus
9335 extern "C"
9336 {
9337 #endif
9338 /* We use char because int might match the return type of a gcc2
9339 builtin and then its argument prototype would still apply. */
9340 char $ac_func ();
9341 /* The GNU C library defines this for functions which it implements
9342 to always fail with ENOSYS. Some functions are actually named
9343 something starting with __ and the normal name is an alias. */
9344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9345 choke me
9346 #else
9347 char (*f) () = $ac_func;
9348 #endif
9349 #ifdef __cplusplus
9350 }
9351 #endif
9352
9353 int
9354 main ()
9355 {
9356 return f != $ac_func;
9357 ;
9358 return 0;
9359 }
9360 _ACEOF
9361 rm -f conftest.$ac_objext conftest$ac_exeext
9362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9363 (eval $ac_link) 2>conftest.er1
9364 ac_status=$?
9365 grep -v '^ *+' conftest.er1 >conftest.err
9366 rm -f conftest.er1
9367 cat conftest.err >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); } &&
9370 { ac_try='test -z "$ac_c_werror_flag"
9371 || test ! -s conftest.err'
9372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 (eval $ac_try) 2>&5
9374 ac_status=$?
9375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9376 (exit $ac_status); }; } &&
9377 { ac_try='test -s conftest$ac_exeext'
9378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9379 (eval $ac_try) 2>&5
9380 ac_status=$?
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 (exit $ac_status); }; }; then
9383 eval "$as_ac_var=yes"
9384 else
9385 echo "$as_me: failed program was:" >&5
9386 sed 's/^/| /' conftest.$ac_ext >&5
9387
9388 eval "$as_ac_var=no"
9389 fi
9390 rm -f conftest.err conftest.$ac_objext \
9391 conftest$ac_exeext conftest.$ac_ext
9392 fi
9393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9395 if test `eval echo '${'$as_ac_var'}'` = yes; then
9396 cat >>confdefs.h <<_ACEOF
9397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9398 _ACEOF
9399
9400 fi
9401 done
9402
9403 fi
9404 fi
9405
9406
9407
9408 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9409 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9410 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9411 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9413 else
9414
9415
9416
9417 ac_ext=cc
9418 ac_cpp='$CXXCPP $CPPFLAGS'
9419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9422
9423 cat >conftest.$ac_ext <<_ACEOF
9424 /* confdefs.h. */
9425 _ACEOF
9426 cat confdefs.h >>conftest.$ac_ext
9427 cat >>conftest.$ac_ext <<_ACEOF
9428 /* end confdefs.h. */
9429 #include <math.h>
9430 int
9431 main ()
9432 {
9433 copysign(0, 0);
9434 ;
9435 return 0;
9436 }
9437 _ACEOF
9438 rm -f conftest.$ac_objext
9439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9440 (eval $ac_compile) 2>conftest.er1
9441 ac_status=$?
9442 grep -v '^ *+' conftest.er1 >conftest.err
9443 rm -f conftest.er1
9444 cat conftest.err >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); } &&
9447 { ac_try='test -z "$ac_cxx_werror_flag"
9448 || test ! -s conftest.err'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9450 (eval $ac_try) 2>&5
9451 ac_status=$?
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; } &&
9454 { ac_try='test -s conftest.$ac_objext'
9455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9456 (eval $ac_try) 2>&5
9457 ac_status=$?
9458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9459 (exit $ac_status); }; }; then
9460 glibcxx_cv_func_copysign_use=yes
9461 else
9462 echo "$as_me: failed program was:" >&5
9463 sed 's/^/| /' conftest.$ac_ext >&5
9464
9465 glibcxx_cv_func_copysign_use=no
9466 fi
9467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9468 ac_ext=c
9469 ac_cpp='$CPP $CPPFLAGS'
9470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9473
9474
9475 fi
9476
9477 fi
9478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9479 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9480
9481 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9482
9483 for ac_func in copysign
9484 do
9485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9486 echo "$as_me:$LINENO: checking for $ac_func" >&5
9487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_var+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 else
9491 if test x$gcc_no_link = xyes; then
9492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9494 { (exit 1); exit 1; }; }
9495 fi
9496 cat >conftest.$ac_ext <<_ACEOF
9497 /* confdefs.h. */
9498 _ACEOF
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9504 #define $ac_func innocuous_$ac_func
9505
9506 /* System header to define __stub macros and hopefully few prototypes,
9507 which can conflict with char $ac_func (); below.
9508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9509 <limits.h> exists even on freestanding compilers. */
9510
9511 #ifdef __STDC__
9512 # include <limits.h>
9513 #else
9514 # include <assert.h>
9515 #endif
9516
9517 #undef $ac_func
9518
9519 /* Override any gcc2 internal prototype to avoid an error. */
9520 #ifdef __cplusplus
9521 extern "C"
9522 {
9523 #endif
9524 /* We use char because int might match the return type of a gcc2
9525 builtin and then its argument prototype would still apply. */
9526 char $ac_func ();
9527 /* The GNU C library defines this for functions which it implements
9528 to always fail with ENOSYS. Some functions are actually named
9529 something starting with __ and the normal name is an alias. */
9530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9531 choke me
9532 #else
9533 char (*f) () = $ac_func;
9534 #endif
9535 #ifdef __cplusplus
9536 }
9537 #endif
9538
9539 int
9540 main ()
9541 {
9542 return f != $ac_func;
9543 ;
9544 return 0;
9545 }
9546 _ACEOF
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9549 (eval $ac_link) 2>conftest.er1
9550 ac_status=$?
9551 grep -v '^ *+' conftest.er1 >conftest.err
9552 rm -f conftest.er1
9553 cat conftest.err >&5
9554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555 (exit $ac_status); } &&
9556 { ac_try='test -z "$ac_c_werror_flag"
9557 || test ! -s conftest.err'
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); }; } &&
9563 { ac_try='test -s conftest$ac_exeext'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9565 (eval $ac_try) 2>&5
9566 ac_status=$?
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; }; then
9569 eval "$as_ac_var=yes"
9570 else
9571 echo "$as_me: failed program was:" >&5
9572 sed 's/^/| /' conftest.$ac_ext >&5
9573
9574 eval "$as_ac_var=no"
9575 fi
9576 rm -f conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 fi
9579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9581 if test `eval echo '${'$as_ac_var'}'` = yes; then
9582 cat >>confdefs.h <<_ACEOF
9583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9584 _ACEOF
9585
9586 fi
9587 done
9588
9589 else
9590
9591 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9592 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9593 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9594 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 else
9597
9598
9599
9600 ac_ext=cc
9601 ac_cpp='$CXXCPP $CPPFLAGS'
9602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9605
9606 cat >conftest.$ac_ext <<_ACEOF
9607 /* confdefs.h. */
9608 _ACEOF
9609 cat confdefs.h >>conftest.$ac_ext
9610 cat >>conftest.$ac_ext <<_ACEOF
9611 /* end confdefs.h. */
9612 #include <math.h>
9613 int
9614 main ()
9615 {
9616 _copysign(0, 0);
9617 ;
9618 return 0;
9619 }
9620 _ACEOF
9621 rm -f conftest.$ac_objext
9622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9623 (eval $ac_compile) 2>conftest.er1
9624 ac_status=$?
9625 grep -v '^ *+' conftest.er1 >conftest.err
9626 rm -f conftest.er1
9627 cat conftest.err >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); } &&
9630 { ac_try='test -z "$ac_cxx_werror_flag"
9631 || test ! -s conftest.err'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 (eval $ac_try) 2>&5
9634 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; } &&
9637 { ac_try='test -s conftest.$ac_objext'
9638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9639 (eval $ac_try) 2>&5
9640 ac_status=$?
9641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9642 (exit $ac_status); }; }; then
9643 glibcxx_cv_func__copysign_use=yes
9644 else
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9647
9648 glibcxx_cv_func__copysign_use=no
9649 fi
9650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9651 ac_ext=c
9652 ac_cpp='$CPP $CPPFLAGS'
9653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9656
9657
9658 fi
9659
9660 fi
9661 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9662 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9663
9664 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9665
9666 for ac_func in _copysign
9667 do
9668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9669 echo "$as_me:$LINENO: checking for $ac_func" >&5
9670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9671 if eval "test \"\${$as_ac_var+set}\" = set"; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 else
9674 if test x$gcc_no_link = xyes; then
9675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9677 { (exit 1); exit 1; }; }
9678 fi
9679 cat >conftest.$ac_ext <<_ACEOF
9680 /* confdefs.h. */
9681 _ACEOF
9682 cat confdefs.h >>conftest.$ac_ext
9683 cat >>conftest.$ac_ext <<_ACEOF
9684 /* end confdefs.h. */
9685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9687 #define $ac_func innocuous_$ac_func
9688
9689 /* System header to define __stub macros and hopefully few prototypes,
9690 which can conflict with char $ac_func (); below.
9691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9692 <limits.h> exists even on freestanding compilers. */
9693
9694 #ifdef __STDC__
9695 # include <limits.h>
9696 #else
9697 # include <assert.h>
9698 #endif
9699
9700 #undef $ac_func
9701
9702 /* Override any gcc2 internal prototype to avoid an error. */
9703 #ifdef __cplusplus
9704 extern "C"
9705 {
9706 #endif
9707 /* We use char because int might match the return type of a gcc2
9708 builtin and then its argument prototype would still apply. */
9709 char $ac_func ();
9710 /* The GNU C library defines this for functions which it implements
9711 to always fail with ENOSYS. Some functions are actually named
9712 something starting with __ and the normal name is an alias. */
9713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9714 choke me
9715 #else
9716 char (*f) () = $ac_func;
9717 #endif
9718 #ifdef __cplusplus
9719 }
9720 #endif
9721
9722 int
9723 main ()
9724 {
9725 return f != $ac_func;
9726 ;
9727 return 0;
9728 }
9729 _ACEOF
9730 rm -f conftest.$ac_objext conftest$ac_exeext
9731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 (eval $ac_link) 2>conftest.er1
9733 ac_status=$?
9734 grep -v '^ *+' conftest.er1 >conftest.err
9735 rm -f conftest.er1
9736 cat conftest.err >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); } &&
9739 { ac_try='test -z "$ac_c_werror_flag"
9740 || test ! -s conftest.err'
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); }; } &&
9746 { ac_try='test -s conftest$ac_exeext'
9747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 (eval $ac_try) 2>&5
9749 ac_status=$?
9750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751 (exit $ac_status); }; }; then
9752 eval "$as_ac_var=yes"
9753 else
9754 echo "$as_me: failed program was:" >&5
9755 sed 's/^/| /' conftest.$ac_ext >&5
9756
9757 eval "$as_ac_var=no"
9758 fi
9759 rm -f conftest.err conftest.$ac_objext \
9760 conftest$ac_exeext conftest.$ac_ext
9761 fi
9762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9764 if test `eval echo '${'$as_ac_var'}'` = yes; then
9765 cat >>confdefs.h <<_ACEOF
9766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9767 _ACEOF
9768
9769 fi
9770 done
9771
9772 fi
9773 fi
9774
9775
9776
9777 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9778 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9779 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9780 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9783
9784
9785
9786 ac_ext=cc
9787 ac_cpp='$CXXCPP $CPPFLAGS'
9788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9791
9792 cat >conftest.$ac_ext <<_ACEOF
9793 /* confdefs.h. */
9794 _ACEOF
9795 cat confdefs.h >>conftest.$ac_ext
9796 cat >>conftest.$ac_ext <<_ACEOF
9797 /* end confdefs.h. */
9798 #include <math.h>
9799 int
9800 main ()
9801 {
9802 sincos(0, 0, 0);
9803 ;
9804 return 0;
9805 }
9806 _ACEOF
9807 rm -f conftest.$ac_objext
9808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9809 (eval $ac_compile) 2>conftest.er1
9810 ac_status=$?
9811 grep -v '^ *+' conftest.er1 >conftest.err
9812 rm -f conftest.er1
9813 cat conftest.err >&5
9814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9815 (exit $ac_status); } &&
9816 { ac_try='test -z "$ac_cxx_werror_flag"
9817 || test ! -s conftest.err'
9818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 (eval $ac_try) 2>&5
9820 ac_status=$?
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try='test -s conftest.$ac_objext'
9824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9825 (eval $ac_try) 2>&5
9826 ac_status=$?
9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9828 (exit $ac_status); }; }; then
9829 glibcxx_cv_func_sincos_use=yes
9830 else
9831 echo "$as_me: failed program was:" >&5
9832 sed 's/^/| /' conftest.$ac_ext >&5
9833
9834 glibcxx_cv_func_sincos_use=no
9835 fi
9836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9837 ac_ext=c
9838 ac_cpp='$CPP $CPPFLAGS'
9839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9842
9843
9844 fi
9845
9846 fi
9847 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9848 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9849
9850 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9851
9852 for ac_func in sincos
9853 do
9854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9855 echo "$as_me:$LINENO: checking for $ac_func" >&5
9856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9857 if eval "test \"\${$as_ac_var+set}\" = set"; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9859 else
9860 if test x$gcc_no_link = xyes; then
9861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9863 { (exit 1); exit 1; }; }
9864 fi
9865 cat >conftest.$ac_ext <<_ACEOF
9866 /* confdefs.h. */
9867 _ACEOF
9868 cat confdefs.h >>conftest.$ac_ext
9869 cat >>conftest.$ac_ext <<_ACEOF
9870 /* end confdefs.h. */
9871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9873 #define $ac_func innocuous_$ac_func
9874
9875 /* System header to define __stub macros and hopefully few prototypes,
9876 which can conflict with char $ac_func (); below.
9877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9878 <limits.h> exists even on freestanding compilers. */
9879
9880 #ifdef __STDC__
9881 # include <limits.h>
9882 #else
9883 # include <assert.h>
9884 #endif
9885
9886 #undef $ac_func
9887
9888 /* Override any gcc2 internal prototype to avoid an error. */
9889 #ifdef __cplusplus
9890 extern "C"
9891 {
9892 #endif
9893 /* We use char because int might match the return type of a gcc2
9894 builtin and then its argument prototype would still apply. */
9895 char $ac_func ();
9896 /* The GNU C library defines this for functions which it implements
9897 to always fail with ENOSYS. Some functions are actually named
9898 something starting with __ and the normal name is an alias. */
9899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9900 choke me
9901 #else
9902 char (*f) () = $ac_func;
9903 #endif
9904 #ifdef __cplusplus
9905 }
9906 #endif
9907
9908 int
9909 main ()
9910 {
9911 return f != $ac_func;
9912 ;
9913 return 0;
9914 }
9915 _ACEOF
9916 rm -f conftest.$ac_objext conftest$ac_exeext
9917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9918 (eval $ac_link) 2>conftest.er1
9919 ac_status=$?
9920 grep -v '^ *+' conftest.er1 >conftest.err
9921 rm -f conftest.er1
9922 cat conftest.err >&5
9923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924 (exit $ac_status); } &&
9925 { ac_try='test -z "$ac_c_werror_flag"
9926 || test ! -s conftest.err'
9927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9928 (eval $ac_try) 2>&5
9929 ac_status=$?
9930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9931 (exit $ac_status); }; } &&
9932 { ac_try='test -s conftest$ac_exeext'
9933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9934 (eval $ac_try) 2>&5
9935 ac_status=$?
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); }; }; then
9938 eval "$as_ac_var=yes"
9939 else
9940 echo "$as_me: failed program was:" >&5
9941 sed 's/^/| /' conftest.$ac_ext >&5
9942
9943 eval "$as_ac_var=no"
9944 fi
9945 rm -f conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 fi
9948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9950 if test `eval echo '${'$as_ac_var'}'` = yes; then
9951 cat >>confdefs.h <<_ACEOF
9952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9953 _ACEOF
9954
9955 fi
9956 done
9957
9958 else
9959
9960 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9961 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9962 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9963 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9964 echo $ECHO_N "(cached) $ECHO_C" >&6
9965 else
9966
9967
9968
9969 ac_ext=cc
9970 ac_cpp='$CXXCPP $CPPFLAGS'
9971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9974
9975 cat >conftest.$ac_ext <<_ACEOF
9976 /* confdefs.h. */
9977 _ACEOF
9978 cat confdefs.h >>conftest.$ac_ext
9979 cat >>conftest.$ac_ext <<_ACEOF
9980 /* end confdefs.h. */
9981 #include <math.h>
9982 int
9983 main ()
9984 {
9985 _sincos(0, 0, 0);
9986 ;
9987 return 0;
9988 }
9989 _ACEOF
9990 rm -f conftest.$ac_objext
9991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9992 (eval $ac_compile) 2>conftest.er1
9993 ac_status=$?
9994 grep -v '^ *+' conftest.er1 >conftest.err
9995 rm -f conftest.er1
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } &&
9999 { ac_try='test -z "$ac_cxx_werror_flag"
10000 || test ! -s conftest.err'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10003 ac_status=$?
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; } &&
10006 { ac_try='test -s conftest.$ac_objext'
10007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10008 (eval $ac_try) 2>&5
10009 ac_status=$?
10010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10011 (exit $ac_status); }; }; then
10012 glibcxx_cv_func__sincos_use=yes
10013 else
10014 echo "$as_me: failed program was:" >&5
10015 sed 's/^/| /' conftest.$ac_ext >&5
10016
10017 glibcxx_cv_func__sincos_use=no
10018 fi
10019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10020 ac_ext=c
10021 ac_cpp='$CPP $CPPFLAGS'
10022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10025
10026
10027 fi
10028
10029 fi
10030 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10031 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10032
10033 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10034
10035 for ac_func in _sincos
10036 do
10037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10038 echo "$as_me:$LINENO: checking for $ac_func" >&5
10039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10040 if eval "test \"\${$as_ac_var+set}\" = set"; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 else
10043 if test x$gcc_no_link = xyes; then
10044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10046 { (exit 1); exit 1; }; }
10047 fi
10048 cat >conftest.$ac_ext <<_ACEOF
10049 /* confdefs.h. */
10050 _ACEOF
10051 cat confdefs.h >>conftest.$ac_ext
10052 cat >>conftest.$ac_ext <<_ACEOF
10053 /* end confdefs.h. */
10054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10056 #define $ac_func innocuous_$ac_func
10057
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func (); below.
10060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10061 <limits.h> exists even on freestanding compilers. */
10062
10063 #ifdef __STDC__
10064 # include <limits.h>
10065 #else
10066 # include <assert.h>
10067 #endif
10068
10069 #undef $ac_func
10070
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 #ifdef __cplusplus
10073 extern "C"
10074 {
10075 #endif
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10078 char $ac_func ();
10079 /* The GNU C library defines this for functions which it implements
10080 to always fail with ENOSYS. Some functions are actually named
10081 something starting with __ and the normal name is an alias. */
10082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10083 choke me
10084 #else
10085 char (*f) () = $ac_func;
10086 #endif
10087 #ifdef __cplusplus
10088 }
10089 #endif
10090
10091 int
10092 main ()
10093 {
10094 return f != $ac_func;
10095 ;
10096 return 0;
10097 }
10098 _ACEOF
10099 rm -f conftest.$ac_objext conftest$ac_exeext
10100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10101 (eval $ac_link) 2>conftest.er1
10102 ac_status=$?
10103 grep -v '^ *+' conftest.er1 >conftest.err
10104 rm -f conftest.er1
10105 cat conftest.err >&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); } &&
10108 { ac_try='test -z "$ac_c_werror_flag"
10109 || test ! -s conftest.err'
10110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10111 (eval $ac_try) 2>&5
10112 ac_status=$?
10113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10114 (exit $ac_status); }; } &&
10115 { ac_try='test -s conftest$ac_exeext'
10116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10117 (eval $ac_try) 2>&5
10118 ac_status=$?
10119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10120 (exit $ac_status); }; }; then
10121 eval "$as_ac_var=yes"
10122 else
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10125
10126 eval "$as_ac_var=no"
10127 fi
10128 rm -f conftest.err conftest.$ac_objext \
10129 conftest$ac_exeext conftest.$ac_ext
10130 fi
10131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10133 if test `eval echo '${'$as_ac_var'}'` = yes; then
10134 cat >>confdefs.h <<_ACEOF
10135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10136 _ACEOF
10137
10138 fi
10139 done
10140
10141 fi
10142 fi
10143
10144
10145
10146 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10147 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10148 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10149 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10151 else
10152
10153
10154
10155 ac_ext=cc
10156 ac_cpp='$CXXCPP $CPPFLAGS'
10157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10160
10161 cat >conftest.$ac_ext <<_ACEOF
10162 /* confdefs.h. */
10163 _ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 #include <math.h>
10168 #ifdef HAVE_IEEEFP_H
10169 #include <ieeefp.h>
10170 #endif
10171
10172 int
10173 main ()
10174 {
10175 fpclass(0);
10176 ;
10177 return 0;
10178 }
10179 _ACEOF
10180 rm -f conftest.$ac_objext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10182 (eval $ac_compile) 2>conftest.er1
10183 ac_status=$?
10184 grep -v '^ *+' conftest.er1 >conftest.err
10185 rm -f conftest.er1
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_cxx_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10193 ac_status=$?
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest.$ac_objext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10199 ac_status=$?
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 glibcxx_cv_func_fpclass_use=yes
10203 else
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10206
10207 glibcxx_cv_func_fpclass_use=no
10208 fi
10209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10210 ac_ext=c
10211 ac_cpp='$CPP $CPPFLAGS'
10212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10215
10216
10217 fi
10218
10219 fi
10220 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10221 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10222
10223 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10224
10225 for ac_func in fpclass
10226 do
10227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10228 echo "$as_me:$LINENO: checking for $ac_func" >&5
10229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10230 if eval "test \"\${$as_ac_var+set}\" = set"; then
10231 echo $ECHO_N "(cached) $ECHO_C" >&6
10232 else
10233 if test x$gcc_no_link = xyes; then
10234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10236 { (exit 1); exit 1; }; }
10237 fi
10238 cat >conftest.$ac_ext <<_ACEOF
10239 /* confdefs.h. */
10240 _ACEOF
10241 cat confdefs.h >>conftest.$ac_ext
10242 cat >>conftest.$ac_ext <<_ACEOF
10243 /* end confdefs.h. */
10244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10246 #define $ac_func innocuous_$ac_func
10247
10248 /* System header to define __stub macros and hopefully few prototypes,
10249 which can conflict with char $ac_func (); below.
10250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10251 <limits.h> exists even on freestanding compilers. */
10252
10253 #ifdef __STDC__
10254 # include <limits.h>
10255 #else
10256 # include <assert.h>
10257 #endif
10258
10259 #undef $ac_func
10260
10261 /* Override any gcc2 internal prototype to avoid an error. */
10262 #ifdef __cplusplus
10263 extern "C"
10264 {
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267 builtin and then its argument prototype would still apply. */
10268 char $ac_func ();
10269 /* The GNU C library defines this for functions which it implements
10270 to always fail with ENOSYS. Some functions are actually named
10271 something starting with __ and the normal name is an alias. */
10272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10273 choke me
10274 #else
10275 char (*f) () = $ac_func;
10276 #endif
10277 #ifdef __cplusplus
10278 }
10279 #endif
10280
10281 int
10282 main ()
10283 {
10284 return f != $ac_func;
10285 ;
10286 return 0;
10287 }
10288 _ACEOF
10289 rm -f conftest.$ac_objext conftest$ac_exeext
10290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10291 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
10312 else
10313 echo "$as_me: failed program was:" >&5
10314 sed 's/^/| /' conftest.$ac_ext >&5
10315
10316 eval "$as_ac_var=no"
10317 fi
10318 rm -f conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 fi
10321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10323 if test `eval echo '${'$as_ac_var'}'` = yes; then
10324 cat >>confdefs.h <<_ACEOF
10325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10326 _ACEOF
10327
10328 fi
10329 done
10330
10331 else
10332
10333 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10334 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10335 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10336 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10337 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 else
10339
10340
10341
10342 ac_ext=cc
10343 ac_cpp='$CXXCPP $CPPFLAGS'
10344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10347
10348 cat >conftest.$ac_ext <<_ACEOF
10349 /* confdefs.h. */
10350 _ACEOF
10351 cat confdefs.h >>conftest.$ac_ext
10352 cat >>conftest.$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10354 #include <math.h>
10355 #ifdef HAVE_IEEEFP_H
10356 #include <ieeefp.h>
10357 #endif
10358
10359 int
10360 main ()
10361 {
10362 _fpclass(0);
10363 ;
10364 return 0;
10365 }
10366 _ACEOF
10367 rm -f conftest.$ac_objext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10369 (eval $ac_compile) 2>conftest.er1
10370 ac_status=$?
10371 grep -v '^ *+' conftest.er1 >conftest.err
10372 rm -f conftest.er1
10373 cat conftest.err >&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try='test -z "$ac_cxx_werror_flag"
10377 || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try='test -s conftest.$ac_objext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 glibcxx_cv_func__fpclass_use=yes
10390 else
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.$ac_ext >&5
10393
10394 glibcxx_cv_func__fpclass_use=no
10395 fi
10396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10397 ac_ext=c
10398 ac_cpp='$CPP $CPPFLAGS'
10399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10402
10403
10404 fi
10405
10406 fi
10407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10408 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10409
10410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10411
10412 for ac_func in _fpclass
10413 do
10414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10415 echo "$as_me:$LINENO: checking for $ac_func" >&5
10416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10417 if eval "test \"\${$as_ac_var+set}\" = set"; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 else
10420 if test x$gcc_no_link = xyes; then
10421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10423 { (exit 1); exit 1; }; }
10424 fi
10425 cat >conftest.$ac_ext <<_ACEOF
10426 /* confdefs.h. */
10427 _ACEOF
10428 cat confdefs.h >>conftest.$ac_ext
10429 cat >>conftest.$ac_ext <<_ACEOF
10430 /* end confdefs.h. */
10431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10433 #define $ac_func innocuous_$ac_func
10434
10435 /* System header to define __stub macros and hopefully few prototypes,
10436 which can conflict with char $ac_func (); below.
10437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10438 <limits.h> exists even on freestanding compilers. */
10439
10440 #ifdef __STDC__
10441 # include <limits.h>
10442 #else
10443 # include <assert.h>
10444 #endif
10445
10446 #undef $ac_func
10447
10448 /* Override any gcc2 internal prototype to avoid an error. */
10449 #ifdef __cplusplus
10450 extern "C"
10451 {
10452 #endif
10453 /* We use char because int might match the return type of a gcc2
10454 builtin and then its argument prototype would still apply. */
10455 char $ac_func ();
10456 /* The GNU C library defines this for functions which it implements
10457 to always fail with ENOSYS. Some functions are actually named
10458 something starting with __ and the normal name is an alias. */
10459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10460 choke me
10461 #else
10462 char (*f) () = $ac_func;
10463 #endif
10464 #ifdef __cplusplus
10465 }
10466 #endif
10467
10468 int
10469 main ()
10470 {
10471 return f != $ac_func;
10472 ;
10473 return 0;
10474 }
10475 _ACEOF
10476 rm -f conftest.$ac_objext conftest$ac_exeext
10477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10478 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
10499 else
10500 echo "$as_me: failed program was:" >&5
10501 sed 's/^/| /' conftest.$ac_ext >&5
10502
10503 eval "$as_ac_var=no"
10504 fi
10505 rm -f conftest.err conftest.$ac_objext \
10506 conftest$ac_exeext conftest.$ac_ext
10507 fi
10508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10510 if test `eval echo '${'$as_ac_var'}'` = yes; then
10511 cat >>confdefs.h <<_ACEOF
10512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10513 _ACEOF
10514
10515 fi
10516 done
10517
10518 fi
10519 fi
10520
10521
10522
10523 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10524 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10525 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10526 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10527 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 else
10529
10530
10531
10532 ac_ext=cc
10533 ac_cpp='$CXXCPP $CPPFLAGS'
10534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10537
10538 cat >conftest.$ac_ext <<_ACEOF
10539 /* confdefs.h. */
10540 _ACEOF
10541 cat confdefs.h >>conftest.$ac_ext
10542 cat >>conftest.$ac_ext <<_ACEOF
10543 /* end confdefs.h. */
10544 #include <math.h>
10545 #ifdef HAVE_IEEEFP_H
10546 #include <ieeefp.h>
10547 #endif
10548
10549 int
10550 main ()
10551 {
10552 qfpclass(0);
10553 ;
10554 return 0;
10555 }
10556 _ACEOF
10557 rm -f conftest.$ac_objext
10558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10559 (eval $ac_compile) 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } &&
10566 { ac_try='test -z "$ac_cxx_werror_flag"
10567 || test ! -s conftest.err'
10568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10569 (eval $ac_try) 2>&5
10570 ac_status=$?
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); }; } &&
10573 { ac_try='test -s conftest.$ac_objext'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; }; then
10579 glibcxx_cv_func_qfpclass_use=yes
10580 else
10581 echo "$as_me: failed program was:" >&5
10582 sed 's/^/| /' conftest.$ac_ext >&5
10583
10584 glibcxx_cv_func_qfpclass_use=no
10585 fi
10586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10587 ac_ext=c
10588 ac_cpp='$CPP $CPPFLAGS'
10589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10592
10593
10594 fi
10595
10596 fi
10597 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10598 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10599
10600 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10601
10602 for ac_func in qfpclass
10603 do
10604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10605 echo "$as_me:$LINENO: checking for $ac_func" >&5
10606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10607 if eval "test \"\${$as_ac_var+set}\" = set"; then
10608 echo $ECHO_N "(cached) $ECHO_C" >&6
10609 else
10610 if test x$gcc_no_link = xyes; then
10611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10613 { (exit 1); exit 1; }; }
10614 fi
10615 cat >conftest.$ac_ext <<_ACEOF
10616 /* confdefs.h. */
10617 _ACEOF
10618 cat confdefs.h >>conftest.$ac_ext
10619 cat >>conftest.$ac_ext <<_ACEOF
10620 /* end confdefs.h. */
10621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10623 #define $ac_func innocuous_$ac_func
10624
10625 /* System header to define __stub macros and hopefully few prototypes,
10626 which can conflict with char $ac_func (); below.
10627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10628 <limits.h> exists even on freestanding compilers. */
10629
10630 #ifdef __STDC__
10631 # include <limits.h>
10632 #else
10633 # include <assert.h>
10634 #endif
10635
10636 #undef $ac_func
10637
10638 /* Override any gcc2 internal prototype to avoid an error. */
10639 #ifdef __cplusplus
10640 extern "C"
10641 {
10642 #endif
10643 /* We use char because int might match the return type of a gcc2
10644 builtin and then its argument prototype would still apply. */
10645 char $ac_func ();
10646 /* The GNU C library defines this for functions which it implements
10647 to always fail with ENOSYS. Some functions are actually named
10648 something starting with __ and the normal name is an alias. */
10649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10650 choke me
10651 #else
10652 char (*f) () = $ac_func;
10653 #endif
10654 #ifdef __cplusplus
10655 }
10656 #endif
10657
10658 int
10659 main ()
10660 {
10661 return f != $ac_func;
10662 ;
10663 return 0;
10664 }
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 eval "$as_ac_var=yes"
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10692
10693 eval "$as_ac_var=no"
10694 fi
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 fi
10698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10700 if test `eval echo '${'$as_ac_var'}'` = yes; then
10701 cat >>confdefs.h <<_ACEOF
10702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10703 _ACEOF
10704
10705 fi
10706 done
10707
10708 else
10709
10710 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10711 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10712 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10713 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10716
10717
10718
10719 ac_ext=cc
10720 ac_cpp='$CXXCPP $CPPFLAGS'
10721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10724
10725 cat >conftest.$ac_ext <<_ACEOF
10726 /* confdefs.h. */
10727 _ACEOF
10728 cat confdefs.h >>conftest.$ac_ext
10729 cat >>conftest.$ac_ext <<_ACEOF
10730 /* end confdefs.h. */
10731 #include <math.h>
10732 #ifdef HAVE_IEEEFP_H
10733 #include <ieeefp.h>
10734 #endif
10735
10736 int
10737 main ()
10738 {
10739 _qfpclass(0);
10740 ;
10741 return 0;
10742 }
10743 _ACEOF
10744 rm -f conftest.$ac_objext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10746 (eval $ac_compile) 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -z "$ac_cxx_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try='test -s conftest.$ac_objext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 glibcxx_cv_func__qfpclass_use=yes
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10770
10771 glibcxx_cv_func__qfpclass_use=no
10772 fi
10773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10774 ac_ext=c
10775 ac_cpp='$CPP $CPPFLAGS'
10776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10779
10780
10781 fi
10782
10783 fi
10784 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10785 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10786
10787 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10788
10789 for ac_func in _qfpclass
10790 do
10791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10792 echo "$as_me:$LINENO: checking for $ac_func" >&5
10793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10794 if eval "test \"\${$as_ac_var+set}\" = set"; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 else
10797 if test x$gcc_no_link = xyes; then
10798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10800 { (exit 1); exit 1; }; }
10801 fi
10802 cat >conftest.$ac_ext <<_ACEOF
10803 /* confdefs.h. */
10804 _ACEOF
10805 cat confdefs.h >>conftest.$ac_ext
10806 cat >>conftest.$ac_ext <<_ACEOF
10807 /* end confdefs.h. */
10808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10810 #define $ac_func innocuous_$ac_func
10811
10812 /* System header to define __stub macros and hopefully few prototypes,
10813 which can conflict with char $ac_func (); below.
10814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10815 <limits.h> exists even on freestanding compilers. */
10816
10817 #ifdef __STDC__
10818 # include <limits.h>
10819 #else
10820 # include <assert.h>
10821 #endif
10822
10823 #undef $ac_func
10824
10825 /* Override any gcc2 internal prototype to avoid an error. */
10826 #ifdef __cplusplus
10827 extern "C"
10828 {
10829 #endif
10830 /* We use char because int might match the return type of a gcc2
10831 builtin and then its argument prototype would still apply. */
10832 char $ac_func ();
10833 /* The GNU C library defines this for functions which it implements
10834 to always fail with ENOSYS. Some functions are actually named
10835 something starting with __ and the normal name is an alias. */
10836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10837 choke me
10838 #else
10839 char (*f) () = $ac_func;
10840 #endif
10841 #ifdef __cplusplus
10842 }
10843 #endif
10844
10845 int
10846 main ()
10847 {
10848 return f != $ac_func;
10849 ;
10850 return 0;
10851 }
10852 _ACEOF
10853 rm -f conftest.$ac_objext conftest$ac_exeext
10854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10855 (eval $ac_link) 2>conftest.er1
10856 ac_status=$?
10857 grep -v '^ *+' conftest.er1 >conftest.err
10858 rm -f conftest.er1
10859 cat conftest.err >&5
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); } &&
10862 { ac_try='test -z "$ac_c_werror_flag"
10863 || test ! -s conftest.err'
10864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10865 (eval $ac_try) 2>&5
10866 ac_status=$?
10867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10868 (exit $ac_status); }; } &&
10869 { ac_try='test -s conftest$ac_exeext'
10870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 (eval $ac_try) 2>&5
10872 ac_status=$?
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); }; }; then
10875 eval "$as_ac_var=yes"
10876 else
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.$ac_ext >&5
10879
10880 eval "$as_ac_var=no"
10881 fi
10882 rm -f conftest.err conftest.$ac_objext \
10883 conftest$ac_exeext conftest.$ac_ext
10884 fi
10885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10887 if test `eval echo '${'$as_ac_var'}'` = yes; then
10888 cat >>confdefs.h <<_ACEOF
10889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10890 _ACEOF
10891
10892 fi
10893 done
10894
10895 fi
10896 fi
10897
10898
10899
10900 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10901 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10902 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10903 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10904 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 else
10906
10907
10908
10909 ac_ext=cc
10910 ac_cpp='$CXXCPP $CPPFLAGS'
10911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10914
10915 cat >conftest.$ac_ext <<_ACEOF
10916 /* confdefs.h. */
10917 _ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <math.h>
10922 int
10923 main ()
10924 {
10925 hypot(0, 0);
10926 ;
10927 return 0;
10928 }
10929 _ACEOF
10930 rm -f conftest.$ac_objext
10931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10932 (eval $ac_compile) 2>conftest.er1
10933 ac_status=$?
10934 grep -v '^ *+' conftest.er1 >conftest.err
10935 rm -f conftest.er1
10936 cat conftest.err >&5
10937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10938 (exit $ac_status); } &&
10939 { ac_try='test -z "$ac_cxx_werror_flag"
10940 || test ! -s conftest.err'
10941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10942 (eval $ac_try) 2>&5
10943 ac_status=$?
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); }; } &&
10946 { ac_try='test -s conftest.$ac_objext'
10947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10948 (eval $ac_try) 2>&5
10949 ac_status=$?
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }; }; then
10952 glibcxx_cv_func_hypot_use=yes
10953 else
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10956
10957 glibcxx_cv_func_hypot_use=no
10958 fi
10959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10960 ac_ext=c
10961 ac_cpp='$CPP $CPPFLAGS'
10962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10965
10966
10967 fi
10968
10969 fi
10970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10971 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10972
10973 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10974
10975 for ac_func in hypot
10976 do
10977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10978 echo "$as_me:$LINENO: checking for $ac_func" >&5
10979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10980 if eval "test \"\${$as_ac_var+set}\" = set"; then
10981 echo $ECHO_N "(cached) $ECHO_C" >&6
10982 else
10983 if test x$gcc_no_link = xyes; then
10984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10986 { (exit 1); exit 1; }; }
10987 fi
10988 cat >conftest.$ac_ext <<_ACEOF
10989 /* confdefs.h. */
10990 _ACEOF
10991 cat confdefs.h >>conftest.$ac_ext
10992 cat >>conftest.$ac_ext <<_ACEOF
10993 /* end confdefs.h. */
10994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10996 #define $ac_func innocuous_$ac_func
10997
10998 /* System header to define __stub macros and hopefully few prototypes,
10999 which can conflict with char $ac_func (); below.
11000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11001 <limits.h> exists even on freestanding compilers. */
11002
11003 #ifdef __STDC__
11004 # include <limits.h>
11005 #else
11006 # include <assert.h>
11007 #endif
11008
11009 #undef $ac_func
11010
11011 /* Override any gcc2 internal prototype to avoid an error. */
11012 #ifdef __cplusplus
11013 extern "C"
11014 {
11015 #endif
11016 /* We use char because int might match the return type of a gcc2
11017 builtin and then its argument prototype would still apply. */
11018 char $ac_func ();
11019 /* The GNU C library defines this for functions which it implements
11020 to always fail with ENOSYS. Some functions are actually named
11021 something starting with __ and the normal name is an alias. */
11022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11023 choke me
11024 #else
11025 char (*f) () = $ac_func;
11026 #endif
11027 #ifdef __cplusplus
11028 }
11029 #endif
11030
11031 int
11032 main ()
11033 {
11034 return f != $ac_func;
11035 ;
11036 return 0;
11037 }
11038 _ACEOF
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11041 (eval $ac_link) 2>conftest.er1
11042 ac_status=$?
11043 grep -v '^ *+' conftest.er1 >conftest.err
11044 rm -f conftest.er1
11045 cat conftest.err >&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); } &&
11048 { ac_try='test -z "$ac_c_werror_flag"
11049 || test ! -s conftest.err'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11052 ac_status=$?
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; } &&
11055 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11061 eval "$as_ac_var=yes"
11062 else
11063 echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.$ac_ext >&5
11065
11066 eval "$as_ac_var=no"
11067 fi
11068 rm -f conftest.err conftest.$ac_objext \
11069 conftest$ac_exeext conftest.$ac_ext
11070 fi
11071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11073 if test `eval echo '${'$as_ac_var'}'` = yes; then
11074 cat >>confdefs.h <<_ACEOF
11075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11076 _ACEOF
11077
11078 fi
11079 done
11080
11081 else
11082
11083 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11084 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 else
11089
11090
11091
11092 ac_ext=cc
11093 ac_cpp='$CXXCPP $CPPFLAGS'
11094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11097
11098 cat >conftest.$ac_ext <<_ACEOF
11099 /* confdefs.h. */
11100 _ACEOF
11101 cat confdefs.h >>conftest.$ac_ext
11102 cat >>conftest.$ac_ext <<_ACEOF
11103 /* end confdefs.h. */
11104 #include <math.h>
11105 int
11106 main ()
11107 {
11108 _hypot(0, 0);
11109 ;
11110 return 0;
11111 }
11112 _ACEOF
11113 rm -f conftest.$ac_objext
11114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11115 (eval $ac_compile) 2>conftest.er1
11116 ac_status=$?
11117 grep -v '^ *+' conftest.er1 >conftest.err
11118 rm -f conftest.er1
11119 cat conftest.err >&5
11120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11121 (exit $ac_status); } &&
11122 { ac_try='test -z "$ac_cxx_werror_flag"
11123 || test ! -s conftest.err'
11124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11125 (eval $ac_try) 2>&5
11126 ac_status=$?
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); }; } &&
11129 { ac_try='test -s conftest.$ac_objext'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11132 ac_status=$?
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; }; then
11135 glibcxx_cv_func__hypot_use=yes
11136 else
11137 echo "$as_me: failed program was:" >&5
11138 sed 's/^/| /' conftest.$ac_ext >&5
11139
11140 glibcxx_cv_func__hypot_use=no
11141 fi
11142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11143 ac_ext=c
11144 ac_cpp='$CPP $CPPFLAGS'
11145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11148
11149
11150 fi
11151
11152 fi
11153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11154 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11155
11156 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11157
11158 for ac_func in _hypot
11159 do
11160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11161 echo "$as_me:$LINENO: checking for $ac_func" >&5
11162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11163 if eval "test \"\${$as_ac_var+set}\" = set"; then
11164 echo $ECHO_N "(cached) $ECHO_C" >&6
11165 else
11166 if test x$gcc_no_link = xyes; then
11167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11169 { (exit 1); exit 1; }; }
11170 fi
11171 cat >conftest.$ac_ext <<_ACEOF
11172 /* confdefs.h. */
11173 _ACEOF
11174 cat confdefs.h >>conftest.$ac_ext
11175 cat >>conftest.$ac_ext <<_ACEOF
11176 /* end confdefs.h. */
11177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11179 #define $ac_func innocuous_$ac_func
11180
11181 /* System header to define __stub macros and hopefully few prototypes,
11182 which can conflict with char $ac_func (); below.
11183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11184 <limits.h> exists even on freestanding compilers. */
11185
11186 #ifdef __STDC__
11187 # include <limits.h>
11188 #else
11189 # include <assert.h>
11190 #endif
11191
11192 #undef $ac_func
11193
11194 /* Override any gcc2 internal prototype to avoid an error. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 {
11198 #endif
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11201 char $ac_func ();
11202 /* The GNU C library defines this for functions which it implements
11203 to always fail with ENOSYS. Some functions are actually named
11204 something starting with __ and the normal name is an alias. */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11206 choke me
11207 #else
11208 char (*f) () = $ac_func;
11209 #endif
11210 #ifdef __cplusplus
11211 }
11212 #endif
11213
11214 int
11215 main ()
11216 {
11217 return f != $ac_func;
11218 ;
11219 return 0;
11220 }
11221 _ACEOF
11222 rm -f conftest.$ac_objext conftest$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>conftest.er1
11225 ac_status=$?
11226 grep -v '^ *+' conftest.er1 >conftest.err
11227 rm -f conftest.er1
11228 cat conftest.err >&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } &&
11231 { ac_try='test -z "$ac_c_werror_flag"
11232 || test ! -s conftest.err'
11233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11234 (eval $ac_try) 2>&5
11235 ac_status=$?
11236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11237 (exit $ac_status); }; } &&
11238 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
11244 eval "$as_ac_var=yes"
11245 else
11246 echo "$as_me: failed program was:" >&5
11247 sed 's/^/| /' conftest.$ac_ext >&5
11248
11249 eval "$as_ac_var=no"
11250 fi
11251 rm -f conftest.err conftest.$ac_objext \
11252 conftest$ac_exeext conftest.$ac_ext
11253 fi
11254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11256 if test `eval echo '${'$as_ac_var'}'` = yes; then
11257 cat >>confdefs.h <<_ACEOF
11258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11259 _ACEOF
11260
11261 fi
11262 done
11263
11264 fi
11265 fi
11266
11267
11268
11269 echo "$as_me:$LINENO: checking for float trig functions" >&5
11270 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11271 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11272 echo $ECHO_N "(cached) $ECHO_C" >&6
11273 else
11274
11275
11276
11277 ac_ext=cc
11278 ac_cpp='$CXXCPP $CPPFLAGS'
11279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11282
11283 cat >conftest.$ac_ext <<_ACEOF
11284 /* confdefs.h. */
11285 _ACEOF
11286 cat confdefs.h >>conftest.$ac_ext
11287 cat >>conftest.$ac_ext <<_ACEOF
11288 /* end confdefs.h. */
11289 #include <math.h>
11290 int
11291 main ()
11292 {
11293 `for x in acosf asinf atanf \
11294 cosf sinf tanf \
11295 coshf sinhf tanhf; do echo "$x (0);"; done`
11296 ;
11297 return 0;
11298 }
11299 _ACEOF
11300 rm -f conftest.$ac_objext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11302 (eval $ac_compile) 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try='test -z "$ac_cxx_werror_flag"
11310 || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try='test -s conftest.$ac_objext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 glibcxx_cv_func_float_trig_use=yes
11323 else
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11326
11327 glibcxx_cv_func_float_trig_use=no
11328 fi
11329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11330 ac_ext=c
11331 ac_cpp='$CPP $CPPFLAGS'
11332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11335
11336 fi
11337
11338 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11339 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11340 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350 for ac_func in acosf asinf atanf \
11351 cosf sinf tanf \
11352 coshf sinhf tanhf
11353 do
11354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11355 echo "$as_me:$LINENO: checking for $ac_func" >&5
11356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11357 if eval "test \"\${$as_ac_var+set}\" = set"; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11359 else
11360 if test x$gcc_no_link = xyes; then
11361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11363 { (exit 1); exit 1; }; }
11364 fi
11365 cat >conftest.$ac_ext <<_ACEOF
11366 /* confdefs.h. */
11367 _ACEOF
11368 cat confdefs.h >>conftest.$ac_ext
11369 cat >>conftest.$ac_ext <<_ACEOF
11370 /* end confdefs.h. */
11371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11373 #define $ac_func innocuous_$ac_func
11374
11375 /* System header to define __stub macros and hopefully few prototypes,
11376 which can conflict with char $ac_func (); below.
11377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11378 <limits.h> exists even on freestanding compilers. */
11379
11380 #ifdef __STDC__
11381 # include <limits.h>
11382 #else
11383 # include <assert.h>
11384 #endif
11385
11386 #undef $ac_func
11387
11388 /* Override any gcc2 internal prototype to avoid an error. */
11389 #ifdef __cplusplus
11390 extern "C"
11391 {
11392 #endif
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11395 char $ac_func ();
11396 /* The GNU C library defines this for functions which it implements
11397 to always fail with ENOSYS. Some functions are actually named
11398 something starting with __ and the normal name is an alias. */
11399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11400 choke me
11401 #else
11402 char (*f) () = $ac_func;
11403 #endif
11404 #ifdef __cplusplus
11405 }
11406 #endif
11407
11408 int
11409 main ()
11410 {
11411 return f != $ac_func;
11412 ;
11413 return 0;
11414 }
11415 _ACEOF
11416 rm -f conftest.$ac_objext conftest$ac_exeext
11417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11418 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
11439 else
11440 echo "$as_me: failed program was:" >&5
11441 sed 's/^/| /' conftest.$ac_ext >&5
11442
11443 eval "$as_ac_var=no"
11444 fi
11445 rm -f conftest.err conftest.$ac_objext \
11446 conftest$ac_exeext conftest.$ac_ext
11447 fi
11448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11450 if test `eval echo '${'$as_ac_var'}'` = yes; then
11451 cat >>confdefs.h <<_ACEOF
11452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11453 _ACEOF
11454
11455 fi
11456 done
11457
11458 fi
11459
11460
11461 echo "$as_me:$LINENO: checking for float round functions" >&5
11462 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11463 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11464 echo $ECHO_N "(cached) $ECHO_C" >&6
11465 else
11466
11467
11468
11469 ac_ext=cc
11470 ac_cpp='$CXXCPP $CPPFLAGS'
11471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11474
11475 cat >conftest.$ac_ext <<_ACEOF
11476 /* confdefs.h. */
11477 _ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <math.h>
11482 int
11483 main ()
11484 {
11485 `for x in ceilf floorf; do echo "$x (0);"; done`
11486 ;
11487 return 0;
11488 }
11489 _ACEOF
11490 rm -f conftest.$ac_objext
11491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11492 (eval $ac_compile) 2>conftest.er1
11493 ac_status=$?
11494 grep -v '^ *+' conftest.er1 >conftest.err
11495 rm -f conftest.er1
11496 cat conftest.err >&5
11497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 (exit $ac_status); } &&
11499 { ac_try='test -z "$ac_cxx_werror_flag"
11500 || test ! -s conftest.err'
11501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11502 (eval $ac_try) 2>&5
11503 ac_status=$?
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); }; } &&
11506 { ac_try='test -s conftest.$ac_objext'
11507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11508 (eval $ac_try) 2>&5
11509 ac_status=$?
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); }; }; then
11512 glibcxx_cv_func_float_round_use=yes
11513 else
11514 echo "$as_me: failed program was:" >&5
11515 sed 's/^/| /' conftest.$ac_ext >&5
11516
11517 glibcxx_cv_func_float_round_use=no
11518 fi
11519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11520 ac_ext=c
11521 ac_cpp='$CPP $CPPFLAGS'
11522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11525
11526 fi
11527
11528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11529 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11531
11532
11533 for ac_func in ceilf floorf
11534 do
11535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11536 echo "$as_me:$LINENO: checking for $ac_func" >&5
11537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11538 if eval "test \"\${$as_ac_var+set}\" = set"; then
11539 echo $ECHO_N "(cached) $ECHO_C" >&6
11540 else
11541 if test x$gcc_no_link = xyes; then
11542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11544 { (exit 1); exit 1; }; }
11545 fi
11546 cat >conftest.$ac_ext <<_ACEOF
11547 /* confdefs.h. */
11548 _ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11554 #define $ac_func innocuous_$ac_func
11555
11556 /* System header to define __stub macros and hopefully few prototypes,
11557 which can conflict with char $ac_func (); below.
11558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11559 <limits.h> exists even on freestanding compilers. */
11560
11561 #ifdef __STDC__
11562 # include <limits.h>
11563 #else
11564 # include <assert.h>
11565 #endif
11566
11567 #undef $ac_func
11568
11569 /* Override any gcc2 internal prototype to avoid an error. */
11570 #ifdef __cplusplus
11571 extern "C"
11572 {
11573 #endif
11574 /* We use char because int might match the return type of a gcc2
11575 builtin and then its argument prototype would still apply. */
11576 char $ac_func ();
11577 /* The GNU C library defines this for functions which it implements
11578 to always fail with ENOSYS. Some functions are actually named
11579 something starting with __ and the normal name is an alias. */
11580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11581 choke me
11582 #else
11583 char (*f) () = $ac_func;
11584 #endif
11585 #ifdef __cplusplus
11586 }
11587 #endif
11588
11589 int
11590 main ()
11591 {
11592 return f != $ac_func;
11593 ;
11594 return 0;
11595 }
11596 _ACEOF
11597 rm -f conftest.$ac_objext conftest$ac_exeext
11598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11599 (eval $ac_link) 2>conftest.er1
11600 ac_status=$?
11601 grep -v '^ *+' conftest.er1 >conftest.err
11602 rm -f conftest.er1
11603 cat conftest.err >&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } &&
11606 { ac_try='test -z "$ac_c_werror_flag"
11607 || test ! -s conftest.err'
11608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11609 (eval $ac_try) 2>&5
11610 ac_status=$?
11611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11612 (exit $ac_status); }; } &&
11613 { ac_try='test -s conftest$ac_exeext'
11614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11615 (eval $ac_try) 2>&5
11616 ac_status=$?
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); }; }; then
11619 eval "$as_ac_var=yes"
11620 else
11621 echo "$as_me: failed program was:" >&5
11622 sed 's/^/| /' conftest.$ac_ext >&5
11623
11624 eval "$as_ac_var=no"
11625 fi
11626 rm -f conftest.err conftest.$ac_objext \
11627 conftest$ac_exeext conftest.$ac_ext
11628 fi
11629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11631 if test `eval echo '${'$as_ac_var'}'` = yes; then
11632 cat >>confdefs.h <<_ACEOF
11633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11634 _ACEOF
11635
11636 fi
11637 done
11638
11639 fi
11640
11641
11642
11643 echo "$as_me:$LINENO: checking for expf declaration" >&5
11644 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11645 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11646 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11647 echo $ECHO_N "(cached) $ECHO_C" >&6
11648 else
11649
11650
11651
11652 ac_ext=cc
11653 ac_cpp='$CXXCPP $CPPFLAGS'
11654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11657
11658 cat >conftest.$ac_ext <<_ACEOF
11659 /* confdefs.h. */
11660 _ACEOF
11661 cat confdefs.h >>conftest.$ac_ext
11662 cat >>conftest.$ac_ext <<_ACEOF
11663 /* end confdefs.h. */
11664 #include <math.h>
11665 #ifdef HAVE_IEEEFP_H
11666 #include <ieeefp.h>
11667 #endif
11668
11669 int
11670 main ()
11671 {
11672 expf(0);
11673 ;
11674 return 0;
11675 }
11676 _ACEOF
11677 rm -f conftest.$ac_objext
11678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679 (eval $ac_compile) 2>conftest.er1
11680 ac_status=$?
11681 grep -v '^ *+' conftest.er1 >conftest.err
11682 rm -f conftest.er1
11683 cat conftest.err >&5
11684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } &&
11686 { ac_try='test -z "$ac_cxx_werror_flag"
11687 || test ! -s conftest.err'
11688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689 (eval $ac_try) 2>&5
11690 ac_status=$?
11691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692 (exit $ac_status); }; } &&
11693 { ac_try='test -s conftest.$ac_objext'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11696 ac_status=$?
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; }; then
11699 glibcxx_cv_func_expf_use=yes
11700 else
11701 echo "$as_me: failed program was:" >&5
11702 sed 's/^/| /' conftest.$ac_ext >&5
11703
11704 glibcxx_cv_func_expf_use=no
11705 fi
11706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11707 ac_ext=c
11708 ac_cpp='$CPP $CPPFLAGS'
11709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11712
11713
11714 fi
11715
11716 fi
11717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11718 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11719
11720 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11721
11722 for ac_func in expf
11723 do
11724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11725 echo "$as_me:$LINENO: checking for $ac_func" >&5
11726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11727 if eval "test \"\${$as_ac_var+set}\" = set"; then
11728 echo $ECHO_N "(cached) $ECHO_C" >&6
11729 else
11730 if test x$gcc_no_link = xyes; then
11731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11733 { (exit 1); exit 1; }; }
11734 fi
11735 cat >conftest.$ac_ext <<_ACEOF
11736 /* confdefs.h. */
11737 _ACEOF
11738 cat confdefs.h >>conftest.$ac_ext
11739 cat >>conftest.$ac_ext <<_ACEOF
11740 /* end confdefs.h. */
11741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11743 #define $ac_func innocuous_$ac_func
11744
11745 /* System header to define __stub macros and hopefully few prototypes,
11746 which can conflict with char $ac_func (); below.
11747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11748 <limits.h> exists even on freestanding compilers. */
11749
11750 #ifdef __STDC__
11751 # include <limits.h>
11752 #else
11753 # include <assert.h>
11754 #endif
11755
11756 #undef $ac_func
11757
11758 /* Override any gcc2 internal prototype to avoid an error. */
11759 #ifdef __cplusplus
11760 extern "C"
11761 {
11762 #endif
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11765 char $ac_func ();
11766 /* The GNU C library defines this for functions which it implements
11767 to always fail with ENOSYS. Some functions are actually named
11768 something starting with __ and the normal name is an alias. */
11769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11770 choke me
11771 #else
11772 char (*f) () = $ac_func;
11773 #endif
11774 #ifdef __cplusplus
11775 }
11776 #endif
11777
11778 int
11779 main ()
11780 {
11781 return f != $ac_func;
11782 ;
11783 return 0;
11784 }
11785 _ACEOF
11786 rm -f conftest.$ac_objext conftest$ac_exeext
11787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11788 (eval $ac_link) 2>conftest.er1
11789 ac_status=$?
11790 grep -v '^ *+' conftest.er1 >conftest.err
11791 rm -f conftest.er1
11792 cat conftest.err >&5
11793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794 (exit $ac_status); } &&
11795 { ac_try='test -z "$ac_c_werror_flag"
11796 || test ! -s conftest.err'
11797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11798 (eval $ac_try) 2>&5
11799 ac_status=$?
11800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11801 (exit $ac_status); }; } &&
11802 { ac_try='test -s conftest$ac_exeext'
11803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11804 (eval $ac_try) 2>&5
11805 ac_status=$?
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); }; }; then
11808 eval "$as_ac_var=yes"
11809 else
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11812
11813 eval "$as_ac_var=no"
11814 fi
11815 rm -f conftest.err conftest.$ac_objext \
11816 conftest$ac_exeext conftest.$ac_ext
11817 fi
11818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11820 if test `eval echo '${'$as_ac_var'}'` = yes; then
11821 cat >>confdefs.h <<_ACEOF
11822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11823 _ACEOF
11824
11825 fi
11826 done
11827
11828 else
11829
11830 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11831 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11832 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11833 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11836
11837
11838
11839 ac_ext=cc
11840 ac_cpp='$CXXCPP $CPPFLAGS'
11841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11844
11845 cat >conftest.$ac_ext <<_ACEOF
11846 /* confdefs.h. */
11847 _ACEOF
11848 cat confdefs.h >>conftest.$ac_ext
11849 cat >>conftest.$ac_ext <<_ACEOF
11850 /* end confdefs.h. */
11851 #include <math.h>
11852 #ifdef HAVE_IEEEFP_H
11853 #include <ieeefp.h>
11854 #endif
11855
11856 int
11857 main ()
11858 {
11859 _expf(0);
11860 ;
11861 return 0;
11862 }
11863 _ACEOF
11864 rm -f conftest.$ac_objext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11866 (eval $ac_compile) 2>conftest.er1
11867 ac_status=$?
11868 grep -v '^ *+' conftest.er1 >conftest.err
11869 rm -f conftest.er1
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_cxx_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest.$ac_objext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 glibcxx_cv_func__expf_use=yes
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11890
11891 glibcxx_cv_func__expf_use=no
11892 fi
11893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11894 ac_ext=c
11895 ac_cpp='$CPP $CPPFLAGS'
11896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11899
11900
11901 fi
11902
11903 fi
11904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11905 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11906
11907 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11908
11909 for ac_func in _expf
11910 do
11911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11912 echo "$as_me:$LINENO: checking for $ac_func" >&5
11913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11914 if eval "test \"\${$as_ac_var+set}\" = set"; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 if test x$gcc_no_link = xyes; then
11918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11920 { (exit 1); exit 1; }; }
11921 fi
11922 cat >conftest.$ac_ext <<_ACEOF
11923 /* confdefs.h. */
11924 _ACEOF
11925 cat confdefs.h >>conftest.$ac_ext
11926 cat >>conftest.$ac_ext <<_ACEOF
11927 /* end confdefs.h. */
11928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11930 #define $ac_func innocuous_$ac_func
11931
11932 /* System header to define __stub macros and hopefully few prototypes,
11933 which can conflict with char $ac_func (); below.
11934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11935 <limits.h> exists even on freestanding compilers. */
11936
11937 #ifdef __STDC__
11938 # include <limits.h>
11939 #else
11940 # include <assert.h>
11941 #endif
11942
11943 #undef $ac_func
11944
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 #ifdef __cplusplus
11947 extern "C"
11948 {
11949 #endif
11950 /* We use char because int might match the return type of a gcc2
11951 builtin and then its argument prototype would still apply. */
11952 char $ac_func ();
11953 /* The GNU C library defines this for functions which it implements
11954 to always fail with ENOSYS. Some functions are actually named
11955 something starting with __ and the normal name is an alias. */
11956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11957 choke me
11958 #else
11959 char (*f) () = $ac_func;
11960 #endif
11961 #ifdef __cplusplus
11962 }
11963 #endif
11964
11965 int
11966 main ()
11967 {
11968 return f != $ac_func;
11969 ;
11970 return 0;
11971 }
11972 _ACEOF
11973 rm -f conftest.$ac_objext conftest$ac_exeext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11975 (eval $ac_link) 2>conftest.er1
11976 ac_status=$?
11977 grep -v '^ *+' conftest.er1 >conftest.err
11978 rm -f conftest.er1
11979 cat conftest.err >&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try='test -z "$ac_c_werror_flag"
11983 || test ! -s conftest.err'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11986 ac_status=$?
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; } &&
11989 { ac_try='test -s conftest$ac_exeext'
11990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11991 (eval $ac_try) 2>&5
11992 ac_status=$?
11993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11994 (exit $ac_status); }; }; then
11995 eval "$as_ac_var=yes"
11996 else
11997 echo "$as_me: failed program was:" >&5
11998 sed 's/^/| /' conftest.$ac_ext >&5
11999
12000 eval "$as_ac_var=no"
12001 fi
12002 rm -f conftest.err conftest.$ac_objext \
12003 conftest$ac_exeext conftest.$ac_ext
12004 fi
12005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12007 if test `eval echo '${'$as_ac_var'}'` = yes; then
12008 cat >>confdefs.h <<_ACEOF
12009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12010 _ACEOF
12011
12012 fi
12013 done
12014
12015 fi
12016 fi
12017
12018
12019
12020 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12021 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12022 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12023 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 else
12026
12027
12028
12029 ac_ext=cc
12030 ac_cpp='$CXXCPP $CPPFLAGS'
12031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12034
12035 cat >conftest.$ac_ext <<_ACEOF
12036 /* confdefs.h. */
12037 _ACEOF
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <math.h>
12042 #ifdef HAVE_IEEEFP_H
12043 #include <ieeefp.h>
12044 #endif
12045
12046 int
12047 main ()
12048 {
12049 isnanf(0);
12050 ;
12051 return 0;
12052 }
12053 _ACEOF
12054 rm -f conftest.$ac_objext
12055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12056 (eval $ac_compile) 2>conftest.er1
12057 ac_status=$?
12058 grep -v '^ *+' conftest.er1 >conftest.err
12059 rm -f conftest.er1
12060 cat conftest.err >&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -z "$ac_cxx_werror_flag"
12064 || test ! -s conftest.err'
12065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12066 (eval $ac_try) 2>&5
12067 ac_status=$?
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); }; } &&
12070 { ac_try='test -s conftest.$ac_objext'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; }; then
12076 glibcxx_cv_func_isnanf_use=yes
12077 else
12078 echo "$as_me: failed program was:" >&5
12079 sed 's/^/| /' conftest.$ac_ext >&5
12080
12081 glibcxx_cv_func_isnanf_use=no
12082 fi
12083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12084 ac_ext=c
12085 ac_cpp='$CPP $CPPFLAGS'
12086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12089
12090
12091 fi
12092
12093 fi
12094 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12095 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12096
12097 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12098
12099 for ac_func in isnanf
12100 do
12101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12102 echo "$as_me:$LINENO: checking for $ac_func" >&5
12103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12104 if eval "test \"\${$as_ac_var+set}\" = set"; then
12105 echo $ECHO_N "(cached) $ECHO_C" >&6
12106 else
12107 if test x$gcc_no_link = xyes; then
12108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12110 { (exit 1); exit 1; }; }
12111 fi
12112 cat >conftest.$ac_ext <<_ACEOF
12113 /* confdefs.h. */
12114 _ACEOF
12115 cat confdefs.h >>conftest.$ac_ext
12116 cat >>conftest.$ac_ext <<_ACEOF
12117 /* end confdefs.h. */
12118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12120 #define $ac_func innocuous_$ac_func
12121
12122 /* System header to define __stub macros and hopefully few prototypes,
12123 which can conflict with char $ac_func (); below.
12124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12125 <limits.h> exists even on freestanding compilers. */
12126
12127 #ifdef __STDC__
12128 # include <limits.h>
12129 #else
12130 # include <assert.h>
12131 #endif
12132
12133 #undef $ac_func
12134
12135 /* Override any gcc2 internal prototype to avoid an error. */
12136 #ifdef __cplusplus
12137 extern "C"
12138 {
12139 #endif
12140 /* We use char because int might match the return type of a gcc2
12141 builtin and then its argument prototype would still apply. */
12142 char $ac_func ();
12143 /* The GNU C library defines this for functions which it implements
12144 to always fail with ENOSYS. Some functions are actually named
12145 something starting with __ and the normal name is an alias. */
12146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12147 choke me
12148 #else
12149 char (*f) () = $ac_func;
12150 #endif
12151 #ifdef __cplusplus
12152 }
12153 #endif
12154
12155 int
12156 main ()
12157 {
12158 return f != $ac_func;
12159 ;
12160 return 0;
12161 }
12162 _ACEOF
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165 (eval $ac_link) 2>conftest.er1
12166 ac_status=$?
12167 grep -v '^ *+' conftest.er1 >conftest.err
12168 rm -f conftest.er1
12169 cat conftest.err >&5
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); } &&
12172 { ac_try='test -z "$ac_c_werror_flag"
12173 || test ! -s conftest.err'
12174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12175 (eval $ac_try) 2>&5
12176 ac_status=$?
12177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12178 (exit $ac_status); }; } &&
12179 { ac_try='test -s conftest$ac_exeext'
12180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12181 (eval $ac_try) 2>&5
12182 ac_status=$?
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); }; }; then
12185 eval "$as_ac_var=yes"
12186 else
12187 echo "$as_me: failed program was:" >&5
12188 sed 's/^/| /' conftest.$ac_ext >&5
12189
12190 eval "$as_ac_var=no"
12191 fi
12192 rm -f conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 fi
12195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12197 if test `eval echo '${'$as_ac_var'}'` = yes; then
12198 cat >>confdefs.h <<_ACEOF
12199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12200 _ACEOF
12201
12202 fi
12203 done
12204
12205 else
12206
12207 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12208 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12209 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12210 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12213
12214
12215
12216 ac_ext=cc
12217 ac_cpp='$CXXCPP $CPPFLAGS'
12218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12221
12222 cat >conftest.$ac_ext <<_ACEOF
12223 /* confdefs.h. */
12224 _ACEOF
12225 cat confdefs.h >>conftest.$ac_ext
12226 cat >>conftest.$ac_ext <<_ACEOF
12227 /* end confdefs.h. */
12228 #include <math.h>
12229 #ifdef HAVE_IEEEFP_H
12230 #include <ieeefp.h>
12231 #endif
12232
12233 int
12234 main ()
12235 {
12236 _isnanf(0);
12237 ;
12238 return 0;
12239 }
12240 _ACEOF
12241 rm -f conftest.$ac_objext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 (eval $ac_compile) 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_cxx_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 glibcxx_cv_func__isnanf_use=yes
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12267
12268 glibcxx_cv_func__isnanf_use=no
12269 fi
12270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12271 ac_ext=c
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12276
12277
12278 fi
12279
12280 fi
12281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12282 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12283
12284 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12285
12286 for ac_func in _isnanf
12287 do
12288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294 if test x$gcc_no_link = xyes; then
12295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297 { (exit 1); exit 1; }; }
12298 fi
12299 cat >conftest.$ac_ext <<_ACEOF
12300 /* confdefs.h. */
12301 _ACEOF
12302 cat confdefs.h >>conftest.$ac_ext
12303 cat >>conftest.$ac_ext <<_ACEOF
12304 /* end confdefs.h. */
12305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12307 #define $ac_func innocuous_$ac_func
12308
12309 /* System header to define __stub macros and hopefully few prototypes,
12310 which can conflict with char $ac_func (); below.
12311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12312 <limits.h> exists even on freestanding compilers. */
12313
12314 #ifdef __STDC__
12315 # include <limits.h>
12316 #else
12317 # include <assert.h>
12318 #endif
12319
12320 #undef $ac_func
12321
12322 /* Override any gcc2 internal prototype to avoid an error. */
12323 #ifdef __cplusplus
12324 extern "C"
12325 {
12326 #endif
12327 /* We use char because int might match the return type of a gcc2
12328 builtin and then its argument prototype would still apply. */
12329 char $ac_func ();
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12334 choke me
12335 #else
12336 char (*f) () = $ac_func;
12337 #endif
12338 #ifdef __cplusplus
12339 }
12340 #endif
12341
12342 int
12343 main ()
12344 {
12345 return f != $ac_func;
12346 ;
12347 return 0;
12348 }
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag"
12360 || test ! -s conftest.err'
12361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12362 (eval $ac_try) 2>&5
12363 ac_status=$?
12364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12365 (exit $ac_status); }; } &&
12366 { ac_try='test -s conftest$ac_exeext'
12367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12368 (eval $ac_try) 2>&5
12369 ac_status=$?
12370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12371 (exit $ac_status); }; }; then
12372 eval "$as_ac_var=yes"
12373 else
12374 echo "$as_me: failed program was:" >&5
12375 sed 's/^/| /' conftest.$ac_ext >&5
12376
12377 eval "$as_ac_var=no"
12378 fi
12379 rm -f conftest.err conftest.$ac_objext \
12380 conftest$ac_exeext conftest.$ac_ext
12381 fi
12382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12384 if test `eval echo '${'$as_ac_var'}'` = yes; then
12385 cat >>confdefs.h <<_ACEOF
12386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12387 _ACEOF
12388
12389 fi
12390 done
12391
12392 fi
12393 fi
12394
12395
12396
12397 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12398 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12399 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12400 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 else
12403
12404
12405
12406 ac_ext=cc
12407 ac_cpp='$CXXCPP $CPPFLAGS'
12408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12411
12412 cat >conftest.$ac_ext <<_ACEOF
12413 /* confdefs.h. */
12414 _ACEOF
12415 cat confdefs.h >>conftest.$ac_ext
12416 cat >>conftest.$ac_ext <<_ACEOF
12417 /* end confdefs.h. */
12418 #include <math.h>
12419 #ifdef HAVE_IEEEFP_H
12420 #include <ieeefp.h>
12421 #endif
12422
12423 int
12424 main ()
12425 {
12426 isinff(0);
12427 ;
12428 return 0;
12429 }
12430 _ACEOF
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>conftest.er1
12434 ac_status=$?
12435 grep -v '^ *+' conftest.er1 >conftest.err
12436 rm -f conftest.er1
12437 cat conftest.err >&5
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); } &&
12440 { ac_try='test -z "$ac_cxx_werror_flag"
12441 || test ! -s conftest.err'
12442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12443 (eval $ac_try) 2>&5
12444 ac_status=$?
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); }; } &&
12447 { ac_try='test -s conftest.$ac_objext'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; }; then
12453 glibcxx_cv_func_isinff_use=yes
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12457
12458 glibcxx_cv_func_isinff_use=no
12459 fi
12460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12461 ac_ext=c
12462 ac_cpp='$CPP $CPPFLAGS'
12463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12466
12467
12468 fi
12469
12470 fi
12471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12472 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12473
12474 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12475
12476 for ac_func in isinff
12477 do
12478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12479 echo "$as_me:$LINENO: checking for $ac_func" >&5
12480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12481 if eval "test \"\${$as_ac_var+set}\" = set"; then
12482 echo $ECHO_N "(cached) $ECHO_C" >&6
12483 else
12484 if test x$gcc_no_link = xyes; then
12485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12487 { (exit 1); exit 1; }; }
12488 fi
12489 cat >conftest.$ac_ext <<_ACEOF
12490 /* confdefs.h. */
12491 _ACEOF
12492 cat confdefs.h >>conftest.$ac_ext
12493 cat >>conftest.$ac_ext <<_ACEOF
12494 /* end confdefs.h. */
12495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12497 #define $ac_func innocuous_$ac_func
12498
12499 /* System header to define __stub macros and hopefully few prototypes,
12500 which can conflict with char $ac_func (); below.
12501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12502 <limits.h> exists even on freestanding compilers. */
12503
12504 #ifdef __STDC__
12505 # include <limits.h>
12506 #else
12507 # include <assert.h>
12508 #endif
12509
12510 #undef $ac_func
12511
12512 /* Override any gcc2 internal prototype to avoid an error. */
12513 #ifdef __cplusplus
12514 extern "C"
12515 {
12516 #endif
12517 /* We use char because int might match the return type of a gcc2
12518 builtin and then its argument prototype would still apply. */
12519 char $ac_func ();
12520 /* The GNU C library defines this for functions which it implements
12521 to always fail with ENOSYS. Some functions are actually named
12522 something starting with __ and the normal name is an alias. */
12523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12524 choke me
12525 #else
12526 char (*f) () = $ac_func;
12527 #endif
12528 #ifdef __cplusplus
12529 }
12530 #endif
12531
12532 int
12533 main ()
12534 {
12535 return f != $ac_func;
12536 ;
12537 return 0;
12538 }
12539 _ACEOF
12540 rm -f conftest.$ac_objext conftest$ac_exeext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>conftest.er1
12543 ac_status=$?
12544 grep -v '^ *+' conftest.er1 >conftest.err
12545 rm -f conftest.er1
12546 cat conftest.err >&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } &&
12549 { ac_try='test -z "$ac_c_werror_flag"
12550 || test ! -s conftest.err'
12551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12552 (eval $ac_try) 2>&5
12553 ac_status=$?
12554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); }; } &&
12556 { ac_try='test -s conftest$ac_exeext'
12557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12558 (eval $ac_try) 2>&5
12559 ac_status=$?
12560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12561 (exit $ac_status); }; }; then
12562 eval "$as_ac_var=yes"
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 eval "$as_ac_var=no"
12568 fi
12569 rm -f conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12571 fi
12572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12574 if test `eval echo '${'$as_ac_var'}'` = yes; then
12575 cat >>confdefs.h <<_ACEOF
12576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12577 _ACEOF
12578
12579 fi
12580 done
12581
12582 else
12583
12584 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12585 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12586 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12587 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12588 echo $ECHO_N "(cached) $ECHO_C" >&6
12589 else
12590
12591
12592
12593 ac_ext=cc
12594 ac_cpp='$CXXCPP $CPPFLAGS'
12595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12598
12599 cat >conftest.$ac_ext <<_ACEOF
12600 /* confdefs.h. */
12601 _ACEOF
12602 cat confdefs.h >>conftest.$ac_ext
12603 cat >>conftest.$ac_ext <<_ACEOF
12604 /* end confdefs.h. */
12605 #include <math.h>
12606 #ifdef HAVE_IEEEFP_H
12607 #include <ieeefp.h>
12608 #endif
12609
12610 int
12611 main ()
12612 {
12613 _isinff(0);
12614 ;
12615 return 0;
12616 }
12617 _ACEOF
12618 rm -f conftest.$ac_objext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12620 (eval $ac_compile) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_cxx_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest.$ac_objext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 glibcxx_cv_func__isinff_use=yes
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12644
12645 glibcxx_cv_func__isinff_use=no
12646 fi
12647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12648 ac_ext=c
12649 ac_cpp='$CPP $CPPFLAGS'
12650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12653
12654
12655 fi
12656
12657 fi
12658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12659 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12660
12661 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12662
12663 for ac_func in _isinff
12664 do
12665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12666 echo "$as_me:$LINENO: checking for $ac_func" >&5
12667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12668 if eval "test \"\${$as_ac_var+set}\" = set"; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12670 else
12671 if test x$gcc_no_link = xyes; then
12672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12674 { (exit 1); exit 1; }; }
12675 fi
12676 cat >conftest.$ac_ext <<_ACEOF
12677 /* confdefs.h. */
12678 _ACEOF
12679 cat confdefs.h >>conftest.$ac_ext
12680 cat >>conftest.$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12684 #define $ac_func innocuous_$ac_func
12685
12686 /* System header to define __stub macros and hopefully few prototypes,
12687 which can conflict with char $ac_func (); below.
12688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12689 <limits.h> exists even on freestanding compilers. */
12690
12691 #ifdef __STDC__
12692 # include <limits.h>
12693 #else
12694 # include <assert.h>
12695 #endif
12696
12697 #undef $ac_func
12698
12699 /* Override any gcc2 internal prototype to avoid an error. */
12700 #ifdef __cplusplus
12701 extern "C"
12702 {
12703 #endif
12704 /* We use char because int might match the return type of a gcc2
12705 builtin and then its argument prototype would still apply. */
12706 char $ac_func ();
12707 /* The GNU C library defines this for functions which it implements
12708 to always fail with ENOSYS. Some functions are actually named
12709 something starting with __ and the normal name is an alias. */
12710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12711 choke me
12712 #else
12713 char (*f) () = $ac_func;
12714 #endif
12715 #ifdef __cplusplus
12716 }
12717 #endif
12718
12719 int
12720 main ()
12721 {
12722 return f != $ac_func;
12723 ;
12724 return 0;
12725 }
12726 _ACEOF
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12729 (eval $ac_link) 2>conftest.er1
12730 ac_status=$?
12731 grep -v '^ *+' conftest.er1 >conftest.err
12732 rm -f conftest.er1
12733 cat conftest.err >&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } &&
12736 { ac_try='test -z "$ac_c_werror_flag"
12737 || test ! -s conftest.err'
12738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12739 (eval $ac_try) 2>&5
12740 ac_status=$?
12741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12742 (exit $ac_status); }; } &&
12743 { ac_try='test -s conftest$ac_exeext'
12744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12745 (eval $ac_try) 2>&5
12746 ac_status=$?
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); }; }; then
12749 eval "$as_ac_var=yes"
12750 else
12751 echo "$as_me: failed program was:" >&5
12752 sed 's/^/| /' conftest.$ac_ext >&5
12753
12754 eval "$as_ac_var=no"
12755 fi
12756 rm -f conftest.err conftest.$ac_objext \
12757 conftest$ac_exeext conftest.$ac_ext
12758 fi
12759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12761 if test `eval echo '${'$as_ac_var'}'` = yes; then
12762 cat >>confdefs.h <<_ACEOF
12763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12764 _ACEOF
12765
12766 fi
12767 done
12768
12769 fi
12770 fi
12771
12772
12773
12774 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12775 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12776 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12777 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12780
12781
12782
12783 ac_ext=cc
12784 ac_cpp='$CXXCPP $CPPFLAGS'
12785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12788
12789 cat >conftest.$ac_ext <<_ACEOF
12790 /* confdefs.h. */
12791 _ACEOF
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795 #include <math.h>
12796 int
12797 main ()
12798 {
12799 atan2f(0, 0);
12800 ;
12801 return 0;
12802 }
12803 _ACEOF
12804 rm -f conftest.$ac_objext
12805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12806 (eval $ac_compile) 2>conftest.er1
12807 ac_status=$?
12808 grep -v '^ *+' conftest.er1 >conftest.err
12809 rm -f conftest.er1
12810 cat conftest.err >&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); } &&
12813 { ac_try='test -z "$ac_cxx_werror_flag"
12814 || test ! -s conftest.err'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; } &&
12820 { ac_try='test -s conftest.$ac_objext'
12821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12822 (eval $ac_try) 2>&5
12823 ac_status=$?
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); }; }; then
12826 glibcxx_cv_func_atan2f_use=yes
12827 else
12828 echo "$as_me: failed program was:" >&5
12829 sed 's/^/| /' conftest.$ac_ext >&5
12830
12831 glibcxx_cv_func_atan2f_use=no
12832 fi
12833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12834 ac_ext=c
12835 ac_cpp='$CPP $CPPFLAGS'
12836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12839
12840
12841 fi
12842
12843 fi
12844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12845 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12846
12847 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12848
12849 for ac_func in atan2f
12850 do
12851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12852 echo "$as_me:$LINENO: checking for $ac_func" >&5
12853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12854 if eval "test \"\${$as_ac_var+set}\" = set"; then
12855 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857 if test x$gcc_no_link = xyes; then
12858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12860 { (exit 1); exit 1; }; }
12861 fi
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12870 #define $ac_func innocuous_$ac_func
12871
12872 /* System header to define __stub macros and hopefully few prototypes,
12873 which can conflict with char $ac_func (); below.
12874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12875 <limits.h> exists even on freestanding compilers. */
12876
12877 #ifdef __STDC__
12878 # include <limits.h>
12879 #else
12880 # include <assert.h>
12881 #endif
12882
12883 #undef $ac_func
12884
12885 /* Override any gcc2 internal prototype to avoid an error. */
12886 #ifdef __cplusplus
12887 extern "C"
12888 {
12889 #endif
12890 /* We use char because int might match the return type of a gcc2
12891 builtin and then its argument prototype would still apply. */
12892 char $ac_func ();
12893 /* The GNU C library defines this for functions which it implements
12894 to always fail with ENOSYS. Some functions are actually named
12895 something starting with __ and the normal name is an alias. */
12896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12897 choke me
12898 #else
12899 char (*f) () = $ac_func;
12900 #endif
12901 #ifdef __cplusplus
12902 }
12903 #endif
12904
12905 int
12906 main ()
12907 {
12908 return f != $ac_func;
12909 ;
12910 return 0;
12911 }
12912 _ACEOF
12913 rm -f conftest.$ac_objext conftest$ac_exeext
12914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12915 (eval $ac_link) 2>conftest.er1
12916 ac_status=$?
12917 grep -v '^ *+' conftest.er1 >conftest.err
12918 rm -f conftest.er1
12919 cat conftest.err >&5
12920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12921 (exit $ac_status); } &&
12922 { ac_try='test -z "$ac_c_werror_flag"
12923 || test ! -s conftest.err'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12926 ac_status=$?
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; } &&
12929 { ac_try='test -s conftest$ac_exeext'
12930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12931 (eval $ac_try) 2>&5
12932 ac_status=$?
12933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12934 (exit $ac_status); }; }; then
12935 eval "$as_ac_var=yes"
12936 else
12937 echo "$as_me: failed program was:" >&5
12938 sed 's/^/| /' conftest.$ac_ext >&5
12939
12940 eval "$as_ac_var=no"
12941 fi
12942 rm -f conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12944 fi
12945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12947 if test `eval echo '${'$as_ac_var'}'` = yes; then
12948 cat >>confdefs.h <<_ACEOF
12949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12950 _ACEOF
12951
12952 fi
12953 done
12954
12955 else
12956
12957 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12958 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12959 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12960 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12961 echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963
12964
12965
12966 ac_ext=cc
12967 ac_cpp='$CXXCPP $CPPFLAGS'
12968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12971
12972 cat >conftest.$ac_ext <<_ACEOF
12973 /* confdefs.h. */
12974 _ACEOF
12975 cat confdefs.h >>conftest.$ac_ext
12976 cat >>conftest.$ac_ext <<_ACEOF
12977 /* end confdefs.h. */
12978 #include <math.h>
12979 int
12980 main ()
12981 {
12982 _atan2f(0, 0);
12983 ;
12984 return 0;
12985 }
12986 _ACEOF
12987 rm -f conftest.$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12990 ac_status=$?
12991 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_cxx_werror_flag"
12997 || test ! -s conftest.err'
12998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12999 (eval $ac_try) 2>&5
13000 ac_status=$?
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); }; } &&
13003 { ac_try='test -s conftest.$ac_objext'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; }; then
13009 glibcxx_cv_func__atan2f_use=yes
13010 else
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13013
13014 glibcxx_cv_func__atan2f_use=no
13015 fi
13016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13017 ac_ext=c
13018 ac_cpp='$CPP $CPPFLAGS'
13019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13022
13023
13024 fi
13025
13026 fi
13027 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13028 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13029
13030 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13031
13032 for ac_func in _atan2f
13033 do
13034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13035 echo "$as_me:$LINENO: checking for $ac_func" >&5
13036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13037 if eval "test \"\${$as_ac_var+set}\" = set"; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13039 else
13040 if test x$gcc_no_link = xyes; then
13041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13043 { (exit 1); exit 1; }; }
13044 fi
13045 cat >conftest.$ac_ext <<_ACEOF
13046 /* confdefs.h. */
13047 _ACEOF
13048 cat confdefs.h >>conftest.$ac_ext
13049 cat >>conftest.$ac_ext <<_ACEOF
13050 /* end confdefs.h. */
13051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13053 #define $ac_func innocuous_$ac_func
13054
13055 /* System header to define __stub macros and hopefully few prototypes,
13056 which can conflict with char $ac_func (); below.
13057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13058 <limits.h> exists even on freestanding compilers. */
13059
13060 #ifdef __STDC__
13061 # include <limits.h>
13062 #else
13063 # include <assert.h>
13064 #endif
13065
13066 #undef $ac_func
13067
13068 /* Override any gcc2 internal prototype to avoid an error. */
13069 #ifdef __cplusplus
13070 extern "C"
13071 {
13072 #endif
13073 /* We use char because int might match the return type of a gcc2
13074 builtin and then its argument prototype would still apply. */
13075 char $ac_func ();
13076 /* The GNU C library defines this for functions which it implements
13077 to always fail with ENOSYS. Some functions are actually named
13078 something starting with __ and the normal name is an alias. */
13079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13080 choke me
13081 #else
13082 char (*f) () = $ac_func;
13083 #endif
13084 #ifdef __cplusplus
13085 }
13086 #endif
13087
13088 int
13089 main ()
13090 {
13091 return f != $ac_func;
13092 ;
13093 return 0;
13094 }
13095 _ACEOF
13096 rm -f conftest.$ac_objext conftest$ac_exeext
13097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13098 (eval $ac_link) 2>conftest.er1
13099 ac_status=$?
13100 grep -v '^ *+' conftest.er1 >conftest.err
13101 rm -f conftest.er1
13102 cat conftest.err >&5
13103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13104 (exit $ac_status); } &&
13105 { ac_try='test -z "$ac_c_werror_flag"
13106 || test ! -s conftest.err'
13107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13108 (eval $ac_try) 2>&5
13109 ac_status=$?
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); }; } &&
13112 { ac_try='test -s conftest$ac_exeext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13115 ac_status=$?
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 eval "$as_ac_var=yes"
13119 else
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13122
13123 eval "$as_ac_var=no"
13124 fi
13125 rm -f conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13127 fi
13128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13130 if test `eval echo '${'$as_ac_var'}'` = yes; then
13131 cat >>confdefs.h <<_ACEOF
13132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13133 _ACEOF
13134
13135 fi
13136 done
13137
13138 fi
13139 fi
13140
13141
13142
13143 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13144 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13145 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13146 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13147 echo $ECHO_N "(cached) $ECHO_C" >&6
13148 else
13149
13150
13151
13152 ac_ext=cc
13153 ac_cpp='$CXXCPP $CPPFLAGS'
13154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13157
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13164 #include <math.h>
13165 #ifdef HAVE_IEEEFP_H
13166 #include <ieeefp.h>
13167 #endif
13168
13169 int
13170 main ()
13171 {
13172 fabsf(0);
13173 ;
13174 return 0;
13175 }
13176 _ACEOF
13177 rm -f conftest.$ac_objext
13178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13179 (eval $ac_compile) 2>conftest.er1
13180 ac_status=$?
13181 grep -v '^ *+' conftest.er1 >conftest.err
13182 rm -f conftest.er1
13183 cat conftest.err >&5
13184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13185 (exit $ac_status); } &&
13186 { ac_try='test -z "$ac_cxx_werror_flag"
13187 || test ! -s conftest.err'
13188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13189 (eval $ac_try) 2>&5
13190 ac_status=$?
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); }; } &&
13193 { ac_try='test -s conftest.$ac_objext'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13196 ac_status=$?
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; }; then
13199 glibcxx_cv_func_fabsf_use=yes
13200 else
13201 echo "$as_me: failed program was:" >&5
13202 sed 's/^/| /' conftest.$ac_ext >&5
13203
13204 glibcxx_cv_func_fabsf_use=no
13205 fi
13206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13207 ac_ext=c
13208 ac_cpp='$CPP $CPPFLAGS'
13209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13212
13213
13214 fi
13215
13216 fi
13217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13218 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13219
13220 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13221
13222 for ac_func in fabsf
13223 do
13224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13225 echo "$as_me:$LINENO: checking for $ac_func" >&5
13226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13227 if eval "test \"\${$as_ac_var+set}\" = set"; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 else
13230 if test x$gcc_no_link = xyes; then
13231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13233 { (exit 1); exit 1; }; }
13234 fi
13235 cat >conftest.$ac_ext <<_ACEOF
13236 /* confdefs.h. */
13237 _ACEOF
13238 cat confdefs.h >>conftest.$ac_ext
13239 cat >>conftest.$ac_ext <<_ACEOF
13240 /* end confdefs.h. */
13241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13243 #define $ac_func innocuous_$ac_func
13244
13245 /* System header to define __stub macros and hopefully few prototypes,
13246 which can conflict with char $ac_func (); below.
13247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13248 <limits.h> exists even on freestanding compilers. */
13249
13250 #ifdef __STDC__
13251 # include <limits.h>
13252 #else
13253 # include <assert.h>
13254 #endif
13255
13256 #undef $ac_func
13257
13258 /* Override any gcc2 internal prototype to avoid an error. */
13259 #ifdef __cplusplus
13260 extern "C"
13261 {
13262 #endif
13263 /* We use char because int might match the return type of a gcc2
13264 builtin and then its argument prototype would still apply. */
13265 char $ac_func ();
13266 /* The GNU C library defines this for functions which it implements
13267 to always fail with ENOSYS. Some functions are actually named
13268 something starting with __ and the normal name is an alias. */
13269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13270 choke me
13271 #else
13272 char (*f) () = $ac_func;
13273 #endif
13274 #ifdef __cplusplus
13275 }
13276 #endif
13277
13278 int
13279 main ()
13280 {
13281 return f != $ac_func;
13282 ;
13283 return 0;
13284 }
13285 _ACEOF
13286 rm -f conftest.$ac_objext conftest$ac_exeext
13287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13288 (eval $ac_link) 2>conftest.er1
13289 ac_status=$?
13290 grep -v '^ *+' conftest.er1 >conftest.err
13291 rm -f conftest.er1
13292 cat conftest.err >&5
13293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13294 (exit $ac_status); } &&
13295 { ac_try='test -z "$ac_c_werror_flag"
13296 || test ! -s conftest.err'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13299 ac_status=$?
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; } &&
13302 { ac_try='test -s conftest$ac_exeext'
13303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13304 (eval $ac_try) 2>&5
13305 ac_status=$?
13306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13307 (exit $ac_status); }; }; then
13308 eval "$as_ac_var=yes"
13309 else
13310 echo "$as_me: failed program was:" >&5
13311 sed 's/^/| /' conftest.$ac_ext >&5
13312
13313 eval "$as_ac_var=no"
13314 fi
13315 rm -f conftest.err conftest.$ac_objext \
13316 conftest$ac_exeext conftest.$ac_ext
13317 fi
13318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13320 if test `eval echo '${'$as_ac_var'}'` = yes; then
13321 cat >>confdefs.h <<_ACEOF
13322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13323 _ACEOF
13324
13325 fi
13326 done
13327
13328 else
13329
13330 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13331 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13332 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13333 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13334 echo $ECHO_N "(cached) $ECHO_C" >&6
13335 else
13336
13337
13338
13339 ac_ext=cc
13340 ac_cpp='$CXXCPP $CPPFLAGS'
13341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13344
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #include <math.h>
13352 #ifdef HAVE_IEEEFP_H
13353 #include <ieeefp.h>
13354 #endif
13355
13356 int
13357 main ()
13358 {
13359 _fabsf(0);
13360 ;
13361 return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13366 (eval $ac_compile) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_cxx_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest.$ac_objext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 glibcxx_cv_func__fabsf_use=yes
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13390
13391 glibcxx_cv_func__fabsf_use=no
13392 fi
13393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13394 ac_ext=c
13395 ac_cpp='$CPP $CPPFLAGS'
13396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13399
13400
13401 fi
13402
13403 fi
13404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13405 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13406
13407 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13408
13409 for ac_func in _fabsf
13410 do
13411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13412 echo "$as_me:$LINENO: checking for $ac_func" >&5
13413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13414 if eval "test \"\${$as_ac_var+set}\" = set"; then
13415 echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417 if test x$gcc_no_link = xyes; then
13418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13420 { (exit 1); exit 1; }; }
13421 fi
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13430 #define $ac_func innocuous_$ac_func
13431
13432 /* System header to define __stub macros and hopefully few prototypes,
13433 which can conflict with char $ac_func (); below.
13434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13435 <limits.h> exists even on freestanding compilers. */
13436
13437 #ifdef __STDC__
13438 # include <limits.h>
13439 #else
13440 # include <assert.h>
13441 #endif
13442
13443 #undef $ac_func
13444
13445 /* Override any gcc2 internal prototype to avoid an error. */
13446 #ifdef __cplusplus
13447 extern "C"
13448 {
13449 #endif
13450 /* We use char because int might match the return type of a gcc2
13451 builtin and then its argument prototype would still apply. */
13452 char $ac_func ();
13453 /* The GNU C library defines this for functions which it implements
13454 to always fail with ENOSYS. Some functions are actually named
13455 something starting with __ and the normal name is an alias. */
13456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13457 choke me
13458 #else
13459 char (*f) () = $ac_func;
13460 #endif
13461 #ifdef __cplusplus
13462 }
13463 #endif
13464
13465 int
13466 main ()
13467 {
13468 return f != $ac_func;
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 rm -f conftest.$ac_objext conftest$ac_exeext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13475 (eval $ac_link) 2>conftest.er1
13476 ac_status=$?
13477 grep -v '^ *+' conftest.er1 >conftest.err
13478 rm -f conftest.er1
13479 cat conftest.err >&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); } &&
13482 { ac_try='test -z "$ac_c_werror_flag"
13483 || test ! -s conftest.err'
13484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 (eval $ac_try) 2>&5
13486 ac_status=$?
13487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13488 (exit $ac_status); }; } &&
13489 { ac_try='test -s conftest$ac_exeext'
13490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13491 (eval $ac_try) 2>&5
13492 ac_status=$?
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); }; }; then
13495 eval "$as_ac_var=yes"
13496 else
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13499
13500 eval "$as_ac_var=no"
13501 fi
13502 rm -f conftest.err conftest.$ac_objext \
13503 conftest$ac_exeext conftest.$ac_ext
13504 fi
13505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13507 if test `eval echo '${'$as_ac_var'}'` = yes; then
13508 cat >>confdefs.h <<_ACEOF
13509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13510 _ACEOF
13511
13512 fi
13513 done
13514
13515 fi
13516 fi
13517
13518
13519
13520 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13521 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13522 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13523 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 else
13526
13527
13528
13529 ac_ext=cc
13530 ac_cpp='$CXXCPP $CPPFLAGS'
13531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13534
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #include <math.h>
13542 int
13543 main ()
13544 {
13545 fmodf(0, 0);
13546 ;
13547 return 0;
13548 }
13549 _ACEOF
13550 rm -f conftest.$ac_objext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13552 (eval $ac_compile) 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_cxx_werror_flag"
13560 || test ! -s conftest.err'
13561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13562 (eval $ac_try) 2>&5
13563 ac_status=$?
13564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 (exit $ac_status); }; } &&
13566 { ac_try='test -s conftest.$ac_objext'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13569 ac_status=$?
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; }; then
13572 glibcxx_cv_func_fmodf_use=yes
13573 else
13574 echo "$as_me: failed program was:" >&5
13575 sed 's/^/| /' conftest.$ac_ext >&5
13576
13577 glibcxx_cv_func_fmodf_use=no
13578 fi
13579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13580 ac_ext=c
13581 ac_cpp='$CPP $CPPFLAGS'
13582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13585
13586
13587 fi
13588
13589 fi
13590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13591 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13592
13593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13594
13595 for ac_func in fmodf
13596 do
13597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13598 echo "$as_me:$LINENO: checking for $ac_func" >&5
13599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13600 if eval "test \"\${$as_ac_var+set}\" = set"; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13602 else
13603 if test x$gcc_no_link = xyes; then
13604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13606 { (exit 1); exit 1; }; }
13607 fi
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13616 #define $ac_func innocuous_$ac_func
13617
13618 /* System header to define __stub macros and hopefully few prototypes,
13619 which can conflict with char $ac_func (); below.
13620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13621 <limits.h> exists even on freestanding compilers. */
13622
13623 #ifdef __STDC__
13624 # include <limits.h>
13625 #else
13626 # include <assert.h>
13627 #endif
13628
13629 #undef $ac_func
13630
13631 /* Override any gcc2 internal prototype to avoid an error. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 {
13635 #endif
13636 /* We use char because int might match the return type of a gcc2
13637 builtin and then its argument prototype would still apply. */
13638 char $ac_func ();
13639 /* The GNU C library defines this for functions which it implements
13640 to always fail with ENOSYS. Some functions are actually named
13641 something starting with __ and the normal name is an alias. */
13642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13643 choke me
13644 #else
13645 char (*f) () = $ac_func;
13646 #endif
13647 #ifdef __cplusplus
13648 }
13649 #endif
13650
13651 int
13652 main ()
13653 {
13654 return f != $ac_func;
13655 ;
13656 return 0;
13657 }
13658 _ACEOF
13659 rm -f conftest.$ac_objext conftest$ac_exeext
13660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13661 (eval $ac_link) 2>conftest.er1
13662 ac_status=$?
13663 grep -v '^ *+' conftest.er1 >conftest.err
13664 rm -f conftest.er1
13665 cat conftest.err >&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try='test -z "$ac_c_werror_flag"
13669 || test ! -s conftest.err'
13670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13671 (eval $ac_try) 2>&5
13672 ac_status=$?
13673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13674 (exit $ac_status); }; } &&
13675 { ac_try='test -s conftest$ac_exeext'
13676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13677 (eval $ac_try) 2>&5
13678 ac_status=$?
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); }; }; then
13681 eval "$as_ac_var=yes"
13682 else
13683 echo "$as_me: failed program was:" >&5
13684 sed 's/^/| /' conftest.$ac_ext >&5
13685
13686 eval "$as_ac_var=no"
13687 fi
13688 rm -f conftest.err conftest.$ac_objext \
13689 conftest$ac_exeext conftest.$ac_ext
13690 fi
13691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13693 if test `eval echo '${'$as_ac_var'}'` = yes; then
13694 cat >>confdefs.h <<_ACEOF
13695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13696 _ACEOF
13697
13698 fi
13699 done
13700
13701 else
13702
13703 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13704 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13705 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13706 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13707 echo $ECHO_N "(cached) $ECHO_C" >&6
13708 else
13709
13710
13711
13712 ac_ext=cc
13713 ac_cpp='$CXXCPP $CPPFLAGS'
13714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13717
13718 cat >conftest.$ac_ext <<_ACEOF
13719 /* confdefs.h. */
13720 _ACEOF
13721 cat confdefs.h >>conftest.$ac_ext
13722 cat >>conftest.$ac_ext <<_ACEOF
13723 /* end confdefs.h. */
13724 #include <math.h>
13725 int
13726 main ()
13727 {
13728 _fmodf(0, 0);
13729 ;
13730 return 0;
13731 }
13732 _ACEOF
13733 rm -f conftest.$ac_objext
13734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13735 (eval $ac_compile) 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } &&
13742 { ac_try='test -z "$ac_cxx_werror_flag"
13743 || test ! -s conftest.err'
13744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13745 (eval $ac_try) 2>&5
13746 ac_status=$?
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); }; } &&
13749 { ac_try='test -s conftest.$ac_objext'
13750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13751 (eval $ac_try) 2>&5
13752 ac_status=$?
13753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754 (exit $ac_status); }; }; then
13755 glibcxx_cv_func__fmodf_use=yes
13756 else
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13759
13760 glibcxx_cv_func__fmodf_use=no
13761 fi
13762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13763 ac_ext=c
13764 ac_cpp='$CPP $CPPFLAGS'
13765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13768
13769
13770 fi
13771
13772 fi
13773 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13774 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13775
13776 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13777
13778 for ac_func in _fmodf
13779 do
13780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13781 echo "$as_me:$LINENO: checking for $ac_func" >&5
13782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13783 if eval "test \"\${$as_ac_var+set}\" = set"; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 if test x$gcc_no_link = xyes; then
13787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13789 { (exit 1); exit 1; }; }
13790 fi
13791 cat >conftest.$ac_ext <<_ACEOF
13792 /* confdefs.h. */
13793 _ACEOF
13794 cat confdefs.h >>conftest.$ac_ext
13795 cat >>conftest.$ac_ext <<_ACEOF
13796 /* end confdefs.h. */
13797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13798 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13799 #define $ac_func innocuous_$ac_func
13800
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char $ac_func (); below.
13803 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13804 <limits.h> exists even on freestanding compilers. */
13805
13806 #ifdef __STDC__
13807 # include <limits.h>
13808 #else
13809 # include <assert.h>
13810 #endif
13811
13812 #undef $ac_func
13813
13814 /* Override any gcc2 internal prototype to avoid an error. */
13815 #ifdef __cplusplus
13816 extern "C"
13817 {
13818 #endif
13819 /* We use char because int might match the return type of a gcc2
13820 builtin and then its argument prototype would still apply. */
13821 char $ac_func ();
13822 /* The GNU C library defines this for functions which it implements
13823 to always fail with ENOSYS. Some functions are actually named
13824 something starting with __ and the normal name is an alias. */
13825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13826 choke me
13827 #else
13828 char (*f) () = $ac_func;
13829 #endif
13830 #ifdef __cplusplus
13831 }
13832 #endif
13833
13834 int
13835 main ()
13836 {
13837 return f != $ac_func;
13838 ;
13839 return 0;
13840 }
13841 _ACEOF
13842 rm -f conftest.$ac_objext conftest$ac_exeext
13843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13844 (eval $ac_link) 2>conftest.er1
13845 ac_status=$?
13846 grep -v '^ *+' conftest.er1 >conftest.err
13847 rm -f conftest.er1
13848 cat conftest.err >&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } &&
13851 { ac_try='test -z "$ac_c_werror_flag"
13852 || test ! -s conftest.err'
13853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13854 (eval $ac_try) 2>&5
13855 ac_status=$?
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); }; } &&
13858 { ac_try='test -s conftest$ac_exeext'
13859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13860 (eval $ac_try) 2>&5
13861 ac_status=$?
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); }; }; then
13864 eval "$as_ac_var=yes"
13865 else
13866 echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13868
13869 eval "$as_ac_var=no"
13870 fi
13871 rm -f conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 fi
13874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13876 if test `eval echo '${'$as_ac_var'}'` = yes; then
13877 cat >>confdefs.h <<_ACEOF
13878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13879 _ACEOF
13880
13881 fi
13882 done
13883
13884 fi
13885 fi
13886
13887
13888
13889 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13890 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13891 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13892 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13895
13896
13897
13898 ac_ext=cc
13899 ac_cpp='$CXXCPP $CPPFLAGS'
13900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13903
13904 cat >conftest.$ac_ext <<_ACEOF
13905 /* confdefs.h. */
13906 _ACEOF
13907 cat confdefs.h >>conftest.$ac_ext
13908 cat >>conftest.$ac_ext <<_ACEOF
13909 /* end confdefs.h. */
13910 #include <math.h>
13911 int
13912 main ()
13913 {
13914 frexpf(0, 0);
13915 ;
13916 return 0;
13917 }
13918 _ACEOF
13919 rm -f conftest.$ac_objext
13920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13921 (eval $ac_compile) 2>conftest.er1
13922 ac_status=$?
13923 grep -v '^ *+' conftest.er1 >conftest.err
13924 rm -f conftest.er1
13925 cat conftest.err >&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); } &&
13928 { ac_try='test -z "$ac_cxx_werror_flag"
13929 || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest.$ac_objext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 glibcxx_cv_func_frexpf_use=yes
13942 else
13943 echo "$as_me: failed program was:" >&5
13944 sed 's/^/| /' conftest.$ac_ext >&5
13945
13946 glibcxx_cv_func_frexpf_use=no
13947 fi
13948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13949 ac_ext=c
13950 ac_cpp='$CPP $CPPFLAGS'
13951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13954
13955
13956 fi
13957
13958 fi
13959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13960 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13961
13962 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13963
13964 for ac_func in frexpf
13965 do
13966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13967 echo "$as_me:$LINENO: checking for $ac_func" >&5
13968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13969 if eval "test \"\${$as_ac_var+set}\" = set"; then
13970 echo $ECHO_N "(cached) $ECHO_C" >&6
13971 else
13972 if test x$gcc_no_link = xyes; then
13973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13975 { (exit 1); exit 1; }; }
13976 fi
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13985 #define $ac_func innocuous_$ac_func
13986
13987 /* System header to define __stub macros and hopefully few prototypes,
13988 which can conflict with char $ac_func (); below.
13989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13990 <limits.h> exists even on freestanding compilers. */
13991
13992 #ifdef __STDC__
13993 # include <limits.h>
13994 #else
13995 # include <assert.h>
13996 #endif
13997
13998 #undef $ac_func
13999
14000 /* Override any gcc2 internal prototype to avoid an error. */
14001 #ifdef __cplusplus
14002 extern "C"
14003 {
14004 #endif
14005 /* We use char because int might match the return type of a gcc2
14006 builtin and then its argument prototype would still apply. */
14007 char $ac_func ();
14008 /* The GNU C library defines this for functions which it implements
14009 to always fail with ENOSYS. Some functions are actually named
14010 something starting with __ and the normal name is an alias. */
14011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14012 choke me
14013 #else
14014 char (*f) () = $ac_func;
14015 #endif
14016 #ifdef __cplusplus
14017 }
14018 #endif
14019
14020 int
14021 main ()
14022 {
14023 return f != $ac_func;
14024 ;
14025 return 0;
14026 }
14027 _ACEOF
14028 rm -f conftest.$ac_objext conftest$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14031 ac_status=$?
14032 grep -v '^ *+' conftest.er1 >conftest.err
14033 rm -f conftest.er1
14034 cat conftest.err >&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try='test -z "$ac_c_werror_flag"
14038 || test ! -s conftest.err'
14039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14040 (eval $ac_try) 2>&5
14041 ac_status=$?
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); }; } &&
14044 { ac_try='test -s conftest$ac_exeext'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; }; then
14050 eval "$as_ac_var=yes"
14051 else
14052 echo "$as_me: failed program was:" >&5
14053 sed 's/^/| /' conftest.$ac_ext >&5
14054
14055 eval "$as_ac_var=no"
14056 fi
14057 rm -f conftest.err conftest.$ac_objext \
14058 conftest$ac_exeext conftest.$ac_ext
14059 fi
14060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14062 if test `eval echo '${'$as_ac_var'}'` = yes; then
14063 cat >>confdefs.h <<_ACEOF
14064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14065 _ACEOF
14066
14067 fi
14068 done
14069
14070 else
14071
14072 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14073 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14074 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14075 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14076 echo $ECHO_N "(cached) $ECHO_C" >&6
14077 else
14078
14079
14080
14081 ac_ext=cc
14082 ac_cpp='$CXXCPP $CPPFLAGS'
14083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14086
14087 cat >conftest.$ac_ext <<_ACEOF
14088 /* confdefs.h. */
14089 _ACEOF
14090 cat confdefs.h >>conftest.$ac_ext
14091 cat >>conftest.$ac_ext <<_ACEOF
14092 /* end confdefs.h. */
14093 #include <math.h>
14094 int
14095 main ()
14096 {
14097 _frexpf(0, 0);
14098 ;
14099 return 0;
14100 }
14101 _ACEOF
14102 rm -f conftest.$ac_objext
14103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14104 (eval $ac_compile) 2>conftest.er1
14105 ac_status=$?
14106 grep -v '^ *+' conftest.er1 >conftest.err
14107 rm -f conftest.er1
14108 cat conftest.err >&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -z "$ac_cxx_werror_flag"
14112 || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 glibcxx_cv_func__frexpf_use=yes
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14128
14129 glibcxx_cv_func__frexpf_use=no
14130 fi
14131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14132 ac_ext=c
14133 ac_cpp='$CPP $CPPFLAGS'
14134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14137
14138
14139 fi
14140
14141 fi
14142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14143 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14144
14145 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14146
14147 for ac_func in _frexpf
14148 do
14149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14150 echo "$as_me:$LINENO: checking for $ac_func" >&5
14151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14152 if eval "test \"\${$as_ac_var+set}\" = set"; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 if test x$gcc_no_link = xyes; then
14156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14158 { (exit 1); exit 1; }; }
14159 fi
14160 cat >conftest.$ac_ext <<_ACEOF
14161 /* confdefs.h. */
14162 _ACEOF
14163 cat confdefs.h >>conftest.$ac_ext
14164 cat >>conftest.$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14168 #define $ac_func innocuous_$ac_func
14169
14170 /* System header to define __stub macros and hopefully few prototypes,
14171 which can conflict with char $ac_func (); below.
14172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14173 <limits.h> exists even on freestanding compilers. */
14174
14175 #ifdef __STDC__
14176 # include <limits.h>
14177 #else
14178 # include <assert.h>
14179 #endif
14180
14181 #undef $ac_func
14182
14183 /* Override any gcc2 internal prototype to avoid an error. */
14184 #ifdef __cplusplus
14185 extern "C"
14186 {
14187 #endif
14188 /* We use char because int might match the return type of a gcc2
14189 builtin and then its argument prototype would still apply. */
14190 char $ac_func ();
14191 /* The GNU C library defines this for functions which it implements
14192 to always fail with ENOSYS. Some functions are actually named
14193 something starting with __ and the normal name is an alias. */
14194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14195 choke me
14196 #else
14197 char (*f) () = $ac_func;
14198 #endif
14199 #ifdef __cplusplus
14200 }
14201 #endif
14202
14203 int
14204 main ()
14205 {
14206 return f != $ac_func;
14207 ;
14208 return 0;
14209 }
14210 _ACEOF
14211 rm -f conftest.$ac_objext conftest$ac_exeext
14212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14213 (eval $ac_link) 2>conftest.er1
14214 ac_status=$?
14215 grep -v '^ *+' conftest.er1 >conftest.err
14216 rm -f conftest.er1
14217 cat conftest.err >&5
14218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14219 (exit $ac_status); } &&
14220 { ac_try='test -z "$ac_c_werror_flag"
14221 || test ! -s conftest.err'
14222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14223 (eval $ac_try) 2>&5
14224 ac_status=$?
14225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); }; } &&
14227 { ac_try='test -s conftest$ac_exeext'
14228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14229 (eval $ac_try) 2>&5
14230 ac_status=$?
14231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14232 (exit $ac_status); }; }; then
14233 eval "$as_ac_var=yes"
14234 else
14235 echo "$as_me: failed program was:" >&5
14236 sed 's/^/| /' conftest.$ac_ext >&5
14237
14238 eval "$as_ac_var=no"
14239 fi
14240 rm -f conftest.err conftest.$ac_objext \
14241 conftest$ac_exeext conftest.$ac_ext
14242 fi
14243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14245 if test `eval echo '${'$as_ac_var'}'` = yes; then
14246 cat >>confdefs.h <<_ACEOF
14247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14248 _ACEOF
14249
14250 fi
14251 done
14252
14253 fi
14254 fi
14255
14256
14257
14258 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14259 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14262 echo $ECHO_N "(cached) $ECHO_C" >&6
14263 else
14264
14265
14266
14267 ac_ext=cc
14268 ac_cpp='$CXXCPP $CPPFLAGS'
14269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14272
14273 cat >conftest.$ac_ext <<_ACEOF
14274 /* confdefs.h. */
14275 _ACEOF
14276 cat confdefs.h >>conftest.$ac_ext
14277 cat >>conftest.$ac_ext <<_ACEOF
14278 /* end confdefs.h. */
14279 #include <math.h>
14280 int
14281 main ()
14282 {
14283 hypotf(0, 0);
14284 ;
14285 return 0;
14286 }
14287 _ACEOF
14288 rm -f conftest.$ac_objext
14289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14290 (eval $ac_compile) 2>conftest.er1
14291 ac_status=$?
14292 grep -v '^ *+' conftest.er1 >conftest.err
14293 rm -f conftest.er1
14294 cat conftest.err >&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } &&
14297 { ac_try='test -z "$ac_cxx_werror_flag"
14298 || test ! -s conftest.err'
14299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14300 (eval $ac_try) 2>&5
14301 ac_status=$?
14302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14303 (exit $ac_status); }; } &&
14304 { ac_try='test -s conftest.$ac_objext'
14305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14306 (eval $ac_try) 2>&5
14307 ac_status=$?
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); }; }; then
14310 glibcxx_cv_func_hypotf_use=yes
14311 else
14312 echo "$as_me: failed program was:" >&5
14313 sed 's/^/| /' conftest.$ac_ext >&5
14314
14315 glibcxx_cv_func_hypotf_use=no
14316 fi
14317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14318 ac_ext=c
14319 ac_cpp='$CPP $CPPFLAGS'
14320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14323
14324
14325 fi
14326
14327 fi
14328 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14329 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14330
14331 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14332
14333 for ac_func in hypotf
14334 do
14335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14336 echo "$as_me:$LINENO: checking for $ac_func" >&5
14337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14338 if eval "test \"\${$as_ac_var+set}\" = set"; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 if test x$gcc_no_link = xyes; then
14342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14344 { (exit 1); exit 1; }; }
14345 fi
14346 cat >conftest.$ac_ext <<_ACEOF
14347 /* confdefs.h. */
14348 _ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14354 #define $ac_func innocuous_$ac_func
14355
14356 /* System header to define __stub macros and hopefully few prototypes,
14357 which can conflict with char $ac_func (); below.
14358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14359 <limits.h> exists even on freestanding compilers. */
14360
14361 #ifdef __STDC__
14362 # include <limits.h>
14363 #else
14364 # include <assert.h>
14365 #endif
14366
14367 #undef $ac_func
14368
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 #ifdef __cplusplus
14371 extern "C"
14372 {
14373 #endif
14374 /* We use char because int might match the return type of a gcc2
14375 builtin and then its argument prototype would still apply. */
14376 char $ac_func ();
14377 /* The GNU C library defines this for functions which it implements
14378 to always fail with ENOSYS. Some functions are actually named
14379 something starting with __ and the normal name is an alias. */
14380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14381 choke me
14382 #else
14383 char (*f) () = $ac_func;
14384 #endif
14385 #ifdef __cplusplus
14386 }
14387 #endif
14388
14389 int
14390 main ()
14391 {
14392 return f != $ac_func;
14393 ;
14394 return 0;
14395 }
14396 _ACEOF
14397 rm -f conftest.$ac_objext conftest$ac_exeext
14398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14399 (eval $ac_link) 2>conftest.er1
14400 ac_status=$?
14401 grep -v '^ *+' conftest.er1 >conftest.err
14402 rm -f conftest.er1
14403 cat conftest.err >&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } &&
14406 { ac_try='test -z "$ac_c_werror_flag"
14407 || test ! -s conftest.err'
14408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14409 (eval $ac_try) 2>&5
14410 ac_status=$?
14411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412 (exit $ac_status); }; } &&
14413 { ac_try='test -s conftest$ac_exeext'
14414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14415 (eval $ac_try) 2>&5
14416 ac_status=$?
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }; }; then
14419 eval "$as_ac_var=yes"
14420 else
14421 echo "$as_me: failed program was:" >&5
14422 sed 's/^/| /' conftest.$ac_ext >&5
14423
14424 eval "$as_ac_var=no"
14425 fi
14426 rm -f conftest.err conftest.$ac_objext \
14427 conftest$ac_exeext conftest.$ac_ext
14428 fi
14429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14431 if test `eval echo '${'$as_ac_var'}'` = yes; then
14432 cat >>confdefs.h <<_ACEOF
14433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14434 _ACEOF
14435
14436 fi
14437 done
14438
14439 else
14440
14441 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14442 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14443 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14444 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14446 else
14447
14448
14449
14450 ac_ext=cc
14451 ac_cpp='$CXXCPP $CPPFLAGS'
14452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14455
14456 cat >conftest.$ac_ext <<_ACEOF
14457 /* confdefs.h. */
14458 _ACEOF
14459 cat confdefs.h >>conftest.$ac_ext
14460 cat >>conftest.$ac_ext <<_ACEOF
14461 /* end confdefs.h. */
14462 #include <math.h>
14463 int
14464 main ()
14465 {
14466 _hypotf(0, 0);
14467 ;
14468 return 0;
14469 }
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473 (eval $ac_compile) 2>conftest.er1
14474 ac_status=$?
14475 grep -v '^ *+' conftest.er1 >conftest.err
14476 rm -f conftest.er1
14477 cat conftest.err >&5
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); } &&
14480 { ac_try='test -z "$ac_cxx_werror_flag"
14481 || test ! -s conftest.err'
14482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483 (eval $ac_try) 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; } &&
14487 { ac_try='test -s conftest.$ac_objext'
14488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489 (eval $ac_try) 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; }; then
14493 glibcxx_cv_func__hypotf_use=yes
14494 else
14495 echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14497
14498 glibcxx_cv_func__hypotf_use=no
14499 fi
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 ac_ext=c
14502 ac_cpp='$CPP $CPPFLAGS'
14503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14506
14507
14508 fi
14509
14510 fi
14511 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14512 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14513
14514 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14515
14516 for ac_func in _hypotf
14517 do
14518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14519 echo "$as_me:$LINENO: checking for $ac_func" >&5
14520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14521 if eval "test \"\${$as_ac_var+set}\" = set"; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14523 else
14524 if test x$gcc_no_link = xyes; then
14525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14527 { (exit 1); exit 1; }; }
14528 fi
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14537 #define $ac_func innocuous_$ac_func
14538
14539 /* System header to define __stub macros and hopefully few prototypes,
14540 which can conflict with char $ac_func (); below.
14541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14542 <limits.h> exists even on freestanding compilers. */
14543
14544 #ifdef __STDC__
14545 # include <limits.h>
14546 #else
14547 # include <assert.h>
14548 #endif
14549
14550 #undef $ac_func
14551
14552 /* Override any gcc2 internal prototype to avoid an error. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 {
14556 #endif
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14559 char $ac_func ();
14560 /* The GNU C library defines this for functions which it implements
14561 to always fail with ENOSYS. Some functions are actually named
14562 something starting with __ and the normal name is an alias. */
14563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14564 choke me
14565 #else
14566 char (*f) () = $ac_func;
14567 #endif
14568 #ifdef __cplusplus
14569 }
14570 #endif
14571
14572 int
14573 main ()
14574 {
14575 return f != $ac_func;
14576 ;
14577 return 0;
14578 }
14579 _ACEOF
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>conftest.er1
14583 ac_status=$?
14584 grep -v '^ *+' conftest.er1 >conftest.err
14585 rm -f conftest.er1
14586 cat conftest.err >&5
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); } &&
14589 { ac_try='test -z "$ac_c_werror_flag"
14590 || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try='test -s conftest$ac_exeext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14599 ac_status=$?
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 eval "$as_ac_var=yes"
14603 else
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14606
14607 eval "$as_ac_var=no"
14608 fi
14609 rm -f conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 fi
14612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14614 if test `eval echo '${'$as_ac_var'}'` = yes; then
14615 cat >>confdefs.h <<_ACEOF
14616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14617 _ACEOF
14618
14619 fi
14620 done
14621
14622 fi
14623 fi
14624
14625
14626
14627 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14628 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14629 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14630 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14633
14634
14635
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14641
14642 cat >conftest.$ac_ext <<_ACEOF
14643 /* confdefs.h. */
14644 _ACEOF
14645 cat confdefs.h >>conftest.$ac_ext
14646 cat >>conftest.$ac_ext <<_ACEOF
14647 /* end confdefs.h. */
14648 #include <math.h>
14649 int
14650 main ()
14651 {
14652 ldexpf(0, 0);
14653 ;
14654 return 0;
14655 }
14656 _ACEOF
14657 rm -f conftest.$ac_objext
14658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14659 (eval $ac_compile) 2>conftest.er1
14660 ac_status=$?
14661 grep -v '^ *+' conftest.er1 >conftest.err
14662 rm -f conftest.er1
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } &&
14666 { ac_try='test -z "$ac_cxx_werror_flag"
14667 || test ! -s conftest.err'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; } &&
14673 { ac_try='test -s conftest.$ac_objext'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; }; then
14679 glibcxx_cv_func_ldexpf_use=yes
14680 else
14681 echo "$as_me: failed program was:" >&5
14682 sed 's/^/| /' conftest.$ac_ext >&5
14683
14684 glibcxx_cv_func_ldexpf_use=no
14685 fi
14686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14687 ac_ext=c
14688 ac_cpp='$CPP $CPPFLAGS'
14689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14692
14693
14694 fi
14695
14696 fi
14697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14698 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14699
14700 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14701
14702 for ac_func in ldexpf
14703 do
14704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14705 echo "$as_me:$LINENO: checking for $ac_func" >&5
14706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14707 if eval "test \"\${$as_ac_var+set}\" = set"; then
14708 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 else
14710 if test x$gcc_no_link = xyes; then
14711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14713 { (exit 1); exit 1; }; }
14714 fi
14715 cat >conftest.$ac_ext <<_ACEOF
14716 /* confdefs.h. */
14717 _ACEOF
14718 cat confdefs.h >>conftest.$ac_ext
14719 cat >>conftest.$ac_ext <<_ACEOF
14720 /* end confdefs.h. */
14721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14723 #define $ac_func innocuous_$ac_func
14724
14725 /* System header to define __stub macros and hopefully few prototypes,
14726 which can conflict with char $ac_func (); below.
14727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14728 <limits.h> exists even on freestanding compilers. */
14729
14730 #ifdef __STDC__
14731 # include <limits.h>
14732 #else
14733 # include <assert.h>
14734 #endif
14735
14736 #undef $ac_func
14737
14738 /* Override any gcc2 internal prototype to avoid an error. */
14739 #ifdef __cplusplus
14740 extern "C"
14741 {
14742 #endif
14743 /* We use char because int might match the return type of a gcc2
14744 builtin and then its argument prototype would still apply. */
14745 char $ac_func ();
14746 /* The GNU C library defines this for functions which it implements
14747 to always fail with ENOSYS. Some functions are actually named
14748 something starting with __ and the normal name is an alias. */
14749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14750 choke me
14751 #else
14752 char (*f) () = $ac_func;
14753 #endif
14754 #ifdef __cplusplus
14755 }
14756 #endif
14757
14758 int
14759 main ()
14760 {
14761 return f != $ac_func;
14762 ;
14763 return 0;
14764 }
14765 _ACEOF
14766 rm -f conftest.$ac_objext conftest$ac_exeext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14768 (eval $ac_link) 2>conftest.er1
14769 ac_status=$?
14770 grep -v '^ *+' conftest.er1 >conftest.err
14771 rm -f conftest.er1
14772 cat conftest.err >&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try='test -z "$ac_c_werror_flag"
14776 || test ! -s conftest.err'
14777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14778 (eval $ac_try) 2>&5
14779 ac_status=$?
14780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14781 (exit $ac_status); }; } &&
14782 { ac_try='test -s conftest$ac_exeext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14785 ac_status=$?
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 eval "$as_ac_var=yes"
14789 else
14790 echo "$as_me: failed program was:" >&5
14791 sed 's/^/| /' conftest.$ac_ext >&5
14792
14793 eval "$as_ac_var=no"
14794 fi
14795 rm -f conftest.err conftest.$ac_objext \
14796 conftest$ac_exeext conftest.$ac_ext
14797 fi
14798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14800 if test `eval echo '${'$as_ac_var'}'` = yes; then
14801 cat >>confdefs.h <<_ACEOF
14802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14803 _ACEOF
14804
14805 fi
14806 done
14807
14808 else
14809
14810 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14811 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14812 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14813 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816
14817
14818
14819 ac_ext=cc
14820 ac_cpp='$CXXCPP $CPPFLAGS'
14821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14824
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <math.h>
14832 int
14833 main ()
14834 {
14835 _ldexpf(0, 0);
14836 ;
14837 return 0;
14838 }
14839 _ACEOF
14840 rm -f conftest.$ac_objext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14842 (eval $ac_compile) 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try='test -z "$ac_cxx_werror_flag"
14850 || test ! -s conftest.err'
14851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14852 (eval $ac_try) 2>&5
14853 ac_status=$?
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try='test -s conftest.$ac_objext'
14857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14858 (eval $ac_try) 2>&5
14859 ac_status=$?
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); }; }; then
14862 glibcxx_cv_func__ldexpf_use=yes
14863 else
14864 echo "$as_me: failed program was:" >&5
14865 sed 's/^/| /' conftest.$ac_ext >&5
14866
14867 glibcxx_cv_func__ldexpf_use=no
14868 fi
14869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14870 ac_ext=c
14871 ac_cpp='$CPP $CPPFLAGS'
14872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14875
14876
14877 fi
14878
14879 fi
14880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14881 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14882
14883 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14884
14885 for ac_func in _ldexpf
14886 do
14887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14888 echo "$as_me:$LINENO: checking for $ac_func" >&5
14889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14890 if eval "test \"\${$as_ac_var+set}\" = set"; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 if test x$gcc_no_link = xyes; then
14894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14896 { (exit 1); exit 1; }; }
14897 fi
14898 cat >conftest.$ac_ext <<_ACEOF
14899 /* confdefs.h. */
14900 _ACEOF
14901 cat confdefs.h >>conftest.$ac_ext
14902 cat >>conftest.$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14906 #define $ac_func innocuous_$ac_func
14907
14908 /* System header to define __stub macros and hopefully few prototypes,
14909 which can conflict with char $ac_func (); below.
14910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14911 <limits.h> exists even on freestanding compilers. */
14912
14913 #ifdef __STDC__
14914 # include <limits.h>
14915 #else
14916 # include <assert.h>
14917 #endif
14918
14919 #undef $ac_func
14920
14921 /* Override any gcc2 internal prototype to avoid an error. */
14922 #ifdef __cplusplus
14923 extern "C"
14924 {
14925 #endif
14926 /* We use char because int might match the return type of a gcc2
14927 builtin and then its argument prototype would still apply. */
14928 char $ac_func ();
14929 /* The GNU C library defines this for functions which it implements
14930 to always fail with ENOSYS. Some functions are actually named
14931 something starting with __ and the normal name is an alias. */
14932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14933 choke me
14934 #else
14935 char (*f) () = $ac_func;
14936 #endif
14937 #ifdef __cplusplus
14938 }
14939 #endif
14940
14941 int
14942 main ()
14943 {
14944 return f != $ac_func;
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext conftest$ac_exeext
14950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14951 (eval $ac_link) 2>conftest.er1
14952 ac_status=$?
14953 grep -v '^ *+' conftest.er1 >conftest.err
14954 rm -f conftest.er1
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); } &&
14958 { ac_try='test -z "$ac_c_werror_flag"
14959 || test ! -s conftest.err'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14962 ac_status=$?
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; } &&
14965 { ac_try='test -s conftest$ac_exeext'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14968 ac_status=$?
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; }; then
14971 eval "$as_ac_var=yes"
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14975
14976 eval "$as_ac_var=no"
14977 fi
14978 rm -f conftest.err conftest.$ac_objext \
14979 conftest$ac_exeext conftest.$ac_ext
14980 fi
14981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14983 if test `eval echo '${'$as_ac_var'}'` = yes; then
14984 cat >>confdefs.h <<_ACEOF
14985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14986 _ACEOF
14987
14988 fi
14989 done
14990
14991 fi
14992 fi
14993
14994
14995
14996 echo "$as_me:$LINENO: checking for logf declaration" >&5
14997 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
14998 if test x${glibcxx_cv_func_logf_use+set} != xset; then
14999 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15002
15003
15004
15005 ac_ext=cc
15006 ac_cpp='$CXXCPP $CPPFLAGS'
15007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15010
15011 cat >conftest.$ac_ext <<_ACEOF
15012 /* confdefs.h. */
15013 _ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15017 #include <math.h>
15018 #ifdef HAVE_IEEEFP_H
15019 #include <ieeefp.h>
15020 #endif
15021
15022 int
15023 main ()
15024 {
15025 logf(0);
15026 ;
15027 return 0;
15028 }
15029 _ACEOF
15030 rm -f conftest.$ac_objext
15031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15032 (eval $ac_compile) 2>conftest.er1
15033 ac_status=$?
15034 grep -v '^ *+' conftest.er1 >conftest.err
15035 rm -f conftest.er1
15036 cat conftest.err >&5
15037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15038 (exit $ac_status); } &&
15039 { ac_try='test -z "$ac_cxx_werror_flag"
15040 || test ! -s conftest.err'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15043 ac_status=$?
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; } &&
15046 { ac_try='test -s conftest.$ac_objext'
15047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15048 (eval $ac_try) 2>&5
15049 ac_status=$?
15050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15051 (exit $ac_status); }; }; then
15052 glibcxx_cv_func_logf_use=yes
15053 else
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15056
15057 glibcxx_cv_func_logf_use=no
15058 fi
15059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15060 ac_ext=c
15061 ac_cpp='$CPP $CPPFLAGS'
15062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15065
15066
15067 fi
15068
15069 fi
15070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15071 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15072
15073 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15074
15075 for ac_func in logf
15076 do
15077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15078 echo "$as_me:$LINENO: checking for $ac_func" >&5
15079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15080 if eval "test \"\${$as_ac_var+set}\" = set"; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test x$gcc_no_link = xyes; then
15084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15086 { (exit 1); exit 1; }; }
15087 fi
15088 cat >conftest.$ac_ext <<_ACEOF
15089 /* confdefs.h. */
15090 _ACEOF
15091 cat confdefs.h >>conftest.$ac_ext
15092 cat >>conftest.$ac_ext <<_ACEOF
15093 /* end confdefs.h. */
15094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15096 #define $ac_func innocuous_$ac_func
15097
15098 /* System header to define __stub macros and hopefully few prototypes,
15099 which can conflict with char $ac_func (); below.
15100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15101 <limits.h> exists even on freestanding compilers. */
15102
15103 #ifdef __STDC__
15104 # include <limits.h>
15105 #else
15106 # include <assert.h>
15107 #endif
15108
15109 #undef $ac_func
15110
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 #ifdef __cplusplus
15113 extern "C"
15114 {
15115 #endif
15116 /* We use char because int might match the return type of a gcc2
15117 builtin and then its argument prototype would still apply. */
15118 char $ac_func ();
15119 /* The GNU C library defines this for functions which it implements
15120 to always fail with ENOSYS. Some functions are actually named
15121 something starting with __ and the normal name is an alias. */
15122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15123 choke me
15124 #else
15125 char (*f) () = $ac_func;
15126 #endif
15127 #ifdef __cplusplus
15128 }
15129 #endif
15130
15131 int
15132 main ()
15133 {
15134 return f != $ac_func;
15135 ;
15136 return 0;
15137 }
15138 _ACEOF
15139 rm -f conftest.$ac_objext conftest$ac_exeext
15140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15141 (eval $ac_link) 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } &&
15148 { ac_try='test -z "$ac_c_werror_flag"
15149 || test ! -s conftest.err'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15152 ac_status=$?
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; } &&
15155 { ac_try='test -s conftest$ac_exeext'
15156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15157 (eval $ac_try) 2>&5
15158 ac_status=$?
15159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160 (exit $ac_status); }; }; then
15161 eval "$as_ac_var=yes"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15165
15166 eval "$as_ac_var=no"
15167 fi
15168 rm -f conftest.err conftest.$ac_objext \
15169 conftest$ac_exeext conftest.$ac_ext
15170 fi
15171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15173 if test `eval echo '${'$as_ac_var'}'` = yes; then
15174 cat >>confdefs.h <<_ACEOF
15175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15176 _ACEOF
15177
15178 fi
15179 done
15180
15181 else
15182
15183 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15184 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15185 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15186 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15187 echo $ECHO_N "(cached) $ECHO_C" >&6
15188 else
15189
15190
15191
15192 ac_ext=cc
15193 ac_cpp='$CXXCPP $CPPFLAGS'
15194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15197
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15204 #include <math.h>
15205 #ifdef HAVE_IEEEFP_H
15206 #include <ieeefp.h>
15207 #endif
15208
15209 int
15210 main ()
15211 {
15212 _logf(0);
15213 ;
15214 return 0;
15215 }
15216 _ACEOF
15217 rm -f conftest.$ac_objext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15219 (eval $ac_compile) 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try='test -z "$ac_cxx_werror_flag"
15227 || test ! -s conftest.err'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; } &&
15233 { ac_try='test -s conftest.$ac_objext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 glibcxx_cv_func__logf_use=yes
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15243
15244 glibcxx_cv_func__logf_use=no
15245 fi
15246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15247 ac_ext=c
15248 ac_cpp='$CPP $CPPFLAGS'
15249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15252
15253
15254 fi
15255
15256 fi
15257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15258 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15259
15260 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15261
15262 for ac_func in _logf
15263 do
15264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15265 echo "$as_me:$LINENO: checking for $ac_func" >&5
15266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15267 if eval "test \"\${$as_ac_var+set}\" = set"; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 if test x$gcc_no_link = xyes; then
15271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15273 { (exit 1); exit 1; }; }
15274 fi
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15283 #define $ac_func innocuous_$ac_func
15284
15285 /* System header to define __stub macros and hopefully few prototypes,
15286 which can conflict with char $ac_func (); below.
15287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15288 <limits.h> exists even on freestanding compilers. */
15289
15290 #ifdef __STDC__
15291 # include <limits.h>
15292 #else
15293 # include <assert.h>
15294 #endif
15295
15296 #undef $ac_func
15297
15298 /* Override any gcc2 internal prototype to avoid an error. */
15299 #ifdef __cplusplus
15300 extern "C"
15301 {
15302 #endif
15303 /* We use char because int might match the return type of a gcc2
15304 builtin and then its argument prototype would still apply. */
15305 char $ac_func ();
15306 /* The GNU C library defines this for functions which it implements
15307 to always fail with ENOSYS. Some functions are actually named
15308 something starting with __ and the normal name is an alias. */
15309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15310 choke me
15311 #else
15312 char (*f) () = $ac_func;
15313 #endif
15314 #ifdef __cplusplus
15315 }
15316 #endif
15317
15318 int
15319 main ()
15320 {
15321 return f != $ac_func;
15322 ;
15323 return 0;
15324 }
15325 _ACEOF
15326 rm -f conftest.$ac_objext conftest$ac_exeext
15327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15328 (eval $ac_link) 2>conftest.er1
15329 ac_status=$?
15330 grep -v '^ *+' conftest.er1 >conftest.err
15331 rm -f conftest.er1
15332 cat conftest.err >&5
15333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15334 (exit $ac_status); } &&
15335 { ac_try='test -z "$ac_c_werror_flag"
15336 || test ! -s conftest.err'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15344 (eval $ac_try) 2>&5
15345 ac_status=$?
15346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15347 (exit $ac_status); }; }; then
15348 eval "$as_ac_var=yes"
15349 else
15350 echo "$as_me: failed program was:" >&5
15351 sed 's/^/| /' conftest.$ac_ext >&5
15352
15353 eval "$as_ac_var=no"
15354 fi
15355 rm -f conftest.err conftest.$ac_objext \
15356 conftest$ac_exeext conftest.$ac_ext
15357 fi
15358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15360 if test `eval echo '${'$as_ac_var'}'` = yes; then
15361 cat >>confdefs.h <<_ACEOF
15362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15363 _ACEOF
15364
15365 fi
15366 done
15367
15368 fi
15369 fi
15370
15371
15372
15373 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15374 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15375 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15376 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15377 echo $ECHO_N "(cached) $ECHO_C" >&6
15378 else
15379
15380
15381
15382 ac_ext=cc
15383 ac_cpp='$CXXCPP $CPPFLAGS'
15384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15387
15388 cat >conftest.$ac_ext <<_ACEOF
15389 /* confdefs.h. */
15390 _ACEOF
15391 cat confdefs.h >>conftest.$ac_ext
15392 cat >>conftest.$ac_ext <<_ACEOF
15393 /* end confdefs.h. */
15394 #include <math.h>
15395 #ifdef HAVE_IEEEFP_H
15396 #include <ieeefp.h>
15397 #endif
15398
15399 int
15400 main ()
15401 {
15402 log10f(0);
15403 ;
15404 return 0;
15405 }
15406 _ACEOF
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15410 ac_status=$?
15411 grep -v '^ *+' conftest.er1 >conftest.err
15412 rm -f conftest.er1
15413 cat conftest.err >&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try='test -z "$ac_cxx_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15420 ac_status=$?
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15426 ac_status=$?
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 glibcxx_cv_func_log10f_use=yes
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15433
15434 glibcxx_cv_func_log10f_use=no
15435 fi
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15437 ac_ext=c
15438 ac_cpp='$CPP $CPPFLAGS'
15439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442
15443
15444 fi
15445
15446 fi
15447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15448 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15449
15450 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15451
15452 for ac_func in log10f
15453 do
15454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15455 echo "$as_me:$LINENO: checking for $ac_func" >&5
15456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15457 if eval "test \"\${$as_ac_var+set}\" = set"; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 if test x$gcc_no_link = xyes; then
15461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15463 { (exit 1); exit 1; }; }
15464 fi
15465 cat >conftest.$ac_ext <<_ACEOF
15466 /* confdefs.h. */
15467 _ACEOF
15468 cat confdefs.h >>conftest.$ac_ext
15469 cat >>conftest.$ac_ext <<_ACEOF
15470 /* end confdefs.h. */
15471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15473 #define $ac_func innocuous_$ac_func
15474
15475 /* System header to define __stub macros and hopefully few prototypes,
15476 which can conflict with char $ac_func (); below.
15477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15478 <limits.h> exists even on freestanding compilers. */
15479
15480 #ifdef __STDC__
15481 # include <limits.h>
15482 #else
15483 # include <assert.h>
15484 #endif
15485
15486 #undef $ac_func
15487
15488 /* Override any gcc2 internal prototype to avoid an error. */
15489 #ifdef __cplusplus
15490 extern "C"
15491 {
15492 #endif
15493 /* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15495 char $ac_func ();
15496 /* The GNU C library defines this for functions which it implements
15497 to always fail with ENOSYS. Some functions are actually named
15498 something starting with __ and the normal name is an alias. */
15499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15500 choke me
15501 #else
15502 char (*f) () = $ac_func;
15503 #endif
15504 #ifdef __cplusplus
15505 }
15506 #endif
15507
15508 int
15509 main ()
15510 {
15511 return f != $ac_func;
15512 ;
15513 return 0;
15514 }
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15518 (eval $ac_link) 2>conftest.er1
15519 ac_status=$?
15520 grep -v '^ *+' conftest.er1 >conftest.err
15521 rm -f conftest.er1
15522 cat conftest.err >&5
15523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15524 (exit $ac_status); } &&
15525 { ac_try='test -z "$ac_c_werror_flag"
15526 || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15529 ac_status=$?
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15535 ac_status=$?
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 eval "$as_ac_var=yes"
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15542
15543 eval "$as_ac_var=no"
15544 fi
15545 rm -f conftest.err conftest.$ac_objext \
15546 conftest$ac_exeext conftest.$ac_ext
15547 fi
15548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15550 if test `eval echo '${'$as_ac_var'}'` = yes; then
15551 cat >>confdefs.h <<_ACEOF
15552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 _ACEOF
15554
15555 fi
15556 done
15557
15558 else
15559
15560 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15561 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15562 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15563 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15564 echo $ECHO_N "(cached) $ECHO_C" >&6
15565 else
15566
15567
15568
15569 ac_ext=cc
15570 ac_cpp='$CXXCPP $CPPFLAGS'
15571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15574
15575 cat >conftest.$ac_ext <<_ACEOF
15576 /* confdefs.h. */
15577 _ACEOF
15578 cat confdefs.h >>conftest.$ac_ext
15579 cat >>conftest.$ac_ext <<_ACEOF
15580 /* end confdefs.h. */
15581 #include <math.h>
15582 #ifdef HAVE_IEEEFP_H
15583 #include <ieeefp.h>
15584 #endif
15585
15586 int
15587 main ()
15588 {
15589 _log10f(0);
15590 ;
15591 return 0;
15592 }
15593 _ACEOF
15594 rm -f conftest.$ac_objext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15596 (eval $ac_compile) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try='test -z "$ac_cxx_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 glibcxx_cv_func__log10f_use=yes
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15620
15621 glibcxx_cv_func__log10f_use=no
15622 fi
15623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15624 ac_ext=c
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15629
15630
15631 fi
15632
15633 fi
15634 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15635 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15636
15637 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15638
15639 for ac_func in _log10f
15640 do
15641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 echo "$as_me:$LINENO: checking for $ac_func" >&5
15643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15644 if eval "test \"\${$as_ac_var+set}\" = set"; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 else
15647 if test x$gcc_no_link = xyes; then
15648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15650 { (exit 1); exit 1; }; }
15651 fi
15652 cat >conftest.$ac_ext <<_ACEOF
15653 /* confdefs.h. */
15654 _ACEOF
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15660 #define $ac_func innocuous_$ac_func
15661
15662 /* System header to define __stub macros and hopefully few prototypes,
15663 which can conflict with char $ac_func (); below.
15664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15665 <limits.h> exists even on freestanding compilers. */
15666
15667 #ifdef __STDC__
15668 # include <limits.h>
15669 #else
15670 # include <assert.h>
15671 #endif
15672
15673 #undef $ac_func
15674
15675 /* Override any gcc2 internal prototype to avoid an error. */
15676 #ifdef __cplusplus
15677 extern "C"
15678 {
15679 #endif
15680 /* We use char because int might match the return type of a gcc2
15681 builtin and then its argument prototype would still apply. */
15682 char $ac_func ();
15683 /* The GNU C library defines this for functions which it implements
15684 to always fail with ENOSYS. Some functions are actually named
15685 something starting with __ and the normal name is an alias. */
15686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15687 choke me
15688 #else
15689 char (*f) () = $ac_func;
15690 #endif
15691 #ifdef __cplusplus
15692 }
15693 #endif
15694
15695 int
15696 main ()
15697 {
15698 return f != $ac_func;
15699 ;
15700 return 0;
15701 }
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15706 ac_status=$?
15707 grep -v '^ *+' conftest.er1 >conftest.err
15708 rm -f conftest.er1
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_c_werror_flag"
15713 || test ! -s conftest.err'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15716 ac_status=$?
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; } &&
15719 { ac_try='test -s conftest$ac_exeext'
15720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15721 (eval $ac_try) 2>&5
15722 ac_status=$?
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; }; then
15725 eval "$as_ac_var=yes"
15726 else
15727 echo "$as_me: failed program was:" >&5
15728 sed 's/^/| /' conftest.$ac_ext >&5
15729
15730 eval "$as_ac_var=no"
15731 fi
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734 fi
15735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15737 if test `eval echo '${'$as_ac_var'}'` = yes; then
15738 cat >>confdefs.h <<_ACEOF
15739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15740 _ACEOF
15741
15742 fi
15743 done
15744
15745 fi
15746 fi
15747
15748
15749
15750 echo "$as_me:$LINENO: checking for modff declaration" >&5
15751 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15752 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15753 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15754 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 else
15756
15757
15758
15759 ac_ext=cc
15760 ac_cpp='$CXXCPP $CPPFLAGS'
15761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15764
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 #include <math.h>
15772 int
15773 main ()
15774 {
15775 modff(0, 0);
15776 ;
15777 return 0;
15778 }
15779 _ACEOF
15780 rm -f conftest.$ac_objext
15781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15782 (eval $ac_compile) 2>conftest.er1
15783 ac_status=$?
15784 grep -v '^ *+' conftest.er1 >conftest.err
15785 rm -f conftest.er1
15786 cat conftest.err >&5
15787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); } &&
15789 { ac_try='test -z "$ac_cxx_werror_flag"
15790 || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try='test -s conftest.$ac_objext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 glibcxx_cv_func_modff_use=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15806
15807 glibcxx_cv_func_modff_use=no
15808 fi
15809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15810 ac_ext=c
15811 ac_cpp='$CPP $CPPFLAGS'
15812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15815
15816
15817 fi
15818
15819 fi
15820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15821 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15822
15823 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15824
15825 for ac_func in modff
15826 do
15827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15828 echo "$as_me:$LINENO: checking for $ac_func" >&5
15829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15830 if eval "test \"\${$as_ac_var+set}\" = set"; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 if test x$gcc_no_link = xyes; then
15834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15836 { (exit 1); exit 1; }; }
15837 fi
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15846 #define $ac_func innocuous_$ac_func
15847
15848 /* System header to define __stub macros and hopefully few prototypes,
15849 which can conflict with char $ac_func (); below.
15850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15851 <limits.h> exists even on freestanding compilers. */
15852
15853 #ifdef __STDC__
15854 # include <limits.h>
15855 #else
15856 # include <assert.h>
15857 #endif
15858
15859 #undef $ac_func
15860
15861 /* Override any gcc2 internal prototype to avoid an error. */
15862 #ifdef __cplusplus
15863 extern "C"
15864 {
15865 #endif
15866 /* We use char because int might match the return type of a gcc2
15867 builtin and then its argument prototype would still apply. */
15868 char $ac_func ();
15869 /* The GNU C library defines this for functions which it implements
15870 to always fail with ENOSYS. Some functions are actually named
15871 something starting with __ and the normal name is an alias. */
15872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15873 choke me
15874 #else
15875 char (*f) () = $ac_func;
15876 #endif
15877 #ifdef __cplusplus
15878 }
15879 #endif
15880
15881 int
15882 main ()
15883 {
15884 return f != $ac_func;
15885 ;
15886 return 0;
15887 }
15888 _ACEOF
15889 rm -f conftest.$ac_objext conftest$ac_exeext
15890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15891 (eval $ac_link) 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } &&
15898 { ac_try='test -z "$ac_c_werror_flag"
15899 || test ! -s conftest.err'
15900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15901 (eval $ac_try) 2>&5
15902 ac_status=$?
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); }; } &&
15905 { ac_try='test -s conftest$ac_exeext'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; }; then
15911 eval "$as_ac_var=yes"
15912 else
15913 echo "$as_me: failed program was:" >&5
15914 sed 's/^/| /' conftest.$ac_ext >&5
15915
15916 eval "$as_ac_var=no"
15917 fi
15918 rm -f conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920 fi
15921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15923 if test `eval echo '${'$as_ac_var'}'` = yes; then
15924 cat >>confdefs.h <<_ACEOF
15925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15926 _ACEOF
15927
15928 fi
15929 done
15930
15931 else
15932
15933 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15934 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15935 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15936 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 else
15939
15940
15941
15942 ac_ext=cc
15943 ac_cpp='$CXXCPP $CPPFLAGS'
15944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15947
15948 cat >conftest.$ac_ext <<_ACEOF
15949 /* confdefs.h. */
15950 _ACEOF
15951 cat confdefs.h >>conftest.$ac_ext
15952 cat >>conftest.$ac_ext <<_ACEOF
15953 /* end confdefs.h. */
15954 #include <math.h>
15955 int
15956 main ()
15957 {
15958 _modff(0, 0);
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15965 (eval $ac_compile) 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } &&
15972 { ac_try='test -z "$ac_cxx_werror_flag"
15973 || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 glibcxx_cv_func__modff_use=yes
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 glibcxx_cv_func__modff_use=no
15991 fi
15992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15993 ac_ext=c
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15998
15999
16000 fi
16001
16002 fi
16003 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16004 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16005
16006 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16007
16008 for ac_func in _modff
16009 do
16010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16011 echo "$as_me:$LINENO: checking for $ac_func" >&5
16012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16013 if eval "test \"\${$as_ac_var+set}\" = set"; then
16014 echo $ECHO_N "(cached) $ECHO_C" >&6
16015 else
16016 if test x$gcc_no_link = xyes; then
16017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16019 { (exit 1); exit 1; }; }
16020 fi
16021 cat >conftest.$ac_ext <<_ACEOF
16022 /* confdefs.h. */
16023 _ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16029 #define $ac_func innocuous_$ac_func
16030
16031 /* System header to define __stub macros and hopefully few prototypes,
16032 which can conflict with char $ac_func (); below.
16033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16034 <limits.h> exists even on freestanding compilers. */
16035
16036 #ifdef __STDC__
16037 # include <limits.h>
16038 #else
16039 # include <assert.h>
16040 #endif
16041
16042 #undef $ac_func
16043
16044 /* Override any gcc2 internal prototype to avoid an error. */
16045 #ifdef __cplusplus
16046 extern "C"
16047 {
16048 #endif
16049 /* We use char because int might match the return type of a gcc2
16050 builtin and then its argument prototype would still apply. */
16051 char $ac_func ();
16052 /* The GNU C library defines this for functions which it implements
16053 to always fail with ENOSYS. Some functions are actually named
16054 something starting with __ and the normal name is an alias. */
16055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16056 choke me
16057 #else
16058 char (*f) () = $ac_func;
16059 #endif
16060 #ifdef __cplusplus
16061 }
16062 #endif
16063
16064 int
16065 main ()
16066 {
16067 return f != $ac_func;
16068 ;
16069 return 0;
16070 }
16071 _ACEOF
16072 rm -f conftest.$ac_objext conftest$ac_exeext
16073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16074 (eval $ac_link) 2>conftest.er1
16075 ac_status=$?
16076 grep -v '^ *+' conftest.er1 >conftest.err
16077 rm -f conftest.er1
16078 cat conftest.err >&5
16079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16080 (exit $ac_status); } &&
16081 { ac_try='test -z "$ac_c_werror_flag"
16082 || test ! -s conftest.err'
16083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16084 (eval $ac_try) 2>&5
16085 ac_status=$?
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; } &&
16088 { ac_try='test -s conftest$ac_exeext'
16089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16090 (eval $ac_try) 2>&5
16091 ac_status=$?
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); }; }; then
16094 eval "$as_ac_var=yes"
16095 else
16096 echo "$as_me: failed program was:" >&5
16097 sed 's/^/| /' conftest.$ac_ext >&5
16098
16099 eval "$as_ac_var=no"
16100 fi
16101 rm -f conftest.err conftest.$ac_objext \
16102 conftest$ac_exeext conftest.$ac_ext
16103 fi
16104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16106 if test `eval echo '${'$as_ac_var'}'` = yes; then
16107 cat >>confdefs.h <<_ACEOF
16108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16109 _ACEOF
16110
16111 fi
16112 done
16113
16114 fi
16115 fi
16116
16117
16118
16119 echo "$as_me:$LINENO: checking for powf declaration" >&5
16120 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16121 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16122 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125
16126
16127
16128 ac_ext=cc
16129 ac_cpp='$CXXCPP $CPPFLAGS'
16130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16133
16134 cat >conftest.$ac_ext <<_ACEOF
16135 /* confdefs.h. */
16136 _ACEOF
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 #include <math.h>
16141 int
16142 main ()
16143 {
16144 powf(0, 0);
16145 ;
16146 return 0;
16147 }
16148 _ACEOF
16149 rm -f conftest.$ac_objext
16150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16151 (eval $ac_compile) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } &&
16158 { ac_try='test -z "$ac_cxx_werror_flag"
16159 || test ! -s conftest.err'
16160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16161 (eval $ac_try) 2>&5
16162 ac_status=$?
16163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16164 (exit $ac_status); }; } &&
16165 { ac_try='test -s conftest.$ac_objext'
16166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16167 (eval $ac_try) 2>&5
16168 ac_status=$?
16169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16170 (exit $ac_status); }; }; then
16171 glibcxx_cv_func_powf_use=yes
16172 else
16173 echo "$as_me: failed program was:" >&5
16174 sed 's/^/| /' conftest.$ac_ext >&5
16175
16176 glibcxx_cv_func_powf_use=no
16177 fi
16178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16179 ac_ext=c
16180 ac_cpp='$CPP $CPPFLAGS'
16181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16184
16185
16186 fi
16187
16188 fi
16189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16190 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16191
16192 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16193
16194 for ac_func in powf
16195 do
16196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16197 echo "$as_me:$LINENO: checking for $ac_func" >&5
16198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16199 if eval "test \"\${$as_ac_var+set}\" = set"; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test x$gcc_no_link = xyes; then
16203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16205 { (exit 1); exit 1; }; }
16206 fi
16207 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */
16209 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16215 #define $ac_func innocuous_$ac_func
16216
16217 /* System header to define __stub macros and hopefully few prototypes,
16218 which can conflict with char $ac_func (); below.
16219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16220 <limits.h> exists even on freestanding compilers. */
16221
16222 #ifdef __STDC__
16223 # include <limits.h>
16224 #else
16225 # include <assert.h>
16226 #endif
16227
16228 #undef $ac_func
16229
16230 /* Override any gcc2 internal prototype to avoid an error. */
16231 #ifdef __cplusplus
16232 extern "C"
16233 {
16234 #endif
16235 /* We use char because int might match the return type of a gcc2
16236 builtin and then its argument prototype would still apply. */
16237 char $ac_func ();
16238 /* The GNU C library defines this for functions which it implements
16239 to always fail with ENOSYS. Some functions are actually named
16240 something starting with __ and the normal name is an alias. */
16241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16242 choke me
16243 #else
16244 char (*f) () = $ac_func;
16245 #endif
16246 #ifdef __cplusplus
16247 }
16248 #endif
16249
16250 int
16251 main ()
16252 {
16253 return f != $ac_func;
16254 ;
16255 return 0;
16256 }
16257 _ACEOF
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16260 (eval $ac_link) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_c_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest$ac_exeext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 eval "$as_ac_var=yes"
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16284
16285 eval "$as_ac_var=no"
16286 fi
16287 rm -f conftest.err conftest.$ac_objext \
16288 conftest$ac_exeext conftest.$ac_ext
16289 fi
16290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16292 if test `eval echo '${'$as_ac_var'}'` = yes; then
16293 cat >>confdefs.h <<_ACEOF
16294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16295 _ACEOF
16296
16297 fi
16298 done
16299
16300 else
16301
16302 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16303 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16304 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16305 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 else
16308
16309
16310
16311 ac_ext=cc
16312 ac_cpp='$CXXCPP $CPPFLAGS'
16313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16316
16317 cat >conftest.$ac_ext <<_ACEOF
16318 /* confdefs.h. */
16319 _ACEOF
16320 cat confdefs.h >>conftest.$ac_ext
16321 cat >>conftest.$ac_ext <<_ACEOF
16322 /* end confdefs.h. */
16323 #include <math.h>
16324 int
16325 main ()
16326 {
16327 _powf(0, 0);
16328 ;
16329 return 0;
16330 }
16331 _ACEOF
16332 rm -f conftest.$ac_objext
16333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16334 (eval $ac_compile) 2>conftest.er1
16335 ac_status=$?
16336 grep -v '^ *+' conftest.er1 >conftest.err
16337 rm -f conftest.er1
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } &&
16341 { ac_try='test -z "$ac_cxx_werror_flag"
16342 || test ! -s conftest.err'
16343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16344 (eval $ac_try) 2>&5
16345 ac_status=$?
16346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16347 (exit $ac_status); }; } &&
16348 { ac_try='test -s conftest.$ac_objext'
16349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16350 (eval $ac_try) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; }; then
16354 glibcxx_cv_func__powf_use=yes
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16358
16359 glibcxx_cv_func__powf_use=no
16360 fi
16361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16362 ac_ext=c
16363 ac_cpp='$CPP $CPPFLAGS'
16364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16367
16368
16369 fi
16370
16371 fi
16372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16373 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16374
16375 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16376
16377 for ac_func in _powf
16378 do
16379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16380 echo "$as_me:$LINENO: checking for $ac_func" >&5
16381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16382 if eval "test \"\${$as_ac_var+set}\" = set"; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16384 else
16385 if test x$gcc_no_link = xyes; then
16386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16388 { (exit 1); exit 1; }; }
16389 fi
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16398 #define $ac_func innocuous_$ac_func
16399
16400 /* System header to define __stub macros and hopefully few prototypes,
16401 which can conflict with char $ac_func (); below.
16402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16403 <limits.h> exists even on freestanding compilers. */
16404
16405 #ifdef __STDC__
16406 # include <limits.h>
16407 #else
16408 # include <assert.h>
16409 #endif
16410
16411 #undef $ac_func
16412
16413 /* Override any gcc2 internal prototype to avoid an error. */
16414 #ifdef __cplusplus
16415 extern "C"
16416 {
16417 #endif
16418 /* We use char because int might match the return type of a gcc2
16419 builtin and then its argument prototype would still apply. */
16420 char $ac_func ();
16421 /* The GNU C library defines this for functions which it implements
16422 to always fail with ENOSYS. Some functions are actually named
16423 something starting with __ and the normal name is an alias. */
16424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16425 choke me
16426 #else
16427 char (*f) () = $ac_func;
16428 #endif
16429 #ifdef __cplusplus
16430 }
16431 #endif
16432
16433 int
16434 main ()
16435 {
16436 return f != $ac_func;
16437 ;
16438 return 0;
16439 }
16440 _ACEOF
16441 rm -f conftest.$ac_objext conftest$ac_exeext
16442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16443 (eval $ac_link) 2>conftest.er1
16444 ac_status=$?
16445 grep -v '^ *+' conftest.er1 >conftest.err
16446 rm -f conftest.er1
16447 cat conftest.err >&5
16448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16449 (exit $ac_status); } &&
16450 { ac_try='test -z "$ac_c_werror_flag"
16451 || test ! -s conftest.err'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; } &&
16457 { ac_try='test -s conftest$ac_exeext'
16458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16459 (eval $ac_try) 2>&5
16460 ac_status=$?
16461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16462 (exit $ac_status); }; }; then
16463 eval "$as_ac_var=yes"
16464 else
16465 echo "$as_me: failed program was:" >&5
16466 sed 's/^/| /' conftest.$ac_ext >&5
16467
16468 eval "$as_ac_var=no"
16469 fi
16470 rm -f conftest.err conftest.$ac_objext \
16471 conftest$ac_exeext conftest.$ac_ext
16472 fi
16473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16475 if test `eval echo '${'$as_ac_var'}'` = yes; then
16476 cat >>confdefs.h <<_ACEOF
16477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16478 _ACEOF
16479
16480 fi
16481 done
16482
16483 fi
16484 fi
16485
16486
16487
16488 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16489 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16490 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16491 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494
16495
16496
16497 ac_ext=cc
16498 ac_cpp='$CXXCPP $CPPFLAGS'
16499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16502
16503 cat >conftest.$ac_ext <<_ACEOF
16504 /* confdefs.h. */
16505 _ACEOF
16506 cat confdefs.h >>conftest.$ac_ext
16507 cat >>conftest.$ac_ext <<_ACEOF
16508 /* end confdefs.h. */
16509 #include <math.h>
16510 #ifdef HAVE_IEEEFP_H
16511 #include <ieeefp.h>
16512 #endif
16513
16514 int
16515 main ()
16516 {
16517 sqrtf(0);
16518 ;
16519 return 0;
16520 }
16521 _ACEOF
16522 rm -f conftest.$ac_objext
16523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16524 (eval $ac_compile) 2>conftest.er1
16525 ac_status=$?
16526 grep -v '^ *+' conftest.er1 >conftest.err
16527 rm -f conftest.er1
16528 cat conftest.err >&5
16529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16530 (exit $ac_status); } &&
16531 { ac_try='test -z "$ac_cxx_werror_flag"
16532 || test ! -s conftest.err'
16533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16534 (eval $ac_try) 2>&5
16535 ac_status=$?
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); }; } &&
16538 { ac_try='test -s conftest.$ac_objext'
16539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16540 (eval $ac_try) 2>&5
16541 ac_status=$?
16542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16543 (exit $ac_status); }; }; then
16544 glibcxx_cv_func_sqrtf_use=yes
16545 else
16546 echo "$as_me: failed program was:" >&5
16547 sed 's/^/| /' conftest.$ac_ext >&5
16548
16549 glibcxx_cv_func_sqrtf_use=no
16550 fi
16551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16552 ac_ext=c
16553 ac_cpp='$CPP $CPPFLAGS'
16554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16557
16558
16559 fi
16560
16561 fi
16562 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16563 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16564
16565 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16566
16567 for ac_func in sqrtf
16568 do
16569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16570 echo "$as_me:$LINENO: checking for $ac_func" >&5
16571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16572 if eval "test \"\${$as_ac_var+set}\" = set"; then
16573 echo $ECHO_N "(cached) $ECHO_C" >&6
16574 else
16575 if test x$gcc_no_link = xyes; then
16576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16578 { (exit 1); exit 1; }; }
16579 fi
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16588 #define $ac_func innocuous_$ac_func
16589
16590 /* System header to define __stub macros and hopefully few prototypes,
16591 which can conflict with char $ac_func (); below.
16592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16593 <limits.h> exists even on freestanding compilers. */
16594
16595 #ifdef __STDC__
16596 # include <limits.h>
16597 #else
16598 # include <assert.h>
16599 #endif
16600
16601 #undef $ac_func
16602
16603 /* Override any gcc2 internal prototype to avoid an error. */
16604 #ifdef __cplusplus
16605 extern "C"
16606 {
16607 #endif
16608 /* We use char because int might match the return type of a gcc2
16609 builtin and then its argument prototype would still apply. */
16610 char $ac_func ();
16611 /* The GNU C library defines this for functions which it implements
16612 to always fail with ENOSYS. Some functions are actually named
16613 something starting with __ and the normal name is an alias. */
16614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16615 choke me
16616 #else
16617 char (*f) () = $ac_func;
16618 #endif
16619 #ifdef __cplusplus
16620 }
16621 #endif
16622
16623 int
16624 main ()
16625 {
16626 return f != $ac_func;
16627 ;
16628 return 0;
16629 }
16630 _ACEOF
16631 rm -f conftest.$ac_objext conftest$ac_exeext
16632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16633 (eval $ac_link) 2>conftest.er1
16634 ac_status=$?
16635 grep -v '^ *+' conftest.er1 >conftest.err
16636 rm -f conftest.er1
16637 cat conftest.err >&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); } &&
16640 { ac_try='test -z "$ac_c_werror_flag"
16641 || test ! -s conftest.err'
16642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16643 (eval $ac_try) 2>&5
16644 ac_status=$?
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); }; } &&
16647 { ac_try='test -s conftest$ac_exeext'
16648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16649 (eval $ac_try) 2>&5
16650 ac_status=$?
16651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16652 (exit $ac_status); }; }; then
16653 eval "$as_ac_var=yes"
16654 else
16655 echo "$as_me: failed program was:" >&5
16656 sed 's/^/| /' conftest.$ac_ext >&5
16657
16658 eval "$as_ac_var=no"
16659 fi
16660 rm -f conftest.err conftest.$ac_objext \
16661 conftest$ac_exeext conftest.$ac_ext
16662 fi
16663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16665 if test `eval echo '${'$as_ac_var'}'` = yes; then
16666 cat >>confdefs.h <<_ACEOF
16667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16668 _ACEOF
16669
16670 fi
16671 done
16672
16673 else
16674
16675 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16676 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681
16682
16683
16684 ac_ext=cc
16685 ac_cpp='$CXXCPP $CPPFLAGS'
16686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16689
16690 cat >conftest.$ac_ext <<_ACEOF
16691 /* confdefs.h. */
16692 _ACEOF
16693 cat confdefs.h >>conftest.$ac_ext
16694 cat >>conftest.$ac_ext <<_ACEOF
16695 /* end confdefs.h. */
16696 #include <math.h>
16697 #ifdef HAVE_IEEEFP_H
16698 #include <ieeefp.h>
16699 #endif
16700
16701 int
16702 main ()
16703 {
16704 _sqrtf(0);
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16711 (eval $ac_compile) 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try='test -z "$ac_cxx_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try='test -s conftest.$ac_objext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 glibcxx_cv_func__sqrtf_use=yes
16732 else
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16735
16736 glibcxx_cv_func__sqrtf_use=no
16737 fi
16738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16739 ac_ext=c
16740 ac_cpp='$CPP $CPPFLAGS'
16741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16744
16745
16746 fi
16747
16748 fi
16749 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16750 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16751
16752 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16753
16754 for ac_func in _sqrtf
16755 do
16756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16757 echo "$as_me:$LINENO: checking for $ac_func" >&5
16758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16759 if eval "test \"\${$as_ac_var+set}\" = set"; then
16760 echo $ECHO_N "(cached) $ECHO_C" >&6
16761 else
16762 if test x$gcc_no_link = xyes; then
16763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16765 { (exit 1); exit 1; }; }
16766 fi
16767 cat >conftest.$ac_ext <<_ACEOF
16768 /* confdefs.h. */
16769 _ACEOF
16770 cat confdefs.h >>conftest.$ac_ext
16771 cat >>conftest.$ac_ext <<_ACEOF
16772 /* end confdefs.h. */
16773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16775 #define $ac_func innocuous_$ac_func
16776
16777 /* System header to define __stub macros and hopefully few prototypes,
16778 which can conflict with char $ac_func (); below.
16779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16780 <limits.h> exists even on freestanding compilers. */
16781
16782 #ifdef __STDC__
16783 # include <limits.h>
16784 #else
16785 # include <assert.h>
16786 #endif
16787
16788 #undef $ac_func
16789
16790 /* Override any gcc2 internal prototype to avoid an error. */
16791 #ifdef __cplusplus
16792 extern "C"
16793 {
16794 #endif
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16797 char $ac_func ();
16798 /* The GNU C library defines this for functions which it implements
16799 to always fail with ENOSYS. Some functions are actually named
16800 something starting with __ and the normal name is an alias. */
16801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16802 choke me
16803 #else
16804 char (*f) () = $ac_func;
16805 #endif
16806 #ifdef __cplusplus
16807 }
16808 #endif
16809
16810 int
16811 main ()
16812 {
16813 return f != $ac_func;
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 rm -f conftest.$ac_objext conftest$ac_exeext
16819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16820 (eval $ac_link) 2>conftest.er1
16821 ac_status=$?
16822 grep -v '^ *+' conftest.er1 >conftest.err
16823 rm -f conftest.er1
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -z "$ac_c_werror_flag"
16828 || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try='test -s conftest$ac_exeext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 eval "$as_ac_var=yes"
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16844
16845 eval "$as_ac_var=no"
16846 fi
16847 rm -f conftest.err conftest.$ac_objext \
16848 conftest$ac_exeext conftest.$ac_ext
16849 fi
16850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16852 if test `eval echo '${'$as_ac_var'}'` = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16855 _ACEOF
16856
16857 fi
16858 done
16859
16860 fi
16861 fi
16862
16863
16864
16865 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16866 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16867 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16868 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16869 echo $ECHO_N "(cached) $ECHO_C" >&6
16870 else
16871
16872
16873
16874 ac_ext=cc
16875 ac_cpp='$CXXCPP $CPPFLAGS'
16876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16879
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 #include <math.h>
16887 int
16888 main ()
16889 {
16890 sincosf(0, 0, 0);
16891 ;
16892 return 0;
16893 }
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_func_sincosf_use=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16921
16922 glibcxx_cv_func_sincosf_use=no
16923 fi
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16925 ac_ext=c
16926 ac_cpp='$CPP $CPPFLAGS'
16927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16930
16931
16932 fi
16933
16934 fi
16935 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16936 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16937
16938 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16939
16940 for ac_func in sincosf
16941 do
16942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16943 echo "$as_me:$LINENO: checking for $ac_func" >&5
16944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16945 if eval "test \"\${$as_ac_var+set}\" = set"; then
16946 echo $ECHO_N "(cached) $ECHO_C" >&6
16947 else
16948 if test x$gcc_no_link = xyes; then
16949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16951 { (exit 1); exit 1; }; }
16952 fi
16953 cat >conftest.$ac_ext <<_ACEOF
16954 /* confdefs.h. */
16955 _ACEOF
16956 cat confdefs.h >>conftest.$ac_ext
16957 cat >>conftest.$ac_ext <<_ACEOF
16958 /* end confdefs.h. */
16959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16961 #define $ac_func innocuous_$ac_func
16962
16963 /* System header to define __stub macros and hopefully few prototypes,
16964 which can conflict with char $ac_func (); below.
16965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16966 <limits.h> exists even on freestanding compilers. */
16967
16968 #ifdef __STDC__
16969 # include <limits.h>
16970 #else
16971 # include <assert.h>
16972 #endif
16973
16974 #undef $ac_func
16975
16976 /* Override any gcc2 internal prototype to avoid an error. */
16977 #ifdef __cplusplus
16978 extern "C"
16979 {
16980 #endif
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16983 char $ac_func ();
16984 /* The GNU C library defines this for functions which it implements
16985 to always fail with ENOSYS. Some functions are actually named
16986 something starting with __ and the normal name is an alias. */
16987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16988 choke me
16989 #else
16990 char (*f) () = $ac_func;
16991 #endif
16992 #ifdef __cplusplus
16993 }
16994 #endif
16995
16996 int
16997 main ()
16998 {
16999 return f != $ac_func;
17000 ;
17001 return 0;
17002 }
17003 _ACEOF
17004 rm -f conftest.$ac_objext conftest$ac_exeext
17005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17006 (eval $ac_link) 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } &&
17013 { ac_try='test -z "$ac_c_werror_flag"
17014 || test ! -s conftest.err'
17015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17016 (eval $ac_try) 2>&5
17017 ac_status=$?
17018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17019 (exit $ac_status); }; } &&
17020 { ac_try='test -s conftest$ac_exeext'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17023 ac_status=$?
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; }; then
17026 eval "$as_ac_var=yes"
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17030
17031 eval "$as_ac_var=no"
17032 fi
17033 rm -f conftest.err conftest.$ac_objext \
17034 conftest$ac_exeext conftest.$ac_ext
17035 fi
17036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17038 if test `eval echo '${'$as_ac_var'}'` = yes; then
17039 cat >>confdefs.h <<_ACEOF
17040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17041 _ACEOF
17042
17043 fi
17044 done
17045
17046 else
17047
17048 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17049 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17050 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17051 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17052 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 else
17054
17055
17056
17057 ac_ext=cc
17058 ac_cpp='$CXXCPP $CPPFLAGS'
17059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17062
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 #include <math.h>
17070 int
17071 main ()
17072 {
17073 _sincosf(0, 0, 0);
17074 ;
17075 return 0;
17076 }
17077 _ACEOF
17078 rm -f conftest.$ac_objext
17079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17080 (eval $ac_compile) 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } &&
17087 { ac_try='test -z "$ac_cxx_werror_flag"
17088 || test ! -s conftest.err'
17089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17090 (eval $ac_try) 2>&5
17091 ac_status=$?
17092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17093 (exit $ac_status); }; } &&
17094 { ac_try='test -s conftest.$ac_objext'
17095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17096 (eval $ac_try) 2>&5
17097 ac_status=$?
17098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17099 (exit $ac_status); }; }; then
17100 glibcxx_cv_func__sincosf_use=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17104
17105 glibcxx_cv_func__sincosf_use=no
17106 fi
17107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17108 ac_ext=c
17109 ac_cpp='$CPP $CPPFLAGS'
17110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17113
17114
17115 fi
17116
17117 fi
17118 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17119 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17120
17121 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17122
17123 for ac_func in _sincosf
17124 do
17125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17126 echo "$as_me:$LINENO: checking for $ac_func" >&5
17127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17128 if eval "test \"\${$as_ac_var+set}\" = set"; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17130 else
17131 if test x$gcc_no_link = xyes; then
17132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17134 { (exit 1); exit 1; }; }
17135 fi
17136 cat >conftest.$ac_ext <<_ACEOF
17137 /* confdefs.h. */
17138 _ACEOF
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17144 #define $ac_func innocuous_$ac_func
17145
17146 /* System header to define __stub macros and hopefully few prototypes,
17147 which can conflict with char $ac_func (); below.
17148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17149 <limits.h> exists even on freestanding compilers. */
17150
17151 #ifdef __STDC__
17152 # include <limits.h>
17153 #else
17154 # include <assert.h>
17155 #endif
17156
17157 #undef $ac_func
17158
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 #ifdef __cplusplus
17161 extern "C"
17162 {
17163 #endif
17164 /* We use char because int might match the return type of a gcc2
17165 builtin and then its argument prototype would still apply. */
17166 char $ac_func ();
17167 /* The GNU C library defines this for functions which it implements
17168 to always fail with ENOSYS. Some functions are actually named
17169 something starting with __ and the normal name is an alias. */
17170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 choke me
17172 #else
17173 char (*f) () = $ac_func;
17174 #endif
17175 #ifdef __cplusplus
17176 }
17177 #endif
17178
17179 int
17180 main ()
17181 {
17182 return f != $ac_func;
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 rm -f conftest.$ac_objext conftest$ac_exeext
17188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17189 (eval $ac_link) 2>conftest.er1
17190 ac_status=$?
17191 grep -v '^ *+' conftest.er1 >conftest.err
17192 rm -f conftest.er1
17193 cat conftest.err >&5
17194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17195 (exit $ac_status); } &&
17196 { ac_try='test -z "$ac_c_werror_flag"
17197 || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try='test -s conftest$ac_exeext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 eval "$as_ac_var=yes"
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17213
17214 eval "$as_ac_var=no"
17215 fi
17216 rm -f conftest.err conftest.$ac_objext \
17217 conftest$ac_exeext conftest.$ac_ext
17218 fi
17219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17221 if test `eval echo '${'$as_ac_var'}'` = yes; then
17222 cat >>confdefs.h <<_ACEOF
17223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17224 _ACEOF
17225
17226 fi
17227 done
17228
17229 fi
17230 fi
17231
17232
17233
17234 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17235 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17236 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17237 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240
17241
17242
17243 ac_ext=cc
17244 ac_cpp='$CXXCPP $CPPFLAGS'
17245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17248
17249 cat >conftest.$ac_ext <<_ACEOF
17250 /* confdefs.h. */
17251 _ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 #include <math.h>
17256 #ifdef HAVE_IEEEFP_H
17257 #include <ieeefp.h>
17258 #endif
17259
17260 int
17261 main ()
17262 {
17263 finitef(0);
17264 ;
17265 return 0;
17266 }
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17270 (eval $ac_compile) 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } &&
17277 { ac_try='test -z "$ac_cxx_werror_flag"
17278 || test ! -s conftest.err'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17281 ac_status=$?
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; } &&
17284 { ac_try='test -s conftest.$ac_objext'
17285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17286 (eval $ac_try) 2>&5
17287 ac_status=$?
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); }; }; then
17290 glibcxx_cv_func_finitef_use=yes
17291 else
17292 echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17294
17295 glibcxx_cv_func_finitef_use=no
17296 fi
17297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17298 ac_ext=c
17299 ac_cpp='$CPP $CPPFLAGS'
17300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17303
17304
17305 fi
17306
17307 fi
17308 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17309 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17310
17311 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17312
17313 for ac_func in finitef
17314 do
17315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17316 echo "$as_me:$LINENO: checking for $ac_func" >&5
17317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17318 if eval "test \"\${$as_ac_var+set}\" = set"; then
17319 echo $ECHO_N "(cached) $ECHO_C" >&6
17320 else
17321 if test x$gcc_no_link = xyes; then
17322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17324 { (exit 1); exit 1; }; }
17325 fi
17326 cat >conftest.$ac_ext <<_ACEOF
17327 /* confdefs.h. */
17328 _ACEOF
17329 cat confdefs.h >>conftest.$ac_ext
17330 cat >>conftest.$ac_ext <<_ACEOF
17331 /* end confdefs.h. */
17332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17334 #define $ac_func innocuous_$ac_func
17335
17336 /* System header to define __stub macros and hopefully few prototypes,
17337 which can conflict with char $ac_func (); below.
17338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17339 <limits.h> exists even on freestanding compilers. */
17340
17341 #ifdef __STDC__
17342 # include <limits.h>
17343 #else
17344 # include <assert.h>
17345 #endif
17346
17347 #undef $ac_func
17348
17349 /* Override any gcc2 internal prototype to avoid an error. */
17350 #ifdef __cplusplus
17351 extern "C"
17352 {
17353 #endif
17354 /* We use char because int might match the return type of a gcc2
17355 builtin and then its argument prototype would still apply. */
17356 char $ac_func ();
17357 /* The GNU C library defines this for functions which it implements
17358 to always fail with ENOSYS. Some functions are actually named
17359 something starting with __ and the normal name is an alias. */
17360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17361 choke me
17362 #else
17363 char (*f) () = $ac_func;
17364 #endif
17365 #ifdef __cplusplus
17366 }
17367 #endif
17368
17369 int
17370 main ()
17371 {
17372 return f != $ac_func;
17373 ;
17374 return 0;
17375 }
17376 _ACEOF
17377 rm -f conftest.$ac_objext conftest$ac_exeext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17379 (eval $ac_link) 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try='test -z "$ac_c_werror_flag"
17387 || test ! -s conftest.err'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17390 ac_status=$?
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; } &&
17393 { ac_try='test -s conftest$ac_exeext'
17394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17395 (eval $ac_try) 2>&5
17396 ac_status=$?
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); }; }; then
17399 eval "$as_ac_var=yes"
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17403
17404 eval "$as_ac_var=no"
17405 fi
17406 rm -f conftest.err conftest.$ac_objext \
17407 conftest$ac_exeext conftest.$ac_ext
17408 fi
17409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17411 if test `eval echo '${'$as_ac_var'}'` = yes; then
17412 cat >>confdefs.h <<_ACEOF
17413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17414 _ACEOF
17415
17416 fi
17417 done
17418
17419 else
17420
17421 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17422 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17423 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17424 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17427
17428
17429
17430 ac_ext=cc
17431 ac_cpp='$CXXCPP $CPPFLAGS'
17432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17435
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <math.h>
17443 #ifdef HAVE_IEEEFP_H
17444 #include <ieeefp.h>
17445 #endif
17446
17447 int
17448 main ()
17449 {
17450 _finitef(0);
17451 ;
17452 return 0;
17453 }
17454 _ACEOF
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_cxx_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 glibcxx_cv_func__finitef_use=yes
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17481
17482 glibcxx_cv_func__finitef_use=no
17483 fi
17484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17485 ac_ext=c
17486 ac_cpp='$CPP $CPPFLAGS'
17487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17490
17491
17492 fi
17493
17494 fi
17495 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17496 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17497
17498 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17499
17500 for ac_func in _finitef
17501 do
17502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17503 echo "$as_me:$LINENO: checking for $ac_func" >&5
17504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17505 if eval "test \"\${$as_ac_var+set}\" = set"; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17507 else
17508 if test x$gcc_no_link = xyes; then
17509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17511 { (exit 1); exit 1; }; }
17512 fi
17513 cat >conftest.$ac_ext <<_ACEOF
17514 /* confdefs.h. */
17515 _ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17521 #define $ac_func innocuous_$ac_func
17522
17523 /* System header to define __stub macros and hopefully few prototypes,
17524 which can conflict with char $ac_func (); below.
17525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17526 <limits.h> exists even on freestanding compilers. */
17527
17528 #ifdef __STDC__
17529 # include <limits.h>
17530 #else
17531 # include <assert.h>
17532 #endif
17533
17534 #undef $ac_func
17535
17536 /* Override any gcc2 internal prototype to avoid an error. */
17537 #ifdef __cplusplus
17538 extern "C"
17539 {
17540 #endif
17541 /* We use char because int might match the return type of a gcc2
17542 builtin and then its argument prototype would still apply. */
17543 char $ac_func ();
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17548 choke me
17549 #else
17550 char (*f) () = $ac_func;
17551 #endif
17552 #ifdef __cplusplus
17553 }
17554 #endif
17555
17556 int
17557 main ()
17558 {
17559 return f != $ac_func;
17560 ;
17561 return 0;
17562 }
17563 _ACEOF
17564 rm -f conftest.$ac_objext conftest$ac_exeext
17565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17566 (eval $ac_link) 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } &&
17573 { ac_try='test -z "$ac_c_werror_flag"
17574 || test ! -s conftest.err'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17577 ac_status=$?
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; } &&
17580 { ac_try='test -s conftest$ac_exeext'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; }; then
17586 eval "$as_ac_var=yes"
17587 else
17588 echo "$as_me: failed program was:" >&5
17589 sed 's/^/| /' conftest.$ac_ext >&5
17590
17591 eval "$as_ac_var=no"
17592 fi
17593 rm -f conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17595 fi
17596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17598 if test `eval echo '${'$as_ac_var'}'` = yes; then
17599 cat >>confdefs.h <<_ACEOF
17600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17601 _ACEOF
17602
17603 fi
17604 done
17605
17606 fi
17607 fi
17608
17609
17610
17611 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17612 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17613 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17614 echo $ECHO_N "(cached) $ECHO_C" >&6
17615 else
17616
17617
17618
17619 ac_ext=cc
17620 ac_cpp='$CXXCPP $CPPFLAGS'
17621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17624
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <math.h>
17632 int
17633 main ()
17634 {
17635 `for x in acosl asinl atanl \
17636 cosl sinl tanl \
17637 coshl sinhl tanhl; do echo "$x (0);"; done`
17638 ;
17639 return 0;
17640 }
17641 _ACEOF
17642 rm -f conftest.$ac_objext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17644 (eval $ac_compile) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_cxx_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 glibcxx_cv_func_long_double_trig_use=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 glibcxx_cv_func_long_double_trig_use=no
17670 fi
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 ac_ext=c
17673 ac_cpp='$CPP $CPPFLAGS'
17674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17677
17678 fi
17679
17680 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17681 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17682 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692 for ac_func in acosl asinl atanl \
17693 cosl sinl tanl \
17694 coshl sinhl tanhl
17695 do
17696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17697 echo "$as_me:$LINENO: checking for $ac_func" >&5
17698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17699 if eval "test \"\${$as_ac_var+set}\" = set"; then
17700 echo $ECHO_N "(cached) $ECHO_C" >&6
17701 else
17702 if test x$gcc_no_link = xyes; then
17703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17705 { (exit 1); exit 1; }; }
17706 fi
17707 cat >conftest.$ac_ext <<_ACEOF
17708 /* confdefs.h. */
17709 _ACEOF
17710 cat confdefs.h >>conftest.$ac_ext
17711 cat >>conftest.$ac_ext <<_ACEOF
17712 /* end confdefs.h. */
17713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17715 #define $ac_func innocuous_$ac_func
17716
17717 /* System header to define __stub macros and hopefully few prototypes,
17718 which can conflict with char $ac_func (); below.
17719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17720 <limits.h> exists even on freestanding compilers. */
17721
17722 #ifdef __STDC__
17723 # include <limits.h>
17724 #else
17725 # include <assert.h>
17726 #endif
17727
17728 #undef $ac_func
17729
17730 /* Override any gcc2 internal prototype to avoid an error. */
17731 #ifdef __cplusplus
17732 extern "C"
17733 {
17734 #endif
17735 /* We use char because int might match the return type of a gcc2
17736 builtin and then its argument prototype would still apply. */
17737 char $ac_func ();
17738 /* The GNU C library defines this for functions which it implements
17739 to always fail with ENOSYS. Some functions are actually named
17740 something starting with __ and the normal name is an alias. */
17741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 choke me
17743 #else
17744 char (*f) () = $ac_func;
17745 #endif
17746 #ifdef __cplusplus
17747 }
17748 #endif
17749
17750 int
17751 main ()
17752 {
17753 return f != $ac_func;
17754 ;
17755 return 0;
17756 }
17757 _ACEOF
17758 rm -f conftest.$ac_objext conftest$ac_exeext
17759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17760 (eval $ac_link) 2>conftest.er1
17761 ac_status=$?
17762 grep -v '^ *+' conftest.er1 >conftest.err
17763 rm -f conftest.er1
17764 cat conftest.err >&5
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); } &&
17767 { ac_try='test -z "$ac_c_werror_flag"
17768 || test ! -s conftest.err'
17769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17770 (eval $ac_try) 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }; } &&
17774 { ac_try='test -s conftest$ac_exeext'
17775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17776 (eval $ac_try) 2>&5
17777 ac_status=$?
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); }; }; then
17780 eval "$as_ac_var=yes"
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17784
17785 eval "$as_ac_var=no"
17786 fi
17787 rm -f conftest.err conftest.$ac_objext \
17788 conftest$ac_exeext conftest.$ac_ext
17789 fi
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17792 if test `eval echo '${'$as_ac_var'}'` = yes; then
17793 cat >>confdefs.h <<_ACEOF
17794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 _ACEOF
17796
17797 fi
17798 done
17799
17800 fi
17801
17802
17803 echo "$as_me:$LINENO: checking for long double round functions" >&5
17804 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17805 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17806 echo $ECHO_N "(cached) $ECHO_C" >&6
17807 else
17808
17809
17810
17811 ac_ext=cc
17812 ac_cpp='$CXXCPP $CPPFLAGS'
17813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17816
17817 cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h. */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17823 #include <math.h>
17824 int
17825 main ()
17826 {
17827 `for x in ceill floorl; do echo "$x (0);"; done`
17828 ;
17829 return 0;
17830 }
17831 _ACEOF
17832 rm -f conftest.$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_cxx_werror_flag"
17842 || test ! -s conftest.err'
17843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17844 (eval $ac_try) 2>&5
17845 ac_status=$?
17846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17847 (exit $ac_status); }; } &&
17848 { ac_try='test -s conftest.$ac_objext'
17849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17850 (eval $ac_try) 2>&5
17851 ac_status=$?
17852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17853 (exit $ac_status); }; }; then
17854 glibcxx_cv_func_long_double_round_use=yes
17855 else
17856 echo "$as_me: failed program was:" >&5
17857 sed 's/^/| /' conftest.$ac_ext >&5
17858
17859 glibcxx_cv_func_long_double_round_use=no
17860 fi
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 ac_ext=c
17863 ac_cpp='$CPP $CPPFLAGS'
17864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17867
17868 fi
17869
17870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17871 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17872 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17873
17874
17875 for ac_func in ceill floorl
17876 do
17877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17878 echo "$as_me:$LINENO: checking for $ac_func" >&5
17879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17880 if eval "test \"\${$as_ac_var+set}\" = set"; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 if test x$gcc_no_link = xyes; then
17884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17886 { (exit 1); exit 1; }; }
17887 fi
17888 cat >conftest.$ac_ext <<_ACEOF
17889 /* confdefs.h. */
17890 _ACEOF
17891 cat confdefs.h >>conftest.$ac_ext
17892 cat >>conftest.$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17896 #define $ac_func innocuous_$ac_func
17897
17898 /* System header to define __stub macros and hopefully few prototypes,
17899 which can conflict with char $ac_func (); below.
17900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17901 <limits.h> exists even on freestanding compilers. */
17902
17903 #ifdef __STDC__
17904 # include <limits.h>
17905 #else
17906 # include <assert.h>
17907 #endif
17908
17909 #undef $ac_func
17910
17911 /* Override any gcc2 internal prototype to avoid an error. */
17912 #ifdef __cplusplus
17913 extern "C"
17914 {
17915 #endif
17916 /* We use char because int might match the return type of a gcc2
17917 builtin and then its argument prototype would still apply. */
17918 char $ac_func ();
17919 /* The GNU C library defines this for functions which it implements
17920 to always fail with ENOSYS. Some functions are actually named
17921 something starting with __ and the normal name is an alias. */
17922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 choke me
17924 #else
17925 char (*f) () = $ac_func;
17926 #endif
17927 #ifdef __cplusplus
17928 }
17929 #endif
17930
17931 int
17932 main ()
17933 {
17934 return f != $ac_func;
17935 ;
17936 return 0;
17937 }
17938 _ACEOF
17939 rm -f conftest.$ac_objext conftest$ac_exeext
17940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17941 (eval $ac_link) 2>conftest.er1
17942 ac_status=$?
17943 grep -v '^ *+' conftest.er1 >conftest.err
17944 rm -f conftest.er1
17945 cat conftest.err >&5
17946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17947 (exit $ac_status); } &&
17948 { ac_try='test -z "$ac_c_werror_flag"
17949 || test ! -s conftest.err'
17950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17951 (eval $ac_try) 2>&5
17952 ac_status=$?
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); }; } &&
17955 { ac_try='test -s conftest$ac_exeext'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; }; then
17961 eval "$as_ac_var=yes"
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966 eval "$as_ac_var=no"
17967 fi
17968 rm -f conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17970 fi
17971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17973 if test `eval echo '${'$as_ac_var'}'` = yes; then
17974 cat >>confdefs.h <<_ACEOF
17975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17976 _ACEOF
17977
17978 fi
17979 done
17980
17981 fi
17982
17983
17984
17985 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
17986 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
17987 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
17988 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
17989 echo $ECHO_N "(cached) $ECHO_C" >&6
17990 else
17991
17992
17993
17994 ac_ext=cc
17995 ac_cpp='$CXXCPP $CPPFLAGS'
17996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17999
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 #include <math.h>
18007 #ifdef HAVE_IEEEFP_H
18008 #include <ieeefp.h>
18009 #endif
18010
18011 int
18012 main ()
18013 {
18014 isnanl(0);
18015 ;
18016 return 0;
18017 }
18018 _ACEOF
18019 rm -f conftest.$ac_objext
18020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18021 (eval $ac_compile) 2>conftest.er1
18022 ac_status=$?
18023 grep -v '^ *+' conftest.er1 >conftest.err
18024 rm -f conftest.er1
18025 cat conftest.err >&5
18026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18027 (exit $ac_status); } &&
18028 { ac_try='test -z "$ac_cxx_werror_flag"
18029 || test ! -s conftest.err'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; } &&
18035 { ac_try='test -s conftest.$ac_objext'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18038 ac_status=$?
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; }; then
18041 glibcxx_cv_func_isnanl_use=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 glibcxx_cv_func_isnanl_use=no
18047 fi
18048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18049 ac_ext=c
18050 ac_cpp='$CPP $CPPFLAGS'
18051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18054
18055
18056 fi
18057
18058 fi
18059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18060 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18061
18062 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18063
18064 for ac_func in isnanl
18065 do
18066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18067 echo "$as_me:$LINENO: checking for $ac_func" >&5
18068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18069 if eval "test \"\${$as_ac_var+set}\" = set"; then
18070 echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072 if test x$gcc_no_link = xyes; then
18073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18075 { (exit 1); exit 1; }; }
18076 fi
18077 cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h. */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18085 #define $ac_func innocuous_$ac_func
18086
18087 /* System header to define __stub macros and hopefully few prototypes,
18088 which can conflict with char $ac_func (); below.
18089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18090 <limits.h> exists even on freestanding compilers. */
18091
18092 #ifdef __STDC__
18093 # include <limits.h>
18094 #else
18095 # include <assert.h>
18096 #endif
18097
18098 #undef $ac_func
18099
18100 /* Override any gcc2 internal prototype to avoid an error. */
18101 #ifdef __cplusplus
18102 extern "C"
18103 {
18104 #endif
18105 /* We use char because int might match the return type of a gcc2
18106 builtin and then its argument prototype would still apply. */
18107 char $ac_func ();
18108 /* The GNU C library defines this for functions which it implements
18109 to always fail with ENOSYS. Some functions are actually named
18110 something starting with __ and the normal name is an alias. */
18111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18112 choke me
18113 #else
18114 char (*f) () = $ac_func;
18115 #endif
18116 #ifdef __cplusplus
18117 }
18118 #endif
18119
18120 int
18121 main ()
18122 {
18123 return f != $ac_func;
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 rm -f conftest.$ac_objext conftest$ac_exeext
18129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18130 (eval $ac_link) 2>conftest.er1
18131 ac_status=$?
18132 grep -v '^ *+' conftest.er1 >conftest.err
18133 rm -f conftest.er1
18134 cat conftest.err >&5
18135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18136 (exit $ac_status); } &&
18137 { ac_try='test -z "$ac_c_werror_flag"
18138 || test ! -s conftest.err'
18139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18140 (eval $ac_try) 2>&5
18141 ac_status=$?
18142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143 (exit $ac_status); }; } &&
18144 { ac_try='test -s conftest$ac_exeext'
18145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18146 (eval $ac_try) 2>&5
18147 ac_status=$?
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); }; }; then
18150 eval "$as_ac_var=yes"
18151 else
18152 echo "$as_me: failed program was:" >&5
18153 sed 's/^/| /' conftest.$ac_ext >&5
18154
18155 eval "$as_ac_var=no"
18156 fi
18157 rm -f conftest.err conftest.$ac_objext \
18158 conftest$ac_exeext conftest.$ac_ext
18159 fi
18160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18162 if test `eval echo '${'$as_ac_var'}'` = yes; then
18163 cat >>confdefs.h <<_ACEOF
18164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18165 _ACEOF
18166
18167 fi
18168 done
18169
18170 else
18171
18172 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18173 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18176 echo $ECHO_N "(cached) $ECHO_C" >&6
18177 else
18178
18179
18180
18181 ac_ext=cc
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18186
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 #include <math.h>
18194 #ifdef HAVE_IEEEFP_H
18195 #include <ieeefp.h>
18196 #endif
18197
18198 int
18199 main ()
18200 {
18201 _isnanl(0);
18202 ;
18203 return 0;
18204 }
18205 _ACEOF
18206 rm -f conftest.$ac_objext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18208 (eval $ac_compile) 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_cxx_werror_flag"
18216 || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest.$ac_objext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 glibcxx_cv_func__isnanl_use=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18232
18233 glibcxx_cv_func__isnanl_use=no
18234 fi
18235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 ac_ext=c
18237 ac_cpp='$CPP $CPPFLAGS'
18238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18241
18242
18243 fi
18244
18245 fi
18246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18247 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18248
18249 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18250
18251 for ac_func in _isnanl
18252 do
18253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18254 echo "$as_me:$LINENO: checking for $ac_func" >&5
18255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18256 if eval "test \"\${$as_ac_var+set}\" = set"; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259 if test x$gcc_no_link = xyes; then
18260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18262 { (exit 1); exit 1; }; }
18263 fi
18264 cat >conftest.$ac_ext <<_ACEOF
18265 /* confdefs.h. */
18266 _ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18272 #define $ac_func innocuous_$ac_func
18273
18274 /* System header to define __stub macros and hopefully few prototypes,
18275 which can conflict with char $ac_func (); below.
18276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18277 <limits.h> exists even on freestanding compilers. */
18278
18279 #ifdef __STDC__
18280 # include <limits.h>
18281 #else
18282 # include <assert.h>
18283 #endif
18284
18285 #undef $ac_func
18286
18287 /* Override any gcc2 internal prototype to avoid an error. */
18288 #ifdef __cplusplus
18289 extern "C"
18290 {
18291 #endif
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18294 char $ac_func ();
18295 /* The GNU C library defines this for functions which it implements
18296 to always fail with ENOSYS. Some functions are actually named
18297 something starting with __ and the normal name is an alias. */
18298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18299 choke me
18300 #else
18301 char (*f) () = $ac_func;
18302 #endif
18303 #ifdef __cplusplus
18304 }
18305 #endif
18306
18307 int
18308 main ()
18309 {
18310 return f != $ac_func;
18311 ;
18312 return 0;
18313 }
18314 _ACEOF
18315 rm -f conftest.$ac_objext conftest$ac_exeext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18317 (eval $ac_link) 2>conftest.er1
18318 ac_status=$?
18319 grep -v '^ *+' conftest.er1 >conftest.err
18320 rm -f conftest.er1
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18328 ac_status=$?
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest$ac_exeext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18334 ac_status=$?
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 eval "$as_ac_var=yes"
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18341
18342 eval "$as_ac_var=no"
18343 fi
18344 rm -f conftest.err conftest.$ac_objext \
18345 conftest$ac_exeext conftest.$ac_ext
18346 fi
18347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18349 if test `eval echo '${'$as_ac_var'}'` = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18352 _ACEOF
18353
18354 fi
18355 done
18356
18357 fi
18358 fi
18359
18360
18361
18362 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18363 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18364 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18365 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18366 echo $ECHO_N "(cached) $ECHO_C" >&6
18367 else
18368
18369
18370
18371 ac_ext=cc
18372 ac_cpp='$CXXCPP $CPPFLAGS'
18373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18376
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <math.h>
18384 #ifdef HAVE_IEEEFP_H
18385 #include <ieeefp.h>
18386 #endif
18387
18388 int
18389 main ()
18390 {
18391 isinfl(0);
18392 ;
18393 return 0;
18394 }
18395 _ACEOF
18396 rm -f conftest.$ac_objext
18397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18398 (eval $ac_compile) 2>conftest.er1
18399 ac_status=$?
18400 grep -v '^ *+' conftest.er1 >conftest.err
18401 rm -f conftest.er1
18402 cat conftest.err >&5
18403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18404 (exit $ac_status); } &&
18405 { ac_try='test -z "$ac_cxx_werror_flag"
18406 || test ! -s conftest.err'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; } &&
18412 { ac_try='test -s conftest.$ac_objext'
18413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18414 (eval $ac_try) 2>&5
18415 ac_status=$?
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); }; }; then
18418 glibcxx_cv_func_isinfl_use=yes
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423 glibcxx_cv_func_isinfl_use=no
18424 fi
18425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18426 ac_ext=c
18427 ac_cpp='$CPP $CPPFLAGS'
18428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18431
18432
18433 fi
18434
18435 fi
18436 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18437 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18438
18439 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18440
18441 for ac_func in isinfl
18442 do
18443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18444 echo "$as_me:$LINENO: checking for $ac_func" >&5
18445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18446 if eval "test \"\${$as_ac_var+set}\" = set"; then
18447 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449 if test x$gcc_no_link = xyes; then
18450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18452 { (exit 1); exit 1; }; }
18453 fi
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18462 #define $ac_func innocuous_$ac_func
18463
18464 /* System header to define __stub macros and hopefully few prototypes,
18465 which can conflict with char $ac_func (); below.
18466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18467 <limits.h> exists even on freestanding compilers. */
18468
18469 #ifdef __STDC__
18470 # include <limits.h>
18471 #else
18472 # include <assert.h>
18473 #endif
18474
18475 #undef $ac_func
18476
18477 /* Override any gcc2 internal prototype to avoid an error. */
18478 #ifdef __cplusplus
18479 extern "C"
18480 {
18481 #endif
18482 /* We use char because int might match the return type of a gcc2
18483 builtin and then its argument prototype would still apply. */
18484 char $ac_func ();
18485 /* The GNU C library defines this for functions which it implements
18486 to always fail with ENOSYS. Some functions are actually named
18487 something starting with __ and the normal name is an alias. */
18488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18489 choke me
18490 #else
18491 char (*f) () = $ac_func;
18492 #endif
18493 #ifdef __cplusplus
18494 }
18495 #endif
18496
18497 int
18498 main ()
18499 {
18500 return f != $ac_func;
18501 ;
18502 return 0;
18503 }
18504 _ACEOF
18505 rm -f conftest.$ac_objext conftest$ac_exeext
18506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18507 (eval $ac_link) 2>conftest.er1
18508 ac_status=$?
18509 grep -v '^ *+' conftest.er1 >conftest.err
18510 rm -f conftest.er1
18511 cat conftest.err >&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); } &&
18514 { ac_try='test -z "$ac_c_werror_flag"
18515 || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18518 ac_status=$?
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try='test -s conftest$ac_exeext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 eval "$as_ac_var=yes"
18528 else
18529 echo "$as_me: failed program was:" >&5
18530 sed 's/^/| /' conftest.$ac_ext >&5
18531
18532 eval "$as_ac_var=no"
18533 fi
18534 rm -f conftest.err conftest.$ac_objext \
18535 conftest$ac_exeext conftest.$ac_ext
18536 fi
18537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18539 if test `eval echo '${'$as_ac_var'}'` = yes; then
18540 cat >>confdefs.h <<_ACEOF
18541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18542 _ACEOF
18543
18544 fi
18545 done
18546
18547 else
18548
18549 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18550 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18551 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18552 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555
18556
18557
18558 ac_ext=cc
18559 ac_cpp='$CXXCPP $CPPFLAGS'
18560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18563
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 #include <math.h>
18571 #ifdef HAVE_IEEEFP_H
18572 #include <ieeefp.h>
18573 #endif
18574
18575 int
18576 main ()
18577 {
18578 _isinfl(0);
18579 ;
18580 return 0;
18581 }
18582 _ACEOF
18583 rm -f conftest.$ac_objext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18585 (eval $ac_compile) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_cxx_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest.$ac_objext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 glibcxx_cv_func__isinfl_use=yes
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18609
18610 glibcxx_cv_func__isinfl_use=no
18611 fi
18612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18613 ac_ext=c
18614 ac_cpp='$CPP $CPPFLAGS'
18615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18618
18619
18620 fi
18621
18622 fi
18623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18624 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18625
18626 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18627
18628 for ac_func in _isinfl
18629 do
18630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18631 echo "$as_me:$LINENO: checking for $ac_func" >&5
18632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18633 if eval "test \"\${$as_ac_var+set}\" = set"; then
18634 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 else
18636 if test x$gcc_no_link = xyes; then
18637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18639 { (exit 1); exit 1; }; }
18640 fi
18641 cat >conftest.$ac_ext <<_ACEOF
18642 /* confdefs.h. */
18643 _ACEOF
18644 cat confdefs.h >>conftest.$ac_ext
18645 cat >>conftest.$ac_ext <<_ACEOF
18646 /* end confdefs.h. */
18647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18649 #define $ac_func innocuous_$ac_func
18650
18651 /* System header to define __stub macros and hopefully few prototypes,
18652 which can conflict with char $ac_func (); below.
18653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18654 <limits.h> exists even on freestanding compilers. */
18655
18656 #ifdef __STDC__
18657 # include <limits.h>
18658 #else
18659 # include <assert.h>
18660 #endif
18661
18662 #undef $ac_func
18663
18664 /* Override any gcc2 internal prototype to avoid an error. */
18665 #ifdef __cplusplus
18666 extern "C"
18667 {
18668 #endif
18669 /* We use char because int might match the return type of a gcc2
18670 builtin and then its argument prototype would still apply. */
18671 char $ac_func ();
18672 /* The GNU C library defines this for functions which it implements
18673 to always fail with ENOSYS. Some functions are actually named
18674 something starting with __ and the normal name is an alias. */
18675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18676 choke me
18677 #else
18678 char (*f) () = $ac_func;
18679 #endif
18680 #ifdef __cplusplus
18681 }
18682 #endif
18683
18684 int
18685 main ()
18686 {
18687 return f != $ac_func;
18688 ;
18689 return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext conftest$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694 (eval $ac_link) 2>conftest.er1
18695 ac_status=$?
18696 grep -v '^ *+' conftest.er1 >conftest.err
18697 rm -f conftest.er1
18698 cat conftest.err >&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); } &&
18701 { ac_try='test -z "$ac_c_werror_flag"
18702 || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest$ac_exeext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18711 ac_status=$?
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 eval "$as_ac_var=yes"
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18718
18719 eval "$as_ac_var=no"
18720 fi
18721 rm -f conftest.err conftest.$ac_objext \
18722 conftest$ac_exeext conftest.$ac_ext
18723 fi
18724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18726 if test `eval echo '${'$as_ac_var'}'` = yes; then
18727 cat >>confdefs.h <<_ACEOF
18728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18729 _ACEOF
18730
18731 fi
18732 done
18733
18734 fi
18735 fi
18736
18737
18738
18739 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18740 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18741 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18742 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18744 else
18745
18746
18747
18748 ac_ext=cc
18749 ac_cpp='$CXXCPP $CPPFLAGS'
18750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18753
18754 cat >conftest.$ac_ext <<_ACEOF
18755 /* confdefs.h. */
18756 _ACEOF
18757 cat confdefs.h >>conftest.$ac_ext
18758 cat >>conftest.$ac_ext <<_ACEOF
18759 /* end confdefs.h. */
18760 #include <math.h>
18761 int
18762 main ()
18763 {
18764 copysignl(0, 0);
18765 ;
18766 return 0;
18767 }
18768 _ACEOF
18769 rm -f conftest.$ac_objext
18770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18771 (eval $ac_compile) 2>conftest.er1
18772 ac_status=$?
18773 grep -v '^ *+' conftest.er1 >conftest.err
18774 rm -f conftest.er1
18775 cat conftest.err >&5
18776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777 (exit $ac_status); } &&
18778 { ac_try='test -z "$ac_cxx_werror_flag"
18779 || test ! -s conftest.err'
18780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18781 (eval $ac_try) 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); }; } &&
18785 { ac_try='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 glibcxx_cv_func_copysignl_use=yes
18792 else
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18795
18796 glibcxx_cv_func_copysignl_use=no
18797 fi
18798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18799 ac_ext=c
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18804
18805
18806 fi
18807
18808 fi
18809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18810 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18811
18812 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18813
18814 for ac_func in copysignl
18815 do
18816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18817 echo "$as_me:$LINENO: checking for $ac_func" >&5
18818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18819 if eval "test \"\${$as_ac_var+set}\" = set"; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822 if test x$gcc_no_link = xyes; then
18823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18825 { (exit 1); exit 1; }; }
18826 fi
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18835 #define $ac_func innocuous_$ac_func
18836
18837 /* System header to define __stub macros and hopefully few prototypes,
18838 which can conflict with char $ac_func (); below.
18839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18840 <limits.h> exists even on freestanding compilers. */
18841
18842 #ifdef __STDC__
18843 # include <limits.h>
18844 #else
18845 # include <assert.h>
18846 #endif
18847
18848 #undef $ac_func
18849
18850 /* Override any gcc2 internal prototype to avoid an error. */
18851 #ifdef __cplusplus
18852 extern "C"
18853 {
18854 #endif
18855 /* We use char because int might match the return type of a gcc2
18856 builtin and then its argument prototype would still apply. */
18857 char $ac_func ();
18858 /* The GNU C library defines this for functions which it implements
18859 to always fail with ENOSYS. Some functions are actually named
18860 something starting with __ and the normal name is an alias. */
18861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18862 choke me
18863 #else
18864 char (*f) () = $ac_func;
18865 #endif
18866 #ifdef __cplusplus
18867 }
18868 #endif
18869
18870 int
18871 main ()
18872 {
18873 return f != $ac_func;
18874 ;
18875 return 0;
18876 }
18877 _ACEOF
18878 rm -f conftest.$ac_objext conftest$ac_exeext
18879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18880 (eval $ac_link) 2>conftest.er1
18881 ac_status=$?
18882 grep -v '^ *+' conftest.er1 >conftest.err
18883 rm -f conftest.er1
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag"
18888 || test ! -s conftest.err'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18891 ac_status=$?
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; } &&
18894 { ac_try='test -s conftest$ac_exeext'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; }; then
18900 eval "$as_ac_var=yes"
18901 else
18902 echo "$as_me: failed program was:" >&5
18903 sed 's/^/| /' conftest.$ac_ext >&5
18904
18905 eval "$as_ac_var=no"
18906 fi
18907 rm -f conftest.err conftest.$ac_objext \
18908 conftest$ac_exeext conftest.$ac_ext
18909 fi
18910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18912 if test `eval echo '${'$as_ac_var'}'` = yes; then
18913 cat >>confdefs.h <<_ACEOF
18914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18915 _ACEOF
18916
18917 fi
18918 done
18919
18920 else
18921
18922 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18923 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18924 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18925 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 else
18928
18929
18930
18931 ac_ext=cc
18932 ac_cpp='$CXXCPP $CPPFLAGS'
18933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18936
18937 cat >conftest.$ac_ext <<_ACEOF
18938 /* confdefs.h. */
18939 _ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18943 #include <math.h>
18944 int
18945 main ()
18946 {
18947 _copysignl(0, 0);
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag"
18962 || test ! -s conftest.err'
18963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18964 (eval $ac_try) 2>&5
18965 ac_status=$?
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); }; } &&
18968 { ac_try='test -s conftest.$ac_objext'
18969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18970 (eval $ac_try) 2>&5
18971 ac_status=$?
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); }; }; then
18974 glibcxx_cv_func__copysignl_use=yes
18975 else
18976 echo "$as_me: failed program was:" >&5
18977 sed 's/^/| /' conftest.$ac_ext >&5
18978
18979 glibcxx_cv_func__copysignl_use=no
18980 fi
18981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18982 ac_ext=c
18983 ac_cpp='$CPP $CPPFLAGS'
18984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18987
18988
18989 fi
18990
18991 fi
18992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
18993 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
18994
18995 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
18996
18997 for ac_func in _copysignl
18998 do
18999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19000 echo "$as_me:$LINENO: checking for $ac_func" >&5
19001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19002 if eval "test \"\${$as_ac_var+set}\" = set"; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 else
19005 if test x$gcc_no_link = xyes; then
19006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19008 { (exit 1); exit 1; }; }
19009 fi
19010 cat >conftest.$ac_ext <<_ACEOF
19011 /* confdefs.h. */
19012 _ACEOF
19013 cat confdefs.h >>conftest.$ac_ext
19014 cat >>conftest.$ac_ext <<_ACEOF
19015 /* end confdefs.h. */
19016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19018 #define $ac_func innocuous_$ac_func
19019
19020 /* System header to define __stub macros and hopefully few prototypes,
19021 which can conflict with char $ac_func (); below.
19022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19023 <limits.h> exists even on freestanding compilers. */
19024
19025 #ifdef __STDC__
19026 # include <limits.h>
19027 #else
19028 # include <assert.h>
19029 #endif
19030
19031 #undef $ac_func
19032
19033 /* Override any gcc2 internal prototype to avoid an error. */
19034 #ifdef __cplusplus
19035 extern "C"
19036 {
19037 #endif
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19040 char $ac_func ();
19041 /* The GNU C library defines this for functions which it implements
19042 to always fail with ENOSYS. Some functions are actually named
19043 something starting with __ and the normal name is an alias. */
19044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19045 choke me
19046 #else
19047 char (*f) () = $ac_func;
19048 #endif
19049 #ifdef __cplusplus
19050 }
19051 #endif
19052
19053 int
19054 main ()
19055 {
19056 return f != $ac_func;
19057 ;
19058 return 0;
19059 }
19060 _ACEOF
19061 rm -f conftest.$ac_objext conftest$ac_exeext
19062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19063 (eval $ac_link) 2>conftest.er1
19064 ac_status=$?
19065 grep -v '^ *+' conftest.er1 >conftest.err
19066 rm -f conftest.er1
19067 cat conftest.err >&5
19068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19069 (exit $ac_status); } &&
19070 { ac_try='test -z "$ac_c_werror_flag"
19071 || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest$ac_exeext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 eval "$as_ac_var=yes"
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 eval "$as_ac_var=no"
19089 fi
19090 rm -f conftest.err conftest.$ac_objext \
19091 conftest$ac_exeext conftest.$ac_ext
19092 fi
19093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19095 if test `eval echo '${'$as_ac_var'}'` = yes; then
19096 cat >>confdefs.h <<_ACEOF
19097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19098 _ACEOF
19099
19100 fi
19101 done
19102
19103 fi
19104 fi
19105
19106
19107
19108 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19109 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19110 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19111 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19113 else
19114
19115
19116
19117 ac_ext=cc
19118 ac_cpp='$CXXCPP $CPPFLAGS'
19119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19122
19123 cat >conftest.$ac_ext <<_ACEOF
19124 /* confdefs.h. */
19125 _ACEOF
19126 cat confdefs.h >>conftest.$ac_ext
19127 cat >>conftest.$ac_ext <<_ACEOF
19128 /* end confdefs.h. */
19129 #include <math.h>
19130 int
19131 main ()
19132 {
19133 atan2l(0, 0);
19134 ;
19135 return 0;
19136 }
19137 _ACEOF
19138 rm -f conftest.$ac_objext
19139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19140 (eval $ac_compile) 2>conftest.er1
19141 ac_status=$?
19142 grep -v '^ *+' conftest.er1 >conftest.err
19143 rm -f conftest.er1
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19146 (exit $ac_status); } &&
19147 { ac_try='test -z "$ac_cxx_werror_flag"
19148 || test ! -s conftest.err'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19151 ac_status=$?
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; } &&
19154 { ac_try='test -s conftest.$ac_objext'
19155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19156 (eval $ac_try) 2>&5
19157 ac_status=$?
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); }; }; then
19160 glibcxx_cv_func_atan2l_use=yes
19161 else
19162 echo "$as_me: failed program was:" >&5
19163 sed 's/^/| /' conftest.$ac_ext >&5
19164
19165 glibcxx_cv_func_atan2l_use=no
19166 fi
19167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19168 ac_ext=c
19169 ac_cpp='$CPP $CPPFLAGS'
19170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19173
19174
19175 fi
19176
19177 fi
19178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19179 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19180
19181 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19182
19183 for ac_func in atan2l
19184 do
19185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19186 echo "$as_me:$LINENO: checking for $ac_func" >&5
19187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19188 if eval "test \"\${$as_ac_var+set}\" = set"; then
19189 echo $ECHO_N "(cached) $ECHO_C" >&6
19190 else
19191 if test x$gcc_no_link = xyes; then
19192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19194 { (exit 1); exit 1; }; }
19195 fi
19196 cat >conftest.$ac_ext <<_ACEOF
19197 /* confdefs.h. */
19198 _ACEOF
19199 cat confdefs.h >>conftest.$ac_ext
19200 cat >>conftest.$ac_ext <<_ACEOF
19201 /* end confdefs.h. */
19202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19204 #define $ac_func innocuous_$ac_func
19205
19206 /* System header to define __stub macros and hopefully few prototypes,
19207 which can conflict with char $ac_func (); below.
19208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19209 <limits.h> exists even on freestanding compilers. */
19210
19211 #ifdef __STDC__
19212 # include <limits.h>
19213 #else
19214 # include <assert.h>
19215 #endif
19216
19217 #undef $ac_func
19218
19219 /* Override any gcc2 internal prototype to avoid an error. */
19220 #ifdef __cplusplus
19221 extern "C"
19222 {
19223 #endif
19224 /* We use char because int might match the return type of a gcc2
19225 builtin and then its argument prototype would still apply. */
19226 char $ac_func ();
19227 /* The GNU C library defines this for functions which it implements
19228 to always fail with ENOSYS. Some functions are actually named
19229 something starting with __ and the normal name is an alias. */
19230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19231 choke me
19232 #else
19233 char (*f) () = $ac_func;
19234 #endif
19235 #ifdef __cplusplus
19236 }
19237 #endif
19238
19239 int
19240 main ()
19241 {
19242 return f != $ac_func;
19243 ;
19244 return 0;
19245 }
19246 _ACEOF
19247 rm -f conftest.$ac_objext conftest$ac_exeext
19248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19249 (eval $ac_link) 2>conftest.er1
19250 ac_status=$?
19251 grep -v '^ *+' conftest.er1 >conftest.err
19252 rm -f conftest.er1
19253 cat conftest.err >&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -z "$ac_c_werror_flag"
19257 || test ! -s conftest.err'
19258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19259 (eval $ac_try) 2>&5
19260 ac_status=$?
19261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19262 (exit $ac_status); }; } &&
19263 { ac_try='test -s conftest$ac_exeext'
19264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19265 (eval $ac_try) 2>&5
19266 ac_status=$?
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); }; }; then
19269 eval "$as_ac_var=yes"
19270 else
19271 echo "$as_me: failed program was:" >&5
19272 sed 's/^/| /' conftest.$ac_ext >&5
19273
19274 eval "$as_ac_var=no"
19275 fi
19276 rm -f conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19278 fi
19279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19281 if test `eval echo '${'$as_ac_var'}'` = yes; then
19282 cat >>confdefs.h <<_ACEOF
19283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19284 _ACEOF
19285
19286 fi
19287 done
19288
19289 else
19290
19291 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19292 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19293 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19294 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19295 echo $ECHO_N "(cached) $ECHO_C" >&6
19296 else
19297
19298
19299
19300 ac_ext=cc
19301 ac_cpp='$CXXCPP $CPPFLAGS'
19302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19305
19306 cat >conftest.$ac_ext <<_ACEOF
19307 /* confdefs.h. */
19308 _ACEOF
19309 cat confdefs.h >>conftest.$ac_ext
19310 cat >>conftest.$ac_ext <<_ACEOF
19311 /* end confdefs.h. */
19312 #include <math.h>
19313 int
19314 main ()
19315 {
19316 _atan2l(0, 0);
19317 ;
19318 return 0;
19319 }
19320 _ACEOF
19321 rm -f conftest.$ac_objext
19322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19323 (eval $ac_compile) 2>conftest.er1
19324 ac_status=$?
19325 grep -v '^ *+' conftest.er1 >conftest.err
19326 rm -f conftest.er1
19327 cat conftest.err >&5
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); } &&
19330 { ac_try='test -z "$ac_cxx_werror_flag"
19331 || test ! -s conftest.err'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19334 ac_status=$?
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; } &&
19337 { ac_try='test -s conftest.$ac_objext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 glibcxx_cv_func__atan2l_use=yes
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19347
19348 glibcxx_cv_func__atan2l_use=no
19349 fi
19350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19351 ac_ext=c
19352 ac_cpp='$CPP $CPPFLAGS'
19353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19356
19357
19358 fi
19359
19360 fi
19361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19362 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19363
19364 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19365
19366 for ac_func in _atan2l
19367 do
19368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19369 echo "$as_me:$LINENO: checking for $ac_func" >&5
19370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19371 if eval "test \"\${$as_ac_var+set}\" = set"; then
19372 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 else
19374 if test x$gcc_no_link = xyes; then
19375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19377 { (exit 1); exit 1; }; }
19378 fi
19379 cat >conftest.$ac_ext <<_ACEOF
19380 /* confdefs.h. */
19381 _ACEOF
19382 cat confdefs.h >>conftest.$ac_ext
19383 cat >>conftest.$ac_ext <<_ACEOF
19384 /* end confdefs.h. */
19385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19387 #define $ac_func innocuous_$ac_func
19388
19389 /* System header to define __stub macros and hopefully few prototypes,
19390 which can conflict with char $ac_func (); below.
19391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19392 <limits.h> exists even on freestanding compilers. */
19393
19394 #ifdef __STDC__
19395 # include <limits.h>
19396 #else
19397 # include <assert.h>
19398 #endif
19399
19400 #undef $ac_func
19401
19402 /* Override any gcc2 internal prototype to avoid an error. */
19403 #ifdef __cplusplus
19404 extern "C"
19405 {
19406 #endif
19407 /* We use char because int might match the return type of a gcc2
19408 builtin and then its argument prototype would still apply. */
19409 char $ac_func ();
19410 /* The GNU C library defines this for functions which it implements
19411 to always fail with ENOSYS. Some functions are actually named
19412 something starting with __ and the normal name is an alias. */
19413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19414 choke me
19415 #else
19416 char (*f) () = $ac_func;
19417 #endif
19418 #ifdef __cplusplus
19419 }
19420 #endif
19421
19422 int
19423 main ()
19424 {
19425 return f != $ac_func;
19426 ;
19427 return 0;
19428 }
19429 _ACEOF
19430 rm -f conftest.$ac_objext conftest$ac_exeext
19431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19432 (eval $ac_link) 2>conftest.er1
19433 ac_status=$?
19434 grep -v '^ *+' conftest.er1 >conftest.err
19435 rm -f conftest.er1
19436 cat conftest.err >&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); } &&
19439 { ac_try='test -z "$ac_c_werror_flag"
19440 || test ! -s conftest.err'
19441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19442 (eval $ac_try) 2>&5
19443 ac_status=$?
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); }; } &&
19446 { ac_try='test -s conftest$ac_exeext'
19447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19448 (eval $ac_try) 2>&5
19449 ac_status=$?
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); }; }; then
19452 eval "$as_ac_var=yes"
19453 else
19454 echo "$as_me: failed program was:" >&5
19455 sed 's/^/| /' conftest.$ac_ext >&5
19456
19457 eval "$as_ac_var=no"
19458 fi
19459 rm -f conftest.err conftest.$ac_objext \
19460 conftest$ac_exeext conftest.$ac_ext
19461 fi
19462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19464 if test `eval echo '${'$as_ac_var'}'` = yes; then
19465 cat >>confdefs.h <<_ACEOF
19466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19467 _ACEOF
19468
19469 fi
19470 done
19471
19472 fi
19473 fi
19474
19475
19476
19477 echo "$as_me:$LINENO: checking for expl declaration" >&5
19478 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19479 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19480 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19481 echo $ECHO_N "(cached) $ECHO_C" >&6
19482 else
19483
19484
19485
19486 ac_ext=cc
19487 ac_cpp='$CXXCPP $CPPFLAGS'
19488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19491
19492 cat >conftest.$ac_ext <<_ACEOF
19493 /* confdefs.h. */
19494 _ACEOF
19495 cat confdefs.h >>conftest.$ac_ext
19496 cat >>conftest.$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #include <math.h>
19499 #ifdef HAVE_IEEEFP_H
19500 #include <ieeefp.h>
19501 #endif
19502
19503 int
19504 main ()
19505 {
19506 expl(0);
19507 ;
19508 return 0;
19509 }
19510 _ACEOF
19511 rm -f conftest.$ac_objext
19512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19513 (eval $ac_compile) 2>conftest.er1
19514 ac_status=$?
19515 grep -v '^ *+' conftest.er1 >conftest.err
19516 rm -f conftest.er1
19517 cat conftest.err >&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); } &&
19520 { ac_try='test -z "$ac_cxx_werror_flag"
19521 || test ! -s conftest.err'
19522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19523 (eval $ac_try) 2>&5
19524 ac_status=$?
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); }; } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19530 ac_status=$?
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 glibcxx_cv_func_expl_use=yes
19534 else
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538 glibcxx_cv_func_expl_use=no
19539 fi
19540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19541 ac_ext=c
19542 ac_cpp='$CPP $CPPFLAGS'
19543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19546
19547
19548 fi
19549
19550 fi
19551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19552 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19553
19554 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19555
19556 for ac_func in expl
19557 do
19558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19559 echo "$as_me:$LINENO: checking for $ac_func" >&5
19560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19561 if eval "test \"\${$as_ac_var+set}\" = set"; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 if test x$gcc_no_link = xyes; then
19565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19567 { (exit 1); exit 1; }; }
19568 fi
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19577 #define $ac_func innocuous_$ac_func
19578
19579 /* System header to define __stub macros and hopefully few prototypes,
19580 which can conflict with char $ac_func (); below.
19581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19582 <limits.h> exists even on freestanding compilers. */
19583
19584 #ifdef __STDC__
19585 # include <limits.h>
19586 #else
19587 # include <assert.h>
19588 #endif
19589
19590 #undef $ac_func
19591
19592 /* Override any gcc2 internal prototype to avoid an error. */
19593 #ifdef __cplusplus
19594 extern "C"
19595 {
19596 #endif
19597 /* We use char because int might match the return type of a gcc2
19598 builtin and then its argument prototype would still apply. */
19599 char $ac_func ();
19600 /* The GNU C library defines this for functions which it implements
19601 to always fail with ENOSYS. Some functions are actually named
19602 something starting with __ and the normal name is an alias. */
19603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19604 choke me
19605 #else
19606 char (*f) () = $ac_func;
19607 #endif
19608 #ifdef __cplusplus
19609 }
19610 #endif
19611
19612 int
19613 main ()
19614 {
19615 return f != $ac_func;
19616 ;
19617 return 0;
19618 }
19619 _ACEOF
19620 rm -f conftest.$ac_objext conftest$ac_exeext
19621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19622 (eval $ac_link) 2>conftest.er1
19623 ac_status=$?
19624 grep -v '^ *+' conftest.er1 >conftest.err
19625 rm -f conftest.er1
19626 cat conftest.err >&5
19627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19628 (exit $ac_status); } &&
19629 { ac_try='test -z "$ac_c_werror_flag"
19630 || test ! -s conftest.err'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19633 ac_status=$?
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try='test -s conftest$ac_exeext'
19637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19638 (eval $ac_try) 2>&5
19639 ac_status=$?
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); }; }; then
19642 eval "$as_ac_var=yes"
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19646
19647 eval "$as_ac_var=no"
19648 fi
19649 rm -f conftest.err conftest.$ac_objext \
19650 conftest$ac_exeext conftest.$ac_ext
19651 fi
19652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19654 if test `eval echo '${'$as_ac_var'}'` = yes; then
19655 cat >>confdefs.h <<_ACEOF
19656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19657 _ACEOF
19658
19659 fi
19660 done
19661
19662 else
19663
19664 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19665 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19666 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19667 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19668 echo $ECHO_N "(cached) $ECHO_C" >&6
19669 else
19670
19671
19672
19673 ac_ext=cc
19674 ac_cpp='$CXXCPP $CPPFLAGS'
19675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19678
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 #include <math.h>
19686 #ifdef HAVE_IEEEFP_H
19687 #include <ieeefp.h>
19688 #endif
19689
19690 int
19691 main ()
19692 {
19693 _expl(0);
19694 ;
19695 return 0;
19696 }
19697 _ACEOF
19698 rm -f conftest.$ac_objext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19700 (eval $ac_compile) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_cxx_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 glibcxx_cv_func__expl_use=yes
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19724
19725 glibcxx_cv_func__expl_use=no
19726 fi
19727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19728 ac_ext=c
19729 ac_cpp='$CPP $CPPFLAGS'
19730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19733
19734
19735 fi
19736
19737 fi
19738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19739 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19740
19741 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19742
19743 for ac_func in _expl
19744 do
19745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19746 echo "$as_me:$LINENO: checking for $ac_func" >&5
19747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19748 if eval "test \"\${$as_ac_var+set}\" = set"; then
19749 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 else
19751 if test x$gcc_no_link = xyes; then
19752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19754 { (exit 1); exit 1; }; }
19755 fi
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19764 #define $ac_func innocuous_$ac_func
19765
19766 /* System header to define __stub macros and hopefully few prototypes,
19767 which can conflict with char $ac_func (); below.
19768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19769 <limits.h> exists even on freestanding compilers. */
19770
19771 #ifdef __STDC__
19772 # include <limits.h>
19773 #else
19774 # include <assert.h>
19775 #endif
19776
19777 #undef $ac_func
19778
19779 /* Override any gcc2 internal prototype to avoid an error. */
19780 #ifdef __cplusplus
19781 extern "C"
19782 {
19783 #endif
19784 /* We use char because int might match the return type of a gcc2
19785 builtin and then its argument prototype would still apply. */
19786 char $ac_func ();
19787 /* The GNU C library defines this for functions which it implements
19788 to always fail with ENOSYS. Some functions are actually named
19789 something starting with __ and the normal name is an alias. */
19790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19791 choke me
19792 #else
19793 char (*f) () = $ac_func;
19794 #endif
19795 #ifdef __cplusplus
19796 }
19797 #endif
19798
19799 int
19800 main ()
19801 {
19802 return f != $ac_func;
19803 ;
19804 return 0;
19805 }
19806 _ACEOF
19807 rm -f conftest.$ac_objext conftest$ac_exeext
19808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19809 (eval $ac_link) 2>conftest.er1
19810 ac_status=$?
19811 grep -v '^ *+' conftest.er1 >conftest.err
19812 rm -f conftest.er1
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try='test -z "$ac_c_werror_flag"
19817 || test ! -s conftest.err'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; } &&
19823 { ac_try='test -s conftest$ac_exeext'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19826 ac_status=$?
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; }; then
19829 eval "$as_ac_var=yes"
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19833
19834 eval "$as_ac_var=no"
19835 fi
19836 rm -f conftest.err conftest.$ac_objext \
19837 conftest$ac_exeext conftest.$ac_ext
19838 fi
19839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19841 if test `eval echo '${'$as_ac_var'}'` = yes; then
19842 cat >>confdefs.h <<_ACEOF
19843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19844 _ACEOF
19845
19846 fi
19847 done
19848
19849 fi
19850 fi
19851
19852
19853
19854 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19855 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19856 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19857 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19858 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 else
19860
19861
19862
19863 ac_ext=cc
19864 ac_cpp='$CXXCPP $CPPFLAGS'
19865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19868
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <math.h>
19876 #ifdef HAVE_IEEEFP_H
19877 #include <ieeefp.h>
19878 #endif
19879
19880 int
19881 main ()
19882 {
19883 fabsl(0);
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 rm -f conftest.$ac_objext
19889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19890 (eval $ac_compile) 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } &&
19897 { ac_try='test -z "$ac_cxx_werror_flag"
19898 || test ! -s conftest.err'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; } &&
19904 { ac_try='test -s conftest.$ac_objext'
19905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19906 (eval $ac_try) 2>&5
19907 ac_status=$?
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); }; }; then
19910 glibcxx_cv_func_fabsl_use=yes
19911 else
19912 echo "$as_me: failed program was:" >&5
19913 sed 's/^/| /' conftest.$ac_ext >&5
19914
19915 glibcxx_cv_func_fabsl_use=no
19916 fi
19917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19918 ac_ext=c
19919 ac_cpp='$CPP $CPPFLAGS'
19920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19923
19924
19925 fi
19926
19927 fi
19928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19929 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19930
19931 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19932
19933 for ac_func in fabsl
19934 do
19935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19936 echo "$as_me:$LINENO: checking for $ac_func" >&5
19937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19938 if eval "test \"\${$as_ac_var+set}\" = set"; then
19939 echo $ECHO_N "(cached) $ECHO_C" >&6
19940 else
19941 if test x$gcc_no_link = xyes; then
19942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19944 { (exit 1); exit 1; }; }
19945 fi
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19954 #define $ac_func innocuous_$ac_func
19955
19956 /* System header to define __stub macros and hopefully few prototypes,
19957 which can conflict with char $ac_func (); below.
19958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19959 <limits.h> exists even on freestanding compilers. */
19960
19961 #ifdef __STDC__
19962 # include <limits.h>
19963 #else
19964 # include <assert.h>
19965 #endif
19966
19967 #undef $ac_func
19968
19969 /* Override any gcc2 internal prototype to avoid an error. */
19970 #ifdef __cplusplus
19971 extern "C"
19972 {
19973 #endif
19974 /* We use char because int might match the return type of a gcc2
19975 builtin and then its argument prototype would still apply. */
19976 char $ac_func ();
19977 /* The GNU C library defines this for functions which it implements
19978 to always fail with ENOSYS. Some functions are actually named
19979 something starting with __ and the normal name is an alias. */
19980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19981 choke me
19982 #else
19983 char (*f) () = $ac_func;
19984 #endif
19985 #ifdef __cplusplus
19986 }
19987 #endif
19988
19989 int
19990 main ()
19991 {
19992 return f != $ac_func;
19993 ;
19994 return 0;
19995 }
19996 _ACEOF
19997 rm -f conftest.$ac_objext conftest$ac_exeext
19998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19999 (eval $ac_link) 2>conftest.er1
20000 ac_status=$?
20001 grep -v '^ *+' conftest.er1 >conftest.err
20002 rm -f conftest.er1
20003 cat conftest.err >&5
20004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20005 (exit $ac_status); } &&
20006 { ac_try='test -z "$ac_c_werror_flag"
20007 || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest$ac_exeext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 eval "$as_ac_var=yes"
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20023
20024 eval "$as_ac_var=no"
20025 fi
20026 rm -f conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20028 fi
20029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20031 if test `eval echo '${'$as_ac_var'}'` = yes; then
20032 cat >>confdefs.h <<_ACEOF
20033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20034 _ACEOF
20035
20036 fi
20037 done
20038
20039 else
20040
20041 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20042 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20043 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20044 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 else
20047
20048
20049
20050 ac_ext=cc
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20055
20056 cat >conftest.$ac_ext <<_ACEOF
20057 /* confdefs.h. */
20058 _ACEOF
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20062 #include <math.h>
20063 #ifdef HAVE_IEEEFP_H
20064 #include <ieeefp.h>
20065 #endif
20066
20067 int
20068 main ()
20069 {
20070 _fabsl(0);
20071 ;
20072 return 0;
20073 }
20074 _ACEOF
20075 rm -f conftest.$ac_objext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20077 (eval $ac_compile) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_cxx_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest.$ac_objext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 glibcxx_cv_func__fabsl_use=yes
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20101
20102 glibcxx_cv_func__fabsl_use=no
20103 fi
20104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20105 ac_ext=c
20106 ac_cpp='$CPP $CPPFLAGS'
20107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20110
20111
20112 fi
20113
20114 fi
20115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20116 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20117
20118 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20119
20120 for ac_func in _fabsl
20121 do
20122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20123 echo "$as_me:$LINENO: checking for $ac_func" >&5
20124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20125 if eval "test \"\${$as_ac_var+set}\" = set"; then
20126 echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128 if test x$gcc_no_link = xyes; then
20129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20131 { (exit 1); exit 1; }; }
20132 fi
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20141 #define $ac_func innocuous_$ac_func
20142
20143 /* System header to define __stub macros and hopefully few prototypes,
20144 which can conflict with char $ac_func (); below.
20145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20146 <limits.h> exists even on freestanding compilers. */
20147
20148 #ifdef __STDC__
20149 # include <limits.h>
20150 #else
20151 # include <assert.h>
20152 #endif
20153
20154 #undef $ac_func
20155
20156 /* Override any gcc2 internal prototype to avoid an error. */
20157 #ifdef __cplusplus
20158 extern "C"
20159 {
20160 #endif
20161 /* We use char because int might match the return type of a gcc2
20162 builtin and then its argument prototype would still apply. */
20163 char $ac_func ();
20164 /* The GNU C library defines this for functions which it implements
20165 to always fail with ENOSYS. Some functions are actually named
20166 something starting with __ and the normal name is an alias. */
20167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20168 choke me
20169 #else
20170 char (*f) () = $ac_func;
20171 #endif
20172 #ifdef __cplusplus
20173 }
20174 #endif
20175
20176 int
20177 main ()
20178 {
20179 return f != $ac_func;
20180 ;
20181 return 0;
20182 }
20183 _ACEOF
20184 rm -f conftest.$ac_objext conftest$ac_exeext
20185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20186 (eval $ac_link) 2>conftest.er1
20187 ac_status=$?
20188 grep -v '^ *+' conftest.er1 >conftest.err
20189 rm -f conftest.er1
20190 cat conftest.err >&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } &&
20193 { ac_try='test -z "$ac_c_werror_flag"
20194 || test ! -s conftest.err'
20195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20196 (eval $ac_try) 2>&5
20197 ac_status=$?
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); }; } &&
20200 { ac_try='test -s conftest$ac_exeext'
20201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20202 (eval $ac_try) 2>&5
20203 ac_status=$?
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; }; then
20206 eval "$as_ac_var=yes"
20207 else
20208 echo "$as_me: failed program was:" >&5
20209 sed 's/^/| /' conftest.$ac_ext >&5
20210
20211 eval "$as_ac_var=no"
20212 fi
20213 rm -f conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20215 fi
20216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20218 if test `eval echo '${'$as_ac_var'}'` = yes; then
20219 cat >>confdefs.h <<_ACEOF
20220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20221 _ACEOF
20222
20223 fi
20224 done
20225
20226 fi
20227 fi
20228
20229
20230
20231 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20232 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20233 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20234 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20235 echo $ECHO_N "(cached) $ECHO_C" >&6
20236 else
20237
20238
20239
20240 ac_ext=cc
20241 ac_cpp='$CXXCPP $CPPFLAGS'
20242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20245
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 #include <math.h>
20253 int
20254 main ()
20255 {
20256 fmodl(0, 0);
20257 ;
20258 return 0;
20259 }
20260 _ACEOF
20261 rm -f conftest.$ac_objext
20262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20263 (eval $ac_compile) 2>conftest.er1
20264 ac_status=$?
20265 grep -v '^ *+' conftest.er1 >conftest.err
20266 rm -f conftest.er1
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try='test -z "$ac_cxx_werror_flag"
20271 || test ! -s conftest.err'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20274 ac_status=$?
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; } &&
20277 { ac_try='test -s conftest.$ac_objext'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; }; then
20283 glibcxx_cv_func_fmodl_use=yes
20284 else
20285 echo "$as_me: failed program was:" >&5
20286 sed 's/^/| /' conftest.$ac_ext >&5
20287
20288 glibcxx_cv_func_fmodl_use=no
20289 fi
20290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20291 ac_ext=c
20292 ac_cpp='$CPP $CPPFLAGS'
20293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20296
20297
20298 fi
20299
20300 fi
20301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20302 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20303
20304 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20305
20306 for ac_func in fmodl
20307 do
20308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20309 echo "$as_me:$LINENO: checking for $ac_func" >&5
20310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20311 if eval "test \"\${$as_ac_var+set}\" = set"; then
20312 echo $ECHO_N "(cached) $ECHO_C" >&6
20313 else
20314 if test x$gcc_no_link = xyes; then
20315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20317 { (exit 1); exit 1; }; }
20318 fi
20319 cat >conftest.$ac_ext <<_ACEOF
20320 /* confdefs.h. */
20321 _ACEOF
20322 cat confdefs.h >>conftest.$ac_ext
20323 cat >>conftest.$ac_ext <<_ACEOF
20324 /* end confdefs.h. */
20325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20327 #define $ac_func innocuous_$ac_func
20328
20329 /* System header to define __stub macros and hopefully few prototypes,
20330 which can conflict with char $ac_func (); below.
20331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20332 <limits.h> exists even on freestanding compilers. */
20333
20334 #ifdef __STDC__
20335 # include <limits.h>
20336 #else
20337 # include <assert.h>
20338 #endif
20339
20340 #undef $ac_func
20341
20342 /* Override any gcc2 internal prototype to avoid an error. */
20343 #ifdef __cplusplus
20344 extern "C"
20345 {
20346 #endif
20347 /* We use char because int might match the return type of a gcc2
20348 builtin and then its argument prototype would still apply. */
20349 char $ac_func ();
20350 /* The GNU C library defines this for functions which it implements
20351 to always fail with ENOSYS. Some functions are actually named
20352 something starting with __ and the normal name is an alias. */
20353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20354 choke me
20355 #else
20356 char (*f) () = $ac_func;
20357 #endif
20358 #ifdef __cplusplus
20359 }
20360 #endif
20361
20362 int
20363 main ()
20364 {
20365 return f != $ac_func;
20366 ;
20367 return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest.$ac_objext conftest$ac_exeext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20372 (eval $ac_link) 2>conftest.er1
20373 ac_status=$?
20374 grep -v '^ *+' conftest.er1 >conftest.err
20375 rm -f conftest.er1
20376 cat conftest.err >&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -z "$ac_c_werror_flag"
20380 || test ! -s conftest.err'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20383 ac_status=$?
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; } &&
20386 { ac_try='test -s conftest$ac_exeext'
20387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20388 (eval $ac_try) 2>&5
20389 ac_status=$?
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); }; }; then
20392 eval "$as_ac_var=yes"
20393 else
20394 echo "$as_me: failed program was:" >&5
20395 sed 's/^/| /' conftest.$ac_ext >&5
20396
20397 eval "$as_ac_var=no"
20398 fi
20399 rm -f conftest.err conftest.$ac_objext \
20400 conftest$ac_exeext conftest.$ac_ext
20401 fi
20402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20404 if test `eval echo '${'$as_ac_var'}'` = yes; then
20405 cat >>confdefs.h <<_ACEOF
20406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20407 _ACEOF
20408
20409 fi
20410 done
20411
20412 else
20413
20414 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20415 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20416 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20417 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420
20421
20422
20423 ac_ext=cc
20424 ac_cpp='$CXXCPP $CPPFLAGS'
20425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20428
20429 cat >conftest.$ac_ext <<_ACEOF
20430 /* confdefs.h. */
20431 _ACEOF
20432 cat confdefs.h >>conftest.$ac_ext
20433 cat >>conftest.$ac_ext <<_ACEOF
20434 /* end confdefs.h. */
20435 #include <math.h>
20436 int
20437 main ()
20438 {
20439 _fmodl(0, 0);
20440 ;
20441 return 0;
20442 }
20443 _ACEOF
20444 rm -f conftest.$ac_objext
20445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20446 (eval $ac_compile) 2>conftest.er1
20447 ac_status=$?
20448 grep -v '^ *+' conftest.er1 >conftest.err
20449 rm -f conftest.er1
20450 cat conftest.err >&5
20451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20452 (exit $ac_status); } &&
20453 { ac_try='test -z "$ac_cxx_werror_flag"
20454 || test ! -s conftest.err'
20455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456 (eval $ac_try) 2>&5
20457 ac_status=$?
20458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459 (exit $ac_status); }; } &&
20460 { ac_try='test -s conftest.$ac_objext'
20461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20462 (eval $ac_try) 2>&5
20463 ac_status=$?
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 glibcxx_cv_func__fmodl_use=yes
20467 else
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20470
20471 glibcxx_cv_func__fmodl_use=no
20472 fi
20473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20474 ac_ext=c
20475 ac_cpp='$CPP $CPPFLAGS'
20476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20479
20480
20481 fi
20482
20483 fi
20484 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20485 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20486
20487 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20488
20489 for ac_func in _fmodl
20490 do
20491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20492 echo "$as_me:$LINENO: checking for $ac_func" >&5
20493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20494 if eval "test \"\${$as_ac_var+set}\" = set"; then
20495 echo $ECHO_N "(cached) $ECHO_C" >&6
20496 else
20497 if test x$gcc_no_link = xyes; then
20498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20500 { (exit 1); exit 1; }; }
20501 fi
20502 cat >conftest.$ac_ext <<_ACEOF
20503 /* confdefs.h. */
20504 _ACEOF
20505 cat confdefs.h >>conftest.$ac_ext
20506 cat >>conftest.$ac_ext <<_ACEOF
20507 /* end confdefs.h. */
20508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20510 #define $ac_func innocuous_$ac_func
20511
20512 /* System header to define __stub macros and hopefully few prototypes,
20513 which can conflict with char $ac_func (); below.
20514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20515 <limits.h> exists even on freestanding compilers. */
20516
20517 #ifdef __STDC__
20518 # include <limits.h>
20519 #else
20520 # include <assert.h>
20521 #endif
20522
20523 #undef $ac_func
20524
20525 /* Override any gcc2 internal prototype to avoid an error. */
20526 #ifdef __cplusplus
20527 extern "C"
20528 {
20529 #endif
20530 /* We use char because int might match the return type of a gcc2
20531 builtin and then its argument prototype would still apply. */
20532 char $ac_func ();
20533 /* The GNU C library defines this for functions which it implements
20534 to always fail with ENOSYS. Some functions are actually named
20535 something starting with __ and the normal name is an alias. */
20536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20537 choke me
20538 #else
20539 char (*f) () = $ac_func;
20540 #endif
20541 #ifdef __cplusplus
20542 }
20543 #endif
20544
20545 int
20546 main ()
20547 {
20548 return f != $ac_func;
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 rm -f conftest.$ac_objext conftest$ac_exeext
20554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20555 (eval $ac_link) 2>conftest.er1
20556 ac_status=$?
20557 grep -v '^ *+' conftest.er1 >conftest.err
20558 rm -f conftest.er1
20559 cat conftest.err >&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -z "$ac_c_werror_flag"
20563 || test ! -s conftest.err'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20566 ac_status=$?
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; } &&
20569 { ac_try='test -s conftest$ac_exeext'
20570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20571 (eval $ac_try) 2>&5
20572 ac_status=$?
20573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20574 (exit $ac_status); }; }; then
20575 eval "$as_ac_var=yes"
20576 else
20577 echo "$as_me: failed program was:" >&5
20578 sed 's/^/| /' conftest.$ac_ext >&5
20579
20580 eval "$as_ac_var=no"
20581 fi
20582 rm -f conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20584 fi
20585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20587 if test `eval echo '${'$as_ac_var'}'` = yes; then
20588 cat >>confdefs.h <<_ACEOF
20589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20590 _ACEOF
20591
20592 fi
20593 done
20594
20595 fi
20596 fi
20597
20598
20599
20600 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20601 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20602 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20603 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20604 echo $ECHO_N "(cached) $ECHO_C" >&6
20605 else
20606
20607
20608
20609 ac_ext=cc
20610 ac_cpp='$CXXCPP $CPPFLAGS'
20611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20614
20615 cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h. */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20621 #include <math.h>
20622 int
20623 main ()
20624 {
20625 frexpl(0, 0);
20626 ;
20627 return 0;
20628 }
20629 _ACEOF
20630 rm -f conftest.$ac_objext
20631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20632 (eval $ac_compile) 2>conftest.er1
20633 ac_status=$?
20634 grep -v '^ *+' conftest.er1 >conftest.err
20635 rm -f conftest.er1
20636 cat conftest.err >&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try='test -z "$ac_cxx_werror_flag"
20640 || test ! -s conftest.err'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20649 ac_status=$?
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 glibcxx_cv_func_frexpl_use=yes
20653 else
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657 glibcxx_cv_func_frexpl_use=no
20658 fi
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 ac_ext=c
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20665
20666
20667 fi
20668
20669 fi
20670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20671 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20672
20673 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20674
20675 for ac_func in frexpl
20676 do
20677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20678 echo "$as_me:$LINENO: checking for $ac_func" >&5
20679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20680 if eval "test \"\${$as_ac_var+set}\" = set"; then
20681 echo $ECHO_N "(cached) $ECHO_C" >&6
20682 else
20683 if test x$gcc_no_link = xyes; then
20684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20686 { (exit 1); exit 1; }; }
20687 fi
20688 cat >conftest.$ac_ext <<_ACEOF
20689 /* confdefs.h. */
20690 _ACEOF
20691 cat confdefs.h >>conftest.$ac_ext
20692 cat >>conftest.$ac_ext <<_ACEOF
20693 /* end confdefs.h. */
20694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20696 #define $ac_func innocuous_$ac_func
20697
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func (); below.
20700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20701 <limits.h> exists even on freestanding compilers. */
20702
20703 #ifdef __STDC__
20704 # include <limits.h>
20705 #else
20706 # include <assert.h>
20707 #endif
20708
20709 #undef $ac_func
20710
20711 /* Override any gcc2 internal prototype to avoid an error. */
20712 #ifdef __cplusplus
20713 extern "C"
20714 {
20715 #endif
20716 /* We use char because int might match the return type of a gcc2
20717 builtin and then its argument prototype would still apply. */
20718 char $ac_func ();
20719 /* The GNU C library defines this for functions which it implements
20720 to always fail with ENOSYS. Some functions are actually named
20721 something starting with __ and the normal name is an alias. */
20722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20723 choke me
20724 #else
20725 char (*f) () = $ac_func;
20726 #endif
20727 #ifdef __cplusplus
20728 }
20729 #endif
20730
20731 int
20732 main ()
20733 {
20734 return f != $ac_func;
20735 ;
20736 return 0;
20737 }
20738 _ACEOF
20739 rm -f conftest.$ac_objext conftest$ac_exeext
20740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20741 (eval $ac_link) 2>conftest.er1
20742 ac_status=$?
20743 grep -v '^ *+' conftest.er1 >conftest.err
20744 rm -f conftest.er1
20745 cat conftest.err >&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); } &&
20748 { ac_try='test -z "$ac_c_werror_flag"
20749 || test ! -s conftest.err'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20752 ac_status=$?
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; } &&
20755 { ac_try='test -s conftest$ac_exeext'
20756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20757 (eval $ac_try) 2>&5
20758 ac_status=$?
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); }; }; then
20761 eval "$as_ac_var=yes"
20762 else
20763 echo "$as_me: failed program was:" >&5
20764 sed 's/^/| /' conftest.$ac_ext >&5
20765
20766 eval "$as_ac_var=no"
20767 fi
20768 rm -f conftest.err conftest.$ac_objext \
20769 conftest$ac_exeext conftest.$ac_ext
20770 fi
20771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20773 if test `eval echo '${'$as_ac_var'}'` = yes; then
20774 cat >>confdefs.h <<_ACEOF
20775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20776 _ACEOF
20777
20778 fi
20779 done
20780
20781 else
20782
20783 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20784 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20785 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20786 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20787 echo $ECHO_N "(cached) $ECHO_C" >&6
20788 else
20789
20790
20791
20792 ac_ext=cc
20793 ac_cpp='$CXXCPP $CPPFLAGS'
20794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20797
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 #include <math.h>
20805 int
20806 main ()
20807 {
20808 _frexpl(0, 0);
20809 ;
20810 return 0;
20811 }
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag"
20823 || test ! -s conftest.err'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; } &&
20829 { ac_try='test -s conftest.$ac_objext'
20830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20831 (eval $ac_try) 2>&5
20832 ac_status=$?
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); }; }; then
20835 glibcxx_cv_func__frexpl_use=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 glibcxx_cv_func__frexpl_use=no
20841 fi
20842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20843 ac_ext=c
20844 ac_cpp='$CPP $CPPFLAGS'
20845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20848
20849
20850 fi
20851
20852 fi
20853 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20854 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20855
20856 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20857
20858 for ac_func in _frexpl
20859 do
20860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20861 echo "$as_me:$LINENO: checking for $ac_func" >&5
20862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20863 if eval "test \"\${$as_ac_var+set}\" = set"; then
20864 echo $ECHO_N "(cached) $ECHO_C" >&6
20865 else
20866 if test x$gcc_no_link = xyes; then
20867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20869 { (exit 1); exit 1; }; }
20870 fi
20871 cat >conftest.$ac_ext <<_ACEOF
20872 /* confdefs.h. */
20873 _ACEOF
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20879 #define $ac_func innocuous_$ac_func
20880
20881 /* System header to define __stub macros and hopefully few prototypes,
20882 which can conflict with char $ac_func (); below.
20883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20884 <limits.h> exists even on freestanding compilers. */
20885
20886 #ifdef __STDC__
20887 # include <limits.h>
20888 #else
20889 # include <assert.h>
20890 #endif
20891
20892 #undef $ac_func
20893
20894 /* Override any gcc2 internal prototype to avoid an error. */
20895 #ifdef __cplusplus
20896 extern "C"
20897 {
20898 #endif
20899 /* We use char because int might match the return type of a gcc2
20900 builtin and then its argument prototype would still apply. */
20901 char $ac_func ();
20902 /* The GNU C library defines this for functions which it implements
20903 to always fail with ENOSYS. Some functions are actually named
20904 something starting with __ and the normal name is an alias. */
20905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20906 choke me
20907 #else
20908 char (*f) () = $ac_func;
20909 #endif
20910 #ifdef __cplusplus
20911 }
20912 #endif
20913
20914 int
20915 main ()
20916 {
20917 return f != $ac_func;
20918 ;
20919 return 0;
20920 }
20921 _ACEOF
20922 rm -f conftest.$ac_objext conftest$ac_exeext
20923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20924 (eval $ac_link) 2>conftest.er1
20925 ac_status=$?
20926 grep -v '^ *+' conftest.er1 >conftest.err
20927 rm -f conftest.er1
20928 cat conftest.err >&5
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } &&
20931 { ac_try='test -z "$ac_c_werror_flag"
20932 || test ! -s conftest.err'
20933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20934 (eval $ac_try) 2>&5
20935 ac_status=$?
20936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); }; } &&
20938 { ac_try='test -s conftest$ac_exeext'
20939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20940 (eval $ac_try) 2>&5
20941 ac_status=$?
20942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); }; }; then
20944 eval "$as_ac_var=yes"
20945 else
20946 echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20948
20949 eval "$as_ac_var=no"
20950 fi
20951 rm -f conftest.err conftest.$ac_objext \
20952 conftest$ac_exeext conftest.$ac_ext
20953 fi
20954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20956 if test `eval echo '${'$as_ac_var'}'` = yes; then
20957 cat >>confdefs.h <<_ACEOF
20958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20959 _ACEOF
20960
20961 fi
20962 done
20963
20964 fi
20965 fi
20966
20967
20968
20969 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
20970 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
20971 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
20972 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
20973 echo $ECHO_N "(cached) $ECHO_C" >&6
20974 else
20975
20976
20977
20978 ac_ext=cc
20979 ac_cpp='$CXXCPP $CPPFLAGS'
20980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20983
20984 cat >conftest.$ac_ext <<_ACEOF
20985 /* confdefs.h. */
20986 _ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 #include <math.h>
20991 int
20992 main ()
20993 {
20994 hypotl(0, 0);
20995 ;
20996 return 0;
20997 }
20998 _ACEOF
20999 rm -f conftest.$ac_objext
21000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21001 (eval $ac_compile) 2>conftest.er1
21002 ac_status=$?
21003 grep -v '^ *+' conftest.er1 >conftest.err
21004 rm -f conftest.er1
21005 cat conftest.err >&5
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } &&
21008 { ac_try='test -z "$ac_cxx_werror_flag"
21009 || test ! -s conftest.err'
21010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21011 (eval $ac_try) 2>&5
21012 ac_status=$?
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); }; } &&
21015 { ac_try='test -s conftest.$ac_objext'
21016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21017 (eval $ac_try) 2>&5
21018 ac_status=$?
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); }; }; then
21021 glibcxx_cv_func_hypotl_use=yes
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 glibcxx_cv_func_hypotl_use=no
21027 fi
21028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21029 ac_ext=c
21030 ac_cpp='$CPP $CPPFLAGS'
21031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21034
21035
21036 fi
21037
21038 fi
21039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21040 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21041
21042 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21043
21044 for ac_func in hypotl
21045 do
21046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21047 echo "$as_me:$LINENO: checking for $ac_func" >&5
21048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21049 if eval "test \"\${$as_ac_var+set}\" = set"; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test x$gcc_no_link = xyes; then
21053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21055 { (exit 1); exit 1; }; }
21056 fi
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21065 #define $ac_func innocuous_$ac_func
21066
21067 /* System header to define __stub macros and hopefully few prototypes,
21068 which can conflict with char $ac_func (); below.
21069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21070 <limits.h> exists even on freestanding compilers. */
21071
21072 #ifdef __STDC__
21073 # include <limits.h>
21074 #else
21075 # include <assert.h>
21076 #endif
21077
21078 #undef $ac_func
21079
21080 /* Override any gcc2 internal prototype to avoid an error. */
21081 #ifdef __cplusplus
21082 extern "C"
21083 {
21084 #endif
21085 /* We use char because int might match the return type of a gcc2
21086 builtin and then its argument prototype would still apply. */
21087 char $ac_func ();
21088 /* The GNU C library defines this for functions which it implements
21089 to always fail with ENOSYS. Some functions are actually named
21090 something starting with __ and the normal name is an alias. */
21091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21092 choke me
21093 #else
21094 char (*f) () = $ac_func;
21095 #endif
21096 #ifdef __cplusplus
21097 }
21098 #endif
21099
21100 int
21101 main ()
21102 {
21103 return f != $ac_func;
21104 ;
21105 return 0;
21106 }
21107 _ACEOF
21108 rm -f conftest.$ac_objext conftest$ac_exeext
21109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21110 (eval $ac_link) 2>conftest.er1
21111 ac_status=$?
21112 grep -v '^ *+' conftest.er1 >conftest.err
21113 rm -f conftest.er1
21114 cat conftest.err >&5
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); } &&
21117 { ac_try='test -z "$ac_c_werror_flag"
21118 || test ! -s conftest.err'
21119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21120 (eval $ac_try) 2>&5
21121 ac_status=$?
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); }; } &&
21124 { ac_try='test -s conftest$ac_exeext'
21125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21126 (eval $ac_try) 2>&5
21127 ac_status=$?
21128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21129 (exit $ac_status); }; }; then
21130 eval "$as_ac_var=yes"
21131 else
21132 echo "$as_me: failed program was:" >&5
21133 sed 's/^/| /' conftest.$ac_ext >&5
21134
21135 eval "$as_ac_var=no"
21136 fi
21137 rm -f conftest.err conftest.$ac_objext \
21138 conftest$ac_exeext conftest.$ac_ext
21139 fi
21140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21142 if test `eval echo '${'$as_ac_var'}'` = yes; then
21143 cat >>confdefs.h <<_ACEOF
21144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21145 _ACEOF
21146
21147 fi
21148 done
21149
21150 else
21151
21152 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21153 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21154 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21155 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21156 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 else
21158
21159
21160
21161 ac_ext=cc
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166
21167 cat >conftest.$ac_ext <<_ACEOF
21168 /* confdefs.h. */
21169 _ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 #include <math.h>
21174 int
21175 main ()
21176 {
21177 _hypotl(0, 0);
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 rm -f conftest.$ac_objext
21183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21184 (eval $ac_compile) 2>conftest.er1
21185 ac_status=$?
21186 grep -v '^ *+' conftest.er1 >conftest.err
21187 rm -f conftest.er1
21188 cat conftest.err >&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); } &&
21191 { ac_try='test -z "$ac_cxx_werror_flag"
21192 || test ! -s conftest.err'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; } &&
21198 { ac_try='test -s conftest.$ac_objext'
21199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21200 (eval $ac_try) 2>&5
21201 ac_status=$?
21202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21203 (exit $ac_status); }; }; then
21204 glibcxx_cv_func__hypotl_use=yes
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 glibcxx_cv_func__hypotl_use=no
21210 fi
21211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21212 ac_ext=c
21213 ac_cpp='$CPP $CPPFLAGS'
21214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21217
21218
21219 fi
21220
21221 fi
21222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21223 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21224
21225 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21226
21227 for ac_func in _hypotl
21228 do
21229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21230 echo "$as_me:$LINENO: checking for $ac_func" >&5
21231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21232 if eval "test \"\${$as_ac_var+set}\" = set"; then
21233 echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235 if test x$gcc_no_link = xyes; then
21236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21238 { (exit 1); exit 1; }; }
21239 fi
21240 cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h. */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h. */
21246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21248 #define $ac_func innocuous_$ac_func
21249
21250 /* System header to define __stub macros and hopefully few prototypes,
21251 which can conflict with char $ac_func (); below.
21252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21253 <limits.h> exists even on freestanding compilers. */
21254
21255 #ifdef __STDC__
21256 # include <limits.h>
21257 #else
21258 # include <assert.h>
21259 #endif
21260
21261 #undef $ac_func
21262
21263 /* Override any gcc2 internal prototype to avoid an error. */
21264 #ifdef __cplusplus
21265 extern "C"
21266 {
21267 #endif
21268 /* We use char because int might match the return type of a gcc2
21269 builtin and then its argument prototype would still apply. */
21270 char $ac_func ();
21271 /* The GNU C library defines this for functions which it implements
21272 to always fail with ENOSYS. Some functions are actually named
21273 something starting with __ and the normal name is an alias. */
21274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21275 choke me
21276 #else
21277 char (*f) () = $ac_func;
21278 #endif
21279 #ifdef __cplusplus
21280 }
21281 #endif
21282
21283 int
21284 main ()
21285 {
21286 return f != $ac_func;
21287 ;
21288 return 0;
21289 }
21290 _ACEOF
21291 rm -f conftest.$ac_objext conftest$ac_exeext
21292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21293 (eval $ac_link) 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -z "$ac_c_werror_flag"
21301 || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest$ac_exeext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 eval "$as_ac_var=yes"
21314 else
21315 echo "$as_me: failed program was:" >&5
21316 sed 's/^/| /' conftest.$ac_ext >&5
21317
21318 eval "$as_ac_var=no"
21319 fi
21320 rm -f conftest.err conftest.$ac_objext \
21321 conftest$ac_exeext conftest.$ac_ext
21322 fi
21323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21325 if test `eval echo '${'$as_ac_var'}'` = yes; then
21326 cat >>confdefs.h <<_ACEOF
21327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21328 _ACEOF
21329
21330 fi
21331 done
21332
21333 fi
21334 fi
21335
21336
21337
21338 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21339 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21340 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21341 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21342 echo $ECHO_N "(cached) $ECHO_C" >&6
21343 else
21344
21345
21346
21347 ac_ext=cc
21348 ac_cpp='$CXXCPP $CPPFLAGS'
21349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21352
21353 cat >conftest.$ac_ext <<_ACEOF
21354 /* confdefs.h. */
21355 _ACEOF
21356 cat confdefs.h >>conftest.$ac_ext
21357 cat >>conftest.$ac_ext <<_ACEOF
21358 /* end confdefs.h. */
21359 #include <math.h>
21360 int
21361 main ()
21362 {
21363 ldexpl(0, 0);
21364 ;
21365 return 0;
21366 }
21367 _ACEOF
21368 rm -f conftest.$ac_objext
21369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21370 (eval $ac_compile) 2>conftest.er1
21371 ac_status=$?
21372 grep -v '^ *+' conftest.er1 >conftest.err
21373 rm -f conftest.er1
21374 cat conftest.err >&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } &&
21377 { ac_try='test -z "$ac_cxx_werror_flag"
21378 || test ! -s conftest.err'
21379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21380 (eval $ac_try) 2>&5
21381 ac_status=$?
21382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); }; } &&
21384 { ac_try='test -s conftest.$ac_objext'
21385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21386 (eval $ac_try) 2>&5
21387 ac_status=$?
21388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389 (exit $ac_status); }; }; then
21390 glibcxx_cv_func_ldexpl_use=yes
21391 else
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21394
21395 glibcxx_cv_func_ldexpl_use=no
21396 fi
21397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21398 ac_ext=c
21399 ac_cpp='$CPP $CPPFLAGS'
21400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21403
21404
21405 fi
21406
21407 fi
21408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21409 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21410
21411 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21412
21413 for ac_func in ldexpl
21414 do
21415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21416 echo "$as_me:$LINENO: checking for $ac_func" >&5
21417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21418 if eval "test \"\${$as_ac_var+set}\" = set"; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21420 else
21421 if test x$gcc_no_link = xyes; then
21422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21424 { (exit 1); exit 1; }; }
21425 fi
21426 cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h. */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h. */
21432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21434 #define $ac_func innocuous_$ac_func
21435
21436 /* System header to define __stub macros and hopefully few prototypes,
21437 which can conflict with char $ac_func (); below.
21438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21439 <limits.h> exists even on freestanding compilers. */
21440
21441 #ifdef __STDC__
21442 # include <limits.h>
21443 #else
21444 # include <assert.h>
21445 #endif
21446
21447 #undef $ac_func
21448
21449 /* Override any gcc2 internal prototype to avoid an error. */
21450 #ifdef __cplusplus
21451 extern "C"
21452 {
21453 #endif
21454 /* We use char because int might match the return type of a gcc2
21455 builtin and then its argument prototype would still apply. */
21456 char $ac_func ();
21457 /* The GNU C library defines this for functions which it implements
21458 to always fail with ENOSYS. Some functions are actually named
21459 something starting with __ and the normal name is an alias. */
21460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21461 choke me
21462 #else
21463 char (*f) () = $ac_func;
21464 #endif
21465 #ifdef __cplusplus
21466 }
21467 #endif
21468
21469 int
21470 main ()
21471 {
21472 return f != $ac_func;
21473 ;
21474 return 0;
21475 }
21476 _ACEOF
21477 rm -f conftest.$ac_objext conftest$ac_exeext
21478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21479 (eval $ac_link) 2>conftest.er1
21480 ac_status=$?
21481 grep -v '^ *+' conftest.er1 >conftest.err
21482 rm -f conftest.er1
21483 cat conftest.err >&5
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); } &&
21486 { ac_try='test -z "$ac_c_werror_flag"
21487 || test ! -s conftest.err'
21488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21489 (eval $ac_try) 2>&5
21490 ac_status=$?
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); }; } &&
21493 { ac_try='test -s conftest$ac_exeext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21496 ac_status=$?
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 eval "$as_ac_var=yes"
21500 else
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21503
21504 eval "$as_ac_var=no"
21505 fi
21506 rm -f conftest.err conftest.$ac_objext \
21507 conftest$ac_exeext conftest.$ac_ext
21508 fi
21509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21511 if test `eval echo '${'$as_ac_var'}'` = yes; then
21512 cat >>confdefs.h <<_ACEOF
21513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21514 _ACEOF
21515
21516 fi
21517 done
21518
21519 else
21520
21521 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21522 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21523 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21524 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21527
21528
21529
21530 ac_ext=cc
21531 ac_cpp='$CXXCPP $CPPFLAGS'
21532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21535
21536 cat >conftest.$ac_ext <<_ACEOF
21537 /* confdefs.h. */
21538 _ACEOF
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 #include <math.h>
21543 int
21544 main ()
21545 {
21546 _ldexpl(0, 0);
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21553 (eval $ac_compile) 2>conftest.er1
21554 ac_status=$?
21555 grep -v '^ *+' conftest.er1 >conftest.err
21556 rm -f conftest.er1
21557 cat conftest.err >&5
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); } &&
21560 { ac_try='test -z "$ac_cxx_werror_flag"
21561 || test ! -s conftest.err'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21564 ac_status=$?
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; } &&
21567 { ac_try='test -s conftest.$ac_objext'
21568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21569 (eval $ac_try) 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 glibcxx_cv_func__ldexpl_use=yes
21574 else
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21577
21578 glibcxx_cv_func__ldexpl_use=no
21579 fi
21580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21581 ac_ext=c
21582 ac_cpp='$CPP $CPPFLAGS'
21583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21586
21587
21588 fi
21589
21590 fi
21591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21592 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21593
21594 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21595
21596 for ac_func in _ldexpl
21597 do
21598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21599 echo "$as_me:$LINENO: checking for $ac_func" >&5
21600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21601 if eval "test \"\${$as_ac_var+set}\" = set"; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 else
21604 if test x$gcc_no_link = xyes; then
21605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21607 { (exit 1); exit 1; }; }
21608 fi
21609 cat >conftest.$ac_ext <<_ACEOF
21610 /* confdefs.h. */
21611 _ACEOF
21612 cat confdefs.h >>conftest.$ac_ext
21613 cat >>conftest.$ac_ext <<_ACEOF
21614 /* end confdefs.h. */
21615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21617 #define $ac_func innocuous_$ac_func
21618
21619 /* System header to define __stub macros and hopefully few prototypes,
21620 which can conflict with char $ac_func (); below.
21621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21622 <limits.h> exists even on freestanding compilers. */
21623
21624 #ifdef __STDC__
21625 # include <limits.h>
21626 #else
21627 # include <assert.h>
21628 #endif
21629
21630 #undef $ac_func
21631
21632 /* Override any gcc2 internal prototype to avoid an error. */
21633 #ifdef __cplusplus
21634 extern "C"
21635 {
21636 #endif
21637 /* We use char because int might match the return type of a gcc2
21638 builtin and then its argument prototype would still apply. */
21639 char $ac_func ();
21640 /* The GNU C library defines this for functions which it implements
21641 to always fail with ENOSYS. Some functions are actually named
21642 something starting with __ and the normal name is an alias. */
21643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21644 choke me
21645 #else
21646 char (*f) () = $ac_func;
21647 #endif
21648 #ifdef __cplusplus
21649 }
21650 #endif
21651
21652 int
21653 main ()
21654 {
21655 return f != $ac_func;
21656 ;
21657 return 0;
21658 }
21659 _ACEOF
21660 rm -f conftest.$ac_objext conftest$ac_exeext
21661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21662 (eval $ac_link) 2>conftest.er1
21663 ac_status=$?
21664 grep -v '^ *+' conftest.er1 >conftest.err
21665 rm -f conftest.er1
21666 cat conftest.err >&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try='test -z "$ac_c_werror_flag"
21670 || test ! -s conftest.err'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21673 ac_status=$?
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; } &&
21676 { ac_try='test -s conftest$ac_exeext'
21677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21678 (eval $ac_try) 2>&5
21679 ac_status=$?
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; }; then
21682 eval "$as_ac_var=yes"
21683 else
21684 echo "$as_me: failed program was:" >&5
21685 sed 's/^/| /' conftest.$ac_ext >&5
21686
21687 eval "$as_ac_var=no"
21688 fi
21689 rm -f conftest.err conftest.$ac_objext \
21690 conftest$ac_exeext conftest.$ac_ext
21691 fi
21692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21694 if test `eval echo '${'$as_ac_var'}'` = yes; then
21695 cat >>confdefs.h <<_ACEOF
21696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21697 _ACEOF
21698
21699 fi
21700 done
21701
21702 fi
21703 fi
21704
21705
21706
21707 echo "$as_me:$LINENO: checking for logl declaration" >&5
21708 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21710 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21712 else
21713
21714
21715
21716 ac_ext=cc
21717 ac_cpp='$CXXCPP $CPPFLAGS'
21718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21721
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21732
21733 int
21734 main ()
21735 {
21736 logl(0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 rm -f conftest.$ac_objext
21742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21743 (eval $ac_compile) 2>conftest.er1
21744 ac_status=$?
21745 grep -v '^ *+' conftest.er1 >conftest.err
21746 rm -f conftest.er1
21747 cat conftest.err >&5
21748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21749 (exit $ac_status); } &&
21750 { ac_try='test -z "$ac_cxx_werror_flag"
21751 || test ! -s conftest.err'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21760 ac_status=$?
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 glibcxx_cv_func_logl_use=yes
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21767
21768 glibcxx_cv_func_logl_use=no
21769 fi
21770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21771 ac_ext=c
21772 ac_cpp='$CPP $CPPFLAGS'
21773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21776
21777
21778 fi
21779
21780 fi
21781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21782 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21783
21784 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21785
21786 for ac_func in logl
21787 do
21788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21789 echo "$as_me:$LINENO: checking for $ac_func" >&5
21790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21791 if eval "test \"\${$as_ac_var+set}\" = set"; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21793 else
21794 if test x$gcc_no_link = xyes; then
21795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21797 { (exit 1); exit 1; }; }
21798 fi
21799 cat >conftest.$ac_ext <<_ACEOF
21800 /* confdefs.h. */
21801 _ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21807 #define $ac_func innocuous_$ac_func
21808
21809 /* System header to define __stub macros and hopefully few prototypes,
21810 which can conflict with char $ac_func (); below.
21811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21812 <limits.h> exists even on freestanding compilers. */
21813
21814 #ifdef __STDC__
21815 # include <limits.h>
21816 #else
21817 # include <assert.h>
21818 #endif
21819
21820 #undef $ac_func
21821
21822 /* Override any gcc2 internal prototype to avoid an error. */
21823 #ifdef __cplusplus
21824 extern "C"
21825 {
21826 #endif
21827 /* We use char because int might match the return type of a gcc2
21828 builtin and then its argument prototype would still apply. */
21829 char $ac_func ();
21830 /* The GNU C library defines this for functions which it implements
21831 to always fail with ENOSYS. Some functions are actually named
21832 something starting with __ and the normal name is an alias. */
21833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21834 choke me
21835 #else
21836 char (*f) () = $ac_func;
21837 #endif
21838 #ifdef __cplusplus
21839 }
21840 #endif
21841
21842 int
21843 main ()
21844 {
21845 return f != $ac_func;
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 rm -f conftest.$ac_objext conftest$ac_exeext
21851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21852 (eval $ac_link) 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } &&
21859 { ac_try='test -z "$ac_c_werror_flag"
21860 || test ! -s conftest.err'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21863 ac_status=$?
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; } &&
21866 { ac_try='test -s conftest$ac_exeext'
21867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21868 (eval $ac_try) 2>&5
21869 ac_status=$?
21870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21871 (exit $ac_status); }; }; then
21872 eval "$as_ac_var=yes"
21873 else
21874 echo "$as_me: failed program was:" >&5
21875 sed 's/^/| /' conftest.$ac_ext >&5
21876
21877 eval "$as_ac_var=no"
21878 fi
21879 rm -f conftest.err conftest.$ac_objext \
21880 conftest$ac_exeext conftest.$ac_ext
21881 fi
21882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21884 if test `eval echo '${'$as_ac_var'}'` = yes; then
21885 cat >>confdefs.h <<_ACEOF
21886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21887 _ACEOF
21888
21889 fi
21890 done
21891
21892 else
21893
21894 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21895 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21896 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21897 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21898 echo $ECHO_N "(cached) $ECHO_C" >&6
21899 else
21900
21901
21902
21903 ac_ext=cc
21904 ac_cpp='$CXXCPP $CPPFLAGS'
21905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21908
21909 cat >conftest.$ac_ext <<_ACEOF
21910 /* confdefs.h. */
21911 _ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <math.h>
21916 #ifdef HAVE_IEEEFP_H
21917 #include <ieeefp.h>
21918 #endif
21919
21920 int
21921 main ()
21922 {
21923 _logl(0);
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_cxx_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest.$ac_objext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 glibcxx_cv_func__logl_use=yes
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21954
21955 glibcxx_cv_func__logl_use=no
21956 fi
21957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21963
21964
21965 fi
21966
21967 fi
21968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
21969 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
21970
21971 if test x$glibcxx_cv_func__logl_use = x"yes"; then
21972
21973 for ac_func in _logl
21974 do
21975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21976 echo "$as_me:$LINENO: checking for $ac_func" >&5
21977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21978 if eval "test \"\${$as_ac_var+set}\" = set"; then
21979 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 else
21981 if test x$gcc_no_link = xyes; then
21982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21984 { (exit 1); exit 1; }; }
21985 fi
21986 cat >conftest.$ac_ext <<_ACEOF
21987 /* confdefs.h. */
21988 _ACEOF
21989 cat confdefs.h >>conftest.$ac_ext
21990 cat >>conftest.$ac_ext <<_ACEOF
21991 /* end confdefs.h. */
21992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21994 #define $ac_func innocuous_$ac_func
21995
21996 /* System header to define __stub macros and hopefully few prototypes,
21997 which can conflict with char $ac_func (); below.
21998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21999 <limits.h> exists even on freestanding compilers. */
22000
22001 #ifdef __STDC__
22002 # include <limits.h>
22003 #else
22004 # include <assert.h>
22005 #endif
22006
22007 #undef $ac_func
22008
22009 /* Override any gcc2 internal prototype to avoid an error. */
22010 #ifdef __cplusplus
22011 extern "C"
22012 {
22013 #endif
22014 /* We use char because int might match the return type of a gcc2
22015 builtin and then its argument prototype would still apply. */
22016 char $ac_func ();
22017 /* The GNU C library defines this for functions which it implements
22018 to always fail with ENOSYS. Some functions are actually named
22019 something starting with __ and the normal name is an alias. */
22020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22021 choke me
22022 #else
22023 char (*f) () = $ac_func;
22024 #endif
22025 #ifdef __cplusplus
22026 }
22027 #endif
22028
22029 int
22030 main ()
22031 {
22032 return f != $ac_func;
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext conftest$ac_exeext
22038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22039 (eval $ac_link) 2>conftest.er1
22040 ac_status=$?
22041 grep -v '^ *+' conftest.er1 >conftest.err
22042 rm -f conftest.er1
22043 cat conftest.err >&5
22044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22045 (exit $ac_status); } &&
22046 { ac_try='test -z "$ac_c_werror_flag"
22047 || test ! -s conftest.err'
22048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22049 (eval $ac_try) 2>&5
22050 ac_status=$?
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); }; } &&
22053 { ac_try='test -s conftest$ac_exeext'
22054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22055 (eval $ac_try) 2>&5
22056 ac_status=$?
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; }; then
22059 eval "$as_ac_var=yes"
22060 else
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.$ac_ext >&5
22063
22064 eval "$as_ac_var=no"
22065 fi
22066 rm -f conftest.err conftest.$ac_objext \
22067 conftest$ac_exeext conftest.$ac_ext
22068 fi
22069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22071 if test `eval echo '${'$as_ac_var'}'` = yes; then
22072 cat >>confdefs.h <<_ACEOF
22073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22074 _ACEOF
22075
22076 fi
22077 done
22078
22079 fi
22080 fi
22081
22082
22083
22084 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22085 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22086 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22087 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22090
22091
22092
22093 ac_ext=cc
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098
22099 cat >conftest.$ac_ext <<_ACEOF
22100 /* confdefs.h. */
22101 _ACEOF
22102 cat confdefs.h >>conftest.$ac_ext
22103 cat >>conftest.$ac_ext <<_ACEOF
22104 /* end confdefs.h. */
22105 #include <math.h>
22106 #ifdef HAVE_IEEEFP_H
22107 #include <ieeefp.h>
22108 #endif
22109
22110 int
22111 main ()
22112 {
22113 log10l(0);
22114 ;
22115 return 0;
22116 }
22117 _ACEOF
22118 rm -f conftest.$ac_objext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22120 (eval $ac_compile) 2>conftest.er1
22121 ac_status=$?
22122 grep -v '^ *+' conftest.er1 >conftest.err
22123 rm -f conftest.er1
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_cxx_werror_flag"
22128 || test ! -s conftest.err'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22131 ac_status=$?
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 glibcxx_cv_func_log10l_use=yes
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 glibcxx_cv_func_log10l_use=no
22146 fi
22147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22148 ac_ext=c
22149 ac_cpp='$CPP $CPPFLAGS'
22150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22153
22154
22155 fi
22156
22157 fi
22158 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22159 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22160
22161 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22162
22163 for ac_func in log10l
22164 do
22165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22166 echo "$as_me:$LINENO: checking for $ac_func" >&5
22167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22168 if eval "test \"\${$as_ac_var+set}\" = set"; then
22169 echo $ECHO_N "(cached) $ECHO_C" >&6
22170 else
22171 if test x$gcc_no_link = xyes; then
22172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22174 { (exit 1); exit 1; }; }
22175 fi
22176 cat >conftest.$ac_ext <<_ACEOF
22177 /* confdefs.h. */
22178 _ACEOF
22179 cat confdefs.h >>conftest.$ac_ext
22180 cat >>conftest.$ac_ext <<_ACEOF
22181 /* end confdefs.h. */
22182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22184 #define $ac_func innocuous_$ac_func
22185
22186 /* System header to define __stub macros and hopefully few prototypes,
22187 which can conflict with char $ac_func (); below.
22188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22189 <limits.h> exists even on freestanding compilers. */
22190
22191 #ifdef __STDC__
22192 # include <limits.h>
22193 #else
22194 # include <assert.h>
22195 #endif
22196
22197 #undef $ac_func
22198
22199 /* Override any gcc2 internal prototype to avoid an error. */
22200 #ifdef __cplusplus
22201 extern "C"
22202 {
22203 #endif
22204 /* We use char because int might match the return type of a gcc2
22205 builtin and then its argument prototype would still apply. */
22206 char $ac_func ();
22207 /* The GNU C library defines this for functions which it implements
22208 to always fail with ENOSYS. Some functions are actually named
22209 something starting with __ and the normal name is an alias. */
22210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22211 choke me
22212 #else
22213 char (*f) () = $ac_func;
22214 #endif
22215 #ifdef __cplusplus
22216 }
22217 #endif
22218
22219 int
22220 main ()
22221 {
22222 return f != $ac_func;
22223 ;
22224 return 0;
22225 }
22226 _ACEOF
22227 rm -f conftest.$ac_objext conftest$ac_exeext
22228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22229 (eval $ac_link) 2>conftest.er1
22230 ac_status=$?
22231 grep -v '^ *+' conftest.er1 >conftest.err
22232 rm -f conftest.er1
22233 cat conftest.err >&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } &&
22236 { ac_try='test -z "$ac_c_werror_flag"
22237 || test ! -s conftest.err'
22238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22239 (eval $ac_try) 2>&5
22240 ac_status=$?
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); }; } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 eval "$as_ac_var=yes"
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 eval "$as_ac_var=no"
22255 fi
22256 rm -f conftest.err conftest.$ac_objext \
22257 conftest$ac_exeext conftest.$ac_ext
22258 fi
22259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22261 if test `eval echo '${'$as_ac_var'}'` = yes; then
22262 cat >>confdefs.h <<_ACEOF
22263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22264 _ACEOF
22265
22266 fi
22267 done
22268
22269 else
22270
22271 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22272 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22273 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22274 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22276 else
22277
22278
22279
22280 ac_ext=cc
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22285
22286 cat >conftest.$ac_ext <<_ACEOF
22287 /* confdefs.h. */
22288 _ACEOF
22289 cat confdefs.h >>conftest.$ac_ext
22290 cat >>conftest.$ac_ext <<_ACEOF
22291 /* end confdefs.h. */
22292 #include <math.h>
22293 #ifdef HAVE_IEEEFP_H
22294 #include <ieeefp.h>
22295 #endif
22296
22297 int
22298 main ()
22299 {
22300 _log10l(0);
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest.$ac_objext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22307 (eval $ac_compile) 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -z "$ac_cxx_werror_flag"
22315 || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 glibcxx_cv_func__log10l_use=yes
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22331
22332 glibcxx_cv_func__log10l_use=no
22333 fi
22334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22335 ac_ext=c
22336 ac_cpp='$CPP $CPPFLAGS'
22337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22340
22341
22342 fi
22343
22344 fi
22345 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22346 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22347
22348 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22349
22350 for ac_func in _log10l
22351 do
22352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22353 echo "$as_me:$LINENO: checking for $ac_func" >&5
22354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22355 if eval "test \"\${$as_ac_var+set}\" = set"; then
22356 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 else
22358 if test x$gcc_no_link = xyes; then
22359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22361 { (exit 1); exit 1; }; }
22362 fi
22363 cat >conftest.$ac_ext <<_ACEOF
22364 /* confdefs.h. */
22365 _ACEOF
22366 cat confdefs.h >>conftest.$ac_ext
22367 cat >>conftest.$ac_ext <<_ACEOF
22368 /* end confdefs.h. */
22369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22371 #define $ac_func innocuous_$ac_func
22372
22373 /* System header to define __stub macros and hopefully few prototypes,
22374 which can conflict with char $ac_func (); below.
22375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22376 <limits.h> exists even on freestanding compilers. */
22377
22378 #ifdef __STDC__
22379 # include <limits.h>
22380 #else
22381 # include <assert.h>
22382 #endif
22383
22384 #undef $ac_func
22385
22386 /* Override any gcc2 internal prototype to avoid an error. */
22387 #ifdef __cplusplus
22388 extern "C"
22389 {
22390 #endif
22391 /* We use char because int might match the return type of a gcc2
22392 builtin and then its argument prototype would still apply. */
22393 char $ac_func ();
22394 /* The GNU C library defines this for functions which it implements
22395 to always fail with ENOSYS. Some functions are actually named
22396 something starting with __ and the normal name is an alias. */
22397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22398 choke me
22399 #else
22400 char (*f) () = $ac_func;
22401 #endif
22402 #ifdef __cplusplus
22403 }
22404 #endif
22405
22406 int
22407 main ()
22408 {
22409 return f != $ac_func;
22410 ;
22411 return 0;
22412 }
22413 _ACEOF
22414 rm -f conftest.$ac_objext conftest$ac_exeext
22415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22416 (eval $ac_link) 2>conftest.er1
22417 ac_status=$?
22418 grep -v '^ *+' conftest.er1 >conftest.err
22419 rm -f conftest.er1
22420 cat conftest.err >&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -z "$ac_c_werror_flag"
22424 || test ! -s conftest.err'
22425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22426 (eval $ac_try) 2>&5
22427 ac_status=$?
22428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22429 (exit $ac_status); }; } &&
22430 { ac_try='test -s conftest$ac_exeext'
22431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22432 (eval $ac_try) 2>&5
22433 ac_status=$?
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); }; }; then
22436 eval "$as_ac_var=yes"
22437 else
22438 echo "$as_me: failed program was:" >&5
22439 sed 's/^/| /' conftest.$ac_ext >&5
22440
22441 eval "$as_ac_var=no"
22442 fi
22443 rm -f conftest.err conftest.$ac_objext \
22444 conftest$ac_exeext conftest.$ac_ext
22445 fi
22446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22448 if test `eval echo '${'$as_ac_var'}'` = yes; then
22449 cat >>confdefs.h <<_ACEOF
22450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22451 _ACEOF
22452
22453 fi
22454 done
22455
22456 fi
22457 fi
22458
22459
22460
22461 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22462 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22463 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22464 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22465 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 else
22467
22468
22469
22470 ac_ext=cc
22471 ac_cpp='$CXXCPP $CPPFLAGS'
22472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22475
22476 cat >conftest.$ac_ext <<_ACEOF
22477 /* confdefs.h. */
22478 _ACEOF
22479 cat confdefs.h >>conftest.$ac_ext
22480 cat >>conftest.$ac_ext <<_ACEOF
22481 /* end confdefs.h. */
22482 #include <math.h>
22483 int
22484 main ()
22485 {
22486 modfl(0, 0);
22487 ;
22488 return 0;
22489 }
22490 _ACEOF
22491 rm -f conftest.$ac_objext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22493 (eval $ac_compile) 2>conftest.er1
22494 ac_status=$?
22495 grep -v '^ *+' conftest.er1 >conftest.err
22496 rm -f conftest.er1
22497 cat conftest.err >&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } &&
22500 { ac_try='test -z "$ac_cxx_werror_flag"
22501 || test ! -s conftest.err'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22504 ac_status=$?
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; } &&
22507 { ac_try='test -s conftest.$ac_objext'
22508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22509 (eval $ac_try) 2>&5
22510 ac_status=$?
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); }; }; then
22513 glibcxx_cv_func_modfl_use=yes
22514 else
22515 echo "$as_me: failed program was:" >&5
22516 sed 's/^/| /' conftest.$ac_ext >&5
22517
22518 glibcxx_cv_func_modfl_use=no
22519 fi
22520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22521 ac_ext=c
22522 ac_cpp='$CPP $CPPFLAGS'
22523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526
22527
22528 fi
22529
22530 fi
22531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22532 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22533
22534 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22535
22536 for ac_func in modfl
22537 do
22538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22539 echo "$as_me:$LINENO: checking for $ac_func" >&5
22540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22541 if eval "test \"\${$as_ac_var+set}\" = set"; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 if test x$gcc_no_link = xyes; then
22545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22547 { (exit 1); exit 1; }; }
22548 fi
22549 cat >conftest.$ac_ext <<_ACEOF
22550 /* confdefs.h. */
22551 _ACEOF
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22557 #define $ac_func innocuous_$ac_func
22558
22559 /* System header to define __stub macros and hopefully few prototypes,
22560 which can conflict with char $ac_func (); below.
22561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22562 <limits.h> exists even on freestanding compilers. */
22563
22564 #ifdef __STDC__
22565 # include <limits.h>
22566 #else
22567 # include <assert.h>
22568 #endif
22569
22570 #undef $ac_func
22571
22572 /* Override any gcc2 internal prototype to avoid an error. */
22573 #ifdef __cplusplus
22574 extern "C"
22575 {
22576 #endif
22577 /* We use char because int might match the return type of a gcc2
22578 builtin and then its argument prototype would still apply. */
22579 char $ac_func ();
22580 /* The GNU C library defines this for functions which it implements
22581 to always fail with ENOSYS. Some functions are actually named
22582 something starting with __ and the normal name is an alias. */
22583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22584 choke me
22585 #else
22586 char (*f) () = $ac_func;
22587 #endif
22588 #ifdef __cplusplus
22589 }
22590 #endif
22591
22592 int
22593 main ()
22594 {
22595 return f != $ac_func;
22596 ;
22597 return 0;
22598 }
22599 _ACEOF
22600 rm -f conftest.$ac_objext conftest$ac_exeext
22601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22602 (eval $ac_link) 2>conftest.er1
22603 ac_status=$?
22604 grep -v '^ *+' conftest.er1 >conftest.err
22605 rm -f conftest.er1
22606 cat conftest.err >&5
22607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22608 (exit $ac_status); } &&
22609 { ac_try='test -z "$ac_c_werror_flag"
22610 || test ! -s conftest.err'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; } &&
22616 { ac_try='test -s conftest$ac_exeext'
22617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22618 (eval $ac_try) 2>&5
22619 ac_status=$?
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); }; }; then
22622 eval "$as_ac_var=yes"
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22626
22627 eval "$as_ac_var=no"
22628 fi
22629 rm -f conftest.err conftest.$ac_objext \
22630 conftest$ac_exeext conftest.$ac_ext
22631 fi
22632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22634 if test `eval echo '${'$as_ac_var'}'` = yes; then
22635 cat >>confdefs.h <<_ACEOF
22636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22637 _ACEOF
22638
22639 fi
22640 done
22641
22642 else
22643
22644 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22645 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22647 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22649 else
22650
22651
22652
22653 ac_ext=cc
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659 cat >conftest.$ac_ext <<_ACEOF
22660 /* confdefs.h. */
22661 _ACEOF
22662 cat confdefs.h >>conftest.$ac_ext
22663 cat >>conftest.$ac_ext <<_ACEOF
22664 /* end confdefs.h. */
22665 #include <math.h>
22666 int
22667 main ()
22668 {
22669 _modfl(0, 0);
22670 ;
22671 return 0;
22672 }
22673 _ACEOF
22674 rm -f conftest.$ac_objext
22675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22676 (eval $ac_compile) 2>conftest.er1
22677 ac_status=$?
22678 grep -v '^ *+' conftest.er1 >conftest.err
22679 rm -f conftest.er1
22680 cat conftest.err >&5
22681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22682 (exit $ac_status); } &&
22683 { ac_try='test -z "$ac_cxx_werror_flag"
22684 || test ! -s conftest.err'
22685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22686 (eval $ac_try) 2>&5
22687 ac_status=$?
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); }; } &&
22690 { ac_try='test -s conftest.$ac_objext'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; }; then
22696 glibcxx_cv_func__modfl_use=yes
22697 else
22698 echo "$as_me: failed program was:" >&5
22699 sed 's/^/| /' conftest.$ac_ext >&5
22700
22701 glibcxx_cv_func__modfl_use=no
22702 fi
22703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22704 ac_ext=c
22705 ac_cpp='$CPP $CPPFLAGS'
22706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22709
22710
22711 fi
22712
22713 fi
22714 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22715 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22716
22717 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22718
22719 for ac_func in _modfl
22720 do
22721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22722 echo "$as_me:$LINENO: checking for $ac_func" >&5
22723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22724 if eval "test \"\${$as_ac_var+set}\" = set"; then
22725 echo $ECHO_N "(cached) $ECHO_C" >&6
22726 else
22727 if test x$gcc_no_link = xyes; then
22728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22730 { (exit 1); exit 1; }; }
22731 fi
22732 cat >conftest.$ac_ext <<_ACEOF
22733 /* confdefs.h. */
22734 _ACEOF
22735 cat confdefs.h >>conftest.$ac_ext
22736 cat >>conftest.$ac_ext <<_ACEOF
22737 /* end confdefs.h. */
22738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22740 #define $ac_func innocuous_$ac_func
22741
22742 /* System header to define __stub macros and hopefully few prototypes,
22743 which can conflict with char $ac_func (); below.
22744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22745 <limits.h> exists even on freestanding compilers. */
22746
22747 #ifdef __STDC__
22748 # include <limits.h>
22749 #else
22750 # include <assert.h>
22751 #endif
22752
22753 #undef $ac_func
22754
22755 /* Override any gcc2 internal prototype to avoid an error. */
22756 #ifdef __cplusplus
22757 extern "C"
22758 {
22759 #endif
22760 /* We use char because int might match the return type of a gcc2
22761 builtin and then its argument prototype would still apply. */
22762 char $ac_func ();
22763 /* The GNU C library defines this for functions which it implements
22764 to always fail with ENOSYS. Some functions are actually named
22765 something starting with __ and the normal name is an alias. */
22766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22767 choke me
22768 #else
22769 char (*f) () = $ac_func;
22770 #endif
22771 #ifdef __cplusplus
22772 }
22773 #endif
22774
22775 int
22776 main ()
22777 {
22778 return f != $ac_func;
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest.$ac_objext conftest$ac_exeext
22784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22785 (eval $ac_link) 2>conftest.er1
22786 ac_status=$?
22787 grep -v '^ *+' conftest.er1 >conftest.err
22788 rm -f conftest.er1
22789 cat conftest.err >&5
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); } &&
22792 { ac_try='test -z "$ac_c_werror_flag"
22793 || test ! -s conftest.err'
22794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22795 (eval $ac_try) 2>&5
22796 ac_status=$?
22797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798 (exit $ac_status); }; } &&
22799 { ac_try='test -s conftest$ac_exeext'
22800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22801 (eval $ac_try) 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 eval "$as_ac_var=yes"
22806 else
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22809
22810 eval "$as_ac_var=no"
22811 fi
22812 rm -f conftest.err conftest.$ac_objext \
22813 conftest$ac_exeext conftest.$ac_ext
22814 fi
22815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22817 if test `eval echo '${'$as_ac_var'}'` = yes; then
22818 cat >>confdefs.h <<_ACEOF
22819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22820 _ACEOF
22821
22822 fi
22823 done
22824
22825 fi
22826 fi
22827
22828
22829
22830 echo "$as_me:$LINENO: checking for powl declaration" >&5
22831 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22832 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22833 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22836
22837
22838
22839 ac_ext=cc
22840 ac_cpp='$CXXCPP $CPPFLAGS'
22841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22844
22845 cat >conftest.$ac_ext <<_ACEOF
22846 /* confdefs.h. */
22847 _ACEOF
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 #include <math.h>
22852 int
22853 main ()
22854 {
22855 powl(0, 0);
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22862 (eval $ac_compile) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_cxx_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try='test -s conftest.$ac_objext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 glibcxx_cv_func_powl_use=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22886
22887 glibcxx_cv_func_powl_use=no
22888 fi
22889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22890 ac_ext=c
22891 ac_cpp='$CPP $CPPFLAGS'
22892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22895
22896
22897 fi
22898
22899 fi
22900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22901 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22902
22903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22904
22905 for ac_func in powl
22906 do
22907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22908 echo "$as_me:$LINENO: checking for $ac_func" >&5
22909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22910 if eval "test \"\${$as_ac_var+set}\" = set"; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22912 else
22913 if test x$gcc_no_link = xyes; then
22914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22916 { (exit 1); exit 1; }; }
22917 fi
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22926 #define $ac_func innocuous_$ac_func
22927
22928 /* System header to define __stub macros and hopefully few prototypes,
22929 which can conflict with char $ac_func (); below.
22930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22931 <limits.h> exists even on freestanding compilers. */
22932
22933 #ifdef __STDC__
22934 # include <limits.h>
22935 #else
22936 # include <assert.h>
22937 #endif
22938
22939 #undef $ac_func
22940
22941 /* Override any gcc2 internal prototype to avoid an error. */
22942 #ifdef __cplusplus
22943 extern "C"
22944 {
22945 #endif
22946 /* We use char because int might match the return type of a gcc2
22947 builtin and then its argument prototype would still apply. */
22948 char $ac_func ();
22949 /* The GNU C library defines this for functions which it implements
22950 to always fail with ENOSYS. Some functions are actually named
22951 something starting with __ and the normal name is an alias. */
22952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22953 choke me
22954 #else
22955 char (*f) () = $ac_func;
22956 #endif
22957 #ifdef __cplusplus
22958 }
22959 #endif
22960
22961 int
22962 main ()
22963 {
22964 return f != $ac_func;
22965 ;
22966 return 0;
22967 }
22968 _ACEOF
22969 rm -f conftest.$ac_objext conftest$ac_exeext
22970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22971 (eval $ac_link) 2>conftest.er1
22972 ac_status=$?
22973 grep -v '^ *+' conftest.er1 >conftest.err
22974 rm -f conftest.er1
22975 cat conftest.err >&5
22976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22977 (exit $ac_status); } &&
22978 { ac_try='test -z "$ac_c_werror_flag"
22979 || test ! -s conftest.err'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22982 ac_status=$?
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; } &&
22985 { ac_try='test -s conftest$ac_exeext'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; }; then
22991 eval "$as_ac_var=yes"
22992 else
22993 echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22995
22996 eval "$as_ac_var=no"
22997 fi
22998 rm -f conftest.err conftest.$ac_objext \
22999 conftest$ac_exeext conftest.$ac_ext
23000 fi
23001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23003 if test `eval echo '${'$as_ac_var'}'` = yes; then
23004 cat >>confdefs.h <<_ACEOF
23005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23006 _ACEOF
23007
23008 fi
23009 done
23010
23011 else
23012
23013 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23014 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23015 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23016 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23017 echo $ECHO_N "(cached) $ECHO_C" >&6
23018 else
23019
23020
23021
23022 ac_ext=cc
23023 ac_cpp='$CXXCPP $CPPFLAGS'
23024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23027
23028 cat >conftest.$ac_ext <<_ACEOF
23029 /* confdefs.h. */
23030 _ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 #include <math.h>
23035 int
23036 main ()
23037 {
23038 _powl(0, 0);
23039 ;
23040 return 0;
23041 }
23042 _ACEOF
23043 rm -f conftest.$ac_objext
23044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23045 (eval $ac_compile) 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } &&
23052 { ac_try='test -z "$ac_cxx_werror_flag"
23053 || test ! -s conftest.err'
23054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23055 (eval $ac_try) 2>&5
23056 ac_status=$?
23057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23058 (exit $ac_status); }; } &&
23059 { ac_try='test -s conftest.$ac_objext'
23060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23061 (eval $ac_try) 2>&5
23062 ac_status=$?
23063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23064 (exit $ac_status); }; }; then
23065 glibcxx_cv_func__powl_use=yes
23066 else
23067 echo "$as_me: failed program was:" >&5
23068 sed 's/^/| /' conftest.$ac_ext >&5
23069
23070 glibcxx_cv_func__powl_use=no
23071 fi
23072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23073 ac_ext=c
23074 ac_cpp='$CPP $CPPFLAGS'
23075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23078
23079
23080 fi
23081
23082 fi
23083 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23084 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23085
23086 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23087
23088 for ac_func in _powl
23089 do
23090 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23091 echo "$as_me:$LINENO: checking for $ac_func" >&5
23092 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23093 if eval "test \"\${$as_ac_var+set}\" = set"; then
23094 echo $ECHO_N "(cached) $ECHO_C" >&6
23095 else
23096 if test x$gcc_no_link = xyes; then
23097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23099 { (exit 1); exit 1; }; }
23100 fi
23101 cat >conftest.$ac_ext <<_ACEOF
23102 /* confdefs.h. */
23103 _ACEOF
23104 cat confdefs.h >>conftest.$ac_ext
23105 cat >>conftest.$ac_ext <<_ACEOF
23106 /* end confdefs.h. */
23107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23109 #define $ac_func innocuous_$ac_func
23110
23111 /* System header to define __stub macros and hopefully few prototypes,
23112 which can conflict with char $ac_func (); below.
23113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23114 <limits.h> exists even on freestanding compilers. */
23115
23116 #ifdef __STDC__
23117 # include <limits.h>
23118 #else
23119 # include <assert.h>
23120 #endif
23121
23122 #undef $ac_func
23123
23124 /* Override any gcc2 internal prototype to avoid an error. */
23125 #ifdef __cplusplus
23126 extern "C"
23127 {
23128 #endif
23129 /* We use char because int might match the return type of a gcc2
23130 builtin and then its argument prototype would still apply. */
23131 char $ac_func ();
23132 /* The GNU C library defines this for functions which it implements
23133 to always fail with ENOSYS. Some functions are actually named
23134 something starting with __ and the normal name is an alias. */
23135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23136 choke me
23137 #else
23138 char (*f) () = $ac_func;
23139 #endif
23140 #ifdef __cplusplus
23141 }
23142 #endif
23143
23144 int
23145 main ()
23146 {
23147 return f != $ac_func;
23148 ;
23149 return 0;
23150 }
23151 _ACEOF
23152 rm -f conftest.$ac_objext conftest$ac_exeext
23153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23154 (eval $ac_link) 2>conftest.er1
23155 ac_status=$?
23156 grep -v '^ *+' conftest.er1 >conftest.err
23157 rm -f conftest.er1
23158 cat conftest.err >&5
23159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23160 (exit $ac_status); } &&
23161 { ac_try='test -z "$ac_c_werror_flag"
23162 || test ! -s conftest.err'
23163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23164 (eval $ac_try) 2>&5
23165 ac_status=$?
23166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23167 (exit $ac_status); }; } &&
23168 { ac_try='test -s conftest$ac_exeext'
23169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170 (eval $ac_try) 2>&5
23171 ac_status=$?
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 eval "$as_ac_var=yes"
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179 eval "$as_ac_var=no"
23180 fi
23181 rm -f conftest.err conftest.$ac_objext \
23182 conftest$ac_exeext conftest.$ac_ext
23183 fi
23184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23186 if test `eval echo '${'$as_ac_var'}'` = yes; then
23187 cat >>confdefs.h <<_ACEOF
23188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23189 _ACEOF
23190
23191 fi
23192 done
23193
23194 fi
23195 fi
23196
23197
23198
23199 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23200 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23202 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23204 else
23205
23206
23207
23208 ac_ext=cc
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213
23214 cat >conftest.$ac_ext <<_ACEOF
23215 /* confdefs.h. */
23216 _ACEOF
23217 cat confdefs.h >>conftest.$ac_ext
23218 cat >>conftest.$ac_ext <<_ACEOF
23219 /* end confdefs.h. */
23220 #include <math.h>
23221 #ifdef HAVE_IEEEFP_H
23222 #include <ieeefp.h>
23223 #endif
23224
23225 int
23226 main ()
23227 {
23228 sqrtl(0);
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_cxx_werror_flag"
23243 || test ! -s conftest.err'
23244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23245 (eval $ac_try) 2>&5
23246 ac_status=$?
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest.$ac_objext'
23250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23251 (eval $ac_try) 2>&5
23252 ac_status=$?
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); }; }; then
23255 glibcxx_cv_func_sqrtl_use=yes
23256 else
23257 echo "$as_me: failed program was:" >&5
23258 sed 's/^/| /' conftest.$ac_ext >&5
23259
23260 glibcxx_cv_func_sqrtl_use=no
23261 fi
23262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23263 ac_ext=c
23264 ac_cpp='$CPP $CPPFLAGS'
23265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23268
23269
23270 fi
23271
23272 fi
23273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23274 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23275
23276 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23277
23278 for ac_func in sqrtl
23279 do
23280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23281 echo "$as_me:$LINENO: checking for $ac_func" >&5
23282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23283 if eval "test \"\${$as_ac_var+set}\" = set"; then
23284 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 else
23286 if test x$gcc_no_link = xyes; then
23287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23289 { (exit 1); exit 1; }; }
23290 fi
23291 cat >conftest.$ac_ext <<_ACEOF
23292 /* confdefs.h. */
23293 _ACEOF
23294 cat confdefs.h >>conftest.$ac_ext
23295 cat >>conftest.$ac_ext <<_ACEOF
23296 /* end confdefs.h. */
23297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23299 #define $ac_func innocuous_$ac_func
23300
23301 /* System header to define __stub macros and hopefully few prototypes,
23302 which can conflict with char $ac_func (); below.
23303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23304 <limits.h> exists even on freestanding compilers. */
23305
23306 #ifdef __STDC__
23307 # include <limits.h>
23308 #else
23309 # include <assert.h>
23310 #endif
23311
23312 #undef $ac_func
23313
23314 /* Override any gcc2 internal prototype to avoid an error. */
23315 #ifdef __cplusplus
23316 extern "C"
23317 {
23318 #endif
23319 /* We use char because int might match the return type of a gcc2
23320 builtin and then its argument prototype would still apply. */
23321 char $ac_func ();
23322 /* The GNU C library defines this for functions which it implements
23323 to always fail with ENOSYS. Some functions are actually named
23324 something starting with __ and the normal name is an alias. */
23325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23326 choke me
23327 #else
23328 char (*f) () = $ac_func;
23329 #endif
23330 #ifdef __cplusplus
23331 }
23332 #endif
23333
23334 int
23335 main ()
23336 {
23337 return f != $ac_func;
23338 ;
23339 return 0;
23340 }
23341 _ACEOF
23342 rm -f conftest.$ac_objext conftest$ac_exeext
23343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23344 (eval $ac_link) 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } &&
23351 { ac_try='test -z "$ac_c_werror_flag"
23352 || test ! -s conftest.err'
23353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23354 (eval $ac_try) 2>&5
23355 ac_status=$?
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); }; } &&
23358 { ac_try='test -s conftest$ac_exeext'
23359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360 (eval $ac_try) 2>&5
23361 ac_status=$?
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); }; }; then
23364 eval "$as_ac_var=yes"
23365 else
23366 echo "$as_me: failed program was:" >&5
23367 sed 's/^/| /' conftest.$ac_ext >&5
23368
23369 eval "$as_ac_var=no"
23370 fi
23371 rm -f conftest.err conftest.$ac_objext \
23372 conftest$ac_exeext conftest.$ac_ext
23373 fi
23374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23376 if test `eval echo '${'$as_ac_var'}'` = yes; then
23377 cat >>confdefs.h <<_ACEOF
23378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23379 _ACEOF
23380
23381 fi
23382 done
23383
23384 else
23385
23386 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23387 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23388 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23389 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23390 echo $ECHO_N "(cached) $ECHO_C" >&6
23391 else
23392
23393
23394
23395 ac_ext=cc
23396 ac_cpp='$CXXCPP $CPPFLAGS'
23397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400
23401 cat >conftest.$ac_ext <<_ACEOF
23402 /* confdefs.h. */
23403 _ACEOF
23404 cat confdefs.h >>conftest.$ac_ext
23405 cat >>conftest.$ac_ext <<_ACEOF
23406 /* end confdefs.h. */
23407 #include <math.h>
23408 #ifdef HAVE_IEEEFP_H
23409 #include <ieeefp.h>
23410 #endif
23411
23412 int
23413 main ()
23414 {
23415 _sqrtl(0);
23416 ;
23417 return 0;
23418 }
23419 _ACEOF
23420 rm -f conftest.$ac_objext
23421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23422 (eval $ac_compile) 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try='test -z "$ac_cxx_werror_flag"
23430 || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest.$ac_objext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 glibcxx_cv_func__sqrtl_use=yes
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23446
23447 glibcxx_cv_func__sqrtl_use=no
23448 fi
23449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23450 ac_ext=c
23451 ac_cpp='$CPP $CPPFLAGS'
23452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23455
23456
23457 fi
23458
23459 fi
23460 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23461 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23462
23463 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23464
23465 for ac_func in _sqrtl
23466 do
23467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23468 echo "$as_me:$LINENO: checking for $ac_func" >&5
23469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23470 if eval "test \"\${$as_ac_var+set}\" = set"; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23472 else
23473 if test x$gcc_no_link = xyes; then
23474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23476 { (exit 1); exit 1; }; }
23477 fi
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23486 #define $ac_func innocuous_$ac_func
23487
23488 /* System header to define __stub macros and hopefully few prototypes,
23489 which can conflict with char $ac_func (); below.
23490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23491 <limits.h> exists even on freestanding compilers. */
23492
23493 #ifdef __STDC__
23494 # include <limits.h>
23495 #else
23496 # include <assert.h>
23497 #endif
23498
23499 #undef $ac_func
23500
23501 /* Override any gcc2 internal prototype to avoid an error. */
23502 #ifdef __cplusplus
23503 extern "C"
23504 {
23505 #endif
23506 /* We use char because int might match the return type of a gcc2
23507 builtin and then its argument prototype would still apply. */
23508 char $ac_func ();
23509 /* The GNU C library defines this for functions which it implements
23510 to always fail with ENOSYS. Some functions are actually named
23511 something starting with __ and the normal name is an alias. */
23512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23513 choke me
23514 #else
23515 char (*f) () = $ac_func;
23516 #endif
23517 #ifdef __cplusplus
23518 }
23519 #endif
23520
23521 int
23522 main ()
23523 {
23524 return f != $ac_func;
23525 ;
23526 return 0;
23527 }
23528 _ACEOF
23529 rm -f conftest.$ac_objext conftest$ac_exeext
23530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23531 (eval $ac_link) 2>conftest.er1
23532 ac_status=$?
23533 grep -v '^ *+' conftest.er1 >conftest.err
23534 rm -f conftest.er1
23535 cat conftest.err >&5
23536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23537 (exit $ac_status); } &&
23538 { ac_try='test -z "$ac_c_werror_flag"
23539 || test ! -s conftest.err'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23542 ac_status=$?
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; } &&
23545 { ac_try='test -s conftest$ac_exeext'
23546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23547 (eval $ac_try) 2>&5
23548 ac_status=$?
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); }; }; then
23551 eval "$as_ac_var=yes"
23552 else
23553 echo "$as_me: failed program was:" >&5
23554 sed 's/^/| /' conftest.$ac_ext >&5
23555
23556 eval "$as_ac_var=no"
23557 fi
23558 rm -f conftest.err conftest.$ac_objext \
23559 conftest$ac_exeext conftest.$ac_ext
23560 fi
23561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23563 if test `eval echo '${'$as_ac_var'}'` = yes; then
23564 cat >>confdefs.h <<_ACEOF
23565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23566 _ACEOF
23567
23568 fi
23569 done
23570
23571 fi
23572 fi
23573
23574
23575
23576 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23577 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23578 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23579 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23580 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 else
23582
23583
23584
23585 ac_ext=cc
23586 ac_cpp='$CXXCPP $CPPFLAGS'
23587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23590
23591 cat >conftest.$ac_ext <<_ACEOF
23592 /* confdefs.h. */
23593 _ACEOF
23594 cat confdefs.h >>conftest.$ac_ext
23595 cat >>conftest.$ac_ext <<_ACEOF
23596 /* end confdefs.h. */
23597 #include <math.h>
23598 int
23599 main ()
23600 {
23601 sincosl(0, 0, 0);
23602 ;
23603 return 0;
23604 }
23605 _ACEOF
23606 rm -f conftest.$ac_objext
23607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23608 (eval $ac_compile) 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } &&
23615 { ac_try='test -z "$ac_cxx_werror_flag"
23616 || test ! -s conftest.err'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23619 ac_status=$?
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; } &&
23622 { ac_try='test -s conftest.$ac_objext'
23623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23624 (eval $ac_try) 2>&5
23625 ac_status=$?
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); }; }; then
23628 glibcxx_cv_func_sincosl_use=yes
23629 else
23630 echo "$as_me: failed program was:" >&5
23631 sed 's/^/| /' conftest.$ac_ext >&5
23632
23633 glibcxx_cv_func_sincosl_use=no
23634 fi
23635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23636 ac_ext=c
23637 ac_cpp='$CPP $CPPFLAGS'
23638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23641
23642
23643 fi
23644
23645 fi
23646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23647 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23648
23649 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23650
23651 for ac_func in sincosl
23652 do
23653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23654 echo "$as_me:$LINENO: checking for $ac_func" >&5
23655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23656 if eval "test \"\${$as_ac_var+set}\" = set"; then
23657 echo $ECHO_N "(cached) $ECHO_C" >&6
23658 else
23659 if test x$gcc_no_link = xyes; then
23660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23662 { (exit 1); exit 1; }; }
23663 fi
23664 cat >conftest.$ac_ext <<_ACEOF
23665 /* confdefs.h. */
23666 _ACEOF
23667 cat confdefs.h >>conftest.$ac_ext
23668 cat >>conftest.$ac_ext <<_ACEOF
23669 /* end confdefs.h. */
23670 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23671 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23672 #define $ac_func innocuous_$ac_func
23673
23674 /* System header to define __stub macros and hopefully few prototypes,
23675 which can conflict with char $ac_func (); below.
23676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23677 <limits.h> exists even on freestanding compilers. */
23678
23679 #ifdef __STDC__
23680 # include <limits.h>
23681 #else
23682 # include <assert.h>
23683 #endif
23684
23685 #undef $ac_func
23686
23687 /* Override any gcc2 internal prototype to avoid an error. */
23688 #ifdef __cplusplus
23689 extern "C"
23690 {
23691 #endif
23692 /* We use char because int might match the return type of a gcc2
23693 builtin and then its argument prototype would still apply. */
23694 char $ac_func ();
23695 /* The GNU C library defines this for functions which it implements
23696 to always fail with ENOSYS. Some functions are actually named
23697 something starting with __ and the normal name is an alias. */
23698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23699 choke me
23700 #else
23701 char (*f) () = $ac_func;
23702 #endif
23703 #ifdef __cplusplus
23704 }
23705 #endif
23706
23707 int
23708 main ()
23709 {
23710 return f != $ac_func;
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 rm -f conftest.$ac_objext conftest$ac_exeext
23716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 (eval $ac_link) 2>conftest.er1
23718 ac_status=$?
23719 grep -v '^ *+' conftest.er1 >conftest.err
23720 rm -f conftest.er1
23721 cat conftest.err >&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -z "$ac_c_werror_flag"
23725 || test ! -s conftest.err'
23726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23727 (eval $ac_try) 2>&5
23728 ac_status=$?
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); }; } &&
23731 { ac_try='test -s conftest$ac_exeext'
23732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23733 (eval $ac_try) 2>&5
23734 ac_status=$?
23735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23736 (exit $ac_status); }; }; then
23737 eval "$as_ac_var=yes"
23738 else
23739 echo "$as_me: failed program was:" >&5
23740 sed 's/^/| /' conftest.$ac_ext >&5
23741
23742 eval "$as_ac_var=no"
23743 fi
23744 rm -f conftest.err conftest.$ac_objext \
23745 conftest$ac_exeext conftest.$ac_ext
23746 fi
23747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23749 if test `eval echo '${'$as_ac_var'}'` = yes; then
23750 cat >>confdefs.h <<_ACEOF
23751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23752 _ACEOF
23753
23754 fi
23755 done
23756
23757 else
23758
23759 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23760 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23765
23766
23767
23768 ac_ext=cc
23769 ac_cpp='$CXXCPP $CPPFLAGS'
23770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773
23774 cat >conftest.$ac_ext <<_ACEOF
23775 /* confdefs.h. */
23776 _ACEOF
23777 cat confdefs.h >>conftest.$ac_ext
23778 cat >>conftest.$ac_ext <<_ACEOF
23779 /* end confdefs.h. */
23780 #include <math.h>
23781 int
23782 main ()
23783 {
23784 _sincosl(0, 0, 0);
23785 ;
23786 return 0;
23787 }
23788 _ACEOF
23789 rm -f conftest.$ac_objext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23791 (eval $ac_compile) 2>conftest.er1
23792 ac_status=$?
23793 grep -v '^ *+' conftest.er1 >conftest.err
23794 rm -f conftest.er1
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try='test -z "$ac_cxx_werror_flag"
23799 || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest.$ac_objext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23808 ac_status=$?
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 glibcxx_cv_func__sincosl_use=yes
23812 else
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23815
23816 glibcxx_cv_func__sincosl_use=no
23817 fi
23818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824
23825
23826 fi
23827
23828 fi
23829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23830 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23831
23832 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23833
23834 for ac_func in _sincosl
23835 do
23836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23837 echo "$as_me:$LINENO: checking for $ac_func" >&5
23838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23839 if eval "test \"\${$as_ac_var+set}\" = set"; then
23840 echo $ECHO_N "(cached) $ECHO_C" >&6
23841 else
23842 if test x$gcc_no_link = xyes; then
23843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23845 { (exit 1); exit 1; }; }
23846 fi
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23855 #define $ac_func innocuous_$ac_func
23856
23857 /* System header to define __stub macros and hopefully few prototypes,
23858 which can conflict with char $ac_func (); below.
23859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23860 <limits.h> exists even on freestanding compilers. */
23861
23862 #ifdef __STDC__
23863 # include <limits.h>
23864 #else
23865 # include <assert.h>
23866 #endif
23867
23868 #undef $ac_func
23869
23870 /* Override any gcc2 internal prototype to avoid an error. */
23871 #ifdef __cplusplus
23872 extern "C"
23873 {
23874 #endif
23875 /* We use char because int might match the return type of a gcc2
23876 builtin and then its argument prototype would still apply. */
23877 char $ac_func ();
23878 /* The GNU C library defines this for functions which it implements
23879 to always fail with ENOSYS. Some functions are actually named
23880 something starting with __ and the normal name is an alias. */
23881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23882 choke me
23883 #else
23884 char (*f) () = $ac_func;
23885 #endif
23886 #ifdef __cplusplus
23887 }
23888 #endif
23889
23890 int
23891 main ()
23892 {
23893 return f != $ac_func;
23894 ;
23895 return 0;
23896 }
23897 _ACEOF
23898 rm -f conftest.$ac_objext conftest$ac_exeext
23899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23900 (eval $ac_link) 2>conftest.er1
23901 ac_status=$?
23902 grep -v '^ *+' conftest.er1 >conftest.err
23903 rm -f conftest.er1
23904 cat conftest.err >&5
23905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23906 (exit $ac_status); } &&
23907 { ac_try='test -z "$ac_c_werror_flag"
23908 || test ! -s conftest.err'
23909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23910 (eval $ac_try) 2>&5
23911 ac_status=$?
23912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23913 (exit $ac_status); }; } &&
23914 { ac_try='test -s conftest$ac_exeext'
23915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23916 (eval $ac_try) 2>&5
23917 ac_status=$?
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); }; }; then
23920 eval "$as_ac_var=yes"
23921 else
23922 echo "$as_me: failed program was:" >&5
23923 sed 's/^/| /' conftest.$ac_ext >&5
23924
23925 eval "$as_ac_var=no"
23926 fi
23927 rm -f conftest.err conftest.$ac_objext \
23928 conftest$ac_exeext conftest.$ac_ext
23929 fi
23930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23932 if test `eval echo '${'$as_ac_var'}'` = yes; then
23933 cat >>confdefs.h <<_ACEOF
23934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23935 _ACEOF
23936
23937 fi
23938 done
23939
23940 fi
23941 fi
23942
23943
23944
23945 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23946 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23948 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23949 echo $ECHO_N "(cached) $ECHO_C" >&6
23950 else
23951
23952
23953
23954 ac_ext=cc
23955 ac_cpp='$CXXCPP $CPPFLAGS'
23956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23959
23960 cat >conftest.$ac_ext <<_ACEOF
23961 /* confdefs.h. */
23962 _ACEOF
23963 cat confdefs.h >>conftest.$ac_ext
23964 cat >>conftest.$ac_ext <<_ACEOF
23965 /* end confdefs.h. */
23966 #include <math.h>
23967 #ifdef HAVE_IEEEFP_H
23968 #include <ieeefp.h>
23969 #endif
23970
23971 int
23972 main ()
23973 {
23974 finitel(0);
23975 ;
23976 return 0;
23977 }
23978 _ACEOF
23979 rm -f conftest.$ac_objext
23980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23981 (eval $ac_compile) 2>conftest.er1
23982 ac_status=$?
23983 grep -v '^ *+' conftest.er1 >conftest.err
23984 rm -f conftest.er1
23985 cat conftest.err >&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); } &&
23988 { ac_try='test -z "$ac_cxx_werror_flag"
23989 || test ! -s conftest.err'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; } &&
23995 { ac_try='test -s conftest.$ac_objext'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23998 ac_status=$?
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; }; then
24001 glibcxx_cv_func_finitel_use=yes
24002 else
24003 echo "$as_me: failed program was:" >&5
24004 sed 's/^/| /' conftest.$ac_ext >&5
24005
24006 glibcxx_cv_func_finitel_use=no
24007 fi
24008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24009 ac_ext=c
24010 ac_cpp='$CPP $CPPFLAGS'
24011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24014
24015
24016 fi
24017
24018 fi
24019 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24020 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24021
24022 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24023
24024 for ac_func in finitel
24025 do
24026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24027 echo "$as_me:$LINENO: checking for $ac_func" >&5
24028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24029 if eval "test \"\${$as_ac_var+set}\" = set"; then
24030 echo $ECHO_N "(cached) $ECHO_C" >&6
24031 else
24032 if test x$gcc_no_link = xyes; then
24033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24035 { (exit 1); exit 1; }; }
24036 fi
24037 cat >conftest.$ac_ext <<_ACEOF
24038 /* confdefs.h. */
24039 _ACEOF
24040 cat confdefs.h >>conftest.$ac_ext
24041 cat >>conftest.$ac_ext <<_ACEOF
24042 /* end confdefs.h. */
24043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24045 #define $ac_func innocuous_$ac_func
24046
24047 /* System header to define __stub macros and hopefully few prototypes,
24048 which can conflict with char $ac_func (); below.
24049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24050 <limits.h> exists even on freestanding compilers. */
24051
24052 #ifdef __STDC__
24053 # include <limits.h>
24054 #else
24055 # include <assert.h>
24056 #endif
24057
24058 #undef $ac_func
24059
24060 /* Override any gcc2 internal prototype to avoid an error. */
24061 #ifdef __cplusplus
24062 extern "C"
24063 {
24064 #endif
24065 /* We use char because int might match the return type of a gcc2
24066 builtin and then its argument prototype would still apply. */
24067 char $ac_func ();
24068 /* The GNU C library defines this for functions which it implements
24069 to always fail with ENOSYS. Some functions are actually named
24070 something starting with __ and the normal name is an alias. */
24071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24072 choke me
24073 #else
24074 char (*f) () = $ac_func;
24075 #endif
24076 #ifdef __cplusplus
24077 }
24078 #endif
24079
24080 int
24081 main ()
24082 {
24083 return f != $ac_func;
24084 ;
24085 return 0;
24086 }
24087 _ACEOF
24088 rm -f conftest.$ac_objext conftest$ac_exeext
24089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24090 (eval $ac_link) 2>conftest.er1
24091 ac_status=$?
24092 grep -v '^ *+' conftest.er1 >conftest.err
24093 rm -f conftest.er1
24094 cat conftest.err >&5
24095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24096 (exit $ac_status); } &&
24097 { ac_try='test -z "$ac_c_werror_flag"
24098 || test ! -s conftest.err'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; } &&
24104 { ac_try='test -s conftest$ac_exeext'
24105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24106 (eval $ac_try) 2>&5
24107 ac_status=$?
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); }; }; then
24110 eval "$as_ac_var=yes"
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24114
24115 eval "$as_ac_var=no"
24116 fi
24117 rm -f conftest.err conftest.$ac_objext \
24118 conftest$ac_exeext conftest.$ac_ext
24119 fi
24120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24122 if test `eval echo '${'$as_ac_var'}'` = yes; then
24123 cat >>confdefs.h <<_ACEOF
24124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24125 _ACEOF
24126
24127 fi
24128 done
24129
24130 else
24131
24132 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24133 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24134 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24135 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 else
24138
24139
24140
24141 ac_ext=cc
24142 ac_cpp='$CXXCPP $CPPFLAGS'
24143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146
24147 cat >conftest.$ac_ext <<_ACEOF
24148 /* confdefs.h. */
24149 _ACEOF
24150 cat confdefs.h >>conftest.$ac_ext
24151 cat >>conftest.$ac_ext <<_ACEOF
24152 /* end confdefs.h. */
24153 #include <math.h>
24154 #ifdef HAVE_IEEEFP_H
24155 #include <ieeefp.h>
24156 #endif
24157
24158 int
24159 main ()
24160 {
24161 _finitel(0);
24162 ;
24163 return 0;
24164 }
24165 _ACEOF
24166 rm -f conftest.$ac_objext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24168 (eval $ac_compile) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_cxx_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest.$ac_objext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 glibcxx_cv_func__finitel_use=yes
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24192
24193 glibcxx_cv_func__finitel_use=no
24194 fi
24195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24196 ac_ext=c
24197 ac_cpp='$CPP $CPPFLAGS'
24198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24201
24202
24203 fi
24204
24205 fi
24206 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24207 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24208
24209 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24210
24211 for ac_func in _finitel
24212 do
24213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24214 echo "$as_me:$LINENO: checking for $ac_func" >&5
24215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24216 if eval "test \"\${$as_ac_var+set}\" = set"; then
24217 echo $ECHO_N "(cached) $ECHO_C" >&6
24218 else
24219 if test x$gcc_no_link = xyes; then
24220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24222 { (exit 1); exit 1; }; }
24223 fi
24224 cat >conftest.$ac_ext <<_ACEOF
24225 /* confdefs.h. */
24226 _ACEOF
24227 cat confdefs.h >>conftest.$ac_ext
24228 cat >>conftest.$ac_ext <<_ACEOF
24229 /* end confdefs.h. */
24230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24232 #define $ac_func innocuous_$ac_func
24233
24234 /* System header to define __stub macros and hopefully few prototypes,
24235 which can conflict with char $ac_func (); below.
24236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24237 <limits.h> exists even on freestanding compilers. */
24238
24239 #ifdef __STDC__
24240 # include <limits.h>
24241 #else
24242 # include <assert.h>
24243 #endif
24244
24245 #undef $ac_func
24246
24247 /* Override any gcc2 internal prototype to avoid an error. */
24248 #ifdef __cplusplus
24249 extern "C"
24250 {
24251 #endif
24252 /* We use char because int might match the return type of a gcc2
24253 builtin and then its argument prototype would still apply. */
24254 char $ac_func ();
24255 /* The GNU C library defines this for functions which it implements
24256 to always fail with ENOSYS. Some functions are actually named
24257 something starting with __ and the normal name is an alias. */
24258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24259 choke me
24260 #else
24261 char (*f) () = $ac_func;
24262 #endif
24263 #ifdef __cplusplus
24264 }
24265 #endif
24266
24267 int
24268 main ()
24269 {
24270 return f != $ac_func;
24271 ;
24272 return 0;
24273 }
24274 _ACEOF
24275 rm -f conftest.$ac_objext conftest$ac_exeext
24276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24277 (eval $ac_link) 2>conftest.er1
24278 ac_status=$?
24279 grep -v '^ *+' conftest.er1 >conftest.err
24280 rm -f conftest.er1
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } &&
24284 { ac_try='test -z "$ac_c_werror_flag"
24285 || test ! -s conftest.err'
24286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24287 (eval $ac_try) 2>&5
24288 ac_status=$?
24289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290 (exit $ac_status); }; } &&
24291 { ac_try='test -s conftest$ac_exeext'
24292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24293 (eval $ac_try) 2>&5
24294 ac_status=$?
24295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24296 (exit $ac_status); }; }; then
24297 eval "$as_ac_var=yes"
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24301
24302 eval "$as_ac_var=no"
24303 fi
24304 rm -f conftest.err conftest.$ac_objext \
24305 conftest$ac_exeext conftest.$ac_ext
24306 fi
24307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24309 if test `eval echo '${'$as_ac_var'}'` = yes; then
24310 cat >>confdefs.h <<_ACEOF
24311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24312 _ACEOF
24313
24314 fi
24315 done
24316
24317 fi
24318 fi
24319
24320
24321
24322
24323 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24324 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24325 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24326 echo $ECHO_N "(cached) $ECHO_C" >&6
24327 else
24328
24329
24330
24331 ac_ext=cc
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336
24337 cat >conftest.$ac_ext <<_ACEOF
24338 /* confdefs.h. */
24339 _ACEOF
24340 cat confdefs.h >>conftest.$ac_ext
24341 cat >>conftest.$ac_ext <<_ACEOF
24342 /* end confdefs.h. */
24343 #include <math.h>
24344 int
24345 main ()
24346 {
24347 `for x in _acosf _asinf _atanf \
24348 _cosf _sinf _tanf \
24349 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24350 ;
24351 return 0;
24352 }
24353 _ACEOF
24354 rm -f conftest.$ac_objext
24355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24356 (eval $ac_compile) 2>conftest.er1
24357 ac_status=$?
24358 grep -v '^ *+' conftest.er1 >conftest.err
24359 rm -f conftest.er1
24360 cat conftest.err >&5
24361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24362 (exit $ac_status); } &&
24363 { ac_try='test -z "$ac_cxx_werror_flag"
24364 || test ! -s conftest.err'
24365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24366 (eval $ac_try) 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); }; } &&
24370 { ac_try='test -s conftest.$ac_objext'
24371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24372 (eval $ac_try) 2>&5
24373 ac_status=$?
24374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24375 (exit $ac_status); }; }; then
24376 glibcxx_cv_func__float_trig_use=yes
24377 else
24378 echo "$as_me: failed program was:" >&5
24379 sed 's/^/| /' conftest.$ac_ext >&5
24380
24381 glibcxx_cv_func__float_trig_use=no
24382 fi
24383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24384 ac_ext=c
24385 ac_cpp='$CPP $CPPFLAGS'
24386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24389
24390 fi
24391
24392 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24393 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24394 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404 for ac_func in _acosf _asinf _atanf \
24405 _cosf _sinf _tanf \
24406 _coshf _sinhf _tanhf
24407 do
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24411 if eval "test \"\${$as_ac_var+set}\" = set"; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 if test x$gcc_no_link = xyes; then
24415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24417 { (exit 1); exit 1; }; }
24418 fi
24419 cat >conftest.$ac_ext <<_ACEOF
24420 /* confdefs.h. */
24421 _ACEOF
24422 cat confdefs.h >>conftest.$ac_ext
24423 cat >>conftest.$ac_ext <<_ACEOF
24424 /* end confdefs.h. */
24425 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24427 #define $ac_func innocuous_$ac_func
24428
24429 /* System header to define __stub macros and hopefully few prototypes,
24430 which can conflict with char $ac_func (); below.
24431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24432 <limits.h> exists even on freestanding compilers. */
24433
24434 #ifdef __STDC__
24435 # include <limits.h>
24436 #else
24437 # include <assert.h>
24438 #endif
24439
24440 #undef $ac_func
24441
24442 /* Override any gcc2 internal prototype to avoid an error. */
24443 #ifdef __cplusplus
24444 extern "C"
24445 {
24446 #endif
24447 /* We use char because int might match the return type of a gcc2
24448 builtin and then its argument prototype would still apply. */
24449 char $ac_func ();
24450 /* The GNU C library defines this for functions which it implements
24451 to always fail with ENOSYS. Some functions are actually named
24452 something starting with __ and the normal name is an alias. */
24453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24454 choke me
24455 #else
24456 char (*f) () = $ac_func;
24457 #endif
24458 #ifdef __cplusplus
24459 }
24460 #endif
24461
24462 int
24463 main ()
24464 {
24465 return f != $ac_func;
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 rm -f conftest.$ac_objext conftest$ac_exeext
24471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24472 (eval $ac_link) 2>conftest.er1
24473 ac_status=$?
24474 grep -v '^ *+' conftest.er1 >conftest.err
24475 rm -f conftest.er1
24476 cat conftest.err >&5
24477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24478 (exit $ac_status); } &&
24479 { ac_try='test -z "$ac_c_werror_flag"
24480 || test ! -s conftest.err'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; } &&
24486 { ac_try='test -s conftest$ac_exeext'
24487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24488 (eval $ac_try) 2>&5
24489 ac_status=$?
24490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24491 (exit $ac_status); }; }; then
24492 eval "$as_ac_var=yes"
24493 else
24494 echo "$as_me: failed program was:" >&5
24495 sed 's/^/| /' conftest.$ac_ext >&5
24496
24497 eval "$as_ac_var=no"
24498 fi
24499 rm -f conftest.err conftest.$ac_objext \
24500 conftest$ac_exeext conftest.$ac_ext
24501 fi
24502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24503 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24504 if test `eval echo '${'$as_ac_var'}'` = yes; then
24505 cat >>confdefs.h <<_ACEOF
24506 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24507 _ACEOF
24508
24509 fi
24510 done
24511
24512 fi
24513
24514
24515 echo "$as_me:$LINENO: checking for _float round functions" >&5
24516 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24517 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24518 echo $ECHO_N "(cached) $ECHO_C" >&6
24519 else
24520
24521
24522
24523 ac_ext=cc
24524 ac_cpp='$CXXCPP $CPPFLAGS'
24525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528
24529 cat >conftest.$ac_ext <<_ACEOF
24530 /* confdefs.h. */
24531 _ACEOF
24532 cat confdefs.h >>conftest.$ac_ext
24533 cat >>conftest.$ac_ext <<_ACEOF
24534 /* end confdefs.h. */
24535 #include <math.h>
24536 int
24537 main ()
24538 {
24539 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 rm -f conftest.$ac_objext
24545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24546 (eval $ac_compile) 2>conftest.er1
24547 ac_status=$?
24548 grep -v '^ *+' conftest.er1 >conftest.err
24549 rm -f conftest.er1
24550 cat conftest.err >&5
24551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24552 (exit $ac_status); } &&
24553 { ac_try='test -z "$ac_cxx_werror_flag"
24554 || test ! -s conftest.err'
24555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24556 (eval $ac_try) 2>&5
24557 ac_status=$?
24558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559 (exit $ac_status); }; } &&
24560 { ac_try='test -s conftest.$ac_objext'
24561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24562 (eval $ac_try) 2>&5
24563 ac_status=$?
24564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24565 (exit $ac_status); }; }; then
24566 glibcxx_cv_func__float_round_use=yes
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 glibcxx_cv_func__float_round_use=no
24572 fi
24573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24574 ac_ext=c
24575 ac_cpp='$CPP $CPPFLAGS'
24576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24579
24580 fi
24581
24582 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24583 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24584 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24585
24586
24587 for ac_func in _ceilf _floorf
24588 do
24589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24590 echo "$as_me:$LINENO: checking for $ac_func" >&5
24591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24592 if eval "test \"\${$as_ac_var+set}\" = set"; then
24593 echo $ECHO_N "(cached) $ECHO_C" >&6
24594 else
24595 if test x$gcc_no_link = xyes; then
24596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24598 { (exit 1); exit 1; }; }
24599 fi
24600 cat >conftest.$ac_ext <<_ACEOF
24601 /* confdefs.h. */
24602 _ACEOF
24603 cat confdefs.h >>conftest.$ac_ext
24604 cat >>conftest.$ac_ext <<_ACEOF
24605 /* end confdefs.h. */
24606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24608 #define $ac_func innocuous_$ac_func
24609
24610 /* System header to define __stub macros and hopefully few prototypes,
24611 which can conflict with char $ac_func (); below.
24612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24613 <limits.h> exists even on freestanding compilers. */
24614
24615 #ifdef __STDC__
24616 # include <limits.h>
24617 #else
24618 # include <assert.h>
24619 #endif
24620
24621 #undef $ac_func
24622
24623 /* Override any gcc2 internal prototype to avoid an error. */
24624 #ifdef __cplusplus
24625 extern "C"
24626 {
24627 #endif
24628 /* We use char because int might match the return type of a gcc2
24629 builtin and then its argument prototype would still apply. */
24630 char $ac_func ();
24631 /* The GNU C library defines this for functions which it implements
24632 to always fail with ENOSYS. Some functions are actually named
24633 something starting with __ and the normal name is an alias. */
24634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24635 choke me
24636 #else
24637 char (*f) () = $ac_func;
24638 #endif
24639 #ifdef __cplusplus
24640 }
24641 #endif
24642
24643 int
24644 main ()
24645 {
24646 return f != $ac_func;
24647 ;
24648 return 0;
24649 }
24650 _ACEOF
24651 rm -f conftest.$ac_objext conftest$ac_exeext
24652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24653 (eval $ac_link) 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } &&
24660 { ac_try='test -z "$ac_c_werror_flag"
24661 || test ! -s conftest.err'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24664 ac_status=$?
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; } &&
24667 { ac_try='test -s conftest$ac_exeext'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24670 ac_status=$?
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; }; then
24673 eval "$as_ac_var=yes"
24674 else
24675 echo "$as_me: failed program was:" >&5
24676 sed 's/^/| /' conftest.$ac_ext >&5
24677
24678 eval "$as_ac_var=no"
24679 fi
24680 rm -f conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24682 fi
24683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24685 if test `eval echo '${'$as_ac_var'}'` = yes; then
24686 cat >>confdefs.h <<_ACEOF
24687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24688 _ACEOF
24689
24690 fi
24691 done
24692
24693 fi
24694
24695
24696
24697 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24698 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24699 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702
24703
24704
24705 ac_ext=cc
24706 ac_cpp='$CXXCPP $CPPFLAGS'
24707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24710
24711 cat >conftest.$ac_ext <<_ACEOF
24712 /* confdefs.h. */
24713 _ACEOF
24714 cat confdefs.h >>conftest.$ac_ext
24715 cat >>conftest.$ac_ext <<_ACEOF
24716 /* end confdefs.h. */
24717 #include <math.h>
24718 int
24719 main ()
24720 {
24721 `for x in _acosl _asinl _atanl \
24722 _cosl _sinl _tanl \
24723 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24724 ;
24725 return 0;
24726 }
24727 _ACEOF
24728 rm -f conftest.$ac_objext
24729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24730 (eval $ac_compile) 2>conftest.er1
24731 ac_status=$?
24732 grep -v '^ *+' conftest.er1 >conftest.err
24733 rm -f conftest.er1
24734 cat conftest.err >&5
24735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24736 (exit $ac_status); } &&
24737 { ac_try='test -z "$ac_cxx_werror_flag"
24738 || test ! -s conftest.err'
24739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24740 (eval $ac_try) 2>&5
24741 ac_status=$?
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); }; } &&
24744 { ac_try='test -s conftest.$ac_objext'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24747 ac_status=$?
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; }; then
24750 glibcxx_cv_func__long_double_trig_use=yes
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24754
24755 glibcxx_cv_func__long_double_trig_use=no
24756 fi
24757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24758 ac_ext=c
24759 ac_cpp='$CPP $CPPFLAGS'
24760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24763
24764 fi
24765
24766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24767 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24768 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778 for ac_func in _acosl _asinl _atanl \
24779 _cosl _sinl _tanl \
24780 _coshl _sinhl _tanhl
24781 do
24782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24783 echo "$as_me:$LINENO: checking for $ac_func" >&5
24784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24785 if eval "test \"\${$as_ac_var+set}\" = set"; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788 if test x$gcc_no_link = xyes; then
24789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24791 { (exit 1); exit 1; }; }
24792 fi
24793 cat >conftest.$ac_ext <<_ACEOF
24794 /* confdefs.h. */
24795 _ACEOF
24796 cat confdefs.h >>conftest.$ac_ext
24797 cat >>conftest.$ac_ext <<_ACEOF
24798 /* end confdefs.h. */
24799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24801 #define $ac_func innocuous_$ac_func
24802
24803 /* System header to define __stub macros and hopefully few prototypes,
24804 which can conflict with char $ac_func (); below.
24805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24806 <limits.h> exists even on freestanding compilers. */
24807
24808 #ifdef __STDC__
24809 # include <limits.h>
24810 #else
24811 # include <assert.h>
24812 #endif
24813
24814 #undef $ac_func
24815
24816 /* Override any gcc2 internal prototype to avoid an error. */
24817 #ifdef __cplusplus
24818 extern "C"
24819 {
24820 #endif
24821 /* We use char because int might match the return type of a gcc2
24822 builtin and then its argument prototype would still apply. */
24823 char $ac_func ();
24824 /* The GNU C library defines this for functions which it implements
24825 to always fail with ENOSYS. Some functions are actually named
24826 something starting with __ and the normal name is an alias. */
24827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24828 choke me
24829 #else
24830 char (*f) () = $ac_func;
24831 #endif
24832 #ifdef __cplusplus
24833 }
24834 #endif
24835
24836 int
24837 main ()
24838 {
24839 return f != $ac_func;
24840 ;
24841 return 0;
24842 }
24843 _ACEOF
24844 rm -f conftest.$ac_objext conftest$ac_exeext
24845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24846 (eval $ac_link) 2>conftest.er1
24847 ac_status=$?
24848 grep -v '^ *+' conftest.er1 >conftest.err
24849 rm -f conftest.er1
24850 cat conftest.err >&5
24851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24852 (exit $ac_status); } &&
24853 { ac_try='test -z "$ac_c_werror_flag"
24854 || test ! -s conftest.err'
24855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24856 (eval $ac_try) 2>&5
24857 ac_status=$?
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); }; } &&
24860 { ac_try='test -s conftest$ac_exeext'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; }; then
24866 eval "$as_ac_var=yes"
24867 else
24868 echo "$as_me: failed program was:" >&5
24869 sed 's/^/| /' conftest.$ac_ext >&5
24870
24871 eval "$as_ac_var=no"
24872 fi
24873 rm -f conftest.err conftest.$ac_objext \
24874 conftest$ac_exeext conftest.$ac_ext
24875 fi
24876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24878 if test `eval echo '${'$as_ac_var'}'` = yes; then
24879 cat >>confdefs.h <<_ACEOF
24880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24881 _ACEOF
24882
24883 fi
24884 done
24885
24886 fi
24887
24888
24889 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24890 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24892 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 else
24894
24895
24896
24897 ac_ext=cc
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24902
24903 cat >conftest.$ac_ext <<_ACEOF
24904 /* confdefs.h. */
24905 _ACEOF
24906 cat confdefs.h >>conftest.$ac_ext
24907 cat >>conftest.$ac_ext <<_ACEOF
24908 /* end confdefs.h. */
24909 #include <math.h>
24910 int
24911 main ()
24912 {
24913 `for x in _ceill _floorl; do echo "$x (0);"; done`
24914 ;
24915 return 0;
24916 }
24917 _ACEOF
24918 rm -f conftest.$ac_objext
24919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24920 (eval $ac_compile) 2>conftest.er1
24921 ac_status=$?
24922 grep -v '^ *+' conftest.er1 >conftest.err
24923 rm -f conftest.er1
24924 cat conftest.err >&5
24925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24926 (exit $ac_status); } &&
24927 { ac_try='test -z "$ac_cxx_werror_flag"
24928 || test ! -s conftest.err'
24929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24930 (eval $ac_try) 2>&5
24931 ac_status=$?
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); }; } &&
24934 { ac_try='test -s conftest.$ac_objext'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; }; then
24940 glibcxx_cv_func__long_double_round_use=yes
24941 else
24942 echo "$as_me: failed program was:" >&5
24943 sed 's/^/| /' conftest.$ac_ext >&5
24944
24945 glibcxx_cv_func__long_double_round_use=no
24946 fi
24947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24953
24954 fi
24955
24956 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24957 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24958 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24959
24960
24961 for ac_func in _ceill _floorl
24962 do
24963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24964 echo "$as_me:$LINENO: checking for $ac_func" >&5
24965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24966 if eval "test \"\${$as_ac_var+set}\" = set"; then
24967 echo $ECHO_N "(cached) $ECHO_C" >&6
24968 else
24969 if test x$gcc_no_link = xyes; then
24970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24972 { (exit 1); exit 1; }; }
24973 fi
24974 cat >conftest.$ac_ext <<_ACEOF
24975 /* confdefs.h. */
24976 _ACEOF
24977 cat confdefs.h >>conftest.$ac_ext
24978 cat >>conftest.$ac_ext <<_ACEOF
24979 /* end confdefs.h. */
24980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24982 #define $ac_func innocuous_$ac_func
24983
24984 /* System header to define __stub macros and hopefully few prototypes,
24985 which can conflict with char $ac_func (); below.
24986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24987 <limits.h> exists even on freestanding compilers. */
24988
24989 #ifdef __STDC__
24990 # include <limits.h>
24991 #else
24992 # include <assert.h>
24993 #endif
24994
24995 #undef $ac_func
24996
24997 /* Override any gcc2 internal prototype to avoid an error. */
24998 #ifdef __cplusplus
24999 extern "C"
25000 {
25001 #endif
25002 /* We use char because int might match the return type of a gcc2
25003 builtin and then its argument prototype would still apply. */
25004 char $ac_func ();
25005 /* The GNU C library defines this for functions which it implements
25006 to always fail with ENOSYS. Some functions are actually named
25007 something starting with __ and the normal name is an alias. */
25008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25009 choke me
25010 #else
25011 char (*f) () = $ac_func;
25012 #endif
25013 #ifdef __cplusplus
25014 }
25015 #endif
25016
25017 int
25018 main ()
25019 {
25020 return f != $ac_func;
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 rm -f conftest.$ac_objext conftest$ac_exeext
25026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25027 (eval $ac_link) 2>conftest.er1
25028 ac_status=$?
25029 grep -v '^ *+' conftest.er1 >conftest.err
25030 rm -f conftest.er1
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } &&
25034 { ac_try='test -z "$ac_c_werror_flag"
25035 || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 eval "$as_ac_var=yes"
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25051
25052 eval "$as_ac_var=no"
25053 fi
25054 rm -f conftest.err conftest.$ac_objext \
25055 conftest$ac_exeext conftest.$ac_ext
25056 fi
25057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25059 if test `eval echo '${'$as_ac_var'}'` = yes; then
25060 cat >>confdefs.h <<_ACEOF
25061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25062 _ACEOF
25063
25064 fi
25065 done
25066
25067 fi
25068
25069
25070 LIBS="$ac_save_LIBS"
25071 CXXFLAGS="$ac_save_CXXFLAGS"
25072
25073
25074
25075 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25076 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25077 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25078 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25079 echo $ECHO_N "(cached) $ECHO_C" >&6
25080 else
25081
25082
25083
25084 ac_ext=cc
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089
25090 cat >conftest.$ac_ext <<_ACEOF
25091 /* confdefs.h. */
25092 _ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25096 #include <math.h>
25097 int
25098 main ()
25099 {
25100 __builtin_abs(0);
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext
25106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25107 (eval $ac_compile) 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } &&
25114 { ac_try='test -z "$ac_cxx_werror_flag"
25115 || test ! -s conftest.err'
25116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25117 (eval $ac_try) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); }; } &&
25121 { ac_try='test -s conftest.$ac_objext'
25122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25123 (eval $ac_try) 2>&5
25124 ac_status=$?
25125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25126 (exit $ac_status); }; }; then
25127 glibcxx_cv_func___builtin_abs_use=yes
25128 else
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25131
25132 glibcxx_cv_func___builtin_abs_use=no
25133 fi
25134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25135 ac_ext=c
25136 ac_cpp='$CPP $CPPFLAGS'
25137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25140
25141
25142 fi
25143
25144 fi
25145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25146 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25147 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25148 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25149 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25150 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25151 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25153 else
25154
25155 if test x$gcc_no_link = xyes; then
25156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25158 { (exit 1); exit 1; }; }
25159 fi
25160 cat >conftest.$ac_ext <<_ACEOF
25161 /* confdefs.h. */
25162 _ACEOF
25163 cat confdefs.h >>conftest.$ac_ext
25164 cat >>conftest.$ac_ext <<_ACEOF
25165 /* end confdefs.h. */
25166 #include <math.h>
25167 int
25168 main ()
25169 {
25170 __builtin_abs(0);
25171 ;
25172 return 0;
25173 }
25174 _ACEOF
25175 rm -f conftest.$ac_objext conftest$ac_exeext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>conftest.er1
25178 ac_status=$?
25179 grep -v '^ *+' conftest.er1 >conftest.err
25180 rm -f conftest.er1
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_c_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25188 ac_status=$?
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest$ac_exeext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25194 ac_status=$?
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 glibcxx_cv_func___builtin_abs_link=yes
25198 else
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25201
25202 glibcxx_cv_func___builtin_abs_link=no
25203 fi
25204 rm -f conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25206
25207 fi
25208
25209 fi
25210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25211 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25212 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25213 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25214
25215 cat >>confdefs.h <<_ACEOF
25216 #define ${ac_tr_func} 1
25217 _ACEOF
25218
25219 fi
25220 fi
25221
25222
25223 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25224 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25225 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25226 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25227 echo $ECHO_N "(cached) $ECHO_C" >&6
25228 else
25229
25230
25231
25232 ac_ext=cc
25233 ac_cpp='$CXXCPP $CPPFLAGS'
25234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25237
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244 #include <math.h>
25245 int
25246 main ()
25247 {
25248 __builtin_fabsf(0);
25249 ;
25250 return 0;
25251 }
25252 _ACEOF
25253 rm -f conftest.$ac_objext
25254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25255 (eval $ac_compile) 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } &&
25262 { ac_try='test -z "$ac_cxx_werror_flag"
25263 || test ! -s conftest.err'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; } &&
25269 { ac_try='test -s conftest.$ac_objext'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25272 ac_status=$?
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; }; then
25275 glibcxx_cv_func___builtin_fabsf_use=yes
25276 else
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25279
25280 glibcxx_cv_func___builtin_fabsf_use=no
25281 fi
25282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25283 ac_ext=c
25284 ac_cpp='$CPP $CPPFLAGS'
25285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25288
25289
25290 fi
25291
25292 fi
25293 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25294 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25295 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25296 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25297 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25298 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25299 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 else
25302
25303 if test x$gcc_no_link = xyes; then
25304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25306 { (exit 1); exit 1; }; }
25307 fi
25308 cat >conftest.$ac_ext <<_ACEOF
25309 /* confdefs.h. */
25310 _ACEOF
25311 cat confdefs.h >>conftest.$ac_ext
25312 cat >>conftest.$ac_ext <<_ACEOF
25313 /* end confdefs.h. */
25314 #include <math.h>
25315 int
25316 main ()
25317 {
25318 __builtin_fabsf(0);
25319 ;
25320 return 0;
25321 }
25322 _ACEOF
25323 rm -f conftest.$ac_objext conftest$ac_exeext
25324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25325 (eval $ac_link) 2>conftest.er1
25326 ac_status=$?
25327 grep -v '^ *+' conftest.er1 >conftest.err
25328 rm -f conftest.er1
25329 cat conftest.err >&5
25330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25331 (exit $ac_status); } &&
25332 { ac_try='test -z "$ac_c_werror_flag"
25333 || test ! -s conftest.err'
25334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25335 (eval $ac_try) 2>&5
25336 ac_status=$?
25337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25338 (exit $ac_status); }; } &&
25339 { ac_try='test -s conftest$ac_exeext'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25342 ac_status=$?
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; }; then
25345 glibcxx_cv_func___builtin_fabsf_link=yes
25346 else
25347 echo "$as_me: failed program was:" >&5
25348 sed 's/^/| /' conftest.$ac_ext >&5
25349
25350 glibcxx_cv_func___builtin_fabsf_link=no
25351 fi
25352 rm -f conftest.err conftest.$ac_objext \
25353 conftest$ac_exeext conftest.$ac_ext
25354
25355 fi
25356
25357 fi
25358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25359 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25360 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25361 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25362
25363 cat >>confdefs.h <<_ACEOF
25364 #define ${ac_tr_func} 1
25365 _ACEOF
25366
25367 fi
25368 fi
25369
25370
25371 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25372 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25373 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25374 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25376 else
25377
25378
25379
25380 ac_ext=cc
25381 ac_cpp='$CXXCPP $CPPFLAGS'
25382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25385
25386 cat >conftest.$ac_ext <<_ACEOF
25387 /* confdefs.h. */
25388 _ACEOF
25389 cat confdefs.h >>conftest.$ac_ext
25390 cat >>conftest.$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25392 #include <math.h>
25393 int
25394 main ()
25395 {
25396 __builtin_fabs(0);
25397 ;
25398 return 0;
25399 }
25400 _ACEOF
25401 rm -f conftest.$ac_objext
25402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25403 (eval $ac_compile) 2>conftest.er1
25404 ac_status=$?
25405 grep -v '^ *+' conftest.er1 >conftest.err
25406 rm -f conftest.er1
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } &&
25410 { ac_try='test -z "$ac_cxx_werror_flag"
25411 || test ! -s conftest.err'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25414 ac_status=$?
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; } &&
25417 { ac_try='test -s conftest.$ac_objext'
25418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25419 (eval $ac_try) 2>&5
25420 ac_status=$?
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); }; }; then
25423 glibcxx_cv_func___builtin_fabs_use=yes
25424 else
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25427
25428 glibcxx_cv_func___builtin_fabs_use=no
25429 fi
25430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25431 ac_ext=c
25432 ac_cpp='$CPP $CPPFLAGS'
25433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25436
25437
25438 fi
25439
25440 fi
25441 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25442 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25443 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25444 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25445 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25446 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25447 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25448 echo $ECHO_N "(cached) $ECHO_C" >&6
25449 else
25450
25451 if test x$gcc_no_link = xyes; then
25452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25454 { (exit 1); exit 1; }; }
25455 fi
25456 cat >conftest.$ac_ext <<_ACEOF
25457 /* confdefs.h. */
25458 _ACEOF
25459 cat confdefs.h >>conftest.$ac_ext
25460 cat >>conftest.$ac_ext <<_ACEOF
25461 /* end confdefs.h. */
25462 #include <math.h>
25463 int
25464 main ()
25465 {
25466 __builtin_fabs(0);
25467 ;
25468 return 0;
25469 }
25470 _ACEOF
25471 rm -f conftest.$ac_objext conftest$ac_exeext
25472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25473 (eval $ac_link) 2>conftest.er1
25474 ac_status=$?
25475 grep -v '^ *+' conftest.er1 >conftest.err
25476 rm -f conftest.er1
25477 cat conftest.err >&5
25478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25479 (exit $ac_status); } &&
25480 { ac_try='test -z "$ac_c_werror_flag"
25481 || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest$ac_exeext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 glibcxx_cv_func___builtin_fabs_link=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 glibcxx_cv_func___builtin_fabs_link=no
25499 fi
25500 rm -f conftest.err conftest.$ac_objext \
25501 conftest$ac_exeext conftest.$ac_ext
25502
25503 fi
25504
25505 fi
25506 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25507 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25508 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25509 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25510
25511 cat >>confdefs.h <<_ACEOF
25512 #define ${ac_tr_func} 1
25513 _ACEOF
25514
25515 fi
25516 fi
25517
25518
25519 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25520 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25521 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25522 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25523 echo $ECHO_N "(cached) $ECHO_C" >&6
25524 else
25525
25526
25527
25528 ac_ext=cc
25529 ac_cpp='$CXXCPP $CPPFLAGS'
25530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25533
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <math.h>
25541 int
25542 main ()
25543 {
25544 __builtin_fabsl(0);
25545 ;
25546 return 0;
25547 }
25548 _ACEOF
25549 rm -f conftest.$ac_objext
25550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25551 (eval $ac_compile) 2>conftest.er1
25552 ac_status=$?
25553 grep -v '^ *+' conftest.er1 >conftest.err
25554 rm -f conftest.er1
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } &&
25558 { ac_try='test -z "$ac_cxx_werror_flag"
25559 || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest.$ac_objext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 glibcxx_cv_func___builtin_fabsl_use=yes
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25575
25576 glibcxx_cv_func___builtin_fabsl_use=no
25577 fi
25578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_ext=c
25580 ac_cpp='$CPP $CPPFLAGS'
25581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25584
25585
25586 fi
25587
25588 fi
25589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25591 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25592 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25593 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25594 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25595 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25596 echo $ECHO_N "(cached) $ECHO_C" >&6
25597 else
25598
25599 if test x$gcc_no_link = xyes; then
25600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25602 { (exit 1); exit 1; }; }
25603 fi
25604 cat >conftest.$ac_ext <<_ACEOF
25605 /* confdefs.h. */
25606 _ACEOF
25607 cat confdefs.h >>conftest.$ac_ext
25608 cat >>conftest.$ac_ext <<_ACEOF
25609 /* end confdefs.h. */
25610 #include <math.h>
25611 int
25612 main ()
25613 {
25614 __builtin_fabsl(0);
25615 ;
25616 return 0;
25617 }
25618 _ACEOF
25619 rm -f conftest.$ac_objext conftest$ac_exeext
25620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25621 (eval $ac_link) 2>conftest.er1
25622 ac_status=$?
25623 grep -v '^ *+' conftest.er1 >conftest.err
25624 rm -f conftest.er1
25625 cat conftest.err >&5
25626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25627 (exit $ac_status); } &&
25628 { ac_try='test -z "$ac_c_werror_flag"
25629 || test ! -s conftest.err'
25630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25631 (eval $ac_try) 2>&5
25632 ac_status=$?
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); }; } &&
25635 { ac_try='test -s conftest$ac_exeext'
25636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25637 (eval $ac_try) 2>&5
25638 ac_status=$?
25639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25640 (exit $ac_status); }; }; then
25641 glibcxx_cv_func___builtin_fabsl_link=yes
25642 else
25643 echo "$as_me: failed program was:" >&5
25644 sed 's/^/| /' conftest.$ac_ext >&5
25645
25646 glibcxx_cv_func___builtin_fabsl_link=no
25647 fi
25648 rm -f conftest.err conftest.$ac_objext \
25649 conftest$ac_exeext conftest.$ac_ext
25650
25651 fi
25652
25653 fi
25654 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25655 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25656 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25657 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25658
25659 cat >>confdefs.h <<_ACEOF
25660 #define ${ac_tr_func} 1
25661 _ACEOF
25662
25663 fi
25664 fi
25665
25666
25667 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25668 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25669 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25670 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25671 echo $ECHO_N "(cached) $ECHO_C" >&6
25672 else
25673
25674
25675
25676 ac_ext=cc
25677 ac_cpp='$CXXCPP $CPPFLAGS'
25678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <math.h>
25689 int
25690 main ()
25691 {
25692 __builtin_labs(0);
25693 ;
25694 return 0;
25695 }
25696 _ACEOF
25697 rm -f conftest.$ac_objext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25699 (eval $ac_compile) 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try='test -z "$ac_cxx_werror_flag"
25707 || test ! -s conftest.err'
25708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25709 (eval $ac_try) 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; } &&
25713 { ac_try='test -s conftest.$ac_objext'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25716 ac_status=$?
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; }; then
25719 glibcxx_cv_func___builtin_labs_use=yes
25720 else
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25723
25724 glibcxx_cv_func___builtin_labs_use=no
25725 fi
25726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25727 ac_ext=c
25728 ac_cpp='$CPP $CPPFLAGS'
25729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25732
25733
25734 fi
25735
25736 fi
25737 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25738 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25739 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25740 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25741 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25742 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25743 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25744 echo $ECHO_N "(cached) $ECHO_C" >&6
25745 else
25746
25747 if test x$gcc_no_link = xyes; then
25748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25750 { (exit 1); exit 1; }; }
25751 fi
25752 cat >conftest.$ac_ext <<_ACEOF
25753 /* confdefs.h. */
25754 _ACEOF
25755 cat confdefs.h >>conftest.$ac_ext
25756 cat >>conftest.$ac_ext <<_ACEOF
25757 /* end confdefs.h. */
25758 #include <math.h>
25759 int
25760 main ()
25761 {
25762 __builtin_labs(0);
25763 ;
25764 return 0;
25765 }
25766 _ACEOF
25767 rm -f conftest.$ac_objext conftest$ac_exeext
25768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25769 (eval $ac_link) 2>conftest.er1
25770 ac_status=$?
25771 grep -v '^ *+' conftest.er1 >conftest.err
25772 rm -f conftest.er1
25773 cat conftest.err >&5
25774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25775 (exit $ac_status); } &&
25776 { ac_try='test -z "$ac_c_werror_flag"
25777 || test ! -s conftest.err'
25778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25779 (eval $ac_try) 2>&5
25780 ac_status=$?
25781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25782 (exit $ac_status); }; } &&
25783 { ac_try='test -s conftest$ac_exeext'
25784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25785 (eval $ac_try) 2>&5
25786 ac_status=$?
25787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25788 (exit $ac_status); }; }; then
25789 glibcxx_cv_func___builtin_labs_link=yes
25790 else
25791 echo "$as_me: failed program was:" >&5
25792 sed 's/^/| /' conftest.$ac_ext >&5
25793
25794 glibcxx_cv_func___builtin_labs_link=no
25795 fi
25796 rm -f conftest.err conftest.$ac_objext \
25797 conftest$ac_exeext conftest.$ac_ext
25798
25799 fi
25800
25801 fi
25802 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25803 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25804 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25805 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25806
25807 cat >>confdefs.h <<_ACEOF
25808 #define ${ac_tr_func} 1
25809 _ACEOF
25810
25811 fi
25812 fi
25813
25814
25815
25816 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25817 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25818 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25819 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25820 echo $ECHO_N "(cached) $ECHO_C" >&6
25821 else
25822
25823
25824
25825 ac_ext=cc
25826 ac_cpp='$CXXCPP $CPPFLAGS'
25827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25830
25831 cat >conftest.$ac_ext <<_ACEOF
25832 /* confdefs.h. */
25833 _ACEOF
25834 cat confdefs.h >>conftest.$ac_ext
25835 cat >>conftest.$ac_ext <<_ACEOF
25836 /* end confdefs.h. */
25837 #include <math.h>
25838 int
25839 main ()
25840 {
25841 __builtin_sqrtf(0);
25842 ;
25843 return 0;
25844 }
25845 _ACEOF
25846 rm -f conftest.$ac_objext
25847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25848 (eval $ac_compile) 2>conftest.er1
25849 ac_status=$?
25850 grep -v '^ *+' conftest.er1 >conftest.err
25851 rm -f conftest.er1
25852 cat conftest.err >&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); } &&
25855 { ac_try='test -z "$ac_cxx_werror_flag"
25856 || test ! -s conftest.err'
25857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25858 (eval $ac_try) 2>&5
25859 ac_status=$?
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); }; } &&
25862 { ac_try='test -s conftest.$ac_objext'
25863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25864 (eval $ac_try) 2>&5
25865 ac_status=$?
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); }; }; then
25868 glibcxx_cv_func___builtin_sqrtf_use=yes
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 glibcxx_cv_func___builtin_sqrtf_use=no
25874 fi
25875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881
25882
25883 fi
25884
25885 fi
25886 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25887 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25888 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25889 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25890 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25891 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25892 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25893 echo $ECHO_N "(cached) $ECHO_C" >&6
25894 else
25895
25896 if test x$gcc_no_link = xyes; then
25897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25899 { (exit 1); exit 1; }; }
25900 fi
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907 #include <math.h>
25908 int
25909 main ()
25910 {
25911 __builtin_sqrtf(0);
25912 ;
25913 return 0;
25914 }
25915 _ACEOF
25916 rm -f conftest.$ac_objext conftest$ac_exeext
25917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25918 (eval $ac_link) 2>conftest.er1
25919 ac_status=$?
25920 grep -v '^ *+' conftest.er1 >conftest.err
25921 rm -f conftest.er1
25922 cat conftest.err >&5
25923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25924 (exit $ac_status); } &&
25925 { ac_try='test -z "$ac_c_werror_flag"
25926 || test ! -s conftest.err'
25927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928 (eval $ac_try) 2>&5
25929 ac_status=$?
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); }; } &&
25932 { ac_try='test -s conftest$ac_exeext'
25933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25934 (eval $ac_try) 2>&5
25935 ac_status=$?
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); }; }; then
25938 glibcxx_cv_func___builtin_sqrtf_link=yes
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25942
25943 glibcxx_cv_func___builtin_sqrtf_link=no
25944 fi
25945 rm -f conftest.err conftest.$ac_objext \
25946 conftest$ac_exeext conftest.$ac_ext
25947
25948 fi
25949
25950 fi
25951 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25952 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25953 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25954 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25955
25956 cat >>confdefs.h <<_ACEOF
25957 #define ${ac_tr_func} 1
25958 _ACEOF
25959
25960 fi
25961 fi
25962
25963
25964 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25965 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25966 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25967 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
25968 echo $ECHO_N "(cached) $ECHO_C" >&6
25969 else
25970
25971
25972
25973 ac_ext=cc
25974 ac_cpp='$CXXCPP $CPPFLAGS'
25975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25978
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <math.h>
25986 int
25987 main ()
25988 {
25989 __builtin_sqrt(0);
25990 ;
25991 return 0;
25992 }
25993 _ACEOF
25994 rm -f conftest.$ac_objext
25995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25996 (eval $ac_compile) 2>conftest.er1
25997 ac_status=$?
25998 grep -v '^ *+' conftest.er1 >conftest.err
25999 rm -f conftest.er1
26000 cat conftest.err >&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); } &&
26003 { ac_try='test -z "$ac_cxx_werror_flag"
26004 || test ! -s conftest.err'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26007 ac_status=$?
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; } &&
26010 { ac_try='test -s conftest.$ac_objext'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; }; then
26016 glibcxx_cv_func___builtin_sqrt_use=yes
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26020
26021 glibcxx_cv_func___builtin_sqrt_use=no
26022 fi
26023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26024 ac_ext=c
26025 ac_cpp='$CPP $CPPFLAGS'
26026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26029
26030
26031 fi
26032
26033 fi
26034 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26035 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26036 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26037 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26038 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26039 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26040 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26042 else
26043
26044 if test x$gcc_no_link = xyes; then
26045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26047 { (exit 1); exit 1; }; }
26048 fi
26049 cat >conftest.$ac_ext <<_ACEOF
26050 /* confdefs.h. */
26051 _ACEOF
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 #include <math.h>
26056 int
26057 main ()
26058 {
26059 __builtin_sqrt(0);
26060 ;
26061 return 0;
26062 }
26063 _ACEOF
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066 (eval $ac_link) 2>conftest.er1
26067 ac_status=$?
26068 grep -v '^ *+' conftest.er1 >conftest.err
26069 rm -f conftest.er1
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_c_werror_flag"
26074 || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26083 ac_status=$?
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 glibcxx_cv_func___builtin_sqrt_link=yes
26087 else
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26090
26091 glibcxx_cv_func___builtin_sqrt_link=no
26092 fi
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26095
26096 fi
26097
26098 fi
26099 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26101 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26102 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26103
26104 cat >>confdefs.h <<_ACEOF
26105 #define ${ac_tr_func} 1
26106 _ACEOF
26107
26108 fi
26109 fi
26110
26111
26112 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26113 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26114 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26115 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26117 else
26118
26119
26120
26121 ac_ext=cc
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26126
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26134 int
26135 main ()
26136 {
26137 __builtin_sqrtl(0);
26138 ;
26139 return 0;
26140 }
26141 _ACEOF
26142 rm -f conftest.$ac_objext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26144 (eval $ac_compile) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_cxx_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest.$ac_objext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func___builtin_sqrtl_use=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26168
26169 glibcxx_cv_func___builtin_sqrtl_use=no
26170 fi
26171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26172 ac_ext=c
26173 ac_cpp='$CPP $CPPFLAGS'
26174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26177
26178
26179 fi
26180
26181 fi
26182 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26183 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26184 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26185 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26186 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26187 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26188 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26189 echo $ECHO_N "(cached) $ECHO_C" >&6
26190 else
26191
26192 if test x$gcc_no_link = xyes; then
26193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26195 { (exit 1); exit 1; }; }
26196 fi
26197 cat >conftest.$ac_ext <<_ACEOF
26198 /* confdefs.h. */
26199 _ACEOF
26200 cat confdefs.h >>conftest.$ac_ext
26201 cat >>conftest.$ac_ext <<_ACEOF
26202 /* end confdefs.h. */
26203 #include <math.h>
26204 int
26205 main ()
26206 {
26207 __builtin_sqrtl(0);
26208 ;
26209 return 0;
26210 }
26211 _ACEOF
26212 rm -f conftest.$ac_objext conftest$ac_exeext
26213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26214 (eval $ac_link) 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } &&
26221 { ac_try='test -z "$ac_c_werror_flag"
26222 || test ! -s conftest.err'
26223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26224 (eval $ac_try) 2>&5
26225 ac_status=$?
26226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26227 (exit $ac_status); }; } &&
26228 { ac_try='test -s conftest$ac_exeext'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26231 ac_status=$?
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; }; then
26234 glibcxx_cv_func___builtin_sqrtl_link=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26238
26239 glibcxx_cv_func___builtin_sqrtl_link=no
26240 fi
26241 rm -f conftest.err conftest.$ac_objext \
26242 conftest$ac_exeext conftest.$ac_ext
26243
26244 fi
26245
26246 fi
26247 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26248 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26249 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26250 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26251
26252 cat >>confdefs.h <<_ACEOF
26253 #define ${ac_tr_func} 1
26254 _ACEOF
26255
26256 fi
26257 fi
26258
26259
26260
26261 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26262 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26263 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26264 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26265 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 else
26267
26268
26269
26270 ac_ext=cc
26271 ac_cpp='$CXXCPP $CPPFLAGS'
26272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26275
26276 cat >conftest.$ac_ext <<_ACEOF
26277 /* confdefs.h. */
26278 _ACEOF
26279 cat confdefs.h >>conftest.$ac_ext
26280 cat >>conftest.$ac_ext <<_ACEOF
26281 /* end confdefs.h. */
26282 #include <math.h>
26283 int
26284 main ()
26285 {
26286 __builtin_sinf(0);
26287 ;
26288 return 0;
26289 }
26290 _ACEOF
26291 rm -f conftest.$ac_objext
26292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26293 (eval $ac_compile) 2>conftest.er1
26294 ac_status=$?
26295 grep -v '^ *+' conftest.er1 >conftest.err
26296 rm -f conftest.er1
26297 cat conftest.err >&5
26298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26299 (exit $ac_status); } &&
26300 { ac_try='test -z "$ac_cxx_werror_flag"
26301 || test ! -s conftest.err'
26302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26303 (eval $ac_try) 2>&5
26304 ac_status=$?
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); }; } &&
26307 { ac_try='test -s conftest.$ac_objext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26310 ac_status=$?
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 glibcxx_cv_func___builtin_sinf_use=yes
26314 else
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26317
26318 glibcxx_cv_func___builtin_sinf_use=no
26319 fi
26320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26326
26327
26328 fi
26329
26330 fi
26331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26332 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26333 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26334 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26335 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26336 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26337 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26338 echo $ECHO_N "(cached) $ECHO_C" >&6
26339 else
26340
26341 if test x$gcc_no_link = xyes; then
26342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26344 { (exit 1); exit 1; }; }
26345 fi
26346 cat >conftest.$ac_ext <<_ACEOF
26347 /* confdefs.h. */
26348 _ACEOF
26349 cat confdefs.h >>conftest.$ac_ext
26350 cat >>conftest.$ac_ext <<_ACEOF
26351 /* end confdefs.h. */
26352 #include <math.h>
26353 int
26354 main ()
26355 {
26356 __builtin_sinf(0);
26357 ;
26358 return 0;
26359 }
26360 _ACEOF
26361 rm -f conftest.$ac_objext conftest$ac_exeext
26362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26363 (eval $ac_link) 2>conftest.er1
26364 ac_status=$?
26365 grep -v '^ *+' conftest.er1 >conftest.err
26366 rm -f conftest.er1
26367 cat conftest.err >&5
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); } &&
26370 { ac_try='test -z "$ac_c_werror_flag"
26371 || test ! -s conftest.err'
26372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 (eval $ac_try) 2>&5
26374 ac_status=$?
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); }; } &&
26377 { ac_try='test -s conftest$ac_exeext'
26378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26379 (eval $ac_try) 2>&5
26380 ac_status=$?
26381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26382 (exit $ac_status); }; }; then
26383 glibcxx_cv_func___builtin_sinf_link=yes
26384 else
26385 echo "$as_me: failed program was:" >&5
26386 sed 's/^/| /' conftest.$ac_ext >&5
26387
26388 glibcxx_cv_func___builtin_sinf_link=no
26389 fi
26390 rm -f conftest.err conftest.$ac_objext \
26391 conftest$ac_exeext conftest.$ac_ext
26392
26393 fi
26394
26395 fi
26396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26397 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26398 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26399 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26400
26401 cat >>confdefs.h <<_ACEOF
26402 #define ${ac_tr_func} 1
26403 _ACEOF
26404
26405 fi
26406 fi
26407
26408
26409 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26410 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26411 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26412 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26413 echo $ECHO_N "(cached) $ECHO_C" >&6
26414 else
26415
26416
26417
26418 ac_ext=cc
26419 ac_cpp='$CXXCPP $CPPFLAGS'
26420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26423
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430 #include <math.h>
26431 int
26432 main ()
26433 {
26434 __builtin_sin(0);
26435 ;
26436 return 0;
26437 }
26438 _ACEOF
26439 rm -f conftest.$ac_objext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26441 (eval $ac_compile) 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try='test -z "$ac_cxx_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest.$ac_objext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 glibcxx_cv_func___builtin_sin_use=yes
26462 else
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26465
26466 glibcxx_cv_func___builtin_sin_use=no
26467 fi
26468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_ext=c
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474
26475
26476 fi
26477
26478 fi
26479 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26480 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26481 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26482 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26483 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26484 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26485 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26486 echo $ECHO_N "(cached) $ECHO_C" >&6
26487 else
26488
26489 if test x$gcc_no_link = xyes; then
26490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26492 { (exit 1); exit 1; }; }
26493 fi
26494 cat >conftest.$ac_ext <<_ACEOF
26495 /* confdefs.h. */
26496 _ACEOF
26497 cat confdefs.h >>conftest.$ac_ext
26498 cat >>conftest.$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <math.h>
26501 int
26502 main ()
26503 {
26504 __builtin_sin(0);
26505 ;
26506 return 0;
26507 }
26508 _ACEOF
26509 rm -f conftest.$ac_objext conftest$ac_exeext
26510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26511 (eval $ac_link) 2>conftest.er1
26512 ac_status=$?
26513 grep -v '^ *+' conftest.er1 >conftest.err
26514 rm -f conftest.er1
26515 cat conftest.err >&5
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); } &&
26518 { ac_try='test -z "$ac_c_werror_flag"
26519 || test ! -s conftest.err'
26520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26521 (eval $ac_try) 2>&5
26522 ac_status=$?
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); }; } &&
26525 { ac_try='test -s conftest$ac_exeext'
26526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26527 (eval $ac_try) 2>&5
26528 ac_status=$?
26529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26530 (exit $ac_status); }; }; then
26531 glibcxx_cv_func___builtin_sin_link=yes
26532 else
26533 echo "$as_me: failed program was:" >&5
26534 sed 's/^/| /' conftest.$ac_ext >&5
26535
26536 glibcxx_cv_func___builtin_sin_link=no
26537 fi
26538 rm -f conftest.err conftest.$ac_objext \
26539 conftest$ac_exeext conftest.$ac_ext
26540
26541 fi
26542
26543 fi
26544 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26545 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26546 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26547 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26548
26549 cat >>confdefs.h <<_ACEOF
26550 #define ${ac_tr_func} 1
26551 _ACEOF
26552
26553 fi
26554 fi
26555
26556
26557 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26558 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26559 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26560 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26561 echo $ECHO_N "(cached) $ECHO_C" >&6
26562 else
26563
26564
26565
26566 ac_ext=cc
26567 ac_cpp='$CXXCPP $CPPFLAGS'
26568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26571
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 #include <math.h>
26579 int
26580 main ()
26581 {
26582 __builtin_sinl(0);
26583 ;
26584 return 0;
26585 }
26586 _ACEOF
26587 rm -f conftest.$ac_objext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26589 (eval $ac_compile) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_cxx_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest.$ac_objext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 glibcxx_cv_func___builtin_sinl_use=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26613
26614 glibcxx_cv_func___builtin_sinl_use=no
26615 fi
26616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26617 ac_ext=c
26618 ac_cpp='$CPP $CPPFLAGS'
26619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26622
26623
26624 fi
26625
26626 fi
26627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26628 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26629 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26630 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26631 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26632 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26633 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26634 echo $ECHO_N "(cached) $ECHO_C" >&6
26635 else
26636
26637 if test x$gcc_no_link = xyes; then
26638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26640 { (exit 1); exit 1; }; }
26641 fi
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 #include <math.h>
26649 int
26650 main ()
26651 {
26652 __builtin_sinl(0);
26653 ;
26654 return 0;
26655 }
26656 _ACEOF
26657 rm -f conftest.$ac_objext conftest$ac_exeext
26658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26659 (eval $ac_link) 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try='test -z "$ac_c_werror_flag"
26667 || test ! -s conftest.err'
26668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26669 (eval $ac_try) 2>&5
26670 ac_status=$?
26671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26672 (exit $ac_status); }; } &&
26673 { ac_try='test -s conftest$ac_exeext'
26674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26675 (eval $ac_try) 2>&5
26676 ac_status=$?
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 glibcxx_cv_func___builtin_sinl_link=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26683
26684 glibcxx_cv_func___builtin_sinl_link=no
26685 fi
26686 rm -f conftest.err conftest.$ac_objext \
26687 conftest$ac_exeext conftest.$ac_ext
26688
26689 fi
26690
26691 fi
26692 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26693 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26694 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26695 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26696
26697 cat >>confdefs.h <<_ACEOF
26698 #define ${ac_tr_func} 1
26699 _ACEOF
26700
26701 fi
26702 fi
26703
26704
26705
26706 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26707 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26708 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26709 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26710 echo $ECHO_N "(cached) $ECHO_C" >&6
26711 else
26712
26713
26714
26715 ac_ext=cc
26716 ac_cpp='$CXXCPP $CPPFLAGS'
26717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26720
26721 cat >conftest.$ac_ext <<_ACEOF
26722 /* confdefs.h. */
26723 _ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 #include <math.h>
26728 int
26729 main ()
26730 {
26731 __builtin_cosf(0);
26732 ;
26733 return 0;
26734 }
26735 _ACEOF
26736 rm -f conftest.$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_cxx_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try='test -s conftest.$ac_objext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 glibcxx_cv_func___builtin_cosf_use=yes
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 glibcxx_cv_func___builtin_cosf_use=no
26764 fi
26765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26766 ac_ext=c
26767 ac_cpp='$CPP $CPPFLAGS'
26768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26771
26772
26773 fi
26774
26775 fi
26776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26777 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26778 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26779 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26780 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26781 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26782 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26783 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 else
26785
26786 if test x$gcc_no_link = xyes; then
26787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26789 { (exit 1); exit 1; }; }
26790 fi
26791 cat >conftest.$ac_ext <<_ACEOF
26792 /* confdefs.h. */
26793 _ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26797 #include <math.h>
26798 int
26799 main ()
26800 {
26801 __builtin_cosf(0);
26802 ;
26803 return 0;
26804 }
26805 _ACEOF
26806 rm -f conftest.$ac_objext conftest$ac_exeext
26807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26808 (eval $ac_link) 2>conftest.er1
26809 ac_status=$?
26810 grep -v '^ *+' conftest.er1 >conftest.err
26811 rm -f conftest.er1
26812 cat conftest.err >&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); } &&
26815 { ac_try='test -z "$ac_c_werror_flag"
26816 || test ! -s conftest.err'
26817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26818 (eval $ac_try) 2>&5
26819 ac_status=$?
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); }; } &&
26822 { ac_try='test -s conftest$ac_exeext'
26823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26824 (eval $ac_try) 2>&5
26825 ac_status=$?
26826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26827 (exit $ac_status); }; }; then
26828 glibcxx_cv_func___builtin_cosf_link=yes
26829 else
26830 echo "$as_me: failed program was:" >&5
26831 sed 's/^/| /' conftest.$ac_ext >&5
26832
26833 glibcxx_cv_func___builtin_cosf_link=no
26834 fi
26835 rm -f conftest.err conftest.$ac_objext \
26836 conftest$ac_exeext conftest.$ac_ext
26837
26838 fi
26839
26840 fi
26841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26842 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26843 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26844 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26845
26846 cat >>confdefs.h <<_ACEOF
26847 #define ${ac_tr_func} 1
26848 _ACEOF
26849
26850 fi
26851 fi
26852
26853
26854 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26855 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26856 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26857 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26858 echo $ECHO_N "(cached) $ECHO_C" >&6
26859 else
26860
26861
26862
26863 ac_ext=cc
26864 ac_cpp='$CXXCPP $CPPFLAGS'
26865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26868
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <math.h>
26876 int
26877 main ()
26878 {
26879 __builtin_cos(0);
26880 ;
26881 return 0;
26882 }
26883 _ACEOF
26884 rm -f conftest.$ac_objext
26885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26886 (eval $ac_compile) 2>conftest.er1
26887 ac_status=$?
26888 grep -v '^ *+' conftest.er1 >conftest.err
26889 rm -f conftest.er1
26890 cat conftest.err >&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); } &&
26893 { ac_try='test -z "$ac_cxx_werror_flag"
26894 || test ! -s conftest.err'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; } &&
26900 { ac_try='test -s conftest.$ac_objext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26903 ac_status=$?
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 glibcxx_cv_func___builtin_cos_use=yes
26907 else
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26910
26911 glibcxx_cv_func___builtin_cos_use=no
26912 fi
26913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26914 ac_ext=c
26915 ac_cpp='$CPP $CPPFLAGS'
26916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26919
26920
26921 fi
26922
26923 fi
26924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26925 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26926 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26927 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26928 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26929 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26930 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26932 else
26933
26934 if test x$gcc_no_link = xyes; then
26935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26937 { (exit 1); exit 1; }; }
26938 fi
26939 cat >conftest.$ac_ext <<_ACEOF
26940 /* confdefs.h. */
26941 _ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <math.h>
26946 int
26947 main ()
26948 {
26949 __builtin_cos(0);
26950 ;
26951 return 0;
26952 }
26953 _ACEOF
26954 rm -f conftest.$ac_objext conftest$ac_exeext
26955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26956 (eval $ac_link) 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } &&
26963 { ac_try='test -z "$ac_c_werror_flag"
26964 || test ! -s conftest.err'
26965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26966 (eval $ac_try) 2>&5
26967 ac_status=$?
26968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26969 (exit $ac_status); }; } &&
26970 { ac_try='test -s conftest$ac_exeext'
26971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26972 (eval $ac_try) 2>&5
26973 ac_status=$?
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); }; }; then
26976 glibcxx_cv_func___builtin_cos_link=yes
26977 else
26978 echo "$as_me: failed program was:" >&5
26979 sed 's/^/| /' conftest.$ac_ext >&5
26980
26981 glibcxx_cv_func___builtin_cos_link=no
26982 fi
26983 rm -f conftest.err conftest.$ac_objext \
26984 conftest$ac_exeext conftest.$ac_ext
26985
26986 fi
26987
26988 fi
26989 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
26990 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
26991 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
26992 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26993
26994 cat >>confdefs.h <<_ACEOF
26995 #define ${ac_tr_func} 1
26996 _ACEOF
26997
26998 fi
26999 fi
27000
27001
27002 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27003 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27004 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27005 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27006 echo $ECHO_N "(cached) $ECHO_C" >&6
27007 else
27008
27009
27010
27011 ac_ext=cc
27012 ac_cpp='$CXXCPP $CPPFLAGS'
27013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27016
27017 cat >conftest.$ac_ext <<_ACEOF
27018 /* confdefs.h. */
27019 _ACEOF
27020 cat confdefs.h >>conftest.$ac_ext
27021 cat >>conftest.$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023 #include <math.h>
27024 int
27025 main ()
27026 {
27027 __builtin_cosl(0);
27028 ;
27029 return 0;
27030 }
27031 _ACEOF
27032 rm -f conftest.$ac_objext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27034 (eval $ac_compile) 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try='test -z "$ac_cxx_werror_flag"
27042 || test ! -s conftest.err'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try='test -s conftest.$ac_objext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27051 ac_status=$?
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27054 glibcxx_cv_func___builtin_cosl_use=yes
27055 else
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.$ac_ext >&5
27058
27059 glibcxx_cv_func___builtin_cosl_use=no
27060 fi
27061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27062 ac_ext=c
27063 ac_cpp='$CPP $CPPFLAGS'
27064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27067
27068
27069 fi
27070
27071 fi
27072 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27073 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27074 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27075 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27076 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27077 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27078 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27080 else
27081
27082 if test x$gcc_no_link = xyes; then
27083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27085 { (exit 1); exit 1; }; }
27086 fi
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <math.h>
27094 int
27095 main ()
27096 {
27097 __builtin_cosl(0);
27098 ;
27099 return 0;
27100 }
27101 _ACEOF
27102 rm -f conftest.$ac_objext conftest$ac_exeext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27104 (eval $ac_link) 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try='test -z "$ac_c_werror_flag"
27112 || test ! -s conftest.err'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; } &&
27118 { ac_try='test -s conftest$ac_exeext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 glibcxx_cv_func___builtin_cosl_link=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27128
27129 glibcxx_cv_func___builtin_cosl_link=no
27130 fi
27131 rm -f conftest.err conftest.$ac_objext \
27132 conftest$ac_exeext conftest.$ac_ext
27133
27134 fi
27135
27136 fi
27137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27138 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27139 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27140 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27141
27142 cat >>confdefs.h <<_ACEOF
27143 #define ${ac_tr_func} 1
27144 _ACEOF
27145
27146 fi
27147 fi
27148
27149
27150
27151
27152 echo "$as_me:$LINENO: checking for main in -lm" >&5
27153 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27154 if test "${ac_cv_lib_m_main+set}" = set; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 else
27157 ac_check_lib_save_LIBS=$LIBS
27158 LIBS="-lm $LIBS"
27159 if test x$gcc_no_link = xyes; then
27160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27162 { (exit 1); exit 1; }; }
27163 fi
27164 cat >conftest.$ac_ext <<_ACEOF
27165 /* confdefs.h. */
27166 _ACEOF
27167 cat confdefs.h >>conftest.$ac_ext
27168 cat >>conftest.$ac_ext <<_ACEOF
27169 /* end confdefs.h. */
27170
27171
27172 int
27173 main ()
27174 {
27175 main ();
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 rm -f conftest.$ac_objext conftest$ac_exeext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27182 (eval $ac_link) 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } &&
27189 { ac_try='test -z "$ac_c_werror_flag"
27190 || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest$ac_exeext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 ac_cv_lib_m_main=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27206
27207 ac_cv_lib_m_main=no
27208 fi
27209 rm -f conftest.err conftest.$ac_objext \
27210 conftest$ac_exeext conftest.$ac_ext
27211 LIBS=$ac_check_lib_save_LIBS
27212 fi
27213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27214 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27215 if test $ac_cv_lib_m_main = yes; then
27216 cat >>confdefs.h <<_ACEOF
27217 #define HAVE_LIBM 1
27218 _ACEOF
27219
27220 LIBS="-lm $LIBS"
27221
27222 fi
27223
27224
27225 for ac_func in copysignf
27226 do
27227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27228 echo "$as_me:$LINENO: checking for $ac_func" >&5
27229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27230 if eval "test \"\${$as_ac_var+set}\" = set"; then
27231 echo $ECHO_N "(cached) $ECHO_C" >&6
27232 else
27233 if test x$gcc_no_link = xyes; then
27234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27236 { (exit 1); exit 1; }; }
27237 fi
27238 cat >conftest.$ac_ext <<_ACEOF
27239 /* confdefs.h. */
27240 _ACEOF
27241 cat confdefs.h >>conftest.$ac_ext
27242 cat >>conftest.$ac_ext <<_ACEOF
27243 /* end confdefs.h. */
27244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27246 #define $ac_func innocuous_$ac_func
27247
27248 /* System header to define __stub macros and hopefully few prototypes,
27249 which can conflict with char $ac_func (); below.
27250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27251 <limits.h> exists even on freestanding compilers. */
27252
27253 #ifdef __STDC__
27254 # include <limits.h>
27255 #else
27256 # include <assert.h>
27257 #endif
27258
27259 #undef $ac_func
27260
27261 /* Override any gcc2 internal prototype to avoid an error. */
27262 #ifdef __cplusplus
27263 extern "C"
27264 {
27265 #endif
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27268 char $ac_func ();
27269 /* The GNU C library defines this for functions which it implements
27270 to always fail with ENOSYS. Some functions are actually named
27271 something starting with __ and the normal name is an alias. */
27272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27273 choke me
27274 #else
27275 char (*f) () = $ac_func;
27276 #endif
27277 #ifdef __cplusplus
27278 }
27279 #endif
27280
27281 int
27282 main ()
27283 {
27284 return f != $ac_func;
27285 ;
27286 return 0;
27287 }
27288 _ACEOF
27289 rm -f conftest.$ac_objext conftest$ac_exeext
27290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27291 (eval $ac_link) 2>conftest.er1
27292 ac_status=$?
27293 grep -v '^ *+' conftest.er1 >conftest.err
27294 rm -f conftest.er1
27295 cat conftest.err >&5
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); } &&
27298 { ac_try='test -z "$ac_c_werror_flag"
27299 || test ! -s conftest.err'
27300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27301 (eval $ac_try) 2>&5
27302 ac_status=$?
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); }; } &&
27305 { ac_try='test -s conftest$ac_exeext'
27306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27307 (eval $ac_try) 2>&5
27308 ac_status=$?
27309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27310 (exit $ac_status); }; }; then
27311 eval "$as_ac_var=yes"
27312 else
27313 echo "$as_me: failed program was:" >&5
27314 sed 's/^/| /' conftest.$ac_ext >&5
27315
27316 eval "$as_ac_var=no"
27317 fi
27318 rm -f conftest.err conftest.$ac_objext \
27319 conftest$ac_exeext conftest.$ac_ext
27320 fi
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27323 if test `eval echo '${'$as_ac_var'}'` = yes; then
27324 cat >>confdefs.h <<_ACEOF
27325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27326 _ACEOF
27327
27328 else
27329 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27330 fi
27331 done
27332
27333
27334
27335 for ac_func in __signbit
27336 do
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27342 else
27343 if test x$gcc_no_link = xyes; then
27344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27346 { (exit 1); exit 1; }; }
27347 fi
27348 cat >conftest.$ac_ext <<_ACEOF
27349 /* confdefs.h. */
27350 _ACEOF
27351 cat confdefs.h >>conftest.$ac_ext
27352 cat >>conftest.$ac_ext <<_ACEOF
27353 /* end confdefs.h. */
27354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27356 #define $ac_func innocuous_$ac_func
27357
27358 /* System header to define __stub macros and hopefully few prototypes,
27359 which can conflict with char $ac_func (); below.
27360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27361 <limits.h> exists even on freestanding compilers. */
27362
27363 #ifdef __STDC__
27364 # include <limits.h>
27365 #else
27366 # include <assert.h>
27367 #endif
27368
27369 #undef $ac_func
27370
27371 /* Override any gcc2 internal prototype to avoid an error. */
27372 #ifdef __cplusplus
27373 extern "C"
27374 {
27375 #endif
27376 /* We use char because int might match the return type of a gcc2
27377 builtin and then its argument prototype would still apply. */
27378 char $ac_func ();
27379 /* The GNU C library defines this for functions which it implements
27380 to always fail with ENOSYS. Some functions are actually named
27381 something starting with __ and the normal name is an alias. */
27382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27383 choke me
27384 #else
27385 char (*f) () = $ac_func;
27386 #endif
27387 #ifdef __cplusplus
27388 }
27389 #endif
27390
27391 int
27392 main ()
27393 {
27394 return f != $ac_func;
27395 ;
27396 return 0;
27397 }
27398 _ACEOF
27399 rm -f conftest.$ac_objext conftest$ac_exeext
27400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27401 (eval $ac_link) 2>conftest.er1
27402 ac_status=$?
27403 grep -v '^ *+' conftest.er1 >conftest.err
27404 rm -f conftest.er1
27405 cat conftest.err >&5
27406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27407 (exit $ac_status); } &&
27408 { ac_try='test -z "$ac_c_werror_flag"
27409 || test ! -s conftest.err'
27410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27411 (eval $ac_try) 2>&5
27412 ac_status=$?
27413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27414 (exit $ac_status); }; } &&
27415 { ac_try='test -s conftest$ac_exeext'
27416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27417 (eval $ac_try) 2>&5
27418 ac_status=$?
27419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27420 (exit $ac_status); }; }; then
27421 eval "$as_ac_var=yes"
27422 else
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.$ac_ext >&5
27425
27426 eval "$as_ac_var=no"
27427 fi
27428 rm -f conftest.err conftest.$ac_objext \
27429 conftest$ac_exeext conftest.$ac_ext
27430 fi
27431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27433 if test `eval echo '${'$as_ac_var'}'` = yes; then
27434 cat >>confdefs.h <<_ACEOF
27435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27436 _ACEOF
27437
27438 else
27439 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27440 fi
27441 done
27442
27443
27444
27445 for ac_func in __signbitf
27446 do
27447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27448 echo "$as_me:$LINENO: checking for $ac_func" >&5
27449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27450 if eval "test \"\${$as_ac_var+set}\" = set"; then
27451 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 else
27453 if test x$gcc_no_link = xyes; then
27454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27456 { (exit 1); exit 1; }; }
27457 fi
27458 cat >conftest.$ac_ext <<_ACEOF
27459 /* confdefs.h. */
27460 _ACEOF
27461 cat confdefs.h >>conftest.$ac_ext
27462 cat >>conftest.$ac_ext <<_ACEOF
27463 /* end confdefs.h. */
27464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27466 #define $ac_func innocuous_$ac_func
27467
27468 /* System header to define __stub macros and hopefully few prototypes,
27469 which can conflict with char $ac_func (); below.
27470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27471 <limits.h> exists even on freestanding compilers. */
27472
27473 #ifdef __STDC__
27474 # include <limits.h>
27475 #else
27476 # include <assert.h>
27477 #endif
27478
27479 #undef $ac_func
27480
27481 /* Override any gcc2 internal prototype to avoid an error. */
27482 #ifdef __cplusplus
27483 extern "C"
27484 {
27485 #endif
27486 /* We use char because int might match the return type of a gcc2
27487 builtin and then its argument prototype would still apply. */
27488 char $ac_func ();
27489 /* The GNU C library defines this for functions which it implements
27490 to always fail with ENOSYS. Some functions are actually named
27491 something starting with __ and the normal name is an alias. */
27492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27493 choke me
27494 #else
27495 char (*f) () = $ac_func;
27496 #endif
27497 #ifdef __cplusplus
27498 }
27499 #endif
27500
27501 int
27502 main ()
27503 {
27504 return f != $ac_func;
27505 ;
27506 return 0;
27507 }
27508 _ACEOF
27509 rm -f conftest.$ac_objext conftest$ac_exeext
27510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27511 (eval $ac_link) 2>conftest.er1
27512 ac_status=$?
27513 grep -v '^ *+' conftest.er1 >conftest.err
27514 rm -f conftest.er1
27515 cat conftest.err >&5
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); } &&
27518 { ac_try='test -z "$ac_c_werror_flag"
27519 || test ! -s conftest.err'
27520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27521 (eval $ac_try) 2>&5
27522 ac_status=$?
27523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27524 (exit $ac_status); }; } &&
27525 { ac_try='test -s conftest$ac_exeext'
27526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27527 (eval $ac_try) 2>&5
27528 ac_status=$?
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); }; }; then
27531 eval "$as_ac_var=yes"
27532 else
27533 echo "$as_me: failed program was:" >&5
27534 sed 's/^/| /' conftest.$ac_ext >&5
27535
27536 eval "$as_ac_var=no"
27537 fi
27538 rm -f conftest.err conftest.$ac_objext \
27539 conftest$ac_exeext conftest.$ac_ext
27540 fi
27541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27543 if test `eval echo '${'$as_ac_var'}'` = yes; then
27544 cat >>confdefs.h <<_ACEOF
27545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27546 _ACEOF
27547
27548 else
27549 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27550 fi
27551 done
27552
27553
27554 if test x$ac_cv_func_copysignl = x"yes"; then
27555
27556 for ac_func in __signbitl
27557 do
27558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27559 echo "$as_me:$LINENO: checking for $ac_func" >&5
27560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27561 if eval "test \"\${$as_ac_var+set}\" = set"; then
27562 echo $ECHO_N "(cached) $ECHO_C" >&6
27563 else
27564 if test x$gcc_no_link = xyes; then
27565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27567 { (exit 1); exit 1; }; }
27568 fi
27569 cat >conftest.$ac_ext <<_ACEOF
27570 /* confdefs.h. */
27571 _ACEOF
27572 cat confdefs.h >>conftest.$ac_ext
27573 cat >>conftest.$ac_ext <<_ACEOF
27574 /* end confdefs.h. */
27575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27577 #define $ac_func innocuous_$ac_func
27578
27579 /* System header to define __stub macros and hopefully few prototypes,
27580 which can conflict with char $ac_func (); below.
27581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27582 <limits.h> exists even on freestanding compilers. */
27583
27584 #ifdef __STDC__
27585 # include <limits.h>
27586 #else
27587 # include <assert.h>
27588 #endif
27589
27590 #undef $ac_func
27591
27592 /* Override any gcc2 internal prototype to avoid an error. */
27593 #ifdef __cplusplus
27594 extern "C"
27595 {
27596 #endif
27597 /* We use char because int might match the return type of a gcc2
27598 builtin and then its argument prototype would still apply. */
27599 char $ac_func ();
27600 /* The GNU C library defines this for functions which it implements
27601 to always fail with ENOSYS. Some functions are actually named
27602 something starting with __ and the normal name is an alias. */
27603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27604 choke me
27605 #else
27606 char (*f) () = $ac_func;
27607 #endif
27608 #ifdef __cplusplus
27609 }
27610 #endif
27611
27612 int
27613 main ()
27614 {
27615 return f != $ac_func;
27616 ;
27617 return 0;
27618 }
27619 _ACEOF
27620 rm -f conftest.$ac_objext conftest$ac_exeext
27621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27622 (eval $ac_link) 2>conftest.er1
27623 ac_status=$?
27624 grep -v '^ *+' conftest.er1 >conftest.err
27625 rm -f conftest.er1
27626 cat conftest.err >&5
27627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27628 (exit $ac_status); } &&
27629 { ac_try='test -z "$ac_c_werror_flag"
27630 || test ! -s conftest.err'
27631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632 (eval $ac_try) 2>&5
27633 ac_status=$?
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); }; } &&
27636 { ac_try='test -s conftest$ac_exeext'
27637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27638 (eval $ac_try) 2>&5
27639 ac_status=$?
27640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27641 (exit $ac_status); }; }; then
27642 eval "$as_ac_var=yes"
27643 else
27644 echo "$as_me: failed program was:" >&5
27645 sed 's/^/| /' conftest.$ac_ext >&5
27646
27647 eval "$as_ac_var=no"
27648 fi
27649 rm -f conftest.err conftest.$ac_objext \
27650 conftest$ac_exeext conftest.$ac_ext
27651 fi
27652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27654 if test `eval echo '${'$as_ac_var'}'` = yes; then
27655 cat >>confdefs.h <<_ACEOF
27656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27657 _ACEOF
27658
27659 else
27660 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27661 fi
27662 done
27663
27664 fi
27665
27666 # Used in libmath/Makefile.am.
27667 if test -n "$LIBMATHOBJS"; then
27668 need_libmath=yes
27669 fi
27670
27671
27672
27673
27674 enable_iconv=no
27675 # Only continue checking if the ISO C99 headers exist and support is on.
27676 if test x"$enable_wchar_t" = xyes; then
27677
27678 # Use iconv for wchar_t to char conversions. As such, check for
27679 # X/Open Portability Guide, version 2 features (XPG2).
27680 if test "${ac_cv_header_iconv_h+set}" = set; then
27681 echo "$as_me:$LINENO: checking for iconv.h" >&5
27682 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27683 if test "${ac_cv_header_iconv_h+set}" = set; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27685 fi
27686 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27687 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27688 else
27689 # Is the header compilable?
27690 echo "$as_me:$LINENO: checking iconv.h usability" >&5
27691 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
27692 cat >conftest.$ac_ext <<_ACEOF
27693 /* confdefs.h. */
27694 _ACEOF
27695 cat confdefs.h >>conftest.$ac_ext
27696 cat >>conftest.$ac_ext <<_ACEOF
27697 /* end confdefs.h. */
27698 $ac_includes_default
27699 #include <iconv.h>
27700 _ACEOF
27701 rm -f conftest.$ac_objext
27702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27703 (eval $ac_compile) 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } &&
27710 { ac_try='test -z "$ac_c_werror_flag"
27711 || test ! -s conftest.err'
27712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27713 (eval $ac_try) 2>&5
27714 ac_status=$?
27715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27716 (exit $ac_status); }; } &&
27717 { ac_try='test -s conftest.$ac_objext'
27718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27719 (eval $ac_try) 2>&5
27720 ac_status=$?
27721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27722 (exit $ac_status); }; }; then
27723 ac_header_compiler=yes
27724 else
27725 echo "$as_me: failed program was:" >&5
27726 sed 's/^/| /' conftest.$ac_ext >&5
27727
27728 ac_header_compiler=no
27729 fi
27730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27732 echo "${ECHO_T}$ac_header_compiler" >&6
27733
27734 # Is the header present?
27735 echo "$as_me:$LINENO: checking iconv.h presence" >&5
27736 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
27737 cat >conftest.$ac_ext <<_ACEOF
27738 /* confdefs.h. */
27739 _ACEOF
27740 cat confdefs.h >>conftest.$ac_ext
27741 cat >>conftest.$ac_ext <<_ACEOF
27742 /* end confdefs.h. */
27743 #include <iconv.h>
27744 _ACEOF
27745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27747 ac_status=$?
27748 grep -v '^ *+' conftest.er1 >conftest.err
27749 rm -f conftest.er1
27750 cat conftest.err >&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); } >/dev/null; then
27753 if test -s conftest.err; then
27754 ac_cpp_err=$ac_c_preproc_warn_flag
27755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27756 else
27757 ac_cpp_err=
27758 fi
27759 else
27760 ac_cpp_err=yes
27761 fi
27762 if test -z "$ac_cpp_err"; then
27763 ac_header_preproc=yes
27764 else
27765 echo "$as_me: failed program was:" >&5
27766 sed 's/^/| /' conftest.$ac_ext >&5
27767
27768 ac_header_preproc=no
27769 fi
27770 rm -f conftest.err conftest.$ac_ext
27771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27772 echo "${ECHO_T}$ac_header_preproc" >&6
27773
27774 # So? What about this header?
27775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27776 yes:no: )
27777 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
27778 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27779 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
27780 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
27781 ac_header_preproc=yes
27782 ;;
27783 no:yes:* )
27784 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
27785 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
27786 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
27787 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
27788 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
27789 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
27790 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
27791 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
27792 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
27793 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
27794 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
27795 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
27796 (
27797 cat <<\_ASBOX
27798 ## ----------------------------------------- ##
27799 ## Report this to the package-unused lists. ##
27800 ## ----------------------------------------- ##
27801 _ASBOX
27802 ) |
27803 sed "s/^/$as_me: WARNING: /" >&2
27804 ;;
27805 esac
27806 echo "$as_me:$LINENO: checking for iconv.h" >&5
27807 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
27808 if test "${ac_cv_header_iconv_h+set}" = set; then
27809 echo $ECHO_N "(cached) $ECHO_C" >&6
27810 else
27811 ac_cv_header_iconv_h=$ac_header_preproc
27812 fi
27813 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
27814 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
27815
27816 fi
27817 if test $ac_cv_header_iconv_h = yes; then
27818 ac_has_iconv_h=yes
27819 else
27820 ac_has_iconv_h=no
27821 fi
27822
27823
27824 if test "${ac_cv_header_langinfo_h+set}" = set; then
27825 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27826 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27827 if test "${ac_cv_header_langinfo_h+set}" = set; then
27828 echo $ECHO_N "(cached) $ECHO_C" >&6
27829 fi
27830 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27831 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27832 else
27833 # Is the header compilable?
27834 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
27835 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
27836 cat >conftest.$ac_ext <<_ACEOF
27837 /* confdefs.h. */
27838 _ACEOF
27839 cat confdefs.h >>conftest.$ac_ext
27840 cat >>conftest.$ac_ext <<_ACEOF
27841 /* end confdefs.h. */
27842 $ac_includes_default
27843 #include <langinfo.h>
27844 _ACEOF
27845 rm -f conftest.$ac_objext
27846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27847 (eval $ac_compile) 2>conftest.er1
27848 ac_status=$?
27849 grep -v '^ *+' conftest.er1 >conftest.err
27850 rm -f conftest.er1
27851 cat conftest.err >&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } &&
27854 { ac_try='test -z "$ac_c_werror_flag"
27855 || test ! -s conftest.err'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; } &&
27861 { ac_try='test -s conftest.$ac_objext'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27864 ac_status=$?
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; }; then
27867 ac_header_compiler=yes
27868 else
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.$ac_ext >&5
27871
27872 ac_header_compiler=no
27873 fi
27874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27876 echo "${ECHO_T}$ac_header_compiler" >&6
27877
27878 # Is the header present?
27879 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
27880 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
27881 cat >conftest.$ac_ext <<_ACEOF
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887 #include <langinfo.h>
27888 _ACEOF
27889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27891 ac_status=$?
27892 grep -v '^ *+' conftest.er1 >conftest.err
27893 rm -f conftest.er1
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } >/dev/null; then
27897 if test -s conftest.err; then
27898 ac_cpp_err=$ac_c_preproc_warn_flag
27899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27900 else
27901 ac_cpp_err=
27902 fi
27903 else
27904 ac_cpp_err=yes
27905 fi
27906 if test -z "$ac_cpp_err"; then
27907 ac_header_preproc=yes
27908 else
27909 echo "$as_me: failed program was:" >&5
27910 sed 's/^/| /' conftest.$ac_ext >&5
27911
27912 ac_header_preproc=no
27913 fi
27914 rm -f conftest.err conftest.$ac_ext
27915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27916 echo "${ECHO_T}$ac_header_preproc" >&6
27917
27918 # So? What about this header?
27919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27920 yes:no: )
27921 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
27922 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27923 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
27924 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
27925 ac_header_preproc=yes
27926 ;;
27927 no:yes:* )
27928 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
27929 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
27930 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
27931 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
27932 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
27933 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
27934 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
27935 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
27936 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
27937 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
27938 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
27939 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
27940 (
27941 cat <<\_ASBOX
27942 ## ----------------------------------------- ##
27943 ## Report this to the package-unused lists. ##
27944 ## ----------------------------------------- ##
27945 _ASBOX
27946 ) |
27947 sed "s/^/$as_me: WARNING: /" >&2
27948 ;;
27949 esac
27950 echo "$as_me:$LINENO: checking for langinfo.h" >&5
27951 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
27952 if test "${ac_cv_header_langinfo_h+set}" = set; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 ac_cv_header_langinfo_h=$ac_header_preproc
27956 fi
27957 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
27958 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
27959
27960 fi
27961 if test $ac_cv_header_langinfo_h = yes; then
27962 ac_has_langinfo_h=yes
27963 else
27964 ac_has_langinfo_h=no
27965 fi
27966
27967
27968
27969 # Check for existence of libiconv.a providing XPG2 wchar_t support.
27970 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
27971 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
27972 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27974 else
27975 ac_check_lib_save_LIBS=$LIBS
27976 LIBS="-liconv $LIBS"
27977 if test x$gcc_no_link = xyes; then
27978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27980 { (exit 1); exit 1; }; }
27981 fi
27982 cat >conftest.$ac_ext <<_ACEOF
27983 /* confdefs.h. */
27984 _ACEOF
27985 cat confdefs.h >>conftest.$ac_ext
27986 cat >>conftest.$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27988
27989 /* Override any gcc2 internal prototype to avoid an error. */
27990 #ifdef __cplusplus
27991 extern "C"
27992 #endif
27993 /* We use char because int might match the return type of a gcc2
27994 builtin and then its argument prototype would still apply. */
27995 char iconv ();
27996 int
27997 main ()
27998 {
27999 iconv ();
28000 ;
28001 return 0;
28002 }
28003 _ACEOF
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006 (eval $ac_link) 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } &&
28013 { ac_try='test -z "$ac_c_werror_flag"
28014 || test ! -s conftest.err'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; } &&
28020 { ac_try='test -s conftest$ac_exeext'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; }; then
28026 ac_cv_lib_iconv_iconv=yes
28027 else
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28030
28031 ac_cv_lib_iconv_iconv=no
28032 fi
28033 rm -f conftest.err conftest.$ac_objext \
28034 conftest$ac_exeext conftest.$ac_ext
28035 LIBS=$ac_check_lib_save_LIBS
28036 fi
28037 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28038 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28039 if test $ac_cv_lib_iconv_iconv = yes; then
28040 LIBICONV="-liconv"
28041 fi
28042
28043 ac_save_LIBS="$LIBS"
28044 LIBS="$LIBS $LIBICONV"
28045
28046
28047
28048
28049
28050
28051 for ac_func in iconv_open iconv_close iconv nl_langinfo
28052 do
28053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28054 echo "$as_me:$LINENO: checking for $ac_func" >&5
28055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28056 if eval "test \"\${$as_ac_var+set}\" = set"; then
28057 echo $ECHO_N "(cached) $ECHO_C" >&6
28058 else
28059 if test x$gcc_no_link = xyes; then
28060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28062 { (exit 1); exit 1; }; }
28063 fi
28064 cat >conftest.$ac_ext <<_ACEOF
28065 /* confdefs.h. */
28066 _ACEOF
28067 cat confdefs.h >>conftest.$ac_ext
28068 cat >>conftest.$ac_ext <<_ACEOF
28069 /* end confdefs.h. */
28070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28072 #define $ac_func innocuous_$ac_func
28073
28074 /* System header to define __stub macros and hopefully few prototypes,
28075 which can conflict with char $ac_func (); below.
28076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28077 <limits.h> exists even on freestanding compilers. */
28078
28079 #ifdef __STDC__
28080 # include <limits.h>
28081 #else
28082 # include <assert.h>
28083 #endif
28084
28085 #undef $ac_func
28086
28087 /* Override any gcc2 internal prototype to avoid an error. */
28088 #ifdef __cplusplus
28089 extern "C"
28090 {
28091 #endif
28092 /* We use char because int might match the return type of a gcc2
28093 builtin and then its argument prototype would still apply. */
28094 char $ac_func ();
28095 /* The GNU C library defines this for functions which it implements
28096 to always fail with ENOSYS. Some functions are actually named
28097 something starting with __ and the normal name is an alias. */
28098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28099 choke me
28100 #else
28101 char (*f) () = $ac_func;
28102 #endif
28103 #ifdef __cplusplus
28104 }
28105 #endif
28106
28107 int
28108 main ()
28109 {
28110 return f != $ac_func;
28111 ;
28112 return 0;
28113 }
28114 _ACEOF
28115 rm -f conftest.$ac_objext conftest$ac_exeext
28116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28117 (eval $ac_link) 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } &&
28124 { ac_try='test -z "$ac_c_werror_flag"
28125 || test ! -s conftest.err'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; } &&
28131 { ac_try='test -s conftest$ac_exeext'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; }; then
28137 eval "$as_ac_var=yes"
28138 else
28139 echo "$as_me: failed program was:" >&5
28140 sed 's/^/| /' conftest.$ac_ext >&5
28141
28142 eval "$as_ac_var=no"
28143 fi
28144 rm -f conftest.err conftest.$ac_objext \
28145 conftest$ac_exeext conftest.$ac_ext
28146 fi
28147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28149 if test `eval echo '${'$as_ac_var'}'` = yes; then
28150 cat >>confdefs.h <<_ACEOF
28151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28152 _ACEOF
28153 ac_XPG2funcs=yes
28154 else
28155 ac_XPG2funcs=no
28156 fi
28157 done
28158
28159
28160 LIBS="$ac_save_LIBS"
28161
28162 if test x"$ac_has_iconv_h" = xyes &&
28163 test x"$ac_has_langinfo_h" = xyes &&
28164 test x"$ac_XPG2funcs" = xyes;
28165 then
28166
28167 cat >>confdefs.h <<\_ACEOF
28168 #define _GLIBCXX_USE_ICONV 1
28169 _ACEOF
28170
28171 enable_iconv=yes
28172 fi
28173 fi
28174 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28175 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28176 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28177 echo "${ECHO_T}$enable_iconv" >&6
28178
28179
28180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28181 ac_save_CXXFLAGS="$CXXFLAGS"
28182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28183
28184
28185 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28186 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28188 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28190 else
28191
28192
28193
28194 ac_ext=cc
28195 ac_cpp='$CXXCPP $CPPFLAGS'
28196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28199
28200 cat >conftest.$ac_ext <<_ACEOF
28201 /* confdefs.h. */
28202 _ACEOF
28203 cat confdefs.h >>conftest.$ac_ext
28204 cat >>conftest.$ac_ext <<_ACEOF
28205 /* end confdefs.h. */
28206 #include <stdlib.h>
28207 int
28208 main ()
28209 {
28210 strtold(0, 0);
28211 ;
28212 return 0;
28213 }
28214 _ACEOF
28215 rm -f conftest.$ac_objext
28216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28217 (eval $ac_compile) 2>conftest.er1
28218 ac_status=$?
28219 grep -v '^ *+' conftest.er1 >conftest.err
28220 rm -f conftest.er1
28221 cat conftest.err >&5
28222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28223 (exit $ac_status); } &&
28224 { ac_try='test -z "$ac_cxx_werror_flag"
28225 || test ! -s conftest.err'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; } &&
28231 { ac_try='test -s conftest.$ac_objext'
28232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28233 (eval $ac_try) 2>&5
28234 ac_status=$?
28235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28236 (exit $ac_status); }; }; then
28237 glibcxx_cv_func_strtold_use=yes
28238 else
28239 echo "$as_me: failed program was:" >&5
28240 sed 's/^/| /' conftest.$ac_ext >&5
28241
28242 glibcxx_cv_func_strtold_use=no
28243 fi
28244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28245 ac_ext=c
28246 ac_cpp='$CPP $CPPFLAGS'
28247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28250
28251
28252 fi
28253
28254 fi
28255 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28256 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28257 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28258
28259 for ac_func in strtold
28260 do
28261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28262 echo "$as_me:$LINENO: checking for $ac_func" >&5
28263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28264 if eval "test \"\${$as_ac_var+set}\" = set"; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 else
28267 if test x$gcc_no_link = xyes; then
28268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28270 { (exit 1); exit 1; }; }
28271 fi
28272 cat >conftest.$ac_ext <<_ACEOF
28273 /* confdefs.h. */
28274 _ACEOF
28275 cat confdefs.h >>conftest.$ac_ext
28276 cat >>conftest.$ac_ext <<_ACEOF
28277 /* end confdefs.h. */
28278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28280 #define $ac_func innocuous_$ac_func
28281
28282 /* System header to define __stub macros and hopefully few prototypes,
28283 which can conflict with char $ac_func (); below.
28284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28285 <limits.h> exists even on freestanding compilers. */
28286
28287 #ifdef __STDC__
28288 # include <limits.h>
28289 #else
28290 # include <assert.h>
28291 #endif
28292
28293 #undef $ac_func
28294
28295 /* Override any gcc2 internal prototype to avoid an error. */
28296 #ifdef __cplusplus
28297 extern "C"
28298 {
28299 #endif
28300 /* We use char because int might match the return type of a gcc2
28301 builtin and then its argument prototype would still apply. */
28302 char $ac_func ();
28303 /* The GNU C library defines this for functions which it implements
28304 to always fail with ENOSYS. Some functions are actually named
28305 something starting with __ and the normal name is an alias. */
28306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28307 choke me
28308 #else
28309 char (*f) () = $ac_func;
28310 #endif
28311 #ifdef __cplusplus
28312 }
28313 #endif
28314
28315 int
28316 main ()
28317 {
28318 return f != $ac_func;
28319 ;
28320 return 0;
28321 }
28322 _ACEOF
28323 rm -f conftest.$ac_objext conftest$ac_exeext
28324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28325 (eval $ac_link) 2>conftest.er1
28326 ac_status=$?
28327 grep -v '^ *+' conftest.er1 >conftest.err
28328 rm -f conftest.er1
28329 cat conftest.err >&5
28330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28331 (exit $ac_status); } &&
28332 { ac_try='test -z "$ac_c_werror_flag"
28333 || test ! -s conftest.err'
28334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28335 (eval $ac_try) 2>&5
28336 ac_status=$?
28337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28338 (exit $ac_status); }; } &&
28339 { ac_try='test -s conftest$ac_exeext'
28340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28341 (eval $ac_try) 2>&5
28342 ac_status=$?
28343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28344 (exit $ac_status); }; }; then
28345 eval "$as_ac_var=yes"
28346 else
28347 echo "$as_me: failed program was:" >&5
28348 sed 's/^/| /' conftest.$ac_ext >&5
28349
28350 eval "$as_ac_var=no"
28351 fi
28352 rm -f conftest.err conftest.$ac_objext \
28353 conftest$ac_exeext conftest.$ac_ext
28354 fi
28355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28357 if test `eval echo '${'$as_ac_var'}'` = yes; then
28358 cat >>confdefs.h <<_ACEOF
28359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28360 _ACEOF
28361
28362 fi
28363 done
28364
28365 fi
28366
28367
28368 echo "$as_me:$LINENO: checking for strtof declaration" >&5
28369 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
28370 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28371 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28373 else
28374
28375
28376
28377 ac_ext=cc
28378 ac_cpp='$CXXCPP $CPPFLAGS'
28379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28382
28383 cat >conftest.$ac_ext <<_ACEOF
28384 /* confdefs.h. */
28385 _ACEOF
28386 cat confdefs.h >>conftest.$ac_ext
28387 cat >>conftest.$ac_ext <<_ACEOF
28388 /* end confdefs.h. */
28389 #include <stdlib.h>
28390 int
28391 main ()
28392 {
28393 strtof(0, 0);
28394 ;
28395 return 0;
28396 }
28397 _ACEOF
28398 rm -f conftest.$ac_objext
28399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28400 (eval $ac_compile) 2>conftest.er1
28401 ac_status=$?
28402 grep -v '^ *+' conftest.er1 >conftest.err
28403 rm -f conftest.er1
28404 cat conftest.err >&5
28405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28406 (exit $ac_status); } &&
28407 { ac_try='test -z "$ac_cxx_werror_flag"
28408 || test ! -s conftest.err'
28409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28410 (eval $ac_try) 2>&5
28411 ac_status=$?
28412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 (exit $ac_status); }; } &&
28414 { ac_try='test -s conftest.$ac_objext'
28415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 (eval $ac_try) 2>&5
28417 ac_status=$?
28418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28419 (exit $ac_status); }; }; then
28420 glibcxx_cv_func_strtof_use=yes
28421 else
28422 echo "$as_me: failed program was:" >&5
28423 sed 's/^/| /' conftest.$ac_ext >&5
28424
28425 glibcxx_cv_func_strtof_use=no
28426 fi
28427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28428 ac_ext=c
28429 ac_cpp='$CPP $CPPFLAGS'
28430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28433
28434
28435 fi
28436
28437 fi
28438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
28439 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
28440 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28441
28442 for ac_func in strtof
28443 do
28444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28445 echo "$as_me:$LINENO: checking for $ac_func" >&5
28446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28447 if eval "test \"\${$as_ac_var+set}\" = set"; then
28448 echo $ECHO_N "(cached) $ECHO_C" >&6
28449 else
28450 if test x$gcc_no_link = xyes; then
28451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28453 { (exit 1); exit 1; }; }
28454 fi
28455 cat >conftest.$ac_ext <<_ACEOF
28456 /* confdefs.h. */
28457 _ACEOF
28458 cat confdefs.h >>conftest.$ac_ext
28459 cat >>conftest.$ac_ext <<_ACEOF
28460 /* end confdefs.h. */
28461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28463 #define $ac_func innocuous_$ac_func
28464
28465 /* System header to define __stub macros and hopefully few prototypes,
28466 which can conflict with char $ac_func (); below.
28467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28468 <limits.h> exists even on freestanding compilers. */
28469
28470 #ifdef __STDC__
28471 # include <limits.h>
28472 #else
28473 # include <assert.h>
28474 #endif
28475
28476 #undef $ac_func
28477
28478 /* Override any gcc2 internal prototype to avoid an error. */
28479 #ifdef __cplusplus
28480 extern "C"
28481 {
28482 #endif
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char $ac_func ();
28486 /* The GNU C library defines this for functions which it implements
28487 to always fail with ENOSYS. Some functions are actually named
28488 something starting with __ and the normal name is an alias. */
28489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28490 choke me
28491 #else
28492 char (*f) () = $ac_func;
28493 #endif
28494 #ifdef __cplusplus
28495 }
28496 #endif
28497
28498 int
28499 main ()
28500 {
28501 return f != $ac_func;
28502 ;
28503 return 0;
28504 }
28505 _ACEOF
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28508 (eval $ac_link) 2>conftest.er1
28509 ac_status=$?
28510 grep -v '^ *+' conftest.er1 >conftest.err
28511 rm -f conftest.er1
28512 cat conftest.err >&5
28513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28514 (exit $ac_status); } &&
28515 { ac_try='test -z "$ac_c_werror_flag"
28516 || test ! -s conftest.err'
28517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28518 (eval $ac_try) 2>&5
28519 ac_status=$?
28520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28521 (exit $ac_status); }; } &&
28522 { ac_try='test -s conftest$ac_exeext'
28523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28524 (eval $ac_try) 2>&5
28525 ac_status=$?
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); }; }; then
28528 eval "$as_ac_var=yes"
28529 else
28530 echo "$as_me: failed program was:" >&5
28531 sed 's/^/| /' conftest.$ac_ext >&5
28532
28533 eval "$as_ac_var=no"
28534 fi
28535 rm -f conftest.err conftest.$ac_objext \
28536 conftest$ac_exeext conftest.$ac_ext
28537 fi
28538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28540 if test `eval echo '${'$as_ac_var'}'` = yes; then
28541 cat >>confdefs.h <<_ACEOF
28542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28543 _ACEOF
28544
28545 fi
28546 done
28547
28548 fi
28549
28550
28551 CXXFLAGS="$ac_save_CXXFLAGS"
28552
28553
28554 # For showmanyc_helper().
28555
28556
28557 for ac_header in sys/ioctl.h sys/filio.h
28558 do
28559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28561 echo "$as_me:$LINENO: checking for $ac_header" >&5
28562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28564 echo $ECHO_N "(cached) $ECHO_C" >&6
28565 fi
28566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28568 else
28569 # Is the header compilable?
28570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28572 cat >conftest.$ac_ext <<_ACEOF
28573 /* confdefs.h. */
28574 _ACEOF
28575 cat confdefs.h >>conftest.$ac_ext
28576 cat >>conftest.$ac_ext <<_ACEOF
28577 /* end confdefs.h. */
28578 $ac_includes_default
28579 #include <$ac_header>
28580 _ACEOF
28581 rm -f conftest.$ac_objext
28582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28583 (eval $ac_compile) 2>conftest.er1
28584 ac_status=$?
28585 grep -v '^ *+' conftest.er1 >conftest.err
28586 rm -f conftest.er1
28587 cat conftest.err >&5
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); } &&
28590 { ac_try='test -z "$ac_c_werror_flag"
28591 || test ! -s conftest.err'
28592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28593 (eval $ac_try) 2>&5
28594 ac_status=$?
28595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28596 (exit $ac_status); }; } &&
28597 { ac_try='test -s conftest.$ac_objext'
28598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28599 (eval $ac_try) 2>&5
28600 ac_status=$?
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); }; }; then
28603 ac_header_compiler=yes
28604 else
28605 echo "$as_me: failed program was:" >&5
28606 sed 's/^/| /' conftest.$ac_ext >&5
28607
28608 ac_header_compiler=no
28609 fi
28610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28612 echo "${ECHO_T}$ac_header_compiler" >&6
28613
28614 # Is the header present?
28615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28617 cat >conftest.$ac_ext <<_ACEOF
28618 /* confdefs.h. */
28619 _ACEOF
28620 cat confdefs.h >>conftest.$ac_ext
28621 cat >>conftest.$ac_ext <<_ACEOF
28622 /* end confdefs.h. */
28623 #include <$ac_header>
28624 _ACEOF
28625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28627 ac_status=$?
28628 grep -v '^ *+' conftest.er1 >conftest.err
28629 rm -f conftest.er1
28630 cat conftest.err >&5
28631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28632 (exit $ac_status); } >/dev/null; then
28633 if test -s conftest.err; then
28634 ac_cpp_err=$ac_c_preproc_warn_flag
28635 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28636 else
28637 ac_cpp_err=
28638 fi
28639 else
28640 ac_cpp_err=yes
28641 fi
28642 if test -z "$ac_cpp_err"; then
28643 ac_header_preproc=yes
28644 else
28645 echo "$as_me: failed program was:" >&5
28646 sed 's/^/| /' conftest.$ac_ext >&5
28647
28648 ac_header_preproc=no
28649 fi
28650 rm -f conftest.err conftest.$ac_ext
28651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28652 echo "${ECHO_T}$ac_header_preproc" >&6
28653
28654 # So? What about this header?
28655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28656 yes:no: )
28657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28661 ac_header_preproc=yes
28662 ;;
28663 no:yes:* )
28664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28676 (
28677 cat <<\_ASBOX
28678 ## ----------------------------------------- ##
28679 ## Report this to the package-unused lists. ##
28680 ## ----------------------------------------- ##
28681 _ASBOX
28682 ) |
28683 sed "s/^/$as_me: WARNING: /" >&2
28684 ;;
28685 esac
28686 echo "$as_me:$LINENO: checking for $ac_header" >&5
28687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28689 echo $ECHO_N "(cached) $ECHO_C" >&6
28690 else
28691 eval "$as_ac_Header=\$ac_header_preproc"
28692 fi
28693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28695
28696 fi
28697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28698 cat >>confdefs.h <<_ACEOF
28699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28700 _ACEOF
28701
28702 fi
28703
28704 done
28705
28706
28707 if test "${glibcxx_cv_POLL+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 else
28710
28711 if test x$gcc_no_link = xyes; then
28712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28714 { (exit 1); exit 1; }; }
28715 fi
28716 cat >conftest.$ac_ext <<_ACEOF
28717 /* confdefs.h. */
28718 _ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28722 #include <poll.h>
28723 int
28724 main ()
28725 {
28726 struct pollfd pfd[1];
28727 pfd[0].events = POLLIN;
28728 poll(pfd, 1, 0);
28729 ;
28730 return 0;
28731 }
28732 _ACEOF
28733 rm -f conftest.$ac_objext conftest$ac_exeext
28734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28735 (eval $ac_link) 2>conftest.er1
28736 ac_status=$?
28737 grep -v '^ *+' conftest.er1 >conftest.err
28738 rm -f conftest.er1
28739 cat conftest.err >&5
28740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28741 (exit $ac_status); } &&
28742 { ac_try='test -z "$ac_c_werror_flag"
28743 || test ! -s conftest.err'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28746 ac_status=$?
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; } &&
28749 { ac_try='test -s conftest$ac_exeext'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; }; then
28755 glibcxx_cv_POLL=yes
28756 else
28757 echo "$as_me: failed program was:" >&5
28758 sed 's/^/| /' conftest.$ac_ext >&5
28759
28760 glibcxx_cv_POLL=no
28761 fi
28762 rm -f conftest.err conftest.$ac_objext \
28763 conftest$ac_exeext conftest.$ac_ext
28764
28765 fi
28766
28767 if test $glibcxx_cv_POLL = yes; then
28768 cat >>confdefs.h <<\_ACEOF
28769 #define HAVE_POLL 1
28770 _ACEOF
28771
28772 fi
28773
28774
28775 if test "${glibcxx_cv_S_ISREG+set}" = set; then
28776 echo $ECHO_N "(cached) $ECHO_C" >&6
28777 else
28778
28779 if test x$gcc_no_link = xyes; then
28780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28782 { (exit 1); exit 1; }; }
28783 fi
28784 cat >conftest.$ac_ext <<_ACEOF
28785 /* confdefs.h. */
28786 _ACEOF
28787 cat confdefs.h >>conftest.$ac_ext
28788 cat >>conftest.$ac_ext <<_ACEOF
28789 /* end confdefs.h. */
28790 #include <sys/stat.h>
28791 int
28792 main ()
28793 {
28794 struct stat buffer;
28795 fstat(0, &buffer);
28796 S_ISREG(buffer.st_mode);
28797 ;
28798 return 0;
28799 }
28800 _ACEOF
28801 rm -f conftest.$ac_objext conftest$ac_exeext
28802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28803 (eval $ac_link) 2>conftest.er1
28804 ac_status=$?
28805 grep -v '^ *+' conftest.er1 >conftest.err
28806 rm -f conftest.er1
28807 cat conftest.err >&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } &&
28810 { ac_try='test -z "$ac_c_werror_flag"
28811 || test ! -s conftest.err'
28812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28813 (eval $ac_try) 2>&5
28814 ac_status=$?
28815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28816 (exit $ac_status); }; } &&
28817 { ac_try='test -s conftest$ac_exeext'
28818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28819 (eval $ac_try) 2>&5
28820 ac_status=$?
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); }; }; then
28823 glibcxx_cv_S_ISREG=yes
28824 else
28825 echo "$as_me: failed program was:" >&5
28826 sed 's/^/| /' conftest.$ac_ext >&5
28827
28828 glibcxx_cv_S_ISREG=no
28829 fi
28830 rm -f conftest.err conftest.$ac_objext \
28831 conftest$ac_exeext conftest.$ac_ext
28832
28833 fi
28834
28835 if test "${glibcxx_cv_S_IFREG+set}" = set; then
28836 echo $ECHO_N "(cached) $ECHO_C" >&6
28837 else
28838
28839 if test x$gcc_no_link = xyes; then
28840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28842 { (exit 1); exit 1; }; }
28843 fi
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h. */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h. */
28850 #include <sys/stat.h>
28851 int
28852 main ()
28853 {
28854 struct stat buffer;
28855 fstat(0, &buffer);
28856 S_IFREG & buffer.st_mode;
28857 ;
28858 return 0;
28859 }
28860 _ACEOF
28861 rm -f conftest.$ac_objext conftest$ac_exeext
28862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28863 (eval $ac_link) 2>conftest.er1
28864 ac_status=$?
28865 grep -v '^ *+' conftest.er1 >conftest.err
28866 rm -f conftest.er1
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } &&
28870 { ac_try='test -z "$ac_c_werror_flag"
28871 || test ! -s conftest.err'
28872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28873 (eval $ac_try) 2>&5
28874 ac_status=$?
28875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28876 (exit $ac_status); }; } &&
28877 { ac_try='test -s conftest$ac_exeext'
28878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28879 (eval $ac_try) 2>&5
28880 ac_status=$?
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); }; }; then
28883 glibcxx_cv_S_IFREG=yes
28884 else
28885 echo "$as_me: failed program was:" >&5
28886 sed 's/^/| /' conftest.$ac_ext >&5
28887
28888 glibcxx_cv_S_IFREG=no
28889 fi
28890 rm -f conftest.err conftest.$ac_objext \
28891 conftest$ac_exeext conftest.$ac_ext
28892
28893 fi
28894
28895 if test $glibcxx_cv_S_ISREG = yes; then
28896 cat >>confdefs.h <<\_ACEOF
28897 #define HAVE_S_ISREG 1
28898 _ACEOF
28899
28900 elif test $glibcxx_cv_S_IFREG = yes; then
28901 cat >>confdefs.h <<\_ACEOF
28902 #define HAVE_S_IFREG 1
28903 _ACEOF
28904
28905 fi
28906
28907
28908 # For xsputn_2().
28909
28910 for ac_header in sys/uio.h
28911 do
28912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28914 echo "$as_me:$LINENO: checking for $ac_header" >&5
28915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28918 fi
28919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28921 else
28922 # Is the header compilable?
28923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
28924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
28925 cat >conftest.$ac_ext <<_ACEOF
28926 /* confdefs.h. */
28927 _ACEOF
28928 cat confdefs.h >>conftest.$ac_ext
28929 cat >>conftest.$ac_ext <<_ACEOF
28930 /* end confdefs.h. */
28931 $ac_includes_default
28932 #include <$ac_header>
28933 _ACEOF
28934 rm -f conftest.$ac_objext
28935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28936 (eval $ac_compile) 2>conftest.er1
28937 ac_status=$?
28938 grep -v '^ *+' conftest.er1 >conftest.err
28939 rm -f conftest.er1
28940 cat conftest.err >&5
28941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28942 (exit $ac_status); } &&
28943 { ac_try='test -z "$ac_c_werror_flag"
28944 || test ! -s conftest.err'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28947 ac_status=$?
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; } &&
28950 { ac_try='test -s conftest.$ac_objext'
28951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28952 (eval $ac_try) 2>&5
28953 ac_status=$?
28954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28955 (exit $ac_status); }; }; then
28956 ac_header_compiler=yes
28957 else
28958 echo "$as_me: failed program was:" >&5
28959 sed 's/^/| /' conftest.$ac_ext >&5
28960
28961 ac_header_compiler=no
28962 fi
28963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28965 echo "${ECHO_T}$ac_header_compiler" >&6
28966
28967 # Is the header present?
28968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28970 cat >conftest.$ac_ext <<_ACEOF
28971 /* confdefs.h. */
28972 _ACEOF
28973 cat confdefs.h >>conftest.$ac_ext
28974 cat >>conftest.$ac_ext <<_ACEOF
28975 /* end confdefs.h. */
28976 #include <$ac_header>
28977 _ACEOF
28978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28979 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28980 ac_status=$?
28981 grep -v '^ *+' conftest.er1 >conftest.err
28982 rm -f conftest.er1
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } >/dev/null; then
28986 if test -s conftest.err; then
28987 ac_cpp_err=$ac_c_preproc_warn_flag
28988 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28989 else
28990 ac_cpp_err=
28991 fi
28992 else
28993 ac_cpp_err=yes
28994 fi
28995 if test -z "$ac_cpp_err"; then
28996 ac_header_preproc=yes
28997 else
28998 echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29000
29001 ac_header_preproc=no
29002 fi
29003 rm -f conftest.err conftest.$ac_ext
29004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29005 echo "${ECHO_T}$ac_header_preproc" >&6
29006
29007 # So? What about this header?
29008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29009 yes:no: )
29010 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29012 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29014 ac_header_preproc=yes
29015 ;;
29016 no:yes:* )
29017 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29019 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29020 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29021 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29023 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29024 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29027 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29029 (
29030 cat <<\_ASBOX
29031 ## ----------------------------------------- ##
29032 ## Report this to the package-unused lists. ##
29033 ## ----------------------------------------- ##
29034 _ASBOX
29035 ) |
29036 sed "s/^/$as_me: WARNING: /" >&2
29037 ;;
29038 esac
29039 echo "$as_me:$LINENO: checking for $ac_header" >&5
29040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29042 echo $ECHO_N "(cached) $ECHO_C" >&6
29043 else
29044 eval "$as_ac_Header=\$ac_header_preproc"
29045 fi
29046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29048
29049 fi
29050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29051 cat >>confdefs.h <<_ACEOF
29052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29053 _ACEOF
29054
29055 fi
29056
29057 done
29058
29059
29060 if test "${glibcxx_cv_WRITEV+set}" = set; then
29061 echo $ECHO_N "(cached) $ECHO_C" >&6
29062 else
29063
29064 if test x$gcc_no_link = xyes; then
29065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29067 { (exit 1); exit 1; }; }
29068 fi
29069 cat >conftest.$ac_ext <<_ACEOF
29070 /* confdefs.h. */
29071 _ACEOF
29072 cat confdefs.h >>conftest.$ac_ext
29073 cat >>conftest.$ac_ext <<_ACEOF
29074 /* end confdefs.h. */
29075 #include <sys/uio.h>
29076 int
29077 main ()
29078 {
29079 struct iovec iov[2];
29080 writev(0, iov, 0);
29081 ;
29082 return 0;
29083 }
29084 _ACEOF
29085 rm -f conftest.$ac_objext conftest$ac_exeext
29086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29087 (eval $ac_link) 2>conftest.er1
29088 ac_status=$?
29089 grep -v '^ *+' conftest.er1 >conftest.err
29090 rm -f conftest.er1
29091 cat conftest.err >&5
29092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29093 (exit $ac_status); } &&
29094 { ac_try='test -z "$ac_c_werror_flag"
29095 || test ! -s conftest.err'
29096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29097 (eval $ac_try) 2>&5
29098 ac_status=$?
29099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29100 (exit $ac_status); }; } &&
29101 { ac_try='test -s conftest$ac_exeext'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; }; then
29107 glibcxx_cv_WRITEV=yes
29108 else
29109 echo "$as_me: failed program was:" >&5
29110 sed 's/^/| /' conftest.$ac_ext >&5
29111
29112 glibcxx_cv_WRITEV=no
29113 fi
29114 rm -f conftest.err conftest.$ac_objext \
29115 conftest$ac_exeext conftest.$ac_ext
29116
29117 fi
29118
29119 if test $glibcxx_cv_WRITEV = yes; then
29120 cat >>confdefs.h <<\_ACEOF
29121 #define HAVE_WRITEV 1
29122 _ACEOF
29123
29124 fi
29125
29126
29127 # For the __streamoff_base_type typedef.
29128
29129 if test "${glibcxx_cv_INT64_T+set}" = set; then
29130 echo $ECHO_N "(cached) $ECHO_C" >&6
29131 else
29132
29133 cat >conftest.$ac_ext <<_ACEOF
29134 /* confdefs.h. */
29135 _ACEOF
29136 cat confdefs.h >>conftest.$ac_ext
29137 cat >>conftest.$ac_ext <<_ACEOF
29138 /* end confdefs.h. */
29139 #include <stdint.h>
29140 int
29141 main ()
29142 {
29143 int64_t var;
29144 ;
29145 return 0;
29146 }
29147 _ACEOF
29148 rm -f conftest.$ac_objext
29149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29150 (eval $ac_compile) 2>conftest.er1
29151 ac_status=$?
29152 grep -v '^ *+' conftest.er1 >conftest.err
29153 rm -f conftest.er1
29154 cat conftest.err >&5
29155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29156 (exit $ac_status); } &&
29157 { ac_try='test -z "$ac_c_werror_flag"
29158 || test ! -s conftest.err'
29159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29160 (eval $ac_try) 2>&5
29161 ac_status=$?
29162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29163 (exit $ac_status); }; } &&
29164 { ac_try='test -s conftest.$ac_objext'
29165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29166 (eval $ac_try) 2>&5
29167 ac_status=$?
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); }; }; then
29170 glibcxx_cv_INT64_T=yes
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29174
29175 glibcxx_cv_INT64_T=no
29176 fi
29177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29178
29179 fi
29180
29181 if test $glibcxx_cv_INT64_T = yes; then
29182 cat >>confdefs.h <<\_ACEOF
29183 #define HAVE_INT64_T 1
29184 _ACEOF
29185
29186 fi
29187
29188
29189 # For LFS support.
29190
29191
29192
29193 ac_ext=cc
29194 ac_cpp='$CXXCPP $CPPFLAGS'
29195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29198
29199 ac_save_CXXFLAGS="$CXXFLAGS"
29200 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29201 if test "${glibcxx_cv_LFS+set}" = set; then
29202 echo $ECHO_N "(cached) $ECHO_C" >&6
29203 else
29204
29205 if test x$gcc_no_link = xyes; then
29206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29208 { (exit 1); exit 1; }; }
29209 fi
29210 cat >conftest.$ac_ext <<_ACEOF
29211 /* confdefs.h. */
29212 _ACEOF
29213 cat confdefs.h >>conftest.$ac_ext
29214 cat >>conftest.$ac_ext <<_ACEOF
29215 /* end confdefs.h. */
29216 #include <unistd.h>
29217 #include <stdio.h>
29218 #include <sys/stat.h>
29219
29220 int
29221 main ()
29222 {
29223 FILE* fp;
29224 fopen64("t", "w");
29225 fseeko64(fp, 0, SEEK_CUR);
29226 ftello64(fp);
29227 lseek64(1, 0, SEEK_CUR);
29228 struct stat64 buf;
29229 fstat64(1, &buf);
29230 ;
29231 return 0;
29232 }
29233 _ACEOF
29234 rm -f conftest.$ac_objext conftest$ac_exeext
29235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29236 (eval $ac_link) 2>conftest.er1
29237 ac_status=$?
29238 grep -v '^ *+' conftest.er1 >conftest.err
29239 rm -f conftest.er1
29240 cat conftest.err >&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); } &&
29243 { ac_try='test -z "$ac_cxx_werror_flag"
29244 || test ! -s conftest.err'
29245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29246 (eval $ac_try) 2>&5
29247 ac_status=$?
29248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29249 (exit $ac_status); }; } &&
29250 { ac_try='test -s conftest$ac_exeext'
29251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29252 (eval $ac_try) 2>&5
29253 ac_status=$?
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); }; }; then
29256 glibcxx_cv_LFS=yes
29257 else
29258 echo "$as_me: failed program was:" >&5
29259 sed 's/^/| /' conftest.$ac_ext >&5
29260
29261 glibcxx_cv_LFS=no
29262 fi
29263 rm -f conftest.err conftest.$ac_objext \
29264 conftest$ac_exeext conftest.$ac_ext
29265
29266 fi
29267
29268 if test $glibcxx_cv_LFS = yes; then
29269 cat >>confdefs.h <<\_ACEOF
29270 #define _GLIBCXX_USE_LFS 1
29271 _ACEOF
29272
29273 fi
29274 CXXFLAGS="$ac_save_CXXFLAGS"
29275 ac_ext=c
29276 ac_cpp='$CPP $CPPFLAGS'
29277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29280
29281
29282
29283
29284 if test "${ac_cv_header_locale_h+set}" = set; then
29285 echo "$as_me:$LINENO: checking for locale.h" >&5
29286 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29287 if test "${ac_cv_header_locale_h+set}" = set; then
29288 echo $ECHO_N "(cached) $ECHO_C" >&6
29289 fi
29290 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29291 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29292 else
29293 # Is the header compilable?
29294 echo "$as_me:$LINENO: checking locale.h usability" >&5
29295 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
29296 cat >conftest.$ac_ext <<_ACEOF
29297 /* confdefs.h. */
29298 _ACEOF
29299 cat confdefs.h >>conftest.$ac_ext
29300 cat >>conftest.$ac_ext <<_ACEOF
29301 /* end confdefs.h. */
29302 $ac_includes_default
29303 #include <locale.h>
29304 _ACEOF
29305 rm -f conftest.$ac_objext
29306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29307 (eval $ac_compile) 2>conftest.er1
29308 ac_status=$?
29309 grep -v '^ *+' conftest.er1 >conftest.err
29310 rm -f conftest.er1
29311 cat conftest.err >&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); } &&
29314 { ac_try='test -z "$ac_c_werror_flag"
29315 || test ! -s conftest.err'
29316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29317 (eval $ac_try) 2>&5
29318 ac_status=$?
29319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29320 (exit $ac_status); }; } &&
29321 { ac_try='test -s conftest.$ac_objext'
29322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29323 (eval $ac_try) 2>&5
29324 ac_status=$?
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); }; }; then
29327 ac_header_compiler=yes
29328 else
29329 echo "$as_me: failed program was:" >&5
29330 sed 's/^/| /' conftest.$ac_ext >&5
29331
29332 ac_header_compiler=no
29333 fi
29334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29335 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29336 echo "${ECHO_T}$ac_header_compiler" >&6
29337
29338 # Is the header present?
29339 echo "$as_me:$LINENO: checking locale.h presence" >&5
29340 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
29341 cat >conftest.$ac_ext <<_ACEOF
29342 /* confdefs.h. */
29343 _ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347 #include <locale.h>
29348 _ACEOF
29349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29350 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } >/dev/null; then
29357 if test -s conftest.err; then
29358 ac_cpp_err=$ac_c_preproc_warn_flag
29359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29360 else
29361 ac_cpp_err=
29362 fi
29363 else
29364 ac_cpp_err=yes
29365 fi
29366 if test -z "$ac_cpp_err"; then
29367 ac_header_preproc=yes
29368 else
29369 echo "$as_me: failed program was:" >&5
29370 sed 's/^/| /' conftest.$ac_ext >&5
29371
29372 ac_header_preproc=no
29373 fi
29374 rm -f conftest.err conftest.$ac_ext
29375 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29376 echo "${ECHO_T}$ac_header_preproc" >&6
29377
29378 # So? What about this header?
29379 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29380 yes:no: )
29381 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
29382 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29383 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
29384 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
29385 ac_header_preproc=yes
29386 ;;
29387 no:yes:* )
29388 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
29389 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
29390 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
29391 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
29392 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
29393 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
29394 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
29395 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
29396 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
29397 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
29398 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
29399 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
29400 (
29401 cat <<\_ASBOX
29402 ## ----------------------------------------- ##
29403 ## Report this to the package-unused lists. ##
29404 ## ----------------------------------------- ##
29405 _ASBOX
29406 ) |
29407 sed "s/^/$as_me: WARNING: /" >&2
29408 ;;
29409 esac
29410 echo "$as_me:$LINENO: checking for locale.h" >&5
29411 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
29412 if test "${ac_cv_header_locale_h+set}" = set; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415 ac_cv_header_locale_h=$ac_header_preproc
29416 fi
29417 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
29418 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
29419
29420 fi
29421 if test $ac_cv_header_locale_h = yes; then
29422
29423 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
29424 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
29425 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
29426 echo $ECHO_N "(cached) $ECHO_C" >&6
29427 else
29428 if test x$gcc_no_link = xyes; then
29429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29431 { (exit 1); exit 1; }; }
29432 fi
29433 cat >conftest.$ac_ext <<_ACEOF
29434 /* confdefs.h. */
29435 _ACEOF
29436 cat confdefs.h >>conftest.$ac_ext
29437 cat >>conftest.$ac_ext <<_ACEOF
29438 /* end confdefs.h. */
29439 #include <locale.h>
29440 int
29441 main ()
29442 {
29443 return LC_MESSAGES
29444 ;
29445 return 0;
29446 }
29447 _ACEOF
29448 rm -f conftest.$ac_objext conftest$ac_exeext
29449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29450 (eval $ac_link) 2>conftest.er1
29451 ac_status=$?
29452 grep -v '^ *+' conftest.er1 >conftest.err
29453 rm -f conftest.er1
29454 cat conftest.err >&5
29455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29456 (exit $ac_status); } &&
29457 { ac_try='test -z "$ac_c_werror_flag"
29458 || test ! -s conftest.err'
29459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29460 (eval $ac_try) 2>&5
29461 ac_status=$?
29462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29463 (exit $ac_status); }; } &&
29464 { ac_try='test -s conftest$ac_exeext'
29465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29466 (eval $ac_try) 2>&5
29467 ac_status=$?
29468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29469 (exit $ac_status); }; }; then
29470 ac_cv_val_LC_MESSAGES=yes
29471 else
29472 echo "$as_me: failed program was:" >&5
29473 sed 's/^/| /' conftest.$ac_ext >&5
29474
29475 ac_cv_val_LC_MESSAGES=no
29476 fi
29477 rm -f conftest.err conftest.$ac_objext \
29478 conftest$ac_exeext conftest.$ac_ext
29479 fi
29480 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
29481 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
29482 if test $ac_cv_val_LC_MESSAGES = yes; then
29483 cat >>confdefs.h <<\_ACEOF
29484 #define HAVE_LC_MESSAGES 1
29485 _ACEOF
29486
29487 fi
29488
29489 fi
29490
29491
29492
29493
29494 cat >conftest.$ac_ext <<_ACEOF
29495 /* confdefs.h. */
29496 _ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500 #include <setjmp.h>
29501 int
29502 main ()
29503 {
29504 sigjmp_buf env;
29505 while (! sigsetjmp (env, 1))
29506 siglongjmp (env, 1);
29507
29508 ;
29509 return 0;
29510 }
29511 _ACEOF
29512 rm -f conftest.$ac_objext
29513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29514 (eval $ac_compile) 2>conftest.er1
29515 ac_status=$?
29516 grep -v '^ *+' conftest.er1 >conftest.err
29517 rm -f conftest.er1
29518 cat conftest.err >&5
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); } &&
29521 { ac_try='test -z "$ac_c_werror_flag"
29522 || test ! -s conftest.err'
29523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29524 (eval $ac_try) 2>&5
29525 ac_status=$?
29526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29527 (exit $ac_status); }; } &&
29528 { ac_try='test -s conftest.$ac_objext'
29529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29530 (eval $ac_try) 2>&5
29531 ac_status=$?
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); }; }; then
29534
29535 cat >>confdefs.h <<\_ACEOF
29536 #define HAVE_SIGSETJMP 1
29537 _ACEOF
29538
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29542
29543 fi
29544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29545
29546 if test x$gcc_no_link = xyes; then
29547 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29548 ac_cv_func_mmap_fixed_mapped=no
29549 fi
29550 fi
29551 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
29552
29553
29554 for ac_header in stdlib.h unistd.h
29555 do
29556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29558 echo "$as_me:$LINENO: checking for $ac_header" >&5
29559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29562 fi
29563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29565 else
29566 # Is the header compilable?
29567 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29568 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29569 cat >conftest.$ac_ext <<_ACEOF
29570 /* confdefs.h. */
29571 _ACEOF
29572 cat confdefs.h >>conftest.$ac_ext
29573 cat >>conftest.$ac_ext <<_ACEOF
29574 /* end confdefs.h. */
29575 $ac_includes_default
29576 #include <$ac_header>
29577 _ACEOF
29578 rm -f conftest.$ac_objext
29579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29580 (eval $ac_compile) 2>conftest.er1
29581 ac_status=$?
29582 grep -v '^ *+' conftest.er1 >conftest.err
29583 rm -f conftest.er1
29584 cat conftest.err >&5
29585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 (exit $ac_status); } &&
29587 { ac_try='test -z "$ac_c_werror_flag"
29588 || test ! -s conftest.err'
29589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29590 (eval $ac_try) 2>&5
29591 ac_status=$?
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); }; } &&
29594 { ac_try='test -s conftest.$ac_objext'
29595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29596 (eval $ac_try) 2>&5
29597 ac_status=$?
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); }; }; then
29600 ac_header_compiler=yes
29601 else
29602 echo "$as_me: failed program was:" >&5
29603 sed 's/^/| /' conftest.$ac_ext >&5
29604
29605 ac_header_compiler=no
29606 fi
29607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29609 echo "${ECHO_T}$ac_header_compiler" >&6
29610
29611 # Is the header present?
29612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29614 cat >conftest.$ac_ext <<_ACEOF
29615 /* confdefs.h. */
29616 _ACEOF
29617 cat confdefs.h >>conftest.$ac_ext
29618 cat >>conftest.$ac_ext <<_ACEOF
29619 /* end confdefs.h. */
29620 #include <$ac_header>
29621 _ACEOF
29622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29624 ac_status=$?
29625 grep -v '^ *+' conftest.er1 >conftest.err
29626 rm -f conftest.er1
29627 cat conftest.err >&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } >/dev/null; then
29630 if test -s conftest.err; then
29631 ac_cpp_err=$ac_c_preproc_warn_flag
29632 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29633 else
29634 ac_cpp_err=
29635 fi
29636 else
29637 ac_cpp_err=yes
29638 fi
29639 if test -z "$ac_cpp_err"; then
29640 ac_header_preproc=yes
29641 else
29642 echo "$as_me: failed program was:" >&5
29643 sed 's/^/| /' conftest.$ac_ext >&5
29644
29645 ac_header_preproc=no
29646 fi
29647 rm -f conftest.err conftest.$ac_ext
29648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29649 echo "${ECHO_T}$ac_header_preproc" >&6
29650
29651 # So? What about this header?
29652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29653 yes:no: )
29654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29658 ac_header_preproc=yes
29659 ;;
29660 no:yes:* )
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29673 (
29674 cat <<\_ASBOX
29675 ## ----------------------------------------- ##
29676 ## Report this to the package-unused lists. ##
29677 ## ----------------------------------------- ##
29678 _ASBOX
29679 ) |
29680 sed "s/^/$as_me: WARNING: /" >&2
29681 ;;
29682 esac
29683 echo "$as_me:$LINENO: checking for $ac_header" >&5
29684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29686 echo $ECHO_N "(cached) $ECHO_C" >&6
29687 else
29688 eval "$as_ac_Header=\$ac_header_preproc"
29689 fi
29690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29692
29693 fi
29694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29695 cat >>confdefs.h <<_ACEOF
29696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29697 _ACEOF
29698
29699 fi
29700
29701 done
29702
29703
29704 for ac_func in getpagesize
29705 do
29706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29707 echo "$as_me:$LINENO: checking for $ac_func" >&5
29708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29709 if eval "test \"\${$as_ac_var+set}\" = set"; then
29710 echo $ECHO_N "(cached) $ECHO_C" >&6
29711 else
29712 if test x$gcc_no_link = xyes; then
29713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29715 { (exit 1); exit 1; }; }
29716 fi
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29725 #define $ac_func innocuous_$ac_func
29726
29727 /* System header to define __stub macros and hopefully few prototypes,
29728 which can conflict with char $ac_func (); below.
29729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29730 <limits.h> exists even on freestanding compilers. */
29731
29732 #ifdef __STDC__
29733 # include <limits.h>
29734 #else
29735 # include <assert.h>
29736 #endif
29737
29738 #undef $ac_func
29739
29740 /* Override any gcc2 internal prototype to avoid an error. */
29741 #ifdef __cplusplus
29742 extern "C"
29743 {
29744 #endif
29745 /* We use char because int might match the return type of a gcc2
29746 builtin and then its argument prototype would still apply. */
29747 char $ac_func ();
29748 /* The GNU C library defines this for functions which it implements
29749 to always fail with ENOSYS. Some functions are actually named
29750 something starting with __ and the normal name is an alias. */
29751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29752 choke me
29753 #else
29754 char (*f) () = $ac_func;
29755 #endif
29756 #ifdef __cplusplus
29757 }
29758 #endif
29759
29760 int
29761 main ()
29762 {
29763 return f != $ac_func;
29764 ;
29765 return 0;
29766 }
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770 (eval $ac_link) 2>conftest.er1
29771 ac_status=$?
29772 grep -v '^ *+' conftest.er1 >conftest.err
29773 rm -f conftest.er1
29774 cat conftest.err >&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } &&
29777 { ac_try='test -z "$ac_c_werror_flag"
29778 || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 eval "$as_ac_var=yes"
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29794
29795 eval "$as_ac_var=no"
29796 fi
29797 rm -f conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29799 fi
29800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29802 if test `eval echo '${'$as_ac_var'}'` = yes; then
29803 cat >>confdefs.h <<_ACEOF
29804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29805 _ACEOF
29806
29807 fi
29808 done
29809
29810 echo "$as_me:$LINENO: checking for working mmap" >&5
29811 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
29812 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
29813 echo $ECHO_N "(cached) $ECHO_C" >&6
29814 else
29815 if test "$cross_compiling" = yes; then
29816 ac_cv_func_mmap_fixed_mapped=no
29817 else
29818 cat >conftest.$ac_ext <<_ACEOF
29819 /* confdefs.h. */
29820 _ACEOF
29821 cat confdefs.h >>conftest.$ac_ext
29822 cat >>conftest.$ac_ext <<_ACEOF
29823 /* end confdefs.h. */
29824 $ac_includes_default
29825 /* malloc might have been renamed as rpl_malloc. */
29826 #undef malloc
29827
29828 /* Thanks to Mike Haertel and Jim Avera for this test.
29829 Here is a matrix of mmap possibilities:
29830 mmap private not fixed
29831 mmap private fixed at somewhere currently unmapped
29832 mmap private fixed at somewhere already mapped
29833 mmap shared not fixed
29834 mmap shared fixed at somewhere currently unmapped
29835 mmap shared fixed at somewhere already mapped
29836 For private mappings, we should verify that changes cannot be read()
29837 back from the file, nor mmap's back from the file at a different
29838 address. (There have been systems where private was not correctly
29839 implemented like the infamous i386 svr4.0, and systems where the
29840 VM page cache was not coherent with the file system buffer cache
29841 like early versions of FreeBSD and possibly contemporary NetBSD.)
29842 For shared mappings, we should conversely verify that changes get
29843 propagated back to all the places they're supposed to be.
29844
29845 Grep wants private fixed already mapped.
29846 The main things grep needs to know about mmap are:
29847 * does it exist and is it safe to write into the mmap'd area
29848 * how to use it (BSD variants) */
29849
29850 #include <fcntl.h>
29851 #include <sys/mman.h>
29852
29853 #if !STDC_HEADERS && !HAVE_STDLIB_H
29854 char *malloc ();
29855 #endif
29856
29857 /* This mess was copied from the GNU getpagesize.h. */
29858 #if !HAVE_GETPAGESIZE
29859 /* Assume that all systems that can run configure have sys/param.h. */
29860 # if !HAVE_SYS_PARAM_H
29861 # define HAVE_SYS_PARAM_H 1
29862 # endif
29863
29864 # ifdef _SC_PAGESIZE
29865 # define getpagesize() sysconf(_SC_PAGESIZE)
29866 # else /* no _SC_PAGESIZE */
29867 # if HAVE_SYS_PARAM_H
29868 # include <sys/param.h>
29869 # ifdef EXEC_PAGESIZE
29870 # define getpagesize() EXEC_PAGESIZE
29871 # else /* no EXEC_PAGESIZE */
29872 # ifdef NBPG
29873 # define getpagesize() NBPG * CLSIZE
29874 # ifndef CLSIZE
29875 # define CLSIZE 1
29876 # endif /* no CLSIZE */
29877 # else /* no NBPG */
29878 # ifdef NBPC
29879 # define getpagesize() NBPC
29880 # else /* no NBPC */
29881 # ifdef PAGESIZE
29882 # define getpagesize() PAGESIZE
29883 # endif /* PAGESIZE */
29884 # endif /* no NBPC */
29885 # endif /* no NBPG */
29886 # endif /* no EXEC_PAGESIZE */
29887 # else /* no HAVE_SYS_PARAM_H */
29888 # define getpagesize() 8192 /* punt totally */
29889 # endif /* no HAVE_SYS_PARAM_H */
29890 # endif /* no _SC_PAGESIZE */
29891
29892 #endif /* no HAVE_GETPAGESIZE */
29893
29894 int
29895 main ()
29896 {
29897 char *data, *data2, *data3;
29898 int i, pagesize;
29899 int fd;
29900
29901 pagesize = getpagesize ();
29902
29903 /* First, make a file with some known garbage in it. */
29904 data = (char *) malloc (pagesize);
29905 if (!data)
29906 exit (1);
29907 for (i = 0; i < pagesize; ++i)
29908 *(data + i) = rand ();
29909 umask (0);
29910 fd = creat ("conftest.mmap", 0600);
29911 if (fd < 0)
29912 exit (1);
29913 if (write (fd, data, pagesize) != pagesize)
29914 exit (1);
29915 close (fd);
29916
29917 /* Next, try to mmap the file at a fixed address which already has
29918 something else allocated at it. If we can, also make sure that
29919 we see the same garbage. */
29920 fd = open ("conftest.mmap", O_RDWR);
29921 if (fd < 0)
29922 exit (1);
29923 data2 = (char *) malloc (2 * pagesize);
29924 if (!data2)
29925 exit (1);
29926 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
29927 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
29928 MAP_PRIVATE | MAP_FIXED, fd, 0L))
29929 exit (1);
29930 for (i = 0; i < pagesize; ++i)
29931 if (*(data + i) != *(data2 + i))
29932 exit (1);
29933
29934 /* Finally, make sure that changes to the mapped area do not
29935 percolate back to the file as seen by read(). (This is a bug on
29936 some variants of i386 svr4.0.) */
29937 for (i = 0; i < pagesize; ++i)
29938 *(data2 + i) = *(data2 + i) + 1;
29939 data3 = (char *) malloc (pagesize);
29940 if (!data3)
29941 exit (1);
29942 if (read (fd, data3, pagesize) != pagesize)
29943 exit (1);
29944 for (i = 0; i < pagesize; ++i)
29945 if (*(data + i) != *(data3 + i))
29946 exit (1);
29947 close (fd);
29948 exit (0);
29949 }
29950 _ACEOF
29951 rm -f conftest$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>&5
29954 ac_status=$?
29955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29956 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29958 (eval $ac_try) 2>&5
29959 ac_status=$?
29960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29961 (exit $ac_status); }; }; then
29962 ac_cv_func_mmap_fixed_mapped=yes
29963 else
29964 echo "$as_me: program exited with status $ac_status" >&5
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29967
29968 ( exit $ac_status )
29969 ac_cv_func_mmap_fixed_mapped=no
29970 fi
29971 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29972 fi
29973 fi
29974 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
29975 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
29976 if test $ac_cv_func_mmap_fixed_mapped = yes; then
29977
29978 cat >>confdefs.h <<\_ACEOF
29979 #define HAVE_MMAP 1
29980 _ACEOF
29981
29982 fi
29983 rm -f conftest.mmap
29984
29985 fi
29986
29987 else
29988
29989 # This lets us hard-code the functionality we know we'll have in the cross
29990 # target environment. "Let" is a sugar-coated word placed on an especially
29991 # dull and tedious hack, actually.
29992 #
29993 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29994 # that involve linking, can't be used:
29995 # "cannot open sim-crt0.o"
29996 # "cannot open crt0.o"
29997 # etc. All this is because there currently exists no unified, consistent
29998 # way for top level CC information to be passed down to target directories:
29999 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30000 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30001 # crosses can be removed.
30002
30003 # If Canadian cross, then don't pick up tools from the build directory.
30004 # Used only in GLIBCXX_EXPORT_INCLUDES.
30005 if test -n "$with_cross_host" &&
30006 test x"$build_alias" != x"$with_cross_host" &&
30007 test x"$build" != x"$target";
30008 then
30009 CANADIAN=yes
30010 else
30011 CANADIAN=no
30012 fi
30013
30014 # Construct crosses by hand, eliminating bits that need ld...
30015 # GLIBCXX_CHECK_COMPILER_FEATURES
30016 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30017 # GLIBCXX_CHECK_MATH_SUPPORT
30018
30019 # First, test for "known" system libraries. We may be using newlib even
30020 # on a hosted environment.
30021 if test "x${with_newlib}" = "xyes"; then
30022 os_include_dir="os/newlib"
30023 cat >>confdefs.h <<\_ACEOF
30024 #define HAVE_HYPOT 1
30025 _ACEOF
30026
30027
30028 # GLIBCXX_CHECK_STDLIB_SUPPORT
30029 cat >>confdefs.h <<\_ACEOF
30030 #define HAVE_STRTOF 1
30031 _ACEOF
30032
30033 # AC_FUNC_MMAP
30034 cat >>confdefs.h <<\_ACEOF
30035 #define HAVE_MMAP 1
30036 _ACEOF
30037
30038
30039 cat >>confdefs.h <<\_ACEOF
30040 #define HAVE_ACOSF 1
30041 _ACEOF
30042
30043 cat >>confdefs.h <<\_ACEOF
30044 #define HAVE_ASINF 1
30045 _ACEOF
30046
30047 cat >>confdefs.h <<\_ACEOF
30048 #define HAVE_ATAN2F 1
30049 _ACEOF
30050
30051 cat >>confdefs.h <<\_ACEOF
30052 #define HAVE_ATANF 1
30053 _ACEOF
30054
30055 cat >>confdefs.h <<\_ACEOF
30056 #define HAVE_CEILF 1
30057 _ACEOF
30058
30059 cat >>confdefs.h <<\_ACEOF
30060 #define HAVE_COPYSIGN 1
30061 _ACEOF
30062
30063 cat >>confdefs.h <<\_ACEOF
30064 #define HAVE_COPYSIGNF 1
30065 _ACEOF
30066
30067 cat >>confdefs.h <<\_ACEOF
30068 #define HAVE_COSF 1
30069 _ACEOF
30070
30071 cat >>confdefs.h <<\_ACEOF
30072 #define HAVE_COSHF 1
30073 _ACEOF
30074
30075 cat >>confdefs.h <<\_ACEOF
30076 #define HAVE_EXPF 1
30077 _ACEOF
30078
30079 cat >>confdefs.h <<\_ACEOF
30080 #define HAVE_FABSF 1
30081 _ACEOF
30082
30083 cat >>confdefs.h <<\_ACEOF
30084 #define HAVE_FLOORF 1
30085 _ACEOF
30086
30087 cat >>confdefs.h <<\_ACEOF
30088 #define HAVE_FMODF 1
30089 _ACEOF
30090
30091 cat >>confdefs.h <<\_ACEOF
30092 #define HAVE_FREXPF 1
30093 _ACEOF
30094
30095 cat >>confdefs.h <<\_ACEOF
30096 #define HAVE_LDEXPF 1
30097 _ACEOF
30098
30099 cat >>confdefs.h <<\_ACEOF
30100 #define HAVE_LOG10F 1
30101 _ACEOF
30102
30103 cat >>confdefs.h <<\_ACEOF
30104 #define HAVE_LOGF 1
30105 _ACEOF
30106
30107 cat >>confdefs.h <<\_ACEOF
30108 #define HAVE_MODFF 1
30109 _ACEOF
30110
30111 cat >>confdefs.h <<\_ACEOF
30112 #define HAVE_POWF 1
30113 _ACEOF
30114
30115 cat >>confdefs.h <<\_ACEOF
30116 #define HAVE_SINF 1
30117 _ACEOF
30118
30119 cat >>confdefs.h <<\_ACEOF
30120 #define HAVE_SINHF 1
30121 _ACEOF
30122
30123 cat >>confdefs.h <<\_ACEOF
30124 #define HAVE_SQRTF 1
30125 _ACEOF
30126
30127 cat >>confdefs.h <<\_ACEOF
30128 #define HAVE_TANF 1
30129 _ACEOF
30130
30131 cat >>confdefs.h <<\_ACEOF
30132 #define HAVE_TANHF 1
30133 _ACEOF
30134
30135
30136 cat >>confdefs.h <<\_ACEOF
30137 #define HAVE_S_ISREG 1
30138 _ACEOF
30139
30140 cat >>confdefs.h <<\_ACEOF
30141 #define HAVE_S_IFREG 1
30142 _ACEOF
30143
30144 else
30145
30146 # Base decisions on target environment.
30147 case "${host}" in
30148 arm*-*-symbianelf*)
30149 # This is a freestanding configuration; there is nothing to do here.
30150 ;;
30151
30152 *-darwin*)
30153 # Darwin versions vary, but the linker should work in a cross environment,
30154 # so we just check for all the features here.
30155 # Check for available headers.
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30170 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30171 sys/types.h
30172 do
30173 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30175 echo "$as_me:$LINENO: checking for $ac_header" >&5
30176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30178 echo $ECHO_N "(cached) $ECHO_C" >&6
30179 fi
30180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30182 else
30183 # Is the header compilable?
30184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30186 cat >conftest.$ac_ext <<_ACEOF
30187 /* confdefs.h. */
30188 _ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30192 $ac_includes_default
30193 #include <$ac_header>
30194 _ACEOF
30195 rm -f conftest.$ac_objext
30196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30197 (eval $ac_compile) 2>conftest.er1
30198 ac_status=$?
30199 grep -v '^ *+' conftest.er1 >conftest.err
30200 rm -f conftest.er1
30201 cat conftest.err >&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); } &&
30204 { ac_try='test -z "$ac_c_werror_flag"
30205 || test ! -s conftest.err'
30206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30207 (eval $ac_try) 2>&5
30208 ac_status=$?
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); }; } &&
30211 { ac_try='test -s conftest.$ac_objext'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; }; then
30217 ac_header_compiler=yes
30218 else
30219 echo "$as_me: failed program was:" >&5
30220 sed 's/^/| /' conftest.$ac_ext >&5
30221
30222 ac_header_compiler=no
30223 fi
30224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30226 echo "${ECHO_T}$ac_header_compiler" >&6
30227
30228 # Is the header present?
30229 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30230 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30231 cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h. */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30237 #include <$ac_header>
30238 _ACEOF
30239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30241 ac_status=$?
30242 grep -v '^ *+' conftest.er1 >conftest.err
30243 rm -f conftest.er1
30244 cat conftest.err >&5
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); } >/dev/null; then
30247 if test -s conftest.err; then
30248 ac_cpp_err=$ac_c_preproc_warn_flag
30249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30250 else
30251 ac_cpp_err=
30252 fi
30253 else
30254 ac_cpp_err=yes
30255 fi
30256 if test -z "$ac_cpp_err"; then
30257 ac_header_preproc=yes
30258 else
30259 echo "$as_me: failed program was:" >&5
30260 sed 's/^/| /' conftest.$ac_ext >&5
30261
30262 ac_header_preproc=no
30263 fi
30264 rm -f conftest.err conftest.$ac_ext
30265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30266 echo "${ECHO_T}$ac_header_preproc" >&6
30267
30268 # So? What about this header?
30269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30270 yes:no: )
30271 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30272 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30273 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30274 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30275 ac_header_preproc=yes
30276 ;;
30277 no:yes:* )
30278 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30279 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30280 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30281 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30282 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30283 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30284 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30285 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30288 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30289 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30290 (
30291 cat <<\_ASBOX
30292 ## ----------------------------------------- ##
30293 ## Report this to the package-unused lists. ##
30294 ## ----------------------------------------- ##
30295 _ASBOX
30296 ) |
30297 sed "s/^/$as_me: WARNING: /" >&2
30298 ;;
30299 esac
30300 echo "$as_me:$LINENO: checking for $ac_header" >&5
30301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 else
30305 eval "$as_ac_Header=\$ac_header_preproc"
30306 fi
30307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30309
30310 fi
30311 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30312 cat >>confdefs.h <<_ACEOF
30313 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30314 _ACEOF
30315
30316 fi
30317
30318 done
30319
30320
30321
30322 # All these tests are for C++; save the language and the compiler flags.
30323 # The CXXFLAGS thing is suspicious, but based on similar bits previously
30324 # found in GLIBCXX_CONFIGURE.
30325
30326
30327 ac_ext=cc
30328 ac_cpp='$CXXCPP $CPPFLAGS'
30329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30332
30333 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30334 ac_save_CXXFLAGS="$CXXFLAGS"
30335
30336 # Check for maintainer-mode bits.
30337 if test x"$USE_MAINTAINER_MODE" = xno; then
30338 WERROR=''
30339 else
30340 WERROR='-Werror'
30341 fi
30342
30343 # Check for -ffunction-sections -fdata-sections
30344 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
30345 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
30346 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
30347 cat >conftest.$ac_ext <<_ACEOF
30348 /* confdefs.h. */
30349 _ACEOF
30350 cat confdefs.h >>conftest.$ac_ext
30351 cat >>conftest.$ac_ext <<_ACEOF
30352 /* end confdefs.h. */
30353
30354 int
30355 main ()
30356 {
30357 int foo;
30358 ;
30359 return 0;
30360 }
30361 _ACEOF
30362 rm -f conftest.$ac_objext
30363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30364 (eval $ac_compile) 2>conftest.er1
30365 ac_status=$?
30366 grep -v '^ *+' conftest.er1 >conftest.err
30367 rm -f conftest.er1
30368 cat conftest.err >&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } &&
30371 { ac_try='test -z "$ac_cxx_werror_flag"
30372 || test ! -s conftest.err'
30373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30374 (eval $ac_try) 2>&5
30375 ac_status=$?
30376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30377 (exit $ac_status); }; } &&
30378 { ac_try='test -s conftest.$ac_objext'
30379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30380 (eval $ac_try) 2>&5
30381 ac_status=$?
30382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30383 (exit $ac_status); }; }; then
30384 ac_fdsections=yes
30385 else
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.$ac_ext >&5
30388
30389 ac_fdsections=no
30390 fi
30391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30392 if test "$ac_test_CXXFLAGS" = set; then
30393 CXXFLAGS="$ac_save_CXXFLAGS"
30394 else
30395 # this is the suspicious part
30396 CXXFLAGS=''
30397 fi
30398 if test x"$ac_fdsections" = x"yes"; then
30399 SECTION_FLAGS='-ffunction-sections -fdata-sections'
30400 fi
30401 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
30402 echo "${ECHO_T}$ac_fdsections" >&6
30403
30404 ac_ext=c
30405 ac_cpp='$CPP $CPPFLAGS'
30406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30409
30410
30411
30412
30413 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
30414
30415 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30416 ac_save_CXXFLAGS="$CXXFLAGS"
30417 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30418
30419 echo "$as_me:$LINENO: checking for sin in -lm" >&5
30420 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
30421 if test "${ac_cv_lib_m_sin+set}" = set; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30423 else
30424 ac_check_lib_save_LIBS=$LIBS
30425 LIBS="-lm $LIBS"
30426 if test x$gcc_no_link = xyes; then
30427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30429 { (exit 1); exit 1; }; }
30430 fi
30431 cat >conftest.$ac_ext <<_ACEOF
30432 /* confdefs.h. */
30433 _ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437
30438 /* Override any gcc2 internal prototype to avoid an error. */
30439 #ifdef __cplusplus
30440 extern "C"
30441 #endif
30442 /* We use char because int might match the return type of a gcc2
30443 builtin and then its argument prototype would still apply. */
30444 char sin ();
30445 int
30446 main ()
30447 {
30448 sin ();
30449 ;
30450 return 0;
30451 }
30452 _ACEOF
30453 rm -f conftest.$ac_objext conftest$ac_exeext
30454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30455 (eval $ac_link) 2>conftest.er1
30456 ac_status=$?
30457 grep -v '^ *+' conftest.er1 >conftest.err
30458 rm -f conftest.er1
30459 cat conftest.err >&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); } &&
30462 { ac_try='test -z "$ac_c_werror_flag"
30463 || test ! -s conftest.err'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30466 ac_status=$?
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; } &&
30469 { ac_try='test -s conftest$ac_exeext'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30472 ac_status=$?
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; }; then
30475 ac_cv_lib_m_sin=yes
30476 else
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30479
30480 ac_cv_lib_m_sin=no
30481 fi
30482 rm -f conftest.err conftest.$ac_objext \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30485 fi
30486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
30487 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
30488 if test $ac_cv_lib_m_sin = yes; then
30489 libm="-lm"
30490 fi
30491
30492 ac_save_LIBS="$LIBS"
30493 LIBS="$LIBS $libm"
30494
30495
30496
30497 echo "$as_me:$LINENO: checking for isinf declaration" >&5
30498 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
30499 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30500 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 else
30503
30504
30505
30506 ac_ext=cc
30507 ac_cpp='$CXXCPP $CPPFLAGS'
30508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30511
30512 cat >conftest.$ac_ext <<_ACEOF
30513 /* confdefs.h. */
30514 _ACEOF
30515 cat confdefs.h >>conftest.$ac_ext
30516 cat >>conftest.$ac_ext <<_ACEOF
30517 /* end confdefs.h. */
30518 #include <math.h>
30519 #ifdef HAVE_IEEEFP_H
30520 #include <ieeefp.h>
30521 #endif
30522
30523 int
30524 main ()
30525 {
30526 isinf(0);
30527 ;
30528 return 0;
30529 }
30530 _ACEOF
30531 rm -f conftest.$ac_objext
30532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30533 (eval $ac_compile) 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } &&
30540 { ac_try='test -z "$ac_cxx_werror_flag"
30541 || test ! -s conftest.err'
30542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30543 (eval $ac_try) 2>&5
30544 ac_status=$?
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); }; } &&
30547 { ac_try='test -s conftest.$ac_objext'
30548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30549 (eval $ac_try) 2>&5
30550 ac_status=$?
30551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30552 (exit $ac_status); }; }; then
30553 glibcxx_cv_func_isinf_use=yes
30554 else
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30557
30558 glibcxx_cv_func_isinf_use=no
30559 fi
30560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30566
30567
30568 fi
30569
30570 fi
30571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
30572 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
30573
30574 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30575
30576 for ac_func in isinf
30577 do
30578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30579 echo "$as_me:$LINENO: checking for $ac_func" >&5
30580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30581 if eval "test \"\${$as_ac_var+set}\" = set"; then
30582 echo $ECHO_N "(cached) $ECHO_C" >&6
30583 else
30584 if test x$gcc_no_link = xyes; then
30585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30587 { (exit 1); exit 1; }; }
30588 fi
30589 cat >conftest.$ac_ext <<_ACEOF
30590 /* confdefs.h. */
30591 _ACEOF
30592 cat confdefs.h >>conftest.$ac_ext
30593 cat >>conftest.$ac_ext <<_ACEOF
30594 /* end confdefs.h. */
30595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30597 #define $ac_func innocuous_$ac_func
30598
30599 /* System header to define __stub macros and hopefully few prototypes,
30600 which can conflict with char $ac_func (); below.
30601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30602 <limits.h> exists even on freestanding compilers. */
30603
30604 #ifdef __STDC__
30605 # include <limits.h>
30606 #else
30607 # include <assert.h>
30608 #endif
30609
30610 #undef $ac_func
30611
30612 /* Override any gcc2 internal prototype to avoid an error. */
30613 #ifdef __cplusplus
30614 extern "C"
30615 {
30616 #endif
30617 /* We use char because int might match the return type of a gcc2
30618 builtin and then its argument prototype would still apply. */
30619 char $ac_func ();
30620 /* The GNU C library defines this for functions which it implements
30621 to always fail with ENOSYS. Some functions are actually named
30622 something starting with __ and the normal name is an alias. */
30623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30624 choke me
30625 #else
30626 char (*f) () = $ac_func;
30627 #endif
30628 #ifdef __cplusplus
30629 }
30630 #endif
30631
30632 int
30633 main ()
30634 {
30635 return f != $ac_func;
30636 ;
30637 return 0;
30638 }
30639 _ACEOF
30640 rm -f conftest.$ac_objext conftest$ac_exeext
30641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30642 (eval $ac_link) 2>conftest.er1
30643 ac_status=$?
30644 grep -v '^ *+' conftest.er1 >conftest.err
30645 rm -f conftest.er1
30646 cat conftest.err >&5
30647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30648 (exit $ac_status); } &&
30649 { ac_try='test -z "$ac_c_werror_flag"
30650 || test ! -s conftest.err'
30651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30652 (eval $ac_try) 2>&5
30653 ac_status=$?
30654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30655 (exit $ac_status); }; } &&
30656 { ac_try='test -s conftest$ac_exeext'
30657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30658 (eval $ac_try) 2>&5
30659 ac_status=$?
30660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30661 (exit $ac_status); }; }; then
30662 eval "$as_ac_var=yes"
30663 else
30664 echo "$as_me: failed program was:" >&5
30665 sed 's/^/| /' conftest.$ac_ext >&5
30666
30667 eval "$as_ac_var=no"
30668 fi
30669 rm -f conftest.err conftest.$ac_objext \
30670 conftest$ac_exeext conftest.$ac_ext
30671 fi
30672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30674 if test `eval echo '${'$as_ac_var'}'` = yes; then
30675 cat >>confdefs.h <<_ACEOF
30676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30677 _ACEOF
30678
30679 fi
30680 done
30681
30682 else
30683
30684 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
30685 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
30686 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30687 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 else
30690
30691
30692
30693 ac_ext=cc
30694 ac_cpp='$CXXCPP $CPPFLAGS'
30695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30698
30699 cat >conftest.$ac_ext <<_ACEOF
30700 /* confdefs.h. */
30701 _ACEOF
30702 cat confdefs.h >>conftest.$ac_ext
30703 cat >>conftest.$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30705 #include <math.h>
30706 #ifdef HAVE_IEEEFP_H
30707 #include <ieeefp.h>
30708 #endif
30709
30710 int
30711 main ()
30712 {
30713 _isinf(0);
30714 ;
30715 return 0;
30716 }
30717 _ACEOF
30718 rm -f conftest.$ac_objext
30719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30720 (eval $ac_compile) 2>conftest.er1
30721 ac_status=$?
30722 grep -v '^ *+' conftest.er1 >conftest.err
30723 rm -f conftest.er1
30724 cat conftest.err >&5
30725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30726 (exit $ac_status); } &&
30727 { ac_try='test -z "$ac_cxx_werror_flag"
30728 || test ! -s conftest.err'
30729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30730 (eval $ac_try) 2>&5
30731 ac_status=$?
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); }; } &&
30734 { ac_try='test -s conftest.$ac_objext'
30735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30736 (eval $ac_try) 2>&5
30737 ac_status=$?
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); }; }; then
30740 glibcxx_cv_func__isinf_use=yes
30741 else
30742 echo "$as_me: failed program was:" >&5
30743 sed 's/^/| /' conftest.$ac_ext >&5
30744
30745 glibcxx_cv_func__isinf_use=no
30746 fi
30747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30748 ac_ext=c
30749 ac_cpp='$CPP $CPPFLAGS'
30750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30753
30754
30755 fi
30756
30757 fi
30758 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
30759 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
30760
30761 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30762
30763 for ac_func in _isinf
30764 do
30765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 echo "$as_me:$LINENO: checking for $ac_func" >&5
30767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30768 if eval "test \"\${$as_ac_var+set}\" = set"; then
30769 echo $ECHO_N "(cached) $ECHO_C" >&6
30770 else
30771 if test x$gcc_no_link = xyes; then
30772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30774 { (exit 1); exit 1; }; }
30775 fi
30776 cat >conftest.$ac_ext <<_ACEOF
30777 /* confdefs.h. */
30778 _ACEOF
30779 cat confdefs.h >>conftest.$ac_ext
30780 cat >>conftest.$ac_ext <<_ACEOF
30781 /* end confdefs.h. */
30782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30784 #define $ac_func innocuous_$ac_func
30785
30786 /* System header to define __stub macros and hopefully few prototypes,
30787 which can conflict with char $ac_func (); below.
30788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30789 <limits.h> exists even on freestanding compilers. */
30790
30791 #ifdef __STDC__
30792 # include <limits.h>
30793 #else
30794 # include <assert.h>
30795 #endif
30796
30797 #undef $ac_func
30798
30799 /* Override any gcc2 internal prototype to avoid an error. */
30800 #ifdef __cplusplus
30801 extern "C"
30802 {
30803 #endif
30804 /* We use char because int might match the return type of a gcc2
30805 builtin and then its argument prototype would still apply. */
30806 char $ac_func ();
30807 /* The GNU C library defines this for functions which it implements
30808 to always fail with ENOSYS. Some functions are actually named
30809 something starting with __ and the normal name is an alias. */
30810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30811 choke me
30812 #else
30813 char (*f) () = $ac_func;
30814 #endif
30815 #ifdef __cplusplus
30816 }
30817 #endif
30818
30819 int
30820 main ()
30821 {
30822 return f != $ac_func;
30823 ;
30824 return 0;
30825 }
30826 _ACEOF
30827 rm -f conftest.$ac_objext conftest$ac_exeext
30828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30829 (eval $ac_link) 2>conftest.er1
30830 ac_status=$?
30831 grep -v '^ *+' conftest.er1 >conftest.err
30832 rm -f conftest.er1
30833 cat conftest.err >&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -z "$ac_c_werror_flag"
30837 || test ! -s conftest.err'
30838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30839 (eval $ac_try) 2>&5
30840 ac_status=$?
30841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30842 (exit $ac_status); }; } &&
30843 { ac_try='test -s conftest$ac_exeext'
30844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30845 (eval $ac_try) 2>&5
30846 ac_status=$?
30847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30848 (exit $ac_status); }; }; then
30849 eval "$as_ac_var=yes"
30850 else
30851 echo "$as_me: failed program was:" >&5
30852 sed 's/^/| /' conftest.$ac_ext >&5
30853
30854 eval "$as_ac_var=no"
30855 fi
30856 rm -f conftest.err conftest.$ac_objext \
30857 conftest$ac_exeext conftest.$ac_ext
30858 fi
30859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30861 if test `eval echo '${'$as_ac_var'}'` = yes; then
30862 cat >>confdefs.h <<_ACEOF
30863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30864 _ACEOF
30865
30866 fi
30867 done
30868
30869 fi
30870 fi
30871
30872
30873
30874 echo "$as_me:$LINENO: checking for isnan declaration" >&5
30875 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
30876 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30877 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
30878 echo $ECHO_N "(cached) $ECHO_C" >&6
30879 else
30880
30881
30882
30883 ac_ext=cc
30884 ac_cpp='$CXXCPP $CPPFLAGS'
30885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30888
30889 cat >conftest.$ac_ext <<_ACEOF
30890 /* confdefs.h. */
30891 _ACEOF
30892 cat confdefs.h >>conftest.$ac_ext
30893 cat >>conftest.$ac_ext <<_ACEOF
30894 /* end confdefs.h. */
30895 #include <math.h>
30896 #ifdef HAVE_IEEEFP_H
30897 #include <ieeefp.h>
30898 #endif
30899
30900 int
30901 main ()
30902 {
30903 isnan(0);
30904 ;
30905 return 0;
30906 }
30907 _ACEOF
30908 rm -f conftest.$ac_objext
30909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30910 (eval $ac_compile) 2>conftest.er1
30911 ac_status=$?
30912 grep -v '^ *+' conftest.er1 >conftest.err
30913 rm -f conftest.er1
30914 cat conftest.err >&5
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); } &&
30917 { ac_try='test -z "$ac_cxx_werror_flag"
30918 || test ! -s conftest.err'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; } &&
30924 { ac_try='test -s conftest.$ac_objext'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; }; then
30930 glibcxx_cv_func_isnan_use=yes
30931 else
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935 glibcxx_cv_func_isnan_use=no
30936 fi
30937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30938 ac_ext=c
30939 ac_cpp='$CPP $CPPFLAGS'
30940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30943
30944
30945 fi
30946
30947 fi
30948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
30949 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
30950
30951 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30952
30953 for ac_func in isnan
30954 do
30955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30956 echo "$as_me:$LINENO: checking for $ac_func" >&5
30957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30958 if eval "test \"\${$as_ac_var+set}\" = set"; then
30959 echo $ECHO_N "(cached) $ECHO_C" >&6
30960 else
30961 if test x$gcc_no_link = xyes; then
30962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30964 { (exit 1); exit 1; }; }
30965 fi
30966 cat >conftest.$ac_ext <<_ACEOF
30967 /* confdefs.h. */
30968 _ACEOF
30969 cat confdefs.h >>conftest.$ac_ext
30970 cat >>conftest.$ac_ext <<_ACEOF
30971 /* end confdefs.h. */
30972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30974 #define $ac_func innocuous_$ac_func
30975
30976 /* System header to define __stub macros and hopefully few prototypes,
30977 which can conflict with char $ac_func (); below.
30978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30979 <limits.h> exists even on freestanding compilers. */
30980
30981 #ifdef __STDC__
30982 # include <limits.h>
30983 #else
30984 # include <assert.h>
30985 #endif
30986
30987 #undef $ac_func
30988
30989 /* Override any gcc2 internal prototype to avoid an error. */
30990 #ifdef __cplusplus
30991 extern "C"
30992 {
30993 #endif
30994 /* We use char because int might match the return type of a gcc2
30995 builtin and then its argument prototype would still apply. */
30996 char $ac_func ();
30997 /* The GNU C library defines this for functions which it implements
30998 to always fail with ENOSYS. Some functions are actually named
30999 something starting with __ and the normal name is an alias. */
31000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31001 choke me
31002 #else
31003 char (*f) () = $ac_func;
31004 #endif
31005 #ifdef __cplusplus
31006 }
31007 #endif
31008
31009 int
31010 main ()
31011 {
31012 return f != $ac_func;
31013 ;
31014 return 0;
31015 }
31016 _ACEOF
31017 rm -f conftest.$ac_objext conftest$ac_exeext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31019 (eval $ac_link) 2>conftest.er1
31020 ac_status=$?
31021 grep -v '^ *+' conftest.er1 >conftest.err
31022 rm -f conftest.er1
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try='test -z "$ac_c_werror_flag"
31027 || test ! -s conftest.err'
31028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31029 (eval $ac_try) 2>&5
31030 ac_status=$?
31031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31032 (exit $ac_status); }; } &&
31033 { ac_try='test -s conftest$ac_exeext'
31034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31035 (eval $ac_try) 2>&5
31036 ac_status=$?
31037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31038 (exit $ac_status); }; }; then
31039 eval "$as_ac_var=yes"
31040 else
31041 echo "$as_me: failed program was:" >&5
31042 sed 's/^/| /' conftest.$ac_ext >&5
31043
31044 eval "$as_ac_var=no"
31045 fi
31046 rm -f conftest.err conftest.$ac_objext \
31047 conftest$ac_exeext conftest.$ac_ext
31048 fi
31049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31051 if test `eval echo '${'$as_ac_var'}'` = yes; then
31052 cat >>confdefs.h <<_ACEOF
31053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31054 _ACEOF
31055
31056 fi
31057 done
31058
31059 else
31060
31061 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31062 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31063 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31064 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31065 echo $ECHO_N "(cached) $ECHO_C" >&6
31066 else
31067
31068
31069
31070 ac_ext=cc
31071 ac_cpp='$CXXCPP $CPPFLAGS'
31072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31075
31076 cat >conftest.$ac_ext <<_ACEOF
31077 /* confdefs.h. */
31078 _ACEOF
31079 cat confdefs.h >>conftest.$ac_ext
31080 cat >>conftest.$ac_ext <<_ACEOF
31081 /* end confdefs.h. */
31082 #include <math.h>
31083 #ifdef HAVE_IEEEFP_H
31084 #include <ieeefp.h>
31085 #endif
31086
31087 int
31088 main ()
31089 {
31090 _isnan(0);
31091 ;
31092 return 0;
31093 }
31094 _ACEOF
31095 rm -f conftest.$ac_objext
31096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31097 (eval $ac_compile) 2>conftest.er1
31098 ac_status=$?
31099 grep -v '^ *+' conftest.er1 >conftest.err
31100 rm -f conftest.er1
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } &&
31104 { ac_try='test -z "$ac_cxx_werror_flag"
31105 || test ! -s conftest.err'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; } &&
31111 { ac_try='test -s conftest.$ac_objext'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 glibcxx_cv_func__isnan_use=yes
31118 else
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.$ac_ext >&5
31121
31122 glibcxx_cv_func__isnan_use=no
31123 fi
31124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31125 ac_ext=c
31126 ac_cpp='$CPP $CPPFLAGS'
31127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31130
31131
31132 fi
31133
31134 fi
31135 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31136 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31137
31138 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31139
31140 for ac_func in _isnan
31141 do
31142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31143 echo "$as_me:$LINENO: checking for $ac_func" >&5
31144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31145 if eval "test \"\${$as_ac_var+set}\" = set"; then
31146 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 else
31148 if test x$gcc_no_link = xyes; then
31149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31151 { (exit 1); exit 1; }; }
31152 fi
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31161 #define $ac_func innocuous_$ac_func
31162
31163 /* System header to define __stub macros and hopefully few prototypes,
31164 which can conflict with char $ac_func (); below.
31165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31166 <limits.h> exists even on freestanding compilers. */
31167
31168 #ifdef __STDC__
31169 # include <limits.h>
31170 #else
31171 # include <assert.h>
31172 #endif
31173
31174 #undef $ac_func
31175
31176 /* Override any gcc2 internal prototype to avoid an error. */
31177 #ifdef __cplusplus
31178 extern "C"
31179 {
31180 #endif
31181 /* We use char because int might match the return type of a gcc2
31182 builtin and then its argument prototype would still apply. */
31183 char $ac_func ();
31184 /* The GNU C library defines this for functions which it implements
31185 to always fail with ENOSYS. Some functions are actually named
31186 something starting with __ and the normal name is an alias. */
31187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31188 choke me
31189 #else
31190 char (*f) () = $ac_func;
31191 #endif
31192 #ifdef __cplusplus
31193 }
31194 #endif
31195
31196 int
31197 main ()
31198 {
31199 return f != $ac_func;
31200 ;
31201 return 0;
31202 }
31203 _ACEOF
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31207 ac_status=$?
31208 grep -v '^ *+' conftest.er1 >conftest.err
31209 rm -f conftest.er1
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -z "$ac_c_werror_flag"
31214 || test ! -s conftest.err'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31217 ac_status=$?
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try='test -s conftest$ac_exeext'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31223 ac_status=$?
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; }; then
31226 eval "$as_ac_var=yes"
31227 else
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31230
31231 eval "$as_ac_var=no"
31232 fi
31233 rm -f conftest.err conftest.$ac_objext \
31234 conftest$ac_exeext conftest.$ac_ext
31235 fi
31236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31238 if test `eval echo '${'$as_ac_var'}'` = yes; then
31239 cat >>confdefs.h <<_ACEOF
31240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31241 _ACEOF
31242
31243 fi
31244 done
31245
31246 fi
31247 fi
31248
31249
31250
31251 echo "$as_me:$LINENO: checking for finite declaration" >&5
31252 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
31253 if test x${glibcxx_cv_func_finite_use+set} != xset; then
31254 if test "${glibcxx_cv_func_finite_use+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 else
31257
31258
31259
31260 ac_ext=cc
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31265
31266 cat >conftest.$ac_ext <<_ACEOF
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272 #include <math.h>
31273 #ifdef HAVE_IEEEFP_H
31274 #include <ieeefp.h>
31275 #endif
31276
31277 int
31278 main ()
31279 {
31280 finite(0);
31281 ;
31282 return 0;
31283 }
31284 _ACEOF
31285 rm -f conftest.$ac_objext
31286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31287 (eval $ac_compile) 2>conftest.er1
31288 ac_status=$?
31289 grep -v '^ *+' conftest.er1 >conftest.err
31290 rm -f conftest.er1
31291 cat conftest.err >&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } &&
31294 { ac_try='test -z "$ac_cxx_werror_flag"
31295 || test ! -s conftest.err'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; } &&
31301 { ac_try='test -s conftest.$ac_objext'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31304 ac_status=$?
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; }; then
31307 glibcxx_cv_func_finite_use=yes
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312 glibcxx_cv_func_finite_use=no
31313 fi
31314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31315 ac_ext=c
31316 ac_cpp='$CPP $CPPFLAGS'
31317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31320
31321
31322 fi
31323
31324 fi
31325 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
31326 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
31327
31328 if test x$glibcxx_cv_func_finite_use = x"yes"; then
31329
31330 for ac_func in finite
31331 do
31332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31333 echo "$as_me:$LINENO: checking for $ac_func" >&5
31334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31335 if eval "test \"\${$as_ac_var+set}\" = set"; then
31336 echo $ECHO_N "(cached) $ECHO_C" >&6
31337 else
31338 if test x$gcc_no_link = xyes; then
31339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31341 { (exit 1); exit 1; }; }
31342 fi
31343 cat >conftest.$ac_ext <<_ACEOF
31344 /* confdefs.h. */
31345 _ACEOF
31346 cat confdefs.h >>conftest.$ac_ext
31347 cat >>conftest.$ac_ext <<_ACEOF
31348 /* end confdefs.h. */
31349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31351 #define $ac_func innocuous_$ac_func
31352
31353 /* System header to define __stub macros and hopefully few prototypes,
31354 which can conflict with char $ac_func (); below.
31355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31356 <limits.h> exists even on freestanding compilers. */
31357
31358 #ifdef __STDC__
31359 # include <limits.h>
31360 #else
31361 # include <assert.h>
31362 #endif
31363
31364 #undef $ac_func
31365
31366 /* Override any gcc2 internal prototype to avoid an error. */
31367 #ifdef __cplusplus
31368 extern "C"
31369 {
31370 #endif
31371 /* We use char because int might match the return type of a gcc2
31372 builtin and then its argument prototype would still apply. */
31373 char $ac_func ();
31374 /* The GNU C library defines this for functions which it implements
31375 to always fail with ENOSYS. Some functions are actually named
31376 something starting with __ and the normal name is an alias. */
31377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31378 choke me
31379 #else
31380 char (*f) () = $ac_func;
31381 #endif
31382 #ifdef __cplusplus
31383 }
31384 #endif
31385
31386 int
31387 main ()
31388 {
31389 return f != $ac_func;
31390 ;
31391 return 0;
31392 }
31393 _ACEOF
31394 rm -f conftest.$ac_objext conftest$ac_exeext
31395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31396 (eval $ac_link) 2>conftest.er1
31397 ac_status=$?
31398 grep -v '^ *+' conftest.er1 >conftest.err
31399 rm -f conftest.er1
31400 cat conftest.err >&5
31401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31402 (exit $ac_status); } &&
31403 { ac_try='test -z "$ac_c_werror_flag"
31404 || test ! -s conftest.err'
31405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31406 (eval $ac_try) 2>&5
31407 ac_status=$?
31408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31409 (exit $ac_status); }; } &&
31410 { ac_try='test -s conftest$ac_exeext'
31411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31412 (eval $ac_try) 2>&5
31413 ac_status=$?
31414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31415 (exit $ac_status); }; }; then
31416 eval "$as_ac_var=yes"
31417 else
31418 echo "$as_me: failed program was:" >&5
31419 sed 's/^/| /' conftest.$ac_ext >&5
31420
31421 eval "$as_ac_var=no"
31422 fi
31423 rm -f conftest.err conftest.$ac_objext \
31424 conftest$ac_exeext conftest.$ac_ext
31425 fi
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31431 _ACEOF
31432
31433 fi
31434 done
31435
31436 else
31437
31438 echo "$as_me:$LINENO: checking for _finite declaration" >&5
31439 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
31440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
31441 if test "${glibcxx_cv_func__finite_use+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31443 else
31444
31445
31446
31447 ac_ext=cc
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31452
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h. */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459 #include <math.h>
31460 #ifdef HAVE_IEEEFP_H
31461 #include <ieeefp.h>
31462 #endif
31463
31464 int
31465 main ()
31466 {
31467 _finite(0);
31468 ;
31469 return 0;
31470 }
31471 _ACEOF
31472 rm -f conftest.$ac_objext
31473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31474 (eval $ac_compile) 2>conftest.er1
31475 ac_status=$?
31476 grep -v '^ *+' conftest.er1 >conftest.err
31477 rm -f conftest.er1
31478 cat conftest.err >&5
31479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31480 (exit $ac_status); } &&
31481 { ac_try='test -z "$ac_cxx_werror_flag"
31482 || test ! -s conftest.err'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; } &&
31488 { ac_try='test -s conftest.$ac_objext'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; }; then
31494 glibcxx_cv_func__finite_use=yes
31495 else
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31498
31499 glibcxx_cv_func__finite_use=no
31500 fi
31501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507
31508
31509 fi
31510
31511 fi
31512 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
31513 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
31514
31515 if test x$glibcxx_cv_func__finite_use = x"yes"; then
31516
31517 for ac_func in _finite
31518 do
31519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31520 echo "$as_me:$LINENO: checking for $ac_func" >&5
31521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31522 if eval "test \"\${$as_ac_var+set}\" = set"; then
31523 echo $ECHO_N "(cached) $ECHO_C" >&6
31524 else
31525 if test x$gcc_no_link = xyes; then
31526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31528 { (exit 1); exit 1; }; }
31529 fi
31530 cat >conftest.$ac_ext <<_ACEOF
31531 /* confdefs.h. */
31532 _ACEOF
31533 cat confdefs.h >>conftest.$ac_ext
31534 cat >>conftest.$ac_ext <<_ACEOF
31535 /* end confdefs.h. */
31536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31538 #define $ac_func innocuous_$ac_func
31539
31540 /* System header to define __stub macros and hopefully few prototypes,
31541 which can conflict with char $ac_func (); below.
31542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31543 <limits.h> exists even on freestanding compilers. */
31544
31545 #ifdef __STDC__
31546 # include <limits.h>
31547 #else
31548 # include <assert.h>
31549 #endif
31550
31551 #undef $ac_func
31552
31553 /* Override any gcc2 internal prototype to avoid an error. */
31554 #ifdef __cplusplus
31555 extern "C"
31556 {
31557 #endif
31558 /* We use char because int might match the return type of a gcc2
31559 builtin and then its argument prototype would still apply. */
31560 char $ac_func ();
31561 /* The GNU C library defines this for functions which it implements
31562 to always fail with ENOSYS. Some functions are actually named
31563 something starting with __ and the normal name is an alias. */
31564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31565 choke me
31566 #else
31567 char (*f) () = $ac_func;
31568 #endif
31569 #ifdef __cplusplus
31570 }
31571 #endif
31572
31573 int
31574 main ()
31575 {
31576 return f != $ac_func;
31577 ;
31578 return 0;
31579 }
31580 _ACEOF
31581 rm -f conftest.$ac_objext conftest$ac_exeext
31582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31583 (eval $ac_link) 2>conftest.er1
31584 ac_status=$?
31585 grep -v '^ *+' conftest.er1 >conftest.err
31586 rm -f conftest.er1
31587 cat conftest.err >&5
31588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31589 (exit $ac_status); } &&
31590 { ac_try='test -z "$ac_c_werror_flag"
31591 || test ! -s conftest.err'
31592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31593 (eval $ac_try) 2>&5
31594 ac_status=$?
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); }; } &&
31597 { ac_try='test -s conftest$ac_exeext'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; }; then
31603 eval "$as_ac_var=yes"
31604 else
31605 echo "$as_me: failed program was:" >&5
31606 sed 's/^/| /' conftest.$ac_ext >&5
31607
31608 eval "$as_ac_var=no"
31609 fi
31610 rm -f conftest.err conftest.$ac_objext \
31611 conftest$ac_exeext conftest.$ac_ext
31612 fi
31613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31615 if test `eval echo '${'$as_ac_var'}'` = yes; then
31616 cat >>confdefs.h <<_ACEOF
31617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31618 _ACEOF
31619
31620 fi
31621 done
31622
31623 fi
31624 fi
31625
31626
31627
31628 echo "$as_me:$LINENO: checking for copysign declaration" >&5
31629 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
31630 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
31631 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
31632 echo $ECHO_N "(cached) $ECHO_C" >&6
31633 else
31634
31635
31636
31637 ac_ext=cc
31638 ac_cpp='$CXXCPP $CPPFLAGS'
31639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31642
31643 cat >conftest.$ac_ext <<_ACEOF
31644 /* confdefs.h. */
31645 _ACEOF
31646 cat confdefs.h >>conftest.$ac_ext
31647 cat >>conftest.$ac_ext <<_ACEOF
31648 /* end confdefs.h. */
31649 #include <math.h>
31650 int
31651 main ()
31652 {
31653 copysign(0, 0);
31654 ;
31655 return 0;
31656 }
31657 _ACEOF
31658 rm -f conftest.$ac_objext
31659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31660 (eval $ac_compile) 2>conftest.er1
31661 ac_status=$?
31662 grep -v '^ *+' conftest.er1 >conftest.err
31663 rm -f conftest.er1
31664 cat conftest.err >&5
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); } &&
31667 { ac_try='test -z "$ac_cxx_werror_flag"
31668 || test ! -s conftest.err'
31669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31670 (eval $ac_try) 2>&5
31671 ac_status=$?
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); }; } &&
31674 { ac_try='test -s conftest.$ac_objext'
31675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31676 (eval $ac_try) 2>&5
31677 ac_status=$?
31678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31679 (exit $ac_status); }; }; then
31680 glibcxx_cv_func_copysign_use=yes
31681 else
31682 echo "$as_me: failed program was:" >&5
31683 sed 's/^/| /' conftest.$ac_ext >&5
31684
31685 glibcxx_cv_func_copysign_use=no
31686 fi
31687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31688 ac_ext=c
31689 ac_cpp='$CPP $CPPFLAGS'
31690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31693
31694
31695 fi
31696
31697 fi
31698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
31699 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
31700
31701 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
31702
31703 for ac_func in copysign
31704 do
31705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31706 echo "$as_me:$LINENO: checking for $ac_func" >&5
31707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31708 if eval "test \"\${$as_ac_var+set}\" = set"; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31711 if test x$gcc_no_link = xyes; then
31712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31714 { (exit 1); exit 1; }; }
31715 fi
31716 cat >conftest.$ac_ext <<_ACEOF
31717 /* confdefs.h. */
31718 _ACEOF
31719 cat confdefs.h >>conftest.$ac_ext
31720 cat >>conftest.$ac_ext <<_ACEOF
31721 /* end confdefs.h. */
31722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31724 #define $ac_func innocuous_$ac_func
31725
31726 /* System header to define __stub macros and hopefully few prototypes,
31727 which can conflict with char $ac_func (); below.
31728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31729 <limits.h> exists even on freestanding compilers. */
31730
31731 #ifdef __STDC__
31732 # include <limits.h>
31733 #else
31734 # include <assert.h>
31735 #endif
31736
31737 #undef $ac_func
31738
31739 /* Override any gcc2 internal prototype to avoid an error. */
31740 #ifdef __cplusplus
31741 extern "C"
31742 {
31743 #endif
31744 /* We use char because int might match the return type of a gcc2
31745 builtin and then its argument prototype would still apply. */
31746 char $ac_func ();
31747 /* The GNU C library defines this for functions which it implements
31748 to always fail with ENOSYS. Some functions are actually named
31749 something starting with __ and the normal name is an alias. */
31750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31751 choke me
31752 #else
31753 char (*f) () = $ac_func;
31754 #endif
31755 #ifdef __cplusplus
31756 }
31757 #endif
31758
31759 int
31760 main ()
31761 {
31762 return f != $ac_func;
31763 ;
31764 return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try='test -z "$ac_c_werror_flag"
31777 || test ! -s conftest.err'
31778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31779 (eval $ac_try) 2>&5
31780 ac_status=$?
31781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31782 (exit $ac_status); }; } &&
31783 { ac_try='test -s conftest$ac_exeext'
31784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31785 (eval $ac_try) 2>&5
31786 ac_status=$?
31787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31788 (exit $ac_status); }; }; then
31789 eval "$as_ac_var=yes"
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31793
31794 eval "$as_ac_var=no"
31795 fi
31796 rm -f conftest.err conftest.$ac_objext \
31797 conftest$ac_exeext conftest.$ac_ext
31798 fi
31799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31801 if test `eval echo '${'$as_ac_var'}'` = yes; then
31802 cat >>confdefs.h <<_ACEOF
31803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31804 _ACEOF
31805
31806 fi
31807 done
31808
31809 else
31810
31811 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
31812 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
31813 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
31814 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
31815 echo $ECHO_N "(cached) $ECHO_C" >&6
31816 else
31817
31818
31819
31820 ac_ext=cc
31821 ac_cpp='$CXXCPP $CPPFLAGS'
31822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31825
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832 #include <math.h>
31833 int
31834 main ()
31835 {
31836 _copysign(0, 0);
31837 ;
31838 return 0;
31839 }
31840 _ACEOF
31841 rm -f conftest.$ac_objext
31842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31843 (eval $ac_compile) 2>conftest.er1
31844 ac_status=$?
31845 grep -v '^ *+' conftest.er1 >conftest.err
31846 rm -f conftest.er1
31847 cat conftest.err >&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); } &&
31850 { ac_try='test -z "$ac_cxx_werror_flag"
31851 || test ! -s conftest.err'
31852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853 (eval $ac_try) 2>&5
31854 ac_status=$?
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); }; } &&
31857 { ac_try='test -s conftest.$ac_objext'
31858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31859 (eval $ac_try) 2>&5
31860 ac_status=$?
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); }; }; then
31863 glibcxx_cv_func__copysign_use=yes
31864 else
31865 echo "$as_me: failed program was:" >&5
31866 sed 's/^/| /' conftest.$ac_ext >&5
31867
31868 glibcxx_cv_func__copysign_use=no
31869 fi
31870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31871 ac_ext=c
31872 ac_cpp='$CPP $CPPFLAGS'
31873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31876
31877
31878 fi
31879
31880 fi
31881 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
31882 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
31883
31884 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
31885
31886 for ac_func in _copysign
31887 do
31888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31889 echo "$as_me:$LINENO: checking for $ac_func" >&5
31890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31891 if eval "test \"\${$as_ac_var+set}\" = set"; then
31892 echo $ECHO_N "(cached) $ECHO_C" >&6
31893 else
31894 if test x$gcc_no_link = xyes; then
31895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31897 { (exit 1); exit 1; }; }
31898 fi
31899 cat >conftest.$ac_ext <<_ACEOF
31900 /* confdefs.h. */
31901 _ACEOF
31902 cat confdefs.h >>conftest.$ac_ext
31903 cat >>conftest.$ac_ext <<_ACEOF
31904 /* end confdefs.h. */
31905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31906 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31907 #define $ac_func innocuous_$ac_func
31908
31909 /* System header to define __stub macros and hopefully few prototypes,
31910 which can conflict with char $ac_func (); below.
31911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31912 <limits.h> exists even on freestanding compilers. */
31913
31914 #ifdef __STDC__
31915 # include <limits.h>
31916 #else
31917 # include <assert.h>
31918 #endif
31919
31920 #undef $ac_func
31921
31922 /* Override any gcc2 internal prototype to avoid an error. */
31923 #ifdef __cplusplus
31924 extern "C"
31925 {
31926 #endif
31927 /* We use char because int might match the return type of a gcc2
31928 builtin and then its argument prototype would still apply. */
31929 char $ac_func ();
31930 /* The GNU C library defines this for functions which it implements
31931 to always fail with ENOSYS. Some functions are actually named
31932 something starting with __ and the normal name is an alias. */
31933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31934 choke me
31935 #else
31936 char (*f) () = $ac_func;
31937 #endif
31938 #ifdef __cplusplus
31939 }
31940 #endif
31941
31942 int
31943 main ()
31944 {
31945 return f != $ac_func;
31946 ;
31947 return 0;
31948 }
31949 _ACEOF
31950 rm -f conftest.$ac_objext conftest$ac_exeext
31951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31952 (eval $ac_link) 2>conftest.er1
31953 ac_status=$?
31954 grep -v '^ *+' conftest.er1 >conftest.err
31955 rm -f conftest.er1
31956 cat conftest.err >&5
31957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31958 (exit $ac_status); } &&
31959 { ac_try='test -z "$ac_c_werror_flag"
31960 || test ! -s conftest.err'
31961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31962 (eval $ac_try) 2>&5
31963 ac_status=$?
31964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31965 (exit $ac_status); }; } &&
31966 { ac_try='test -s conftest$ac_exeext'
31967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31968 (eval $ac_try) 2>&5
31969 ac_status=$?
31970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31971 (exit $ac_status); }; }; then
31972 eval "$as_ac_var=yes"
31973 else
31974 echo "$as_me: failed program was:" >&5
31975 sed 's/^/| /' conftest.$ac_ext >&5
31976
31977 eval "$as_ac_var=no"
31978 fi
31979 rm -f conftest.err conftest.$ac_objext \
31980 conftest$ac_exeext conftest.$ac_ext
31981 fi
31982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31984 if test `eval echo '${'$as_ac_var'}'` = yes; then
31985 cat >>confdefs.h <<_ACEOF
31986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31987 _ACEOF
31988
31989 fi
31990 done
31991
31992 fi
31993 fi
31994
31995
31996
31997 echo "$as_me:$LINENO: checking for sincos declaration" >&5
31998 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
31999 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32000 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32001 echo $ECHO_N "(cached) $ECHO_C" >&6
32002 else
32003
32004
32005
32006 ac_ext=cc
32007 ac_cpp='$CXXCPP $CPPFLAGS'
32008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32011
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018 #include <math.h>
32019 int
32020 main ()
32021 {
32022 sincos(0, 0, 0);
32023 ;
32024 return 0;
32025 }
32026 _ACEOF
32027 rm -f conftest.$ac_objext
32028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32029 (eval $ac_compile) 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } &&
32036 { ac_try='test -z "$ac_cxx_werror_flag"
32037 || test ! -s conftest.err'
32038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32039 (eval $ac_try) 2>&5
32040 ac_status=$?
32041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32042 (exit $ac_status); }; } &&
32043 { ac_try='test -s conftest.$ac_objext'
32044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32045 (eval $ac_try) 2>&5
32046 ac_status=$?
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); }; }; then
32049 glibcxx_cv_func_sincos_use=yes
32050 else
32051 echo "$as_me: failed program was:" >&5
32052 sed 's/^/| /' conftest.$ac_ext >&5
32053
32054 glibcxx_cv_func_sincos_use=no
32055 fi
32056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32057 ac_ext=c
32058 ac_cpp='$CPP $CPPFLAGS'
32059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32062
32063
32064 fi
32065
32066 fi
32067 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32068 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32069
32070 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32071
32072 for ac_func in sincos
32073 do
32074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32075 echo "$as_me:$LINENO: checking for $ac_func" >&5
32076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32077 if eval "test \"\${$as_ac_var+set}\" = set"; then
32078 echo $ECHO_N "(cached) $ECHO_C" >&6
32079 else
32080 if test x$gcc_no_link = xyes; then
32081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32083 { (exit 1); exit 1; }; }
32084 fi
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32093 #define $ac_func innocuous_$ac_func
32094
32095 /* System header to define __stub macros and hopefully few prototypes,
32096 which can conflict with char $ac_func (); below.
32097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32098 <limits.h> exists even on freestanding compilers. */
32099
32100 #ifdef __STDC__
32101 # include <limits.h>
32102 #else
32103 # include <assert.h>
32104 #endif
32105
32106 #undef $ac_func
32107
32108 /* Override any gcc2 internal prototype to avoid an error. */
32109 #ifdef __cplusplus
32110 extern "C"
32111 {
32112 #endif
32113 /* We use char because int might match the return type of a gcc2
32114 builtin and then its argument prototype would still apply. */
32115 char $ac_func ();
32116 /* The GNU C library defines this for functions which it implements
32117 to always fail with ENOSYS. Some functions are actually named
32118 something starting with __ and the normal name is an alias. */
32119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32120 choke me
32121 #else
32122 char (*f) () = $ac_func;
32123 #endif
32124 #ifdef __cplusplus
32125 }
32126 #endif
32127
32128 int
32129 main ()
32130 {
32131 return f != $ac_func;
32132 ;
32133 return 0;
32134 }
32135 _ACEOF
32136 rm -f conftest.$ac_objext conftest$ac_exeext
32137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32138 (eval $ac_link) 2>conftest.er1
32139 ac_status=$?
32140 grep -v '^ *+' conftest.er1 >conftest.err
32141 rm -f conftest.er1
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } &&
32145 { ac_try='test -z "$ac_c_werror_flag"
32146 || test ! -s conftest.err'
32147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32148 (eval $ac_try) 2>&5
32149 ac_status=$?
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); }; } &&
32152 { ac_try='test -s conftest$ac_exeext'
32153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32154 (eval $ac_try) 2>&5
32155 ac_status=$?
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); }; }; then
32158 eval "$as_ac_var=yes"
32159 else
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32162
32163 eval "$as_ac_var=no"
32164 fi
32165 rm -f conftest.err conftest.$ac_objext \
32166 conftest$ac_exeext conftest.$ac_ext
32167 fi
32168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32170 if test `eval echo '${'$as_ac_var'}'` = yes; then
32171 cat >>confdefs.h <<_ACEOF
32172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32173 _ACEOF
32174
32175 fi
32176 done
32177
32178 else
32179
32180 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32181 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32182 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32183 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32185 else
32186
32187
32188
32189 ac_ext=cc
32190 ac_cpp='$CXXCPP $CPPFLAGS'
32191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32194
32195 cat >conftest.$ac_ext <<_ACEOF
32196 /* confdefs.h. */
32197 _ACEOF
32198 cat confdefs.h >>conftest.$ac_ext
32199 cat >>conftest.$ac_ext <<_ACEOF
32200 /* end confdefs.h. */
32201 #include <math.h>
32202 int
32203 main ()
32204 {
32205 _sincos(0, 0, 0);
32206 ;
32207 return 0;
32208 }
32209 _ACEOF
32210 rm -f conftest.$ac_objext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32212 (eval $ac_compile) 2>conftest.er1
32213 ac_status=$?
32214 grep -v '^ *+' conftest.er1 >conftest.err
32215 rm -f conftest.er1
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -z "$ac_cxx_werror_flag"
32220 || test ! -s conftest.err'
32221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32222 (eval $ac_try) 2>&5
32223 ac_status=$?
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); }; } &&
32226 { ac_try='test -s conftest.$ac_objext'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32229 ac_status=$?
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; }; then
32232 glibcxx_cv_func__sincos_use=yes
32233 else
32234 echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.$ac_ext >&5
32236
32237 glibcxx_cv_func__sincos_use=no
32238 fi
32239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247 fi
32248
32249 fi
32250 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
32251 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
32252
32253 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32254
32255 for ac_func in _sincos
32256 do
32257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32258 echo "$as_me:$LINENO: checking for $ac_func" >&5
32259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32260 if eval "test \"\${$as_ac_var+set}\" = set"; then
32261 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 else
32263 if test x$gcc_no_link = xyes; then
32264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32266 { (exit 1); exit 1; }; }
32267 fi
32268 cat >conftest.$ac_ext <<_ACEOF
32269 /* confdefs.h. */
32270 _ACEOF
32271 cat confdefs.h >>conftest.$ac_ext
32272 cat >>conftest.$ac_ext <<_ACEOF
32273 /* end confdefs.h. */
32274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32275 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32276 #define $ac_func innocuous_$ac_func
32277
32278 /* System header to define __stub macros and hopefully few prototypes,
32279 which can conflict with char $ac_func (); below.
32280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32281 <limits.h> exists even on freestanding compilers. */
32282
32283 #ifdef __STDC__
32284 # include <limits.h>
32285 #else
32286 # include <assert.h>
32287 #endif
32288
32289 #undef $ac_func
32290
32291 /* Override any gcc2 internal prototype to avoid an error. */
32292 #ifdef __cplusplus
32293 extern "C"
32294 {
32295 #endif
32296 /* We use char because int might match the return type of a gcc2
32297 builtin and then its argument prototype would still apply. */
32298 char $ac_func ();
32299 /* The GNU C library defines this for functions which it implements
32300 to always fail with ENOSYS. Some functions are actually named
32301 something starting with __ and the normal name is an alias. */
32302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32303 choke me
32304 #else
32305 char (*f) () = $ac_func;
32306 #endif
32307 #ifdef __cplusplus
32308 }
32309 #endif
32310
32311 int
32312 main ()
32313 {
32314 return f != $ac_func;
32315 ;
32316 return 0;
32317 }
32318 _ACEOF
32319 rm -f conftest.$ac_objext conftest$ac_exeext
32320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32321 (eval $ac_link) 2>conftest.er1
32322 ac_status=$?
32323 grep -v '^ *+' conftest.er1 >conftest.err
32324 rm -f conftest.er1
32325 cat conftest.err >&5
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); } &&
32328 { ac_try='test -z "$ac_c_werror_flag"
32329 || test ! -s conftest.err'
32330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32331 (eval $ac_try) 2>&5
32332 ac_status=$?
32333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32334 (exit $ac_status); }; } &&
32335 { ac_try='test -s conftest$ac_exeext'
32336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32337 (eval $ac_try) 2>&5
32338 ac_status=$?
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); }; }; then
32341 eval "$as_ac_var=yes"
32342 else
32343 echo "$as_me: failed program was:" >&5
32344 sed 's/^/| /' conftest.$ac_ext >&5
32345
32346 eval "$as_ac_var=no"
32347 fi
32348 rm -f conftest.err conftest.$ac_objext \
32349 conftest$ac_exeext conftest.$ac_ext
32350 fi
32351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32353 if test `eval echo '${'$as_ac_var'}'` = yes; then
32354 cat >>confdefs.h <<_ACEOF
32355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32356 _ACEOF
32357
32358 fi
32359 done
32360
32361 fi
32362 fi
32363
32364
32365
32366 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
32367 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
32368 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32369 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
32370 echo $ECHO_N "(cached) $ECHO_C" >&6
32371 else
32372
32373
32374
32375 ac_ext=cc
32376 ac_cpp='$CXXCPP $CPPFLAGS'
32377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32380
32381 cat >conftest.$ac_ext <<_ACEOF
32382 /* confdefs.h. */
32383 _ACEOF
32384 cat confdefs.h >>conftest.$ac_ext
32385 cat >>conftest.$ac_ext <<_ACEOF
32386 /* end confdefs.h. */
32387 #include <math.h>
32388 #ifdef HAVE_IEEEFP_H
32389 #include <ieeefp.h>
32390 #endif
32391
32392 int
32393 main ()
32394 {
32395 fpclass(0);
32396 ;
32397 return 0;
32398 }
32399 _ACEOF
32400 rm -f conftest.$ac_objext
32401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32402 (eval $ac_compile) 2>conftest.er1
32403 ac_status=$?
32404 grep -v '^ *+' conftest.er1 >conftest.err
32405 rm -f conftest.er1
32406 cat conftest.err >&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); } &&
32409 { ac_try='test -z "$ac_cxx_werror_flag"
32410 || test ! -s conftest.err'
32411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32412 (eval $ac_try) 2>&5
32413 ac_status=$?
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); }; } &&
32416 { ac_try='test -s conftest.$ac_objext'
32417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32418 (eval $ac_try) 2>&5
32419 ac_status=$?
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); }; }; then
32422 glibcxx_cv_func_fpclass_use=yes
32423 else
32424 echo "$as_me: failed program was:" >&5
32425 sed 's/^/| /' conftest.$ac_ext >&5
32426
32427 glibcxx_cv_func_fpclass_use=no
32428 fi
32429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32430 ac_ext=c
32431 ac_cpp='$CPP $CPPFLAGS'
32432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32435
32436
32437 fi
32438
32439 fi
32440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
32441 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
32442
32443 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32444
32445 for ac_func in fpclass
32446 do
32447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32448 echo "$as_me:$LINENO: checking for $ac_func" >&5
32449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32450 if eval "test \"\${$as_ac_var+set}\" = set"; then
32451 echo $ECHO_N "(cached) $ECHO_C" >&6
32452 else
32453 if test x$gcc_no_link = xyes; then
32454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32456 { (exit 1); exit 1; }; }
32457 fi
32458 cat >conftest.$ac_ext <<_ACEOF
32459 /* confdefs.h. */
32460 _ACEOF
32461 cat confdefs.h >>conftest.$ac_ext
32462 cat >>conftest.$ac_ext <<_ACEOF
32463 /* end confdefs.h. */
32464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32466 #define $ac_func innocuous_$ac_func
32467
32468 /* System header to define __stub macros and hopefully few prototypes,
32469 which can conflict with char $ac_func (); below.
32470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32471 <limits.h> exists even on freestanding compilers. */
32472
32473 #ifdef __STDC__
32474 # include <limits.h>
32475 #else
32476 # include <assert.h>
32477 #endif
32478
32479 #undef $ac_func
32480
32481 /* Override any gcc2 internal prototype to avoid an error. */
32482 #ifdef __cplusplus
32483 extern "C"
32484 {
32485 #endif
32486 /* We use char because int might match the return type of a gcc2
32487 builtin and then its argument prototype would still apply. */
32488 char $ac_func ();
32489 /* The GNU C library defines this for functions which it implements
32490 to always fail with ENOSYS. Some functions are actually named
32491 something starting with __ and the normal name is an alias. */
32492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32493 choke me
32494 #else
32495 char (*f) () = $ac_func;
32496 #endif
32497 #ifdef __cplusplus
32498 }
32499 #endif
32500
32501 int
32502 main ()
32503 {
32504 return f != $ac_func;
32505 ;
32506 return 0;
32507 }
32508 _ACEOF
32509 rm -f conftest.$ac_objext conftest$ac_exeext
32510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32511 (eval $ac_link) 2>conftest.er1
32512 ac_status=$?
32513 grep -v '^ *+' conftest.er1 >conftest.err
32514 rm -f conftest.er1
32515 cat conftest.err >&5
32516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32517 (exit $ac_status); } &&
32518 { ac_try='test -z "$ac_c_werror_flag"
32519 || test ! -s conftest.err'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32522 ac_status=$?
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; } &&
32525 { ac_try='test -s conftest$ac_exeext'
32526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32527 (eval $ac_try) 2>&5
32528 ac_status=$?
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); }; }; then
32531 eval "$as_ac_var=yes"
32532 else
32533 echo "$as_me: failed program was:" >&5
32534 sed 's/^/| /' conftest.$ac_ext >&5
32535
32536 eval "$as_ac_var=no"
32537 fi
32538 rm -f conftest.err conftest.$ac_objext \
32539 conftest$ac_exeext conftest.$ac_ext
32540 fi
32541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32543 if test `eval echo '${'$as_ac_var'}'` = yes; then
32544 cat >>confdefs.h <<_ACEOF
32545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32546 _ACEOF
32547
32548 fi
32549 done
32550
32551 else
32552
32553 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
32554 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
32555 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32556 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
32557 echo $ECHO_N "(cached) $ECHO_C" >&6
32558 else
32559
32560
32561
32562 ac_ext=cc
32563 ac_cpp='$CXXCPP $CPPFLAGS'
32564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32567
32568 cat >conftest.$ac_ext <<_ACEOF
32569 /* confdefs.h. */
32570 _ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32574 #include <math.h>
32575 #ifdef HAVE_IEEEFP_H
32576 #include <ieeefp.h>
32577 #endif
32578
32579 int
32580 main ()
32581 {
32582 _fpclass(0);
32583 ;
32584 return 0;
32585 }
32586 _ACEOF
32587 rm -f conftest.$ac_objext
32588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32589 (eval $ac_compile) 2>conftest.er1
32590 ac_status=$?
32591 grep -v '^ *+' conftest.er1 >conftest.err
32592 rm -f conftest.er1
32593 cat conftest.err >&5
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); } &&
32596 { ac_try='test -z "$ac_cxx_werror_flag"
32597 || test ! -s conftest.err'
32598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32599 (eval $ac_try) 2>&5
32600 ac_status=$?
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; } &&
32603 { ac_try='test -s conftest.$ac_objext'
32604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32605 (eval $ac_try) 2>&5
32606 ac_status=$?
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); }; }; then
32609 glibcxx_cv_func__fpclass_use=yes
32610 else
32611 echo "$as_me: failed program was:" >&5
32612 sed 's/^/| /' conftest.$ac_ext >&5
32613
32614 glibcxx_cv_func__fpclass_use=no
32615 fi
32616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622
32623
32624 fi
32625
32626 fi
32627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
32628 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
32629
32630 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32631
32632 for ac_func in _fpclass
32633 do
32634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32635 echo "$as_me:$LINENO: checking for $ac_func" >&5
32636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32637 if eval "test \"\${$as_ac_var+set}\" = set"; then
32638 echo $ECHO_N "(cached) $ECHO_C" >&6
32639 else
32640 if test x$gcc_no_link = xyes; then
32641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32643 { (exit 1); exit 1; }; }
32644 fi
32645 cat >conftest.$ac_ext <<_ACEOF
32646 /* confdefs.h. */
32647 _ACEOF
32648 cat confdefs.h >>conftest.$ac_ext
32649 cat >>conftest.$ac_ext <<_ACEOF
32650 /* end confdefs.h. */
32651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32653 #define $ac_func innocuous_$ac_func
32654
32655 /* System header to define __stub macros and hopefully few prototypes,
32656 which can conflict with char $ac_func (); below.
32657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32658 <limits.h> exists even on freestanding compilers. */
32659
32660 #ifdef __STDC__
32661 # include <limits.h>
32662 #else
32663 # include <assert.h>
32664 #endif
32665
32666 #undef $ac_func
32667
32668 /* Override any gcc2 internal prototype to avoid an error. */
32669 #ifdef __cplusplus
32670 extern "C"
32671 {
32672 #endif
32673 /* We use char because int might match the return type of a gcc2
32674 builtin and then its argument prototype would still apply. */
32675 char $ac_func ();
32676 /* The GNU C library defines this for functions which it implements
32677 to always fail with ENOSYS. Some functions are actually named
32678 something starting with __ and the normal name is an alias. */
32679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32680 choke me
32681 #else
32682 char (*f) () = $ac_func;
32683 #endif
32684 #ifdef __cplusplus
32685 }
32686 #endif
32687
32688 int
32689 main ()
32690 {
32691 return f != $ac_func;
32692 ;
32693 return 0;
32694 }
32695 _ACEOF
32696 rm -f conftest.$ac_objext conftest$ac_exeext
32697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32698 (eval $ac_link) 2>conftest.er1
32699 ac_status=$?
32700 grep -v '^ *+' conftest.er1 >conftest.err
32701 rm -f conftest.er1
32702 cat conftest.err >&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } &&
32705 { ac_try='test -z "$ac_c_werror_flag"
32706 || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try='test -s conftest$ac_exeext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 eval "$as_ac_var=yes"
32719 else
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32722
32723 eval "$as_ac_var=no"
32724 fi
32725 rm -f conftest.err conftest.$ac_objext \
32726 conftest$ac_exeext conftest.$ac_ext
32727 fi
32728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32730 if test `eval echo '${'$as_ac_var'}'` = yes; then
32731 cat >>confdefs.h <<_ACEOF
32732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32733 _ACEOF
32734
32735 fi
32736 done
32737
32738 fi
32739 fi
32740
32741
32742
32743 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
32744 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
32745 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32746 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
32747 echo $ECHO_N "(cached) $ECHO_C" >&6
32748 else
32749
32750
32751
32752 ac_ext=cc
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757
32758 cat >conftest.$ac_ext <<_ACEOF
32759 /* confdefs.h. */
32760 _ACEOF
32761 cat confdefs.h >>conftest.$ac_ext
32762 cat >>conftest.$ac_ext <<_ACEOF
32763 /* end confdefs.h. */
32764 #include <math.h>
32765 #ifdef HAVE_IEEEFP_H
32766 #include <ieeefp.h>
32767 #endif
32768
32769 int
32770 main ()
32771 {
32772 qfpclass(0);
32773 ;
32774 return 0;
32775 }
32776 _ACEOF
32777 rm -f conftest.$ac_objext
32778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32779 (eval $ac_compile) 2>conftest.er1
32780 ac_status=$?
32781 grep -v '^ *+' conftest.er1 >conftest.err
32782 rm -f conftest.er1
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } &&
32786 { ac_try='test -z "$ac_cxx_werror_flag"
32787 || test ! -s conftest.err'
32788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32789 (eval $ac_try) 2>&5
32790 ac_status=$?
32791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32792 (exit $ac_status); }; } &&
32793 { ac_try='test -s conftest.$ac_objext'
32794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32795 (eval $ac_try) 2>&5
32796 ac_status=$?
32797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32798 (exit $ac_status); }; }; then
32799 glibcxx_cv_func_qfpclass_use=yes
32800 else
32801 echo "$as_me: failed program was:" >&5
32802 sed 's/^/| /' conftest.$ac_ext >&5
32803
32804 glibcxx_cv_func_qfpclass_use=no
32805 fi
32806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812
32813
32814 fi
32815
32816 fi
32817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
32818 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
32819
32820 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32821
32822 for ac_func in qfpclass
32823 do
32824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32825 echo "$as_me:$LINENO: checking for $ac_func" >&5
32826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32827 if eval "test \"\${$as_ac_var+set}\" = set"; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 else
32830 if test x$gcc_no_link = xyes; then
32831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32833 { (exit 1); exit 1; }; }
32834 fi
32835 cat >conftest.$ac_ext <<_ACEOF
32836 /* confdefs.h. */
32837 _ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32843 #define $ac_func innocuous_$ac_func
32844
32845 /* System header to define __stub macros and hopefully few prototypes,
32846 which can conflict with char $ac_func (); below.
32847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32848 <limits.h> exists even on freestanding compilers. */
32849
32850 #ifdef __STDC__
32851 # include <limits.h>
32852 #else
32853 # include <assert.h>
32854 #endif
32855
32856 #undef $ac_func
32857
32858 /* Override any gcc2 internal prototype to avoid an error. */
32859 #ifdef __cplusplus
32860 extern "C"
32861 {
32862 #endif
32863 /* We use char because int might match the return type of a gcc2
32864 builtin and then its argument prototype would still apply. */
32865 char $ac_func ();
32866 /* The GNU C library defines this for functions which it implements
32867 to always fail with ENOSYS. Some functions are actually named
32868 something starting with __ and the normal name is an alias. */
32869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32870 choke me
32871 #else
32872 char (*f) () = $ac_func;
32873 #endif
32874 #ifdef __cplusplus
32875 }
32876 #endif
32877
32878 int
32879 main ()
32880 {
32881 return f != $ac_func;
32882 ;
32883 return 0;
32884 }
32885 _ACEOF
32886 rm -f conftest.$ac_objext conftest$ac_exeext
32887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32888 (eval $ac_link) 2>conftest.er1
32889 ac_status=$?
32890 grep -v '^ *+' conftest.er1 >conftest.err
32891 rm -f conftest.er1
32892 cat conftest.err >&5
32893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32894 (exit $ac_status); } &&
32895 { ac_try='test -z "$ac_c_werror_flag"
32896 || test ! -s conftest.err'
32897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32898 (eval $ac_try) 2>&5
32899 ac_status=$?
32900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32901 (exit $ac_status); }; } &&
32902 { ac_try='test -s conftest$ac_exeext'
32903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32904 (eval $ac_try) 2>&5
32905 ac_status=$?
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); }; }; then
32908 eval "$as_ac_var=yes"
32909 else
32910 echo "$as_me: failed program was:" >&5
32911 sed 's/^/| /' conftest.$ac_ext >&5
32912
32913 eval "$as_ac_var=no"
32914 fi
32915 rm -f conftest.err conftest.$ac_objext \
32916 conftest$ac_exeext conftest.$ac_ext
32917 fi
32918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32920 if test `eval echo '${'$as_ac_var'}'` = yes; then
32921 cat >>confdefs.h <<_ACEOF
32922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32923 _ACEOF
32924
32925 fi
32926 done
32927
32928 else
32929
32930 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
32931 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
32932 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
32933 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
32934 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 else
32936
32937
32938
32939 ac_ext=cc
32940 ac_cpp='$CXXCPP $CPPFLAGS'
32941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32944
32945 cat >conftest.$ac_ext <<_ACEOF
32946 /* confdefs.h. */
32947 _ACEOF
32948 cat confdefs.h >>conftest.$ac_ext
32949 cat >>conftest.$ac_ext <<_ACEOF
32950 /* end confdefs.h. */
32951 #include <math.h>
32952 #ifdef HAVE_IEEEFP_H
32953 #include <ieeefp.h>
32954 #endif
32955
32956 int
32957 main ()
32958 {
32959 _qfpclass(0);
32960 ;
32961 return 0;
32962 }
32963 _ACEOF
32964 rm -f conftest.$ac_objext
32965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32966 (eval $ac_compile) 2>conftest.er1
32967 ac_status=$?
32968 grep -v '^ *+' conftest.er1 >conftest.err
32969 rm -f conftest.er1
32970 cat conftest.err >&5
32971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32972 (exit $ac_status); } &&
32973 { ac_try='test -z "$ac_cxx_werror_flag"
32974 || test ! -s conftest.err'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; } &&
32980 { ac_try='test -s conftest.$ac_objext'
32981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32982 (eval $ac_try) 2>&5
32983 ac_status=$?
32984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32985 (exit $ac_status); }; }; then
32986 glibcxx_cv_func__qfpclass_use=yes
32987 else
32988 echo "$as_me: failed program was:" >&5
32989 sed 's/^/| /' conftest.$ac_ext >&5
32990
32991 glibcxx_cv_func__qfpclass_use=no
32992 fi
32993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999
33000
33001 fi
33002
33003 fi
33004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33005 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33006
33007 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33008
33009 for ac_func in _qfpclass
33010 do
33011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33012 echo "$as_me:$LINENO: checking for $ac_func" >&5
33013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33014 if eval "test \"\${$as_ac_var+set}\" = set"; then
33015 echo $ECHO_N "(cached) $ECHO_C" >&6
33016 else
33017 if test x$gcc_no_link = xyes; then
33018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33020 { (exit 1); exit 1; }; }
33021 fi
33022 cat >conftest.$ac_ext <<_ACEOF
33023 /* confdefs.h. */
33024 _ACEOF
33025 cat confdefs.h >>conftest.$ac_ext
33026 cat >>conftest.$ac_ext <<_ACEOF
33027 /* end confdefs.h. */
33028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33030 #define $ac_func innocuous_$ac_func
33031
33032 /* System header to define __stub macros and hopefully few prototypes,
33033 which can conflict with char $ac_func (); below.
33034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33035 <limits.h> exists even on freestanding compilers. */
33036
33037 #ifdef __STDC__
33038 # include <limits.h>
33039 #else
33040 # include <assert.h>
33041 #endif
33042
33043 #undef $ac_func
33044
33045 /* Override any gcc2 internal prototype to avoid an error. */
33046 #ifdef __cplusplus
33047 extern "C"
33048 {
33049 #endif
33050 /* We use char because int might match the return type of a gcc2
33051 builtin and then its argument prototype would still apply. */
33052 char $ac_func ();
33053 /* The GNU C library defines this for functions which it implements
33054 to always fail with ENOSYS. Some functions are actually named
33055 something starting with __ and the normal name is an alias. */
33056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33057 choke me
33058 #else
33059 char (*f) () = $ac_func;
33060 #endif
33061 #ifdef __cplusplus
33062 }
33063 #endif
33064
33065 int
33066 main ()
33067 {
33068 return f != $ac_func;
33069 ;
33070 return 0;
33071 }
33072 _ACEOF
33073 rm -f conftest.$ac_objext conftest$ac_exeext
33074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33075 (eval $ac_link) 2>conftest.er1
33076 ac_status=$?
33077 grep -v '^ *+' conftest.er1 >conftest.err
33078 rm -f conftest.er1
33079 cat conftest.err >&5
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); } &&
33082 { ac_try='test -z "$ac_c_werror_flag"
33083 || test ! -s conftest.err'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; } &&
33089 { ac_try='test -s conftest$ac_exeext'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33092 ac_status=$?
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; }; then
33095 eval "$as_ac_var=yes"
33096 else
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33099
33100 eval "$as_ac_var=no"
33101 fi
33102 rm -f conftest.err conftest.$ac_objext \
33103 conftest$ac_exeext conftest.$ac_ext
33104 fi
33105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33107 if test `eval echo '${'$as_ac_var'}'` = yes; then
33108 cat >>confdefs.h <<_ACEOF
33109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33110 _ACEOF
33111
33112 fi
33113 done
33114
33115 fi
33116 fi
33117
33118
33119
33120 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33121 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33122 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33123 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33125 else
33126
33127
33128
33129 ac_ext=cc
33130 ac_cpp='$CXXCPP $CPPFLAGS'
33131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33134
33135 cat >conftest.$ac_ext <<_ACEOF
33136 /* confdefs.h. */
33137 _ACEOF
33138 cat confdefs.h >>conftest.$ac_ext
33139 cat >>conftest.$ac_ext <<_ACEOF
33140 /* end confdefs.h. */
33141 #include <math.h>
33142 int
33143 main ()
33144 {
33145 hypot(0, 0);
33146 ;
33147 return 0;
33148 }
33149 _ACEOF
33150 rm -f conftest.$ac_objext
33151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33152 (eval $ac_compile) 2>conftest.er1
33153 ac_status=$?
33154 grep -v '^ *+' conftest.er1 >conftest.err
33155 rm -f conftest.er1
33156 cat conftest.err >&5
33157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33158 (exit $ac_status); } &&
33159 { ac_try='test -z "$ac_cxx_werror_flag"
33160 || test ! -s conftest.err'
33161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33162 (eval $ac_try) 2>&5
33163 ac_status=$?
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); }; } &&
33166 { ac_try='test -s conftest.$ac_objext'
33167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33168 (eval $ac_try) 2>&5
33169 ac_status=$?
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); }; }; then
33172 glibcxx_cv_func_hypot_use=yes
33173 else
33174 echo "$as_me: failed program was:" >&5
33175 sed 's/^/| /' conftest.$ac_ext >&5
33176
33177 glibcxx_cv_func_hypot_use=no
33178 fi
33179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33180 ac_ext=c
33181 ac_cpp='$CPP $CPPFLAGS'
33182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33185
33186
33187 fi
33188
33189 fi
33190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
33191 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
33192
33193 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33194
33195 for ac_func in hypot
33196 do
33197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33198 echo "$as_me:$LINENO: checking for $ac_func" >&5
33199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33200 if eval "test \"\${$as_ac_var+set}\" = set"; then
33201 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 else
33203 if test x$gcc_no_link = xyes; then
33204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33206 { (exit 1); exit 1; }; }
33207 fi
33208 cat >conftest.$ac_ext <<_ACEOF
33209 /* confdefs.h. */
33210 _ACEOF
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33216 #define $ac_func innocuous_$ac_func
33217
33218 /* System header to define __stub macros and hopefully few prototypes,
33219 which can conflict with char $ac_func (); below.
33220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33221 <limits.h> exists even on freestanding compilers. */
33222
33223 #ifdef __STDC__
33224 # include <limits.h>
33225 #else
33226 # include <assert.h>
33227 #endif
33228
33229 #undef $ac_func
33230
33231 /* Override any gcc2 internal prototype to avoid an error. */
33232 #ifdef __cplusplus
33233 extern "C"
33234 {
33235 #endif
33236 /* We use char because int might match the return type of a gcc2
33237 builtin and then its argument prototype would still apply. */
33238 char $ac_func ();
33239 /* The GNU C library defines this for functions which it implements
33240 to always fail with ENOSYS. Some functions are actually named
33241 something starting with __ and the normal name is an alias. */
33242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33243 choke me
33244 #else
33245 char (*f) () = $ac_func;
33246 #endif
33247 #ifdef __cplusplus
33248 }
33249 #endif
33250
33251 int
33252 main ()
33253 {
33254 return f != $ac_func;
33255 ;
33256 return 0;
33257 }
33258 _ACEOF
33259 rm -f conftest.$ac_objext conftest$ac_exeext
33260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33261 (eval $ac_link) 2>conftest.er1
33262 ac_status=$?
33263 grep -v '^ *+' conftest.er1 >conftest.err
33264 rm -f conftest.er1
33265 cat conftest.err >&5
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); } &&
33268 { ac_try='test -z "$ac_c_werror_flag"
33269 || test ! -s conftest.err'
33270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33271 (eval $ac_try) 2>&5
33272 ac_status=$?
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); }; } &&
33275 { ac_try='test -s conftest$ac_exeext'
33276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33277 (eval $ac_try) 2>&5
33278 ac_status=$?
33279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33280 (exit $ac_status); }; }; then
33281 eval "$as_ac_var=yes"
33282 else
33283 echo "$as_me: failed program was:" >&5
33284 sed 's/^/| /' conftest.$ac_ext >&5
33285
33286 eval "$as_ac_var=no"
33287 fi
33288 rm -f conftest.err conftest.$ac_objext \
33289 conftest$ac_exeext conftest.$ac_ext
33290 fi
33291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33293 if test `eval echo '${'$as_ac_var'}'` = yes; then
33294 cat >>confdefs.h <<_ACEOF
33295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33296 _ACEOF
33297
33298 fi
33299 done
33300
33301 else
33302
33303 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
33304 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
33305 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33306 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
33307 echo $ECHO_N "(cached) $ECHO_C" >&6
33308 else
33309
33310
33311
33312 ac_ext=cc
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33317
33318 cat >conftest.$ac_ext <<_ACEOF
33319 /* confdefs.h. */
33320 _ACEOF
33321 cat confdefs.h >>conftest.$ac_ext
33322 cat >>conftest.$ac_ext <<_ACEOF
33323 /* end confdefs.h. */
33324 #include <math.h>
33325 int
33326 main ()
33327 {
33328 _hypot(0, 0);
33329 ;
33330 return 0;
33331 }
33332 _ACEOF
33333 rm -f conftest.$ac_objext
33334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33335 (eval $ac_compile) 2>conftest.er1
33336 ac_status=$?
33337 grep -v '^ *+' conftest.er1 >conftest.err
33338 rm -f conftest.er1
33339 cat conftest.err >&5
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); } &&
33342 { ac_try='test -z "$ac_cxx_werror_flag"
33343 || test ! -s conftest.err'
33344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33345 (eval $ac_try) 2>&5
33346 ac_status=$?
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); }; } &&
33349 { ac_try='test -s conftest.$ac_objext'
33350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33351 (eval $ac_try) 2>&5
33352 ac_status=$?
33353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33354 (exit $ac_status); }; }; then
33355 glibcxx_cv_func__hypot_use=yes
33356 else
33357 echo "$as_me: failed program was:" >&5
33358 sed 's/^/| /' conftest.$ac_ext >&5
33359
33360 glibcxx_cv_func__hypot_use=no
33361 fi
33362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33363 ac_ext=c
33364 ac_cpp='$CPP $CPPFLAGS'
33365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33368
33369
33370 fi
33371
33372 fi
33373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
33374 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
33375
33376 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33377
33378 for ac_func in _hypot
33379 do
33380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33381 echo "$as_me:$LINENO: checking for $ac_func" >&5
33382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33383 if eval "test \"\${$as_ac_var+set}\" = set"; then
33384 echo $ECHO_N "(cached) $ECHO_C" >&6
33385 else
33386 if test x$gcc_no_link = xyes; then
33387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33389 { (exit 1); exit 1; }; }
33390 fi
33391 cat >conftest.$ac_ext <<_ACEOF
33392 /* confdefs.h. */
33393 _ACEOF
33394 cat confdefs.h >>conftest.$ac_ext
33395 cat >>conftest.$ac_ext <<_ACEOF
33396 /* end confdefs.h. */
33397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33399 #define $ac_func innocuous_$ac_func
33400
33401 /* System header to define __stub macros and hopefully few prototypes,
33402 which can conflict with char $ac_func (); below.
33403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33404 <limits.h> exists even on freestanding compilers. */
33405
33406 #ifdef __STDC__
33407 # include <limits.h>
33408 #else
33409 # include <assert.h>
33410 #endif
33411
33412 #undef $ac_func
33413
33414 /* Override any gcc2 internal prototype to avoid an error. */
33415 #ifdef __cplusplus
33416 extern "C"
33417 {
33418 #endif
33419 /* We use char because int might match the return type of a gcc2
33420 builtin and then its argument prototype would still apply. */
33421 char $ac_func ();
33422 /* The GNU C library defines this for functions which it implements
33423 to always fail with ENOSYS. Some functions are actually named
33424 something starting with __ and the normal name is an alias. */
33425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33426 choke me
33427 #else
33428 char (*f) () = $ac_func;
33429 #endif
33430 #ifdef __cplusplus
33431 }
33432 #endif
33433
33434 int
33435 main ()
33436 {
33437 return f != $ac_func;
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext conftest$ac_exeext
33443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33444 (eval $ac_link) 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } &&
33451 { ac_try='test -z "$ac_c_werror_flag"
33452 || test ! -s conftest.err'
33453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33454 (eval $ac_try) 2>&5
33455 ac_status=$?
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); }; } &&
33458 { ac_try='test -s conftest$ac_exeext'
33459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33460 (eval $ac_try) 2>&5
33461 ac_status=$?
33462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33463 (exit $ac_status); }; }; then
33464 eval "$as_ac_var=yes"
33465 else
33466 echo "$as_me: failed program was:" >&5
33467 sed 's/^/| /' conftest.$ac_ext >&5
33468
33469 eval "$as_ac_var=no"
33470 fi
33471 rm -f conftest.err conftest.$ac_objext \
33472 conftest$ac_exeext conftest.$ac_ext
33473 fi
33474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33476 if test `eval echo '${'$as_ac_var'}'` = yes; then
33477 cat >>confdefs.h <<_ACEOF
33478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33479 _ACEOF
33480
33481 fi
33482 done
33483
33484 fi
33485 fi
33486
33487
33488
33489 echo "$as_me:$LINENO: checking for float trig functions" >&5
33490 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
33491 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494
33495
33496
33497 ac_ext=cc
33498 ac_cpp='$CXXCPP $CPPFLAGS'
33499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33502
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 #include <math.h>
33510 int
33511 main ()
33512 {
33513 `for x in acosf asinf atanf \
33514 cosf sinf tanf \
33515 coshf sinhf tanhf; do echo "$x (0);"; done`
33516 ;
33517 return 0;
33518 }
33519 _ACEOF
33520 rm -f conftest.$ac_objext
33521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33522 (eval $ac_compile) 2>conftest.er1
33523 ac_status=$?
33524 grep -v '^ *+' conftest.er1 >conftest.err
33525 rm -f conftest.er1
33526 cat conftest.err >&5
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); } &&
33529 { ac_try='test -z "$ac_cxx_werror_flag"
33530 || test ! -s conftest.err'
33531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33532 (eval $ac_try) 2>&5
33533 ac_status=$?
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); }; } &&
33536 { ac_try='test -s conftest.$ac_objext'
33537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33538 (eval $ac_try) 2>&5
33539 ac_status=$?
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); }; }; then
33542 glibcxx_cv_func_float_trig_use=yes
33543 else
33544 echo "$as_me: failed program was:" >&5
33545 sed 's/^/| /' conftest.$ac_ext >&5
33546
33547 glibcxx_cv_func_float_trig_use=no
33548 fi
33549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33550 ac_ext=c
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33555
33556 fi
33557
33558 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
33559 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
33560 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570 for ac_func in acosf asinf atanf \
33571 cosf sinf tanf \
33572 coshf sinhf tanhf
33573 do
33574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33575 echo "$as_me:$LINENO: checking for $ac_func" >&5
33576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33577 if eval "test \"\${$as_ac_var+set}\" = set"; then
33578 echo $ECHO_N "(cached) $ECHO_C" >&6
33579 else
33580 if test x$gcc_no_link = xyes; then
33581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33583 { (exit 1); exit 1; }; }
33584 fi
33585 cat >conftest.$ac_ext <<_ACEOF
33586 /* confdefs.h. */
33587 _ACEOF
33588 cat confdefs.h >>conftest.$ac_ext
33589 cat >>conftest.$ac_ext <<_ACEOF
33590 /* end confdefs.h. */
33591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33593 #define $ac_func innocuous_$ac_func
33594
33595 /* System header to define __stub macros and hopefully few prototypes,
33596 which can conflict with char $ac_func (); below.
33597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33598 <limits.h> exists even on freestanding compilers. */
33599
33600 #ifdef __STDC__
33601 # include <limits.h>
33602 #else
33603 # include <assert.h>
33604 #endif
33605
33606 #undef $ac_func
33607
33608 /* Override any gcc2 internal prototype to avoid an error. */
33609 #ifdef __cplusplus
33610 extern "C"
33611 {
33612 #endif
33613 /* We use char because int might match the return type of a gcc2
33614 builtin and then its argument prototype would still apply. */
33615 char $ac_func ();
33616 /* The GNU C library defines this for functions which it implements
33617 to always fail with ENOSYS. Some functions are actually named
33618 something starting with __ and the normal name is an alias. */
33619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33620 choke me
33621 #else
33622 char (*f) () = $ac_func;
33623 #endif
33624 #ifdef __cplusplus
33625 }
33626 #endif
33627
33628 int
33629 main ()
33630 {
33631 return f != $ac_func;
33632 ;
33633 return 0;
33634 }
33635 _ACEOF
33636 rm -f conftest.$ac_objext conftest$ac_exeext
33637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33638 (eval $ac_link) 2>conftest.er1
33639 ac_status=$?
33640 grep -v '^ *+' conftest.er1 >conftest.err
33641 rm -f conftest.er1
33642 cat conftest.err >&5
33643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33644 (exit $ac_status); } &&
33645 { ac_try='test -z "$ac_c_werror_flag"
33646 || test ! -s conftest.err'
33647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33648 (eval $ac_try) 2>&5
33649 ac_status=$?
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); }; } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33655 ac_status=$?
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 eval "$as_ac_var=yes"
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 eval "$as_ac_var=no"
33664 fi
33665 rm -f conftest.err conftest.$ac_objext \
33666 conftest$ac_exeext conftest.$ac_ext
33667 fi
33668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33670 if test `eval echo '${'$as_ac_var'}'` = yes; then
33671 cat >>confdefs.h <<_ACEOF
33672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33673 _ACEOF
33674
33675 fi
33676 done
33677
33678 fi
33679
33680
33681 echo "$as_me:$LINENO: checking for float round functions" >&5
33682 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
33683 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
33684 echo $ECHO_N "(cached) $ECHO_C" >&6
33685 else
33686
33687
33688
33689 ac_ext=cc
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694
33695 cat >conftest.$ac_ext <<_ACEOF
33696 /* confdefs.h. */
33697 _ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701 #include <math.h>
33702 int
33703 main ()
33704 {
33705 `for x in ceilf floorf; do echo "$x (0);"; done`
33706 ;
33707 return 0;
33708 }
33709 _ACEOF
33710 rm -f conftest.$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_cxx_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33723 ac_status=$?
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try='test -s conftest.$ac_objext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33729 ac_status=$?
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 glibcxx_cv_func_float_round_use=yes
33733 else
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33736
33737 glibcxx_cv_func_float_round_use=no
33738 fi
33739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33740 ac_ext=c
33741 ac_cpp='$CPP $CPPFLAGS'
33742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33745
33746 fi
33747
33748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
33749 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
33750 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33751
33752
33753 for ac_func in ceilf floorf
33754 do
33755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33756 echo "$as_me:$LINENO: checking for $ac_func" >&5
33757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33758 if eval "test \"\${$as_ac_var+set}\" = set"; then
33759 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 else
33761 if test x$gcc_no_link = xyes; then
33762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33764 { (exit 1); exit 1; }; }
33765 fi
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33774 #define $ac_func innocuous_$ac_func
33775
33776 /* System header to define __stub macros and hopefully few prototypes,
33777 which can conflict with char $ac_func (); below.
33778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33779 <limits.h> exists even on freestanding compilers. */
33780
33781 #ifdef __STDC__
33782 # include <limits.h>
33783 #else
33784 # include <assert.h>
33785 #endif
33786
33787 #undef $ac_func
33788
33789 /* Override any gcc2 internal prototype to avoid an error. */
33790 #ifdef __cplusplus
33791 extern "C"
33792 {
33793 #endif
33794 /* We use char because int might match the return type of a gcc2
33795 builtin and then its argument prototype would still apply. */
33796 char $ac_func ();
33797 /* The GNU C library defines this for functions which it implements
33798 to always fail with ENOSYS. Some functions are actually named
33799 something starting with __ and the normal name is an alias. */
33800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33801 choke me
33802 #else
33803 char (*f) () = $ac_func;
33804 #endif
33805 #ifdef __cplusplus
33806 }
33807 #endif
33808
33809 int
33810 main ()
33811 {
33812 return f != $ac_func;
33813 ;
33814 return 0;
33815 }
33816 _ACEOF
33817 rm -f conftest.$ac_objext conftest$ac_exeext
33818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33819 (eval $ac_link) 2>conftest.er1
33820 ac_status=$?
33821 grep -v '^ *+' conftest.er1 >conftest.err
33822 rm -f conftest.er1
33823 cat conftest.err >&5
33824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33825 (exit $ac_status); } &&
33826 { ac_try='test -z "$ac_c_werror_flag"
33827 || test ! -s conftest.err'
33828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33829 (eval $ac_try) 2>&5
33830 ac_status=$?
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); }; } &&
33833 { ac_try='test -s conftest$ac_exeext'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; }; then
33839 eval "$as_ac_var=yes"
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33843
33844 eval "$as_ac_var=no"
33845 fi
33846 rm -f conftest.err conftest.$ac_objext \
33847 conftest$ac_exeext conftest.$ac_ext
33848 fi
33849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33851 if test `eval echo '${'$as_ac_var'}'` = yes; then
33852 cat >>confdefs.h <<_ACEOF
33853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33854 _ACEOF
33855
33856 fi
33857 done
33858
33859 fi
33860
33861
33862
33863 echo "$as_me:$LINENO: checking for expf declaration" >&5
33864 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
33865 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33866 if test "${glibcxx_cv_func_expf_use+set}" = set; then
33867 echo $ECHO_N "(cached) $ECHO_C" >&6
33868 else
33869
33870
33871
33872 ac_ext=cc
33873 ac_cpp='$CXXCPP $CPPFLAGS'
33874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33877
33878 cat >conftest.$ac_ext <<_ACEOF
33879 /* confdefs.h. */
33880 _ACEOF
33881 cat confdefs.h >>conftest.$ac_ext
33882 cat >>conftest.$ac_ext <<_ACEOF
33883 /* end confdefs.h. */
33884 #include <math.h>
33885 #ifdef HAVE_IEEEFP_H
33886 #include <ieeefp.h>
33887 #endif
33888
33889 int
33890 main ()
33891 {
33892 expf(0);
33893 ;
33894 return 0;
33895 }
33896 _ACEOF
33897 rm -f conftest.$ac_objext
33898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33899 (eval $ac_compile) 2>conftest.er1
33900 ac_status=$?
33901 grep -v '^ *+' conftest.er1 >conftest.err
33902 rm -f conftest.er1
33903 cat conftest.err >&5
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); } &&
33906 { ac_try='test -z "$ac_cxx_werror_flag"
33907 || test ! -s conftest.err'
33908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33909 (eval $ac_try) 2>&5
33910 ac_status=$?
33911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33912 (exit $ac_status); }; } &&
33913 { ac_try='test -s conftest.$ac_objext'
33914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33915 (eval $ac_try) 2>&5
33916 ac_status=$?
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); }; }; then
33919 glibcxx_cv_func_expf_use=yes
33920 else
33921 echo "$as_me: failed program was:" >&5
33922 sed 's/^/| /' conftest.$ac_ext >&5
33923
33924 glibcxx_cv_func_expf_use=no
33925 fi
33926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33927 ac_ext=c
33928 ac_cpp='$CPP $CPPFLAGS'
33929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33932
33933
33934 fi
33935
33936 fi
33937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
33938 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
33939
33940 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33941
33942 for ac_func in expf
33943 do
33944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33945 echo "$as_me:$LINENO: checking for $ac_func" >&5
33946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33947 if eval "test \"\${$as_ac_var+set}\" = set"; then
33948 echo $ECHO_N "(cached) $ECHO_C" >&6
33949 else
33950 if test x$gcc_no_link = xyes; then
33951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33953 { (exit 1); exit 1; }; }
33954 fi
33955 cat >conftest.$ac_ext <<_ACEOF
33956 /* confdefs.h. */
33957 _ACEOF
33958 cat confdefs.h >>conftest.$ac_ext
33959 cat >>conftest.$ac_ext <<_ACEOF
33960 /* end confdefs.h. */
33961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33963 #define $ac_func innocuous_$ac_func
33964
33965 /* System header to define __stub macros and hopefully few prototypes,
33966 which can conflict with char $ac_func (); below.
33967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33968 <limits.h> exists even on freestanding compilers. */
33969
33970 #ifdef __STDC__
33971 # include <limits.h>
33972 #else
33973 # include <assert.h>
33974 #endif
33975
33976 #undef $ac_func
33977
33978 /* Override any gcc2 internal prototype to avoid an error. */
33979 #ifdef __cplusplus
33980 extern "C"
33981 {
33982 #endif
33983 /* We use char because int might match the return type of a gcc2
33984 builtin and then its argument prototype would still apply. */
33985 char $ac_func ();
33986 /* The GNU C library defines this for functions which it implements
33987 to always fail with ENOSYS. Some functions are actually named
33988 something starting with __ and the normal name is an alias. */
33989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33990 choke me
33991 #else
33992 char (*f) () = $ac_func;
33993 #endif
33994 #ifdef __cplusplus
33995 }
33996 #endif
33997
33998 int
33999 main ()
34000 {
34001 return f != $ac_func;
34002 ;
34003 return 0;
34004 }
34005 _ACEOF
34006 rm -f conftest.$ac_objext conftest$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 (eval $ac_link) 2>conftest.er1
34009 ac_status=$?
34010 grep -v '^ *+' conftest.er1 >conftest.err
34011 rm -f conftest.er1
34012 cat conftest.err >&5
34013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34014 (exit $ac_status); } &&
34015 { ac_try='test -z "$ac_c_werror_flag"
34016 || test ! -s conftest.err'
34017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34018 (eval $ac_try) 2>&5
34019 ac_status=$?
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); }; } &&
34022 { ac_try='test -s conftest$ac_exeext'
34023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34024 (eval $ac_try) 2>&5
34025 ac_status=$?
34026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34027 (exit $ac_status); }; }; then
34028 eval "$as_ac_var=yes"
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033 eval "$as_ac_var=no"
34034 fi
34035 rm -f conftest.err conftest.$ac_objext \
34036 conftest$ac_exeext conftest.$ac_ext
34037 fi
34038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34040 if test `eval echo '${'$as_ac_var'}'` = yes; then
34041 cat >>confdefs.h <<_ACEOF
34042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34043 _ACEOF
34044
34045 fi
34046 done
34047
34048 else
34049
34050 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34051 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34052 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34053 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34054 echo $ECHO_N "(cached) $ECHO_C" >&6
34055 else
34056
34057
34058
34059 ac_ext=cc
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34064
34065 cat >conftest.$ac_ext <<_ACEOF
34066 /* confdefs.h. */
34067 _ACEOF
34068 cat confdefs.h >>conftest.$ac_ext
34069 cat >>conftest.$ac_ext <<_ACEOF
34070 /* end confdefs.h. */
34071 #include <math.h>
34072 #ifdef HAVE_IEEEFP_H
34073 #include <ieeefp.h>
34074 #endif
34075
34076 int
34077 main ()
34078 {
34079 _expf(0);
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 rm -f conftest.$ac_objext
34085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34086 (eval $ac_compile) 2>conftest.er1
34087 ac_status=$?
34088 grep -v '^ *+' conftest.er1 >conftest.err
34089 rm -f conftest.er1
34090 cat conftest.err >&5
34091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34092 (exit $ac_status); } &&
34093 { ac_try='test -z "$ac_cxx_werror_flag"
34094 || test ! -s conftest.err'
34095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34096 (eval $ac_try) 2>&5
34097 ac_status=$?
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); }; } &&
34100 { ac_try='test -s conftest.$ac_objext'
34101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34102 (eval $ac_try) 2>&5
34103 ac_status=$?
34104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34105 (exit $ac_status); }; }; then
34106 glibcxx_cv_func__expf_use=yes
34107 else
34108 echo "$as_me: failed program was:" >&5
34109 sed 's/^/| /' conftest.$ac_ext >&5
34110
34111 glibcxx_cv_func__expf_use=no
34112 fi
34113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34114 ac_ext=c
34115 ac_cpp='$CPP $CPPFLAGS'
34116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34119
34120
34121 fi
34122
34123 fi
34124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
34125 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
34126
34127 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34128
34129 for ac_func in _expf
34130 do
34131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34132 echo "$as_me:$LINENO: checking for $ac_func" >&5
34133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34134 if eval "test \"\${$as_ac_var+set}\" = set"; then
34135 echo $ECHO_N "(cached) $ECHO_C" >&6
34136 else
34137 if test x$gcc_no_link = xyes; then
34138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34140 { (exit 1); exit 1; }; }
34141 fi
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34150 #define $ac_func innocuous_$ac_func
34151
34152 /* System header to define __stub macros and hopefully few prototypes,
34153 which can conflict with char $ac_func (); below.
34154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34155 <limits.h> exists even on freestanding compilers. */
34156
34157 #ifdef __STDC__
34158 # include <limits.h>
34159 #else
34160 # include <assert.h>
34161 #endif
34162
34163 #undef $ac_func
34164
34165 /* Override any gcc2 internal prototype to avoid an error. */
34166 #ifdef __cplusplus
34167 extern "C"
34168 {
34169 #endif
34170 /* We use char because int might match the return type of a gcc2
34171 builtin and then its argument prototype would still apply. */
34172 char $ac_func ();
34173 /* The GNU C library defines this for functions which it implements
34174 to always fail with ENOSYS. Some functions are actually named
34175 something starting with __ and the normal name is an alias. */
34176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34177 choke me
34178 #else
34179 char (*f) () = $ac_func;
34180 #endif
34181 #ifdef __cplusplus
34182 }
34183 #endif
34184
34185 int
34186 main ()
34187 {
34188 return f != $ac_func;
34189 ;
34190 return 0;
34191 }
34192 _ACEOF
34193 rm -f conftest.$ac_objext conftest$ac_exeext
34194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34195 (eval $ac_link) 2>conftest.er1
34196 ac_status=$?
34197 grep -v '^ *+' conftest.er1 >conftest.err
34198 rm -f conftest.er1
34199 cat conftest.err >&5
34200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34201 (exit $ac_status); } &&
34202 { ac_try='test -z "$ac_c_werror_flag"
34203 || test ! -s conftest.err'
34204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34205 (eval $ac_try) 2>&5
34206 ac_status=$?
34207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34208 (exit $ac_status); }; } &&
34209 { ac_try='test -s conftest$ac_exeext'
34210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34211 (eval $ac_try) 2>&5
34212 ac_status=$?
34213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34214 (exit $ac_status); }; }; then
34215 eval "$as_ac_var=yes"
34216 else
34217 echo "$as_me: failed program was:" >&5
34218 sed 's/^/| /' conftest.$ac_ext >&5
34219
34220 eval "$as_ac_var=no"
34221 fi
34222 rm -f conftest.err conftest.$ac_objext \
34223 conftest$ac_exeext conftest.$ac_ext
34224 fi
34225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34227 if test `eval echo '${'$as_ac_var'}'` = yes; then
34228 cat >>confdefs.h <<_ACEOF
34229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34230 _ACEOF
34231
34232 fi
34233 done
34234
34235 fi
34236 fi
34237
34238
34239
34240 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
34241 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
34242 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34243 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34246
34247
34248
34249 ac_ext=cc
34250 ac_cpp='$CXXCPP $CPPFLAGS'
34251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34254
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 #include <math.h>
34262 #ifdef HAVE_IEEEFP_H
34263 #include <ieeefp.h>
34264 #endif
34265
34266 int
34267 main ()
34268 {
34269 isnanf(0);
34270 ;
34271 return 0;
34272 }
34273 _ACEOF
34274 rm -f conftest.$ac_objext
34275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34276 (eval $ac_compile) 2>conftest.er1
34277 ac_status=$?
34278 grep -v '^ *+' conftest.er1 >conftest.err
34279 rm -f conftest.er1
34280 cat conftest.err >&5
34281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34282 (exit $ac_status); } &&
34283 { ac_try='test -z "$ac_cxx_werror_flag"
34284 || test ! -s conftest.err'
34285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34286 (eval $ac_try) 2>&5
34287 ac_status=$?
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); }; } &&
34290 { ac_try='test -s conftest.$ac_objext'
34291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34292 (eval $ac_try) 2>&5
34293 ac_status=$?
34294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34295 (exit $ac_status); }; }; then
34296 glibcxx_cv_func_isnanf_use=yes
34297 else
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.$ac_ext >&5
34300
34301 glibcxx_cv_func_isnanf_use=no
34302 fi
34303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34304 ac_ext=c
34305 ac_cpp='$CPP $CPPFLAGS'
34306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34309
34310
34311 fi
34312
34313 fi
34314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
34315 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
34316
34317 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34318
34319 for ac_func in isnanf
34320 do
34321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34322 echo "$as_me:$LINENO: checking for $ac_func" >&5
34323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34324 if eval "test \"\${$as_ac_var+set}\" = set"; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 else
34327 if test x$gcc_no_link = xyes; then
34328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34330 { (exit 1); exit 1; }; }
34331 fi
34332 cat >conftest.$ac_ext <<_ACEOF
34333 /* confdefs.h. */
34334 _ACEOF
34335 cat confdefs.h >>conftest.$ac_ext
34336 cat >>conftest.$ac_ext <<_ACEOF
34337 /* end confdefs.h. */
34338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34340 #define $ac_func innocuous_$ac_func
34341
34342 /* System header to define __stub macros and hopefully few prototypes,
34343 which can conflict with char $ac_func (); below.
34344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34345 <limits.h> exists even on freestanding compilers. */
34346
34347 #ifdef __STDC__
34348 # include <limits.h>
34349 #else
34350 # include <assert.h>
34351 #endif
34352
34353 #undef $ac_func
34354
34355 /* Override any gcc2 internal prototype to avoid an error. */
34356 #ifdef __cplusplus
34357 extern "C"
34358 {
34359 #endif
34360 /* We use char because int might match the return type of a gcc2
34361 builtin and then its argument prototype would still apply. */
34362 char $ac_func ();
34363 /* The GNU C library defines this for functions which it implements
34364 to always fail with ENOSYS. Some functions are actually named
34365 something starting with __ and the normal name is an alias. */
34366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34367 choke me
34368 #else
34369 char (*f) () = $ac_func;
34370 #endif
34371 #ifdef __cplusplus
34372 }
34373 #endif
34374
34375 int
34376 main ()
34377 {
34378 return f != $ac_func;
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34385 (eval $ac_link) 2>conftest.er1
34386 ac_status=$?
34387 grep -v '^ *+' conftest.er1 >conftest.err
34388 rm -f conftest.er1
34389 cat conftest.err >&5
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); } &&
34392 { ac_try='test -z "$ac_c_werror_flag"
34393 || test ! -s conftest.err'
34394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34395 (eval $ac_try) 2>&5
34396 ac_status=$?
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); }; } &&
34399 { ac_try='test -s conftest$ac_exeext'
34400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34401 (eval $ac_try) 2>&5
34402 ac_status=$?
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); }; }; then
34405 eval "$as_ac_var=yes"
34406 else
34407 echo "$as_me: failed program was:" >&5
34408 sed 's/^/| /' conftest.$ac_ext >&5
34409
34410 eval "$as_ac_var=no"
34411 fi
34412 rm -f conftest.err conftest.$ac_objext \
34413 conftest$ac_exeext conftest.$ac_ext
34414 fi
34415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34417 if test `eval echo '${'$as_ac_var'}'` = yes; then
34418 cat >>confdefs.h <<_ACEOF
34419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34420 _ACEOF
34421
34422 fi
34423 done
34424
34425 else
34426
34427 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
34428 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
34429 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34430 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
34431 echo $ECHO_N "(cached) $ECHO_C" >&6
34432 else
34433
34434
34435
34436 ac_ext=cc
34437 ac_cpp='$CXXCPP $CPPFLAGS'
34438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34441
34442 cat >conftest.$ac_ext <<_ACEOF
34443 /* confdefs.h. */
34444 _ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34448 #include <math.h>
34449 #ifdef HAVE_IEEEFP_H
34450 #include <ieeefp.h>
34451 #endif
34452
34453 int
34454 main ()
34455 {
34456 _isnanf(0);
34457 ;
34458 return 0;
34459 }
34460 _ACEOF
34461 rm -f conftest.$ac_objext
34462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34463 (eval $ac_compile) 2>conftest.er1
34464 ac_status=$?
34465 grep -v '^ *+' conftest.er1 >conftest.err
34466 rm -f conftest.er1
34467 cat conftest.err >&5
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); } &&
34470 { ac_try='test -z "$ac_cxx_werror_flag"
34471 || test ! -s conftest.err'
34472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34473 (eval $ac_try) 2>&5
34474 ac_status=$?
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); }; } &&
34477 { ac_try='test -s conftest.$ac_objext'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; }; then
34483 glibcxx_cv_func__isnanf_use=yes
34484 else
34485 echo "$as_me: failed program was:" >&5
34486 sed 's/^/| /' conftest.$ac_ext >&5
34487
34488 glibcxx_cv_func__isnanf_use=no
34489 fi
34490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34491 ac_ext=c
34492 ac_cpp='$CPP $CPPFLAGS'
34493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34496
34497
34498 fi
34499
34500 fi
34501 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
34502 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
34503
34504 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34505
34506 for ac_func in _isnanf
34507 do
34508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34509 echo "$as_me:$LINENO: checking for $ac_func" >&5
34510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34511 if eval "test \"\${$as_ac_var+set}\" = set"; then
34512 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 else
34514 if test x$gcc_no_link = xyes; then
34515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34517 { (exit 1); exit 1; }; }
34518 fi
34519 cat >conftest.$ac_ext <<_ACEOF
34520 /* confdefs.h. */
34521 _ACEOF
34522 cat confdefs.h >>conftest.$ac_ext
34523 cat >>conftest.$ac_ext <<_ACEOF
34524 /* end confdefs.h. */
34525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34527 #define $ac_func innocuous_$ac_func
34528
34529 /* System header to define __stub macros and hopefully few prototypes,
34530 which can conflict with char $ac_func (); below.
34531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34532 <limits.h> exists even on freestanding compilers. */
34533
34534 #ifdef __STDC__
34535 # include <limits.h>
34536 #else
34537 # include <assert.h>
34538 #endif
34539
34540 #undef $ac_func
34541
34542 /* Override any gcc2 internal prototype to avoid an error. */
34543 #ifdef __cplusplus
34544 extern "C"
34545 {
34546 #endif
34547 /* We use char because int might match the return type of a gcc2
34548 builtin and then its argument prototype would still apply. */
34549 char $ac_func ();
34550 /* The GNU C library defines this for functions which it implements
34551 to always fail with ENOSYS. Some functions are actually named
34552 something starting with __ and the normal name is an alias. */
34553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34554 choke me
34555 #else
34556 char (*f) () = $ac_func;
34557 #endif
34558 #ifdef __cplusplus
34559 }
34560 #endif
34561
34562 int
34563 main ()
34564 {
34565 return f != $ac_func;
34566 ;
34567 return 0;
34568 }
34569 _ACEOF
34570 rm -f conftest.$ac_objext conftest$ac_exeext
34571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34572 (eval $ac_link) 2>conftest.er1
34573 ac_status=$?
34574 grep -v '^ *+' conftest.er1 >conftest.err
34575 rm -f conftest.er1
34576 cat conftest.err >&5
34577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34578 (exit $ac_status); } &&
34579 { ac_try='test -z "$ac_c_werror_flag"
34580 || test ! -s conftest.err'
34581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34582 (eval $ac_try) 2>&5
34583 ac_status=$?
34584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34585 (exit $ac_status); }; } &&
34586 { ac_try='test -s conftest$ac_exeext'
34587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34588 (eval $ac_try) 2>&5
34589 ac_status=$?
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); }; }; then
34592 eval "$as_ac_var=yes"
34593 else
34594 echo "$as_me: failed program was:" >&5
34595 sed 's/^/| /' conftest.$ac_ext >&5
34596
34597 eval "$as_ac_var=no"
34598 fi
34599 rm -f conftest.err conftest.$ac_objext \
34600 conftest$ac_exeext conftest.$ac_ext
34601 fi
34602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34604 if test `eval echo '${'$as_ac_var'}'` = yes; then
34605 cat >>confdefs.h <<_ACEOF
34606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34607 _ACEOF
34608
34609 fi
34610 done
34611
34612 fi
34613 fi
34614
34615
34616
34617 echo "$as_me:$LINENO: checking for isinff declaration" >&5
34618 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
34619 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34620 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
34621 echo $ECHO_N "(cached) $ECHO_C" >&6
34622 else
34623
34624
34625
34626 ac_ext=cc
34627 ac_cpp='$CXXCPP $CPPFLAGS'
34628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34631
34632 cat >conftest.$ac_ext <<_ACEOF
34633 /* confdefs.h. */
34634 _ACEOF
34635 cat confdefs.h >>conftest.$ac_ext
34636 cat >>conftest.$ac_ext <<_ACEOF
34637 /* end confdefs.h. */
34638 #include <math.h>
34639 #ifdef HAVE_IEEEFP_H
34640 #include <ieeefp.h>
34641 #endif
34642
34643 int
34644 main ()
34645 {
34646 isinff(0);
34647 ;
34648 return 0;
34649 }
34650 _ACEOF
34651 rm -f conftest.$ac_objext
34652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34653 (eval $ac_compile) 2>conftest.er1
34654 ac_status=$?
34655 grep -v '^ *+' conftest.er1 >conftest.err
34656 rm -f conftest.er1
34657 cat conftest.err >&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } &&
34660 { ac_try='test -z "$ac_cxx_werror_flag"
34661 || test ! -s conftest.err'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34664 ac_status=$?
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; } &&
34667 { ac_try='test -s conftest.$ac_objext'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; }; then
34673 glibcxx_cv_func_isinff_use=yes
34674 else
34675 echo "$as_me: failed program was:" >&5
34676 sed 's/^/| /' conftest.$ac_ext >&5
34677
34678 glibcxx_cv_func_isinff_use=no
34679 fi
34680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34681 ac_ext=c
34682 ac_cpp='$CPP $CPPFLAGS'
34683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34686
34687
34688 fi
34689
34690 fi
34691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
34692 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
34693
34694 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34695
34696 for ac_func in isinff
34697 do
34698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34699 echo "$as_me:$LINENO: checking for $ac_func" >&5
34700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34701 if eval "test \"\${$as_ac_var+set}\" = set"; then
34702 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 else
34704 if test x$gcc_no_link = xyes; then
34705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34707 { (exit 1); exit 1; }; }
34708 fi
34709 cat >conftest.$ac_ext <<_ACEOF
34710 /* confdefs.h. */
34711 _ACEOF
34712 cat confdefs.h >>conftest.$ac_ext
34713 cat >>conftest.$ac_ext <<_ACEOF
34714 /* end confdefs.h. */
34715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34717 #define $ac_func innocuous_$ac_func
34718
34719 /* System header to define __stub macros and hopefully few prototypes,
34720 which can conflict with char $ac_func (); below.
34721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34722 <limits.h> exists even on freestanding compilers. */
34723
34724 #ifdef __STDC__
34725 # include <limits.h>
34726 #else
34727 # include <assert.h>
34728 #endif
34729
34730 #undef $ac_func
34731
34732 /* Override any gcc2 internal prototype to avoid an error. */
34733 #ifdef __cplusplus
34734 extern "C"
34735 {
34736 #endif
34737 /* We use char because int might match the return type of a gcc2
34738 builtin and then its argument prototype would still apply. */
34739 char $ac_func ();
34740 /* The GNU C library defines this for functions which it implements
34741 to always fail with ENOSYS. Some functions are actually named
34742 something starting with __ and the normal name is an alias. */
34743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34744 choke me
34745 #else
34746 char (*f) () = $ac_func;
34747 #endif
34748 #ifdef __cplusplus
34749 }
34750 #endif
34751
34752 int
34753 main ()
34754 {
34755 return f != $ac_func;
34756 ;
34757 return 0;
34758 }
34759 _ACEOF
34760 rm -f conftest.$ac_objext conftest$ac_exeext
34761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34762 (eval $ac_link) 2>conftest.er1
34763 ac_status=$?
34764 grep -v '^ *+' conftest.er1 >conftest.err
34765 rm -f conftest.er1
34766 cat conftest.err >&5
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); } &&
34769 { ac_try='test -z "$ac_c_werror_flag"
34770 || test ! -s conftest.err'
34771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34772 (eval $ac_try) 2>&5
34773 ac_status=$?
34774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34775 (exit $ac_status); }; } &&
34776 { ac_try='test -s conftest$ac_exeext'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; }; then
34782 eval "$as_ac_var=yes"
34783 else
34784 echo "$as_me: failed program was:" >&5
34785 sed 's/^/| /' conftest.$ac_ext >&5
34786
34787 eval "$as_ac_var=no"
34788 fi
34789 rm -f conftest.err conftest.$ac_objext \
34790 conftest$ac_exeext conftest.$ac_ext
34791 fi
34792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34794 if test `eval echo '${'$as_ac_var'}'` = yes; then
34795 cat >>confdefs.h <<_ACEOF
34796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34797 _ACEOF
34798
34799 fi
34800 done
34801
34802 else
34803
34804 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
34805 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
34806 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34807 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
34808 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 else
34810
34811
34812
34813 ac_ext=cc
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34818
34819 cat >conftest.$ac_ext <<_ACEOF
34820 /* confdefs.h. */
34821 _ACEOF
34822 cat confdefs.h >>conftest.$ac_ext
34823 cat >>conftest.$ac_ext <<_ACEOF
34824 /* end confdefs.h. */
34825 #include <math.h>
34826 #ifdef HAVE_IEEEFP_H
34827 #include <ieeefp.h>
34828 #endif
34829
34830 int
34831 main ()
34832 {
34833 _isinff(0);
34834 ;
34835 return 0;
34836 }
34837 _ACEOF
34838 rm -f conftest.$ac_objext
34839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34840 (eval $ac_compile) 2>conftest.er1
34841 ac_status=$?
34842 grep -v '^ *+' conftest.er1 >conftest.err
34843 rm -f conftest.er1
34844 cat conftest.err >&5
34845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34846 (exit $ac_status); } &&
34847 { ac_try='test -z "$ac_cxx_werror_flag"
34848 || test ! -s conftest.err'
34849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34850 (eval $ac_try) 2>&5
34851 ac_status=$?
34852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34853 (exit $ac_status); }; } &&
34854 { ac_try='test -s conftest.$ac_objext'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; }; then
34860 glibcxx_cv_func__isinff_use=yes
34861 else
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34864
34865 glibcxx_cv_func__isinff_use=no
34866 fi
34867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34868 ac_ext=c
34869 ac_cpp='$CPP $CPPFLAGS'
34870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34873
34874
34875 fi
34876
34877 fi
34878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
34879 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
34880
34881 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34882
34883 for ac_func in _isinff
34884 do
34885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34886 echo "$as_me:$LINENO: checking for $ac_func" >&5
34887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34888 if eval "test \"\${$as_ac_var+set}\" = set"; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891 if test x$gcc_no_link = xyes; then
34892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34894 { (exit 1); exit 1; }; }
34895 fi
34896 cat >conftest.$ac_ext <<_ACEOF
34897 /* confdefs.h. */
34898 _ACEOF
34899 cat confdefs.h >>conftest.$ac_ext
34900 cat >>conftest.$ac_ext <<_ACEOF
34901 /* end confdefs.h. */
34902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34904 #define $ac_func innocuous_$ac_func
34905
34906 /* System header to define __stub macros and hopefully few prototypes,
34907 which can conflict with char $ac_func (); below.
34908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34909 <limits.h> exists even on freestanding compilers. */
34910
34911 #ifdef __STDC__
34912 # include <limits.h>
34913 #else
34914 # include <assert.h>
34915 #endif
34916
34917 #undef $ac_func
34918
34919 /* Override any gcc2 internal prototype to avoid an error. */
34920 #ifdef __cplusplus
34921 extern "C"
34922 {
34923 #endif
34924 /* We use char because int might match the return type of a gcc2
34925 builtin and then its argument prototype would still apply. */
34926 char $ac_func ();
34927 /* The GNU C library defines this for functions which it implements
34928 to always fail with ENOSYS. Some functions are actually named
34929 something starting with __ and the normal name is an alias. */
34930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34931 choke me
34932 #else
34933 char (*f) () = $ac_func;
34934 #endif
34935 #ifdef __cplusplus
34936 }
34937 #endif
34938
34939 int
34940 main ()
34941 {
34942 return f != $ac_func;
34943 ;
34944 return 0;
34945 }
34946 _ACEOF
34947 rm -f conftest.$ac_objext conftest$ac_exeext
34948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34949 (eval $ac_link) 2>conftest.er1
34950 ac_status=$?
34951 grep -v '^ *+' conftest.er1 >conftest.err
34952 rm -f conftest.er1
34953 cat conftest.err >&5
34954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34955 (exit $ac_status); } &&
34956 { ac_try='test -z "$ac_c_werror_flag"
34957 || test ! -s conftest.err'
34958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34959 (eval $ac_try) 2>&5
34960 ac_status=$?
34961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34962 (exit $ac_status); }; } &&
34963 { ac_try='test -s conftest$ac_exeext'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; }; then
34969 eval "$as_ac_var=yes"
34970 else
34971 echo "$as_me: failed program was:" >&5
34972 sed 's/^/| /' conftest.$ac_ext >&5
34973
34974 eval "$as_ac_var=no"
34975 fi
34976 rm -f conftest.err conftest.$ac_objext \
34977 conftest$ac_exeext conftest.$ac_ext
34978 fi
34979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34981 if test `eval echo '${'$as_ac_var'}'` = yes; then
34982 cat >>confdefs.h <<_ACEOF
34983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34984 _ACEOF
34985
34986 fi
34987 done
34988
34989 fi
34990 fi
34991
34992
34993
34994 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
34995 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
34996 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34997 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
34998 echo $ECHO_N "(cached) $ECHO_C" >&6
34999 else
35000
35001
35002
35003 ac_ext=cc
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
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 #include <math.h>
35016 int
35017 main ()
35018 {
35019 atan2f(0, 0);
35020 ;
35021 return 0;
35022 }
35023 _ACEOF
35024 rm -f conftest.$ac_objext
35025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35026 (eval $ac_compile) 2>conftest.er1
35027 ac_status=$?
35028 grep -v '^ *+' conftest.er1 >conftest.err
35029 rm -f conftest.er1
35030 cat conftest.err >&5
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); } &&
35033 { ac_try='test -z "$ac_cxx_werror_flag"
35034 || test ! -s conftest.err'
35035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35036 (eval $ac_try) 2>&5
35037 ac_status=$?
35038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35039 (exit $ac_status); }; } &&
35040 { ac_try='test -s conftest.$ac_objext'
35041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35042 (eval $ac_try) 2>&5
35043 ac_status=$?
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); }; }; then
35046 glibcxx_cv_func_atan2f_use=yes
35047 else
35048 echo "$as_me: failed program was:" >&5
35049 sed 's/^/| /' conftest.$ac_ext >&5
35050
35051 glibcxx_cv_func_atan2f_use=no
35052 fi
35053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35054 ac_ext=c
35055 ac_cpp='$CPP $CPPFLAGS'
35056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35059
35060
35061 fi
35062
35063 fi
35064 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35065 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35066
35067 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35068
35069 for ac_func in atan2f
35070 do
35071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35072 echo "$as_me:$LINENO: checking for $ac_func" >&5
35073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35074 if eval "test \"\${$as_ac_var+set}\" = set"; then
35075 echo $ECHO_N "(cached) $ECHO_C" >&6
35076 else
35077 if test x$gcc_no_link = xyes; then
35078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35080 { (exit 1); exit 1; }; }
35081 fi
35082 cat >conftest.$ac_ext <<_ACEOF
35083 /* confdefs.h. */
35084 _ACEOF
35085 cat confdefs.h >>conftest.$ac_ext
35086 cat >>conftest.$ac_ext <<_ACEOF
35087 /* end confdefs.h. */
35088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35090 #define $ac_func innocuous_$ac_func
35091
35092 /* System header to define __stub macros and hopefully few prototypes,
35093 which can conflict with char $ac_func (); below.
35094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35095 <limits.h> exists even on freestanding compilers. */
35096
35097 #ifdef __STDC__
35098 # include <limits.h>
35099 #else
35100 # include <assert.h>
35101 #endif
35102
35103 #undef $ac_func
35104
35105 /* Override any gcc2 internal prototype to avoid an error. */
35106 #ifdef __cplusplus
35107 extern "C"
35108 {
35109 #endif
35110 /* We use char because int might match the return type of a gcc2
35111 builtin and then its argument prototype would still apply. */
35112 char $ac_func ();
35113 /* The GNU C library defines this for functions which it implements
35114 to always fail with ENOSYS. Some functions are actually named
35115 something starting with __ and the normal name is an alias. */
35116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35117 choke me
35118 #else
35119 char (*f) () = $ac_func;
35120 #endif
35121 #ifdef __cplusplus
35122 }
35123 #endif
35124
35125 int
35126 main ()
35127 {
35128 return f != $ac_func;
35129 ;
35130 return 0;
35131 }
35132 _ACEOF
35133 rm -f conftest.$ac_objext conftest$ac_exeext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35135 (eval $ac_link) 2>conftest.er1
35136 ac_status=$?
35137 grep -v '^ *+' conftest.er1 >conftest.err
35138 rm -f conftest.er1
35139 cat conftest.err >&5
35140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35141 (exit $ac_status); } &&
35142 { ac_try='test -z "$ac_c_werror_flag"
35143 || test ! -s conftest.err'
35144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35145 (eval $ac_try) 2>&5
35146 ac_status=$?
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); }; } &&
35149 { ac_try='test -s conftest$ac_exeext'
35150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35151 (eval $ac_try) 2>&5
35152 ac_status=$?
35153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35154 (exit $ac_status); }; }; then
35155 eval "$as_ac_var=yes"
35156 else
35157 echo "$as_me: failed program was:" >&5
35158 sed 's/^/| /' conftest.$ac_ext >&5
35159
35160 eval "$as_ac_var=no"
35161 fi
35162 rm -f conftest.err conftest.$ac_objext \
35163 conftest$ac_exeext conftest.$ac_ext
35164 fi
35165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35167 if test `eval echo '${'$as_ac_var'}'` = yes; then
35168 cat >>confdefs.h <<_ACEOF
35169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35170 _ACEOF
35171
35172 fi
35173 done
35174
35175 else
35176
35177 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
35178 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
35179 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35180 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35183
35184
35185
35186 ac_ext=cc
35187 ac_cpp='$CXXCPP $CPPFLAGS'
35188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35191
35192 cat >conftest.$ac_ext <<_ACEOF
35193 /* confdefs.h. */
35194 _ACEOF
35195 cat confdefs.h >>conftest.$ac_ext
35196 cat >>conftest.$ac_ext <<_ACEOF
35197 /* end confdefs.h. */
35198 #include <math.h>
35199 int
35200 main ()
35201 {
35202 _atan2f(0, 0);
35203 ;
35204 return 0;
35205 }
35206 _ACEOF
35207 rm -f conftest.$ac_objext
35208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35209 (eval $ac_compile) 2>conftest.er1
35210 ac_status=$?
35211 grep -v '^ *+' conftest.er1 >conftest.err
35212 rm -f conftest.er1
35213 cat conftest.err >&5
35214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35215 (exit $ac_status); } &&
35216 { ac_try='test -z "$ac_cxx_werror_flag"
35217 || test ! -s conftest.err'
35218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35219 (eval $ac_try) 2>&5
35220 ac_status=$?
35221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35222 (exit $ac_status); }; } &&
35223 { ac_try='test -s conftest.$ac_objext'
35224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35225 (eval $ac_try) 2>&5
35226 ac_status=$?
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); }; }; then
35229 glibcxx_cv_func__atan2f_use=yes
35230 else
35231 echo "$as_me: failed program was:" >&5
35232 sed 's/^/| /' conftest.$ac_ext >&5
35233
35234 glibcxx_cv_func__atan2f_use=no
35235 fi
35236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35237 ac_ext=c
35238 ac_cpp='$CPP $CPPFLAGS'
35239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35242
35243
35244 fi
35245
35246 fi
35247 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
35248 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
35249
35250 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35251
35252 for ac_func in _atan2f
35253 do
35254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35255 echo "$as_me:$LINENO: checking for $ac_func" >&5
35256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35257 if eval "test \"\${$as_ac_var+set}\" = set"; then
35258 echo $ECHO_N "(cached) $ECHO_C" >&6
35259 else
35260 if test x$gcc_no_link = xyes; then
35261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35263 { (exit 1); exit 1; }; }
35264 fi
35265 cat >conftest.$ac_ext <<_ACEOF
35266 /* confdefs.h. */
35267 _ACEOF
35268 cat confdefs.h >>conftest.$ac_ext
35269 cat >>conftest.$ac_ext <<_ACEOF
35270 /* end confdefs.h. */
35271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35273 #define $ac_func innocuous_$ac_func
35274
35275 /* System header to define __stub macros and hopefully few prototypes,
35276 which can conflict with char $ac_func (); below.
35277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35278 <limits.h> exists even on freestanding compilers. */
35279
35280 #ifdef __STDC__
35281 # include <limits.h>
35282 #else
35283 # include <assert.h>
35284 #endif
35285
35286 #undef $ac_func
35287
35288 /* Override any gcc2 internal prototype to avoid an error. */
35289 #ifdef __cplusplus
35290 extern "C"
35291 {
35292 #endif
35293 /* We use char because int might match the return type of a gcc2
35294 builtin and then its argument prototype would still apply. */
35295 char $ac_func ();
35296 /* The GNU C library defines this for functions which it implements
35297 to always fail with ENOSYS. Some functions are actually named
35298 something starting with __ and the normal name is an alias. */
35299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35300 choke me
35301 #else
35302 char (*f) () = $ac_func;
35303 #endif
35304 #ifdef __cplusplus
35305 }
35306 #endif
35307
35308 int
35309 main ()
35310 {
35311 return f != $ac_func;
35312 ;
35313 return 0;
35314 }
35315 _ACEOF
35316 rm -f conftest.$ac_objext conftest$ac_exeext
35317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35318 (eval $ac_link) 2>conftest.er1
35319 ac_status=$?
35320 grep -v '^ *+' conftest.er1 >conftest.err
35321 rm -f conftest.er1
35322 cat conftest.err >&5
35323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35324 (exit $ac_status); } &&
35325 { ac_try='test -z "$ac_c_werror_flag"
35326 || test ! -s conftest.err'
35327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35328 (eval $ac_try) 2>&5
35329 ac_status=$?
35330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35331 (exit $ac_status); }; } &&
35332 { ac_try='test -s conftest$ac_exeext'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; }; then
35338 eval "$as_ac_var=yes"
35339 else
35340 echo "$as_me: failed program was:" >&5
35341 sed 's/^/| /' conftest.$ac_ext >&5
35342
35343 eval "$as_ac_var=no"
35344 fi
35345 rm -f conftest.err conftest.$ac_objext \
35346 conftest$ac_exeext conftest.$ac_ext
35347 fi
35348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35350 if test `eval echo '${'$as_ac_var'}'` = yes; then
35351 cat >>confdefs.h <<_ACEOF
35352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35353 _ACEOF
35354
35355 fi
35356 done
35357
35358 fi
35359 fi
35360
35361
35362
35363 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
35364 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
35365 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35366 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
35367 echo $ECHO_N "(cached) $ECHO_C" >&6
35368 else
35369
35370
35371
35372 ac_ext=cc
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35377
35378 cat >conftest.$ac_ext <<_ACEOF
35379 /* confdefs.h. */
35380 _ACEOF
35381 cat confdefs.h >>conftest.$ac_ext
35382 cat >>conftest.$ac_ext <<_ACEOF
35383 /* end confdefs.h. */
35384 #include <math.h>
35385 #ifdef HAVE_IEEEFP_H
35386 #include <ieeefp.h>
35387 #endif
35388
35389 int
35390 main ()
35391 {
35392 fabsf(0);
35393 ;
35394 return 0;
35395 }
35396 _ACEOF
35397 rm -f conftest.$ac_objext
35398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35399 (eval $ac_compile) 2>conftest.er1
35400 ac_status=$?
35401 grep -v '^ *+' conftest.er1 >conftest.err
35402 rm -f conftest.er1
35403 cat conftest.err >&5
35404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35405 (exit $ac_status); } &&
35406 { ac_try='test -z "$ac_cxx_werror_flag"
35407 || test ! -s conftest.err'
35408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35409 (eval $ac_try) 2>&5
35410 ac_status=$?
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); }; } &&
35413 { ac_try='test -s conftest.$ac_objext'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35416 ac_status=$?
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; }; then
35419 glibcxx_cv_func_fabsf_use=yes
35420 else
35421 echo "$as_me: failed program was:" >&5
35422 sed 's/^/| /' conftest.$ac_ext >&5
35423
35424 glibcxx_cv_func_fabsf_use=no
35425 fi
35426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35427 ac_ext=c
35428 ac_cpp='$CPP $CPPFLAGS'
35429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35432
35433
35434 fi
35435
35436 fi
35437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
35438 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
35439
35440 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35441
35442 for ac_func in fabsf
35443 do
35444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35445 echo "$as_me:$LINENO: checking for $ac_func" >&5
35446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35447 if eval "test \"\${$as_ac_var+set}\" = set"; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35450 if test x$gcc_no_link = xyes; then
35451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35453 { (exit 1); exit 1; }; }
35454 fi
35455 cat >conftest.$ac_ext <<_ACEOF
35456 /* confdefs.h. */
35457 _ACEOF
35458 cat confdefs.h >>conftest.$ac_ext
35459 cat >>conftest.$ac_ext <<_ACEOF
35460 /* end confdefs.h. */
35461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35463 #define $ac_func innocuous_$ac_func
35464
35465 /* System header to define __stub macros and hopefully few prototypes,
35466 which can conflict with char $ac_func (); below.
35467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35468 <limits.h> exists even on freestanding compilers. */
35469
35470 #ifdef __STDC__
35471 # include <limits.h>
35472 #else
35473 # include <assert.h>
35474 #endif
35475
35476 #undef $ac_func
35477
35478 /* Override any gcc2 internal prototype to avoid an error. */
35479 #ifdef __cplusplus
35480 extern "C"
35481 {
35482 #endif
35483 /* We use char because int might match the return type of a gcc2
35484 builtin and then its argument prototype would still apply. */
35485 char $ac_func ();
35486 /* The GNU C library defines this for functions which it implements
35487 to always fail with ENOSYS. Some functions are actually named
35488 something starting with __ and the normal name is an alias. */
35489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35490 choke me
35491 #else
35492 char (*f) () = $ac_func;
35493 #endif
35494 #ifdef __cplusplus
35495 }
35496 #endif
35497
35498 int
35499 main ()
35500 {
35501 return f != $ac_func;
35502 ;
35503 return 0;
35504 }
35505 _ACEOF
35506 rm -f conftest.$ac_objext conftest$ac_exeext
35507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35508 (eval $ac_link) 2>conftest.er1
35509 ac_status=$?
35510 grep -v '^ *+' conftest.er1 >conftest.err
35511 rm -f conftest.er1
35512 cat conftest.err >&5
35513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35514 (exit $ac_status); } &&
35515 { ac_try='test -z "$ac_c_werror_flag"
35516 || test ! -s conftest.err'
35517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35518 (eval $ac_try) 2>&5
35519 ac_status=$?
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); }; } &&
35522 { ac_try='test -s conftest$ac_exeext'
35523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35524 (eval $ac_try) 2>&5
35525 ac_status=$?
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); }; }; then
35528 eval "$as_ac_var=yes"
35529 else
35530 echo "$as_me: failed program was:" >&5
35531 sed 's/^/| /' conftest.$ac_ext >&5
35532
35533 eval "$as_ac_var=no"
35534 fi
35535 rm -f conftest.err conftest.$ac_objext \
35536 conftest$ac_exeext conftest.$ac_ext
35537 fi
35538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35540 if test `eval echo '${'$as_ac_var'}'` = yes; then
35541 cat >>confdefs.h <<_ACEOF
35542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35543 _ACEOF
35544
35545 fi
35546 done
35547
35548 else
35549
35550 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
35551 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
35552 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35553 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 else
35556
35557
35558
35559 ac_ext=cc
35560 ac_cpp='$CXXCPP $CPPFLAGS'
35561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35564
35565 cat >conftest.$ac_ext <<_ACEOF
35566 /* confdefs.h. */
35567 _ACEOF
35568 cat confdefs.h >>conftest.$ac_ext
35569 cat >>conftest.$ac_ext <<_ACEOF
35570 /* end confdefs.h. */
35571 #include <math.h>
35572 #ifdef HAVE_IEEEFP_H
35573 #include <ieeefp.h>
35574 #endif
35575
35576 int
35577 main ()
35578 {
35579 _fabsf(0);
35580 ;
35581 return 0;
35582 }
35583 _ACEOF
35584 rm -f conftest.$ac_objext
35585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35586 (eval $ac_compile) 2>conftest.er1
35587 ac_status=$?
35588 grep -v '^ *+' conftest.er1 >conftest.err
35589 rm -f conftest.er1
35590 cat conftest.err >&5
35591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35592 (exit $ac_status); } &&
35593 { ac_try='test -z "$ac_cxx_werror_flag"
35594 || test ! -s conftest.err'
35595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35596 (eval $ac_try) 2>&5
35597 ac_status=$?
35598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35599 (exit $ac_status); }; } &&
35600 { ac_try='test -s conftest.$ac_objext'
35601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35602 (eval $ac_try) 2>&5
35603 ac_status=$?
35604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35605 (exit $ac_status); }; }; then
35606 glibcxx_cv_func__fabsf_use=yes
35607 else
35608 echo "$as_me: failed program was:" >&5
35609 sed 's/^/| /' conftest.$ac_ext >&5
35610
35611 glibcxx_cv_func__fabsf_use=no
35612 fi
35613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35614 ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35619
35620
35621 fi
35622
35623 fi
35624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
35625 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
35626
35627 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35628
35629 for ac_func in _fabsf
35630 do
35631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35632 echo "$as_me:$LINENO: checking for $ac_func" >&5
35633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35634 if eval "test \"\${$as_ac_var+set}\" = set"; then
35635 echo $ECHO_N "(cached) $ECHO_C" >&6
35636 else
35637 if test x$gcc_no_link = xyes; then
35638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35640 { (exit 1); exit 1; }; }
35641 fi
35642 cat >conftest.$ac_ext <<_ACEOF
35643 /* confdefs.h. */
35644 _ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35650 #define $ac_func innocuous_$ac_func
35651
35652 /* System header to define __stub macros and hopefully few prototypes,
35653 which can conflict with char $ac_func (); below.
35654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35655 <limits.h> exists even on freestanding compilers. */
35656
35657 #ifdef __STDC__
35658 # include <limits.h>
35659 #else
35660 # include <assert.h>
35661 #endif
35662
35663 #undef $ac_func
35664
35665 /* Override any gcc2 internal prototype to avoid an error. */
35666 #ifdef __cplusplus
35667 extern "C"
35668 {
35669 #endif
35670 /* We use char because int might match the return type of a gcc2
35671 builtin and then its argument prototype would still apply. */
35672 char $ac_func ();
35673 /* The GNU C library defines this for functions which it implements
35674 to always fail with ENOSYS. Some functions are actually named
35675 something starting with __ and the normal name is an alias. */
35676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35677 choke me
35678 #else
35679 char (*f) () = $ac_func;
35680 #endif
35681 #ifdef __cplusplus
35682 }
35683 #endif
35684
35685 int
35686 main ()
35687 {
35688 return f != $ac_func;
35689 ;
35690 return 0;
35691 }
35692 _ACEOF
35693 rm -f conftest.$ac_objext conftest$ac_exeext
35694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35695 (eval $ac_link) 2>conftest.er1
35696 ac_status=$?
35697 grep -v '^ *+' conftest.er1 >conftest.err
35698 rm -f conftest.er1
35699 cat conftest.err >&5
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); } &&
35702 { ac_try='test -z "$ac_c_werror_flag"
35703 || test ! -s conftest.err'
35704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35705 (eval $ac_try) 2>&5
35706 ac_status=$?
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); }; } &&
35709 { ac_try='test -s conftest$ac_exeext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35712 ac_status=$?
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 eval "$as_ac_var=yes"
35716 else
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35719
35720 eval "$as_ac_var=no"
35721 fi
35722 rm -f conftest.err conftest.$ac_objext \
35723 conftest$ac_exeext conftest.$ac_ext
35724 fi
35725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35727 if test `eval echo '${'$as_ac_var'}'` = yes; then
35728 cat >>confdefs.h <<_ACEOF
35729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35730 _ACEOF
35731
35732 fi
35733 done
35734
35735 fi
35736 fi
35737
35738
35739
35740 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
35741 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
35742 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35743 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
35744 echo $ECHO_N "(cached) $ECHO_C" >&6
35745 else
35746
35747
35748
35749 ac_ext=cc
35750 ac_cpp='$CXXCPP $CPPFLAGS'
35751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35754
35755 cat >conftest.$ac_ext <<_ACEOF
35756 /* confdefs.h. */
35757 _ACEOF
35758 cat confdefs.h >>conftest.$ac_ext
35759 cat >>conftest.$ac_ext <<_ACEOF
35760 /* end confdefs.h. */
35761 #include <math.h>
35762 int
35763 main ()
35764 {
35765 fmodf(0, 0);
35766 ;
35767 return 0;
35768 }
35769 _ACEOF
35770 rm -f conftest.$ac_objext
35771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35772 (eval $ac_compile) 2>conftest.er1
35773 ac_status=$?
35774 grep -v '^ *+' conftest.er1 >conftest.err
35775 rm -f conftest.er1
35776 cat conftest.err >&5
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); } &&
35779 { ac_try='test -z "$ac_cxx_werror_flag"
35780 || test ! -s conftest.err'
35781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35782 (eval $ac_try) 2>&5
35783 ac_status=$?
35784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35785 (exit $ac_status); }; } &&
35786 { ac_try='test -s conftest.$ac_objext'
35787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35788 (eval $ac_try) 2>&5
35789 ac_status=$?
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); }; }; then
35792 glibcxx_cv_func_fmodf_use=yes
35793 else
35794 echo "$as_me: failed program was:" >&5
35795 sed 's/^/| /' conftest.$ac_ext >&5
35796
35797 glibcxx_cv_func_fmodf_use=no
35798 fi
35799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35800 ac_ext=c
35801 ac_cpp='$CPP $CPPFLAGS'
35802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35805
35806
35807 fi
35808
35809 fi
35810 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
35811 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
35812
35813 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35814
35815 for ac_func in fmodf
35816 do
35817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35818 echo "$as_me:$LINENO: checking for $ac_func" >&5
35819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35820 if eval "test \"\${$as_ac_var+set}\" = set"; then
35821 echo $ECHO_N "(cached) $ECHO_C" >&6
35822 else
35823 if test x$gcc_no_link = xyes; then
35824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35826 { (exit 1); exit 1; }; }
35827 fi
35828 cat >conftest.$ac_ext <<_ACEOF
35829 /* confdefs.h. */
35830 _ACEOF
35831 cat confdefs.h >>conftest.$ac_ext
35832 cat >>conftest.$ac_ext <<_ACEOF
35833 /* end confdefs.h. */
35834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35836 #define $ac_func innocuous_$ac_func
35837
35838 /* System header to define __stub macros and hopefully few prototypes,
35839 which can conflict with char $ac_func (); below.
35840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35841 <limits.h> exists even on freestanding compilers. */
35842
35843 #ifdef __STDC__
35844 # include <limits.h>
35845 #else
35846 # include <assert.h>
35847 #endif
35848
35849 #undef $ac_func
35850
35851 /* Override any gcc2 internal prototype to avoid an error. */
35852 #ifdef __cplusplus
35853 extern "C"
35854 {
35855 #endif
35856 /* We use char because int might match the return type of a gcc2
35857 builtin and then its argument prototype would still apply. */
35858 char $ac_func ();
35859 /* The GNU C library defines this for functions which it implements
35860 to always fail with ENOSYS. Some functions are actually named
35861 something starting with __ and the normal name is an alias. */
35862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35863 choke me
35864 #else
35865 char (*f) () = $ac_func;
35866 #endif
35867 #ifdef __cplusplus
35868 }
35869 #endif
35870
35871 int
35872 main ()
35873 {
35874 return f != $ac_func;
35875 ;
35876 return 0;
35877 }
35878 _ACEOF
35879 rm -f conftest.$ac_objext conftest$ac_exeext
35880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35881 (eval $ac_link) 2>conftest.er1
35882 ac_status=$?
35883 grep -v '^ *+' conftest.er1 >conftest.err
35884 rm -f conftest.er1
35885 cat conftest.err >&5
35886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35887 (exit $ac_status); } &&
35888 { ac_try='test -z "$ac_c_werror_flag"
35889 || test ! -s conftest.err'
35890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35891 (eval $ac_try) 2>&5
35892 ac_status=$?
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); }; } &&
35895 { ac_try='test -s conftest$ac_exeext'
35896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35897 (eval $ac_try) 2>&5
35898 ac_status=$?
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); }; }; then
35901 eval "$as_ac_var=yes"
35902 else
35903 echo "$as_me: failed program was:" >&5
35904 sed 's/^/| /' conftest.$ac_ext >&5
35905
35906 eval "$as_ac_var=no"
35907 fi
35908 rm -f conftest.err conftest.$ac_objext \
35909 conftest$ac_exeext conftest.$ac_ext
35910 fi
35911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35913 if test `eval echo '${'$as_ac_var'}'` = yes; then
35914 cat >>confdefs.h <<_ACEOF
35915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35916 _ACEOF
35917
35918 fi
35919 done
35920
35921 else
35922
35923 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
35924 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
35925 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35926 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
35927 echo $ECHO_N "(cached) $ECHO_C" >&6
35928 else
35929
35930
35931
35932 ac_ext=cc
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938 cat >conftest.$ac_ext <<_ACEOF
35939 /* confdefs.h. */
35940 _ACEOF
35941 cat confdefs.h >>conftest.$ac_ext
35942 cat >>conftest.$ac_ext <<_ACEOF
35943 /* end confdefs.h. */
35944 #include <math.h>
35945 int
35946 main ()
35947 {
35948 _fmodf(0, 0);
35949 ;
35950 return 0;
35951 }
35952 _ACEOF
35953 rm -f conftest.$ac_objext
35954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35955 (eval $ac_compile) 2>conftest.er1
35956 ac_status=$?
35957 grep -v '^ *+' conftest.er1 >conftest.err
35958 rm -f conftest.er1
35959 cat conftest.err >&5
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); } &&
35962 { ac_try='test -z "$ac_cxx_werror_flag"
35963 || test ! -s conftest.err'
35964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35965 (eval $ac_try) 2>&5
35966 ac_status=$?
35967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35968 (exit $ac_status); }; } &&
35969 { ac_try='test -s conftest.$ac_objext'
35970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35971 (eval $ac_try) 2>&5
35972 ac_status=$?
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); }; }; then
35975 glibcxx_cv_func__fmodf_use=yes
35976 else
35977 echo "$as_me: failed program was:" >&5
35978 sed 's/^/| /' conftest.$ac_ext >&5
35979
35980 glibcxx_cv_func__fmodf_use=no
35981 fi
35982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35983 ac_ext=c
35984 ac_cpp='$CPP $CPPFLAGS'
35985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35988
35989
35990 fi
35991
35992 fi
35993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
35994 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
35995
35996 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35997
35998 for ac_func in _fmodf
35999 do
36000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36001 echo "$as_me:$LINENO: checking for $ac_func" >&5
36002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36003 if eval "test \"\${$as_ac_var+set}\" = set"; then
36004 echo $ECHO_N "(cached) $ECHO_C" >&6
36005 else
36006 if test x$gcc_no_link = xyes; then
36007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36009 { (exit 1); exit 1; }; }
36010 fi
36011 cat >conftest.$ac_ext <<_ACEOF
36012 /* confdefs.h. */
36013 _ACEOF
36014 cat confdefs.h >>conftest.$ac_ext
36015 cat >>conftest.$ac_ext <<_ACEOF
36016 /* end confdefs.h. */
36017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36019 #define $ac_func innocuous_$ac_func
36020
36021 /* System header to define __stub macros and hopefully few prototypes,
36022 which can conflict with char $ac_func (); below.
36023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36024 <limits.h> exists even on freestanding compilers. */
36025
36026 #ifdef __STDC__
36027 # include <limits.h>
36028 #else
36029 # include <assert.h>
36030 #endif
36031
36032 #undef $ac_func
36033
36034 /* Override any gcc2 internal prototype to avoid an error. */
36035 #ifdef __cplusplus
36036 extern "C"
36037 {
36038 #endif
36039 /* We use char because int might match the return type of a gcc2
36040 builtin and then its argument prototype would still apply. */
36041 char $ac_func ();
36042 /* The GNU C library defines this for functions which it implements
36043 to always fail with ENOSYS. Some functions are actually named
36044 something starting with __ and the normal name is an alias. */
36045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36046 choke me
36047 #else
36048 char (*f) () = $ac_func;
36049 #endif
36050 #ifdef __cplusplus
36051 }
36052 #endif
36053
36054 int
36055 main ()
36056 {
36057 return f != $ac_func;
36058 ;
36059 return 0;
36060 }
36061 _ACEOF
36062 rm -f conftest.$ac_objext conftest$ac_exeext
36063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36064 (eval $ac_link) 2>conftest.er1
36065 ac_status=$?
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } &&
36071 { ac_try='test -z "$ac_c_werror_flag"
36072 || test ! -s conftest.err'
36073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36074 (eval $ac_try) 2>&5
36075 ac_status=$?
36076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36077 (exit $ac_status); }; } &&
36078 { ac_try='test -s conftest$ac_exeext'
36079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36080 (eval $ac_try) 2>&5
36081 ac_status=$?
36082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36083 (exit $ac_status); }; }; then
36084 eval "$as_ac_var=yes"
36085 else
36086 echo "$as_me: failed program was:" >&5
36087 sed 's/^/| /' conftest.$ac_ext >&5
36088
36089 eval "$as_ac_var=no"
36090 fi
36091 rm -f conftest.err conftest.$ac_objext \
36092 conftest$ac_exeext conftest.$ac_ext
36093 fi
36094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36096 if test `eval echo '${'$as_ac_var'}'` = yes; then
36097 cat >>confdefs.h <<_ACEOF
36098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36099 _ACEOF
36100
36101 fi
36102 done
36103
36104 fi
36105 fi
36106
36107
36108
36109 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
36110 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
36111 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36112 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
36113 echo $ECHO_N "(cached) $ECHO_C" >&6
36114 else
36115
36116
36117
36118 ac_ext=cc
36119 ac_cpp='$CXXCPP $CPPFLAGS'
36120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36123
36124 cat >conftest.$ac_ext <<_ACEOF
36125 /* confdefs.h. */
36126 _ACEOF
36127 cat confdefs.h >>conftest.$ac_ext
36128 cat >>conftest.$ac_ext <<_ACEOF
36129 /* end confdefs.h. */
36130 #include <math.h>
36131 int
36132 main ()
36133 {
36134 frexpf(0, 0);
36135 ;
36136 return 0;
36137 }
36138 _ACEOF
36139 rm -f conftest.$ac_objext
36140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36141 (eval $ac_compile) 2>conftest.er1
36142 ac_status=$?
36143 grep -v '^ *+' conftest.er1 >conftest.err
36144 rm -f conftest.er1
36145 cat conftest.err >&5
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); } &&
36148 { ac_try='test -z "$ac_cxx_werror_flag"
36149 || test ! -s conftest.err'
36150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36151 (eval $ac_try) 2>&5
36152 ac_status=$?
36153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36154 (exit $ac_status); }; } &&
36155 { ac_try='test -s conftest.$ac_objext'
36156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36157 (eval $ac_try) 2>&5
36158 ac_status=$?
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); }; }; then
36161 glibcxx_cv_func_frexpf_use=yes
36162 else
36163 echo "$as_me: failed program was:" >&5
36164 sed 's/^/| /' conftest.$ac_ext >&5
36165
36166 glibcxx_cv_func_frexpf_use=no
36167 fi
36168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36169 ac_ext=c
36170 ac_cpp='$CPP $CPPFLAGS'
36171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36174
36175
36176 fi
36177
36178 fi
36179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
36180 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
36181
36182 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36183
36184 for ac_func in frexpf
36185 do
36186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36187 echo "$as_me:$LINENO: checking for $ac_func" >&5
36188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36189 if eval "test \"\${$as_ac_var+set}\" = set"; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 else
36192 if test x$gcc_no_link = xyes; then
36193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36195 { (exit 1); exit 1; }; }
36196 fi
36197 cat >conftest.$ac_ext <<_ACEOF
36198 /* confdefs.h. */
36199 _ACEOF
36200 cat confdefs.h >>conftest.$ac_ext
36201 cat >>conftest.$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36205 #define $ac_func innocuous_$ac_func
36206
36207 /* System header to define __stub macros and hopefully few prototypes,
36208 which can conflict with char $ac_func (); below.
36209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36210 <limits.h> exists even on freestanding compilers. */
36211
36212 #ifdef __STDC__
36213 # include <limits.h>
36214 #else
36215 # include <assert.h>
36216 #endif
36217
36218 #undef $ac_func
36219
36220 /* Override any gcc2 internal prototype to avoid an error. */
36221 #ifdef __cplusplus
36222 extern "C"
36223 {
36224 #endif
36225 /* We use char because int might match the return type of a gcc2
36226 builtin and then its argument prototype would still apply. */
36227 char $ac_func ();
36228 /* The GNU C library defines this for functions which it implements
36229 to always fail with ENOSYS. Some functions are actually named
36230 something starting with __ and the normal name is an alias. */
36231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36232 choke me
36233 #else
36234 char (*f) () = $ac_func;
36235 #endif
36236 #ifdef __cplusplus
36237 }
36238 #endif
36239
36240 int
36241 main ()
36242 {
36243 return f != $ac_func;
36244 ;
36245 return 0;
36246 }
36247 _ACEOF
36248 rm -f conftest.$ac_objext conftest$ac_exeext
36249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36250 (eval $ac_link) 2>conftest.er1
36251 ac_status=$?
36252 grep -v '^ *+' conftest.er1 >conftest.err
36253 rm -f conftest.er1
36254 cat conftest.err >&5
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); } &&
36257 { ac_try='test -z "$ac_c_werror_flag"
36258 || test ! -s conftest.err'
36259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36260 (eval $ac_try) 2>&5
36261 ac_status=$?
36262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36263 (exit $ac_status); }; } &&
36264 { ac_try='test -s conftest$ac_exeext'
36265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36266 (eval $ac_try) 2>&5
36267 ac_status=$?
36268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36269 (exit $ac_status); }; }; then
36270 eval "$as_ac_var=yes"
36271 else
36272 echo "$as_me: failed program was:" >&5
36273 sed 's/^/| /' conftest.$ac_ext >&5
36274
36275 eval "$as_ac_var=no"
36276 fi
36277 rm -f conftest.err conftest.$ac_objext \
36278 conftest$ac_exeext conftest.$ac_ext
36279 fi
36280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36282 if test `eval echo '${'$as_ac_var'}'` = yes; then
36283 cat >>confdefs.h <<_ACEOF
36284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36285 _ACEOF
36286
36287 fi
36288 done
36289
36290 else
36291
36292 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
36293 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
36294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
36296 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 else
36298
36299
36300
36301 ac_ext=cc
36302 ac_cpp='$CXXCPP $CPPFLAGS'
36303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36306
36307 cat >conftest.$ac_ext <<_ACEOF
36308 /* confdefs.h. */
36309 _ACEOF
36310 cat confdefs.h >>conftest.$ac_ext
36311 cat >>conftest.$ac_ext <<_ACEOF
36312 /* end confdefs.h. */
36313 #include <math.h>
36314 int
36315 main ()
36316 {
36317 _frexpf(0, 0);
36318 ;
36319 return 0;
36320 }
36321 _ACEOF
36322 rm -f conftest.$ac_objext
36323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36324 (eval $ac_compile) 2>conftest.er1
36325 ac_status=$?
36326 grep -v '^ *+' conftest.er1 >conftest.err
36327 rm -f conftest.er1
36328 cat conftest.err >&5
36329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36330 (exit $ac_status); } &&
36331 { ac_try='test -z "$ac_cxx_werror_flag"
36332 || test ! -s conftest.err'
36333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36334 (eval $ac_try) 2>&5
36335 ac_status=$?
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); }; } &&
36338 { ac_try='test -s conftest.$ac_objext'
36339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36340 (eval $ac_try) 2>&5
36341 ac_status=$?
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); }; }; then
36344 glibcxx_cv_func__frexpf_use=yes
36345 else
36346 echo "$as_me: failed program was:" >&5
36347 sed 's/^/| /' conftest.$ac_ext >&5
36348
36349 glibcxx_cv_func__frexpf_use=no
36350 fi
36351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36352 ac_ext=c
36353 ac_cpp='$CPP $CPPFLAGS'
36354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36357
36358
36359 fi
36360
36361 fi
36362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
36363 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
36364
36365 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36366
36367 for ac_func in _frexpf
36368 do
36369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36370 echo "$as_me:$LINENO: checking for $ac_func" >&5
36371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36372 if eval "test \"\${$as_ac_var+set}\" = set"; then
36373 echo $ECHO_N "(cached) $ECHO_C" >&6
36374 else
36375 if test x$gcc_no_link = xyes; then
36376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36378 { (exit 1); exit 1; }; }
36379 fi
36380 cat >conftest.$ac_ext <<_ACEOF
36381 /* confdefs.h. */
36382 _ACEOF
36383 cat confdefs.h >>conftest.$ac_ext
36384 cat >>conftest.$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36388 #define $ac_func innocuous_$ac_func
36389
36390 /* System header to define __stub macros and hopefully few prototypes,
36391 which can conflict with char $ac_func (); below.
36392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36393 <limits.h> exists even on freestanding compilers. */
36394
36395 #ifdef __STDC__
36396 # include <limits.h>
36397 #else
36398 # include <assert.h>
36399 #endif
36400
36401 #undef $ac_func
36402
36403 /* Override any gcc2 internal prototype to avoid an error. */
36404 #ifdef __cplusplus
36405 extern "C"
36406 {
36407 #endif
36408 /* We use char because int might match the return type of a gcc2
36409 builtin and then its argument prototype would still apply. */
36410 char $ac_func ();
36411 /* The GNU C library defines this for functions which it implements
36412 to always fail with ENOSYS. Some functions are actually named
36413 something starting with __ and the normal name is an alias. */
36414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36415 choke me
36416 #else
36417 char (*f) () = $ac_func;
36418 #endif
36419 #ifdef __cplusplus
36420 }
36421 #endif
36422
36423 int
36424 main ()
36425 {
36426 return f != $ac_func;
36427 ;
36428 return 0;
36429 }
36430 _ACEOF
36431 rm -f conftest.$ac_objext conftest$ac_exeext
36432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36433 (eval $ac_link) 2>conftest.er1
36434 ac_status=$?
36435 grep -v '^ *+' conftest.er1 >conftest.err
36436 rm -f conftest.er1
36437 cat conftest.err >&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } &&
36440 { ac_try='test -z "$ac_c_werror_flag"
36441 || test ! -s conftest.err'
36442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36443 (eval $ac_try) 2>&5
36444 ac_status=$?
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); }; } &&
36447 { ac_try='test -s conftest$ac_exeext'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; }; then
36453 eval "$as_ac_var=yes"
36454 else
36455 echo "$as_me: failed program was:" >&5
36456 sed 's/^/| /' conftest.$ac_ext >&5
36457
36458 eval "$as_ac_var=no"
36459 fi
36460 rm -f conftest.err conftest.$ac_objext \
36461 conftest$ac_exeext conftest.$ac_ext
36462 fi
36463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36465 if test `eval echo '${'$as_ac_var'}'` = yes; then
36466 cat >>confdefs.h <<_ACEOF
36467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36468 _ACEOF
36469
36470 fi
36471 done
36472
36473 fi
36474 fi
36475
36476
36477
36478 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
36479 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
36480 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36481 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 else
36484
36485
36486
36487 ac_ext=cc
36488 ac_cpp='$CXXCPP $CPPFLAGS'
36489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36492
36493 cat >conftest.$ac_ext <<_ACEOF
36494 /* confdefs.h. */
36495 _ACEOF
36496 cat confdefs.h >>conftest.$ac_ext
36497 cat >>conftest.$ac_ext <<_ACEOF
36498 /* end confdefs.h. */
36499 #include <math.h>
36500 int
36501 main ()
36502 {
36503 hypotf(0, 0);
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 rm -f conftest.$ac_objext
36509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36510 (eval $ac_compile) 2>conftest.er1
36511 ac_status=$?
36512 grep -v '^ *+' conftest.er1 >conftest.err
36513 rm -f conftest.er1
36514 cat conftest.err >&5
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); } &&
36517 { ac_try='test -z "$ac_cxx_werror_flag"
36518 || test ! -s conftest.err'
36519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36520 (eval $ac_try) 2>&5
36521 ac_status=$?
36522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36523 (exit $ac_status); }; } &&
36524 { ac_try='test -s conftest.$ac_objext'
36525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36526 (eval $ac_try) 2>&5
36527 ac_status=$?
36528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36529 (exit $ac_status); }; }; then
36530 glibcxx_cv_func_hypotf_use=yes
36531 else
36532 echo "$as_me: failed program was:" >&5
36533 sed 's/^/| /' conftest.$ac_ext >&5
36534
36535 glibcxx_cv_func_hypotf_use=no
36536 fi
36537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36538 ac_ext=c
36539 ac_cpp='$CPP $CPPFLAGS'
36540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36543
36544
36545 fi
36546
36547 fi
36548 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
36549 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
36550
36551 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36552
36553 for ac_func in hypotf
36554 do
36555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36556 echo "$as_me:$LINENO: checking for $ac_func" >&5
36557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36558 if eval "test \"\${$as_ac_var+set}\" = set"; then
36559 echo $ECHO_N "(cached) $ECHO_C" >&6
36560 else
36561 if test x$gcc_no_link = xyes; then
36562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36564 { (exit 1); exit 1; }; }
36565 fi
36566 cat >conftest.$ac_ext <<_ACEOF
36567 /* confdefs.h. */
36568 _ACEOF
36569 cat confdefs.h >>conftest.$ac_ext
36570 cat >>conftest.$ac_ext <<_ACEOF
36571 /* end confdefs.h. */
36572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36574 #define $ac_func innocuous_$ac_func
36575
36576 /* System header to define __stub macros and hopefully few prototypes,
36577 which can conflict with char $ac_func (); below.
36578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36579 <limits.h> exists even on freestanding compilers. */
36580
36581 #ifdef __STDC__
36582 # include <limits.h>
36583 #else
36584 # include <assert.h>
36585 #endif
36586
36587 #undef $ac_func
36588
36589 /* Override any gcc2 internal prototype to avoid an error. */
36590 #ifdef __cplusplus
36591 extern "C"
36592 {
36593 #endif
36594 /* We use char because int might match the return type of a gcc2
36595 builtin and then its argument prototype would still apply. */
36596 char $ac_func ();
36597 /* The GNU C library defines this for functions which it implements
36598 to always fail with ENOSYS. Some functions are actually named
36599 something starting with __ and the normal name is an alias. */
36600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36601 choke me
36602 #else
36603 char (*f) () = $ac_func;
36604 #endif
36605 #ifdef __cplusplus
36606 }
36607 #endif
36608
36609 int
36610 main ()
36611 {
36612 return f != $ac_func;
36613 ;
36614 return 0;
36615 }
36616 _ACEOF
36617 rm -f conftest.$ac_objext conftest$ac_exeext
36618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36619 (eval $ac_link) 2>conftest.er1
36620 ac_status=$?
36621 grep -v '^ *+' conftest.er1 >conftest.err
36622 rm -f conftest.er1
36623 cat conftest.err >&5
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); } &&
36626 { ac_try='test -z "$ac_c_werror_flag"
36627 || test ! -s conftest.err'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; } &&
36633 { ac_try='test -s conftest$ac_exeext'
36634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36635 (eval $ac_try) 2>&5
36636 ac_status=$?
36637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36638 (exit $ac_status); }; }; then
36639 eval "$as_ac_var=yes"
36640 else
36641 echo "$as_me: failed program was:" >&5
36642 sed 's/^/| /' conftest.$ac_ext >&5
36643
36644 eval "$as_ac_var=no"
36645 fi
36646 rm -f conftest.err conftest.$ac_objext \
36647 conftest$ac_exeext conftest.$ac_ext
36648 fi
36649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36651 if test `eval echo '${'$as_ac_var'}'` = yes; then
36652 cat >>confdefs.h <<_ACEOF
36653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36654 _ACEOF
36655
36656 fi
36657 done
36658
36659 else
36660
36661 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
36662 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
36663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36664 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 else
36667
36668
36669
36670 ac_ext=cc
36671 ac_cpp='$CXXCPP $CPPFLAGS'
36672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675
36676 cat >conftest.$ac_ext <<_ACEOF
36677 /* confdefs.h. */
36678 _ACEOF
36679 cat confdefs.h >>conftest.$ac_ext
36680 cat >>conftest.$ac_ext <<_ACEOF
36681 /* end confdefs.h. */
36682 #include <math.h>
36683 int
36684 main ()
36685 {
36686 _hypotf(0, 0);
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 rm -f conftest.$ac_objext
36692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36693 (eval $ac_compile) 2>conftest.er1
36694 ac_status=$?
36695 grep -v '^ *+' conftest.er1 >conftest.err
36696 rm -f conftest.er1
36697 cat conftest.err >&5
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); } &&
36700 { ac_try='test -z "$ac_cxx_werror_flag"
36701 || test ! -s conftest.err'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36704 ac_status=$?
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; } &&
36707 { ac_try='test -s conftest.$ac_objext'
36708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36709 (eval $ac_try) 2>&5
36710 ac_status=$?
36711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36712 (exit $ac_status); }; }; then
36713 glibcxx_cv_func__hypotf_use=yes
36714 else
36715 echo "$as_me: failed program was:" >&5
36716 sed 's/^/| /' conftest.$ac_ext >&5
36717
36718 glibcxx_cv_func__hypotf_use=no
36719 fi
36720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36721 ac_ext=c
36722 ac_cpp='$CPP $CPPFLAGS'
36723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36726
36727
36728 fi
36729
36730 fi
36731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
36732 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
36733
36734 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36735
36736 for ac_func in _hypotf
36737 do
36738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36739 echo "$as_me:$LINENO: checking for $ac_func" >&5
36740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36741 if eval "test \"\${$as_ac_var+set}\" = set"; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 else
36744 if test x$gcc_no_link = xyes; then
36745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36747 { (exit 1); exit 1; }; }
36748 fi
36749 cat >conftest.$ac_ext <<_ACEOF
36750 /* confdefs.h. */
36751 _ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36757 #define $ac_func innocuous_$ac_func
36758
36759 /* System header to define __stub macros and hopefully few prototypes,
36760 which can conflict with char $ac_func (); below.
36761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36762 <limits.h> exists even on freestanding compilers. */
36763
36764 #ifdef __STDC__
36765 # include <limits.h>
36766 #else
36767 # include <assert.h>
36768 #endif
36769
36770 #undef $ac_func
36771
36772 /* Override any gcc2 internal prototype to avoid an error. */
36773 #ifdef __cplusplus
36774 extern "C"
36775 {
36776 #endif
36777 /* We use char because int might match the return type of a gcc2
36778 builtin and then its argument prototype would still apply. */
36779 char $ac_func ();
36780 /* The GNU C library defines this for functions which it implements
36781 to always fail with ENOSYS. Some functions are actually named
36782 something starting with __ and the normal name is an alias. */
36783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36784 choke me
36785 #else
36786 char (*f) () = $ac_func;
36787 #endif
36788 #ifdef __cplusplus
36789 }
36790 #endif
36791
36792 int
36793 main ()
36794 {
36795 return f != $ac_func;
36796 ;
36797 return 0;
36798 }
36799 _ACEOF
36800 rm -f conftest.$ac_objext conftest$ac_exeext
36801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36802 (eval $ac_link) 2>conftest.er1
36803 ac_status=$?
36804 grep -v '^ *+' conftest.er1 >conftest.err
36805 rm -f conftest.er1
36806 cat conftest.err >&5
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); } &&
36809 { ac_try='test -z "$ac_c_werror_flag"
36810 || test ! -s conftest.err'
36811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36812 (eval $ac_try) 2>&5
36813 ac_status=$?
36814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36815 (exit $ac_status); }; } &&
36816 { ac_try='test -s conftest$ac_exeext'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36819 ac_status=$?
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; }; then
36822 eval "$as_ac_var=yes"
36823 else
36824 echo "$as_me: failed program was:" >&5
36825 sed 's/^/| /' conftest.$ac_ext >&5
36826
36827 eval "$as_ac_var=no"
36828 fi
36829 rm -f conftest.err conftest.$ac_objext \
36830 conftest$ac_exeext conftest.$ac_ext
36831 fi
36832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36834 if test `eval echo '${'$as_ac_var'}'` = yes; then
36835 cat >>confdefs.h <<_ACEOF
36836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36837 _ACEOF
36838
36839 fi
36840 done
36841
36842 fi
36843 fi
36844
36845
36846
36847 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
36848 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
36849 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36850 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
36851 echo $ECHO_N "(cached) $ECHO_C" >&6
36852 else
36853
36854
36855
36856 ac_ext=cc
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861
36862 cat >conftest.$ac_ext <<_ACEOF
36863 /* confdefs.h. */
36864 _ACEOF
36865 cat confdefs.h >>conftest.$ac_ext
36866 cat >>conftest.$ac_ext <<_ACEOF
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 int
36870 main ()
36871 {
36872 ldexpf(0, 0);
36873 ;
36874 return 0;
36875 }
36876 _ACEOF
36877 rm -f conftest.$ac_objext
36878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36879 (eval $ac_compile) 2>conftest.er1
36880 ac_status=$?
36881 grep -v '^ *+' conftest.er1 >conftest.err
36882 rm -f conftest.er1
36883 cat conftest.err >&5
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); } &&
36886 { ac_try='test -z "$ac_cxx_werror_flag"
36887 || test ! -s conftest.err'
36888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36889 (eval $ac_try) 2>&5
36890 ac_status=$?
36891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36892 (exit $ac_status); }; } &&
36893 { ac_try='test -s conftest.$ac_objext'
36894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36895 (eval $ac_try) 2>&5
36896 ac_status=$?
36897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36898 (exit $ac_status); }; }; then
36899 glibcxx_cv_func_ldexpf_use=yes
36900 else
36901 echo "$as_me: failed program was:" >&5
36902 sed 's/^/| /' conftest.$ac_ext >&5
36903
36904 glibcxx_cv_func_ldexpf_use=no
36905 fi
36906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36907 ac_ext=c
36908 ac_cpp='$CPP $CPPFLAGS'
36909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36912
36913
36914 fi
36915
36916 fi
36917 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
36918 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
36919
36920 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36921
36922 for ac_func in ldexpf
36923 do
36924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36925 echo "$as_me:$LINENO: checking for $ac_func" >&5
36926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36927 if eval "test \"\${$as_ac_var+set}\" = set"; then
36928 echo $ECHO_N "(cached) $ECHO_C" >&6
36929 else
36930 if test x$gcc_no_link = xyes; then
36931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36933 { (exit 1); exit 1; }; }
36934 fi
36935 cat >conftest.$ac_ext <<_ACEOF
36936 /* confdefs.h. */
36937 _ACEOF
36938 cat confdefs.h >>conftest.$ac_ext
36939 cat >>conftest.$ac_ext <<_ACEOF
36940 /* end confdefs.h. */
36941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36943 #define $ac_func innocuous_$ac_func
36944
36945 /* System header to define __stub macros and hopefully few prototypes,
36946 which can conflict with char $ac_func (); below.
36947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36948 <limits.h> exists even on freestanding compilers. */
36949
36950 #ifdef __STDC__
36951 # include <limits.h>
36952 #else
36953 # include <assert.h>
36954 #endif
36955
36956 #undef $ac_func
36957
36958 /* Override any gcc2 internal prototype to avoid an error. */
36959 #ifdef __cplusplus
36960 extern "C"
36961 {
36962 #endif
36963 /* We use char because int might match the return type of a gcc2
36964 builtin and then its argument prototype would still apply. */
36965 char $ac_func ();
36966 /* The GNU C library defines this for functions which it implements
36967 to always fail with ENOSYS. Some functions are actually named
36968 something starting with __ and the normal name is an alias. */
36969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36970 choke me
36971 #else
36972 char (*f) () = $ac_func;
36973 #endif
36974 #ifdef __cplusplus
36975 }
36976 #endif
36977
36978 int
36979 main ()
36980 {
36981 return f != $ac_func;
36982 ;
36983 return 0;
36984 }
36985 _ACEOF
36986 rm -f conftest.$ac_objext conftest$ac_exeext
36987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36988 (eval $ac_link) 2>conftest.er1
36989 ac_status=$?
36990 grep -v '^ *+' conftest.er1 >conftest.err
36991 rm -f conftest.er1
36992 cat conftest.err >&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } &&
36995 { ac_try='test -z "$ac_c_werror_flag"
36996 || test ! -s conftest.err'
36997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36998 (eval $ac_try) 2>&5
36999 ac_status=$?
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); }; } &&
37002 { ac_try='test -s conftest$ac_exeext'
37003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37004 (eval $ac_try) 2>&5
37005 ac_status=$?
37006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37007 (exit $ac_status); }; }; then
37008 eval "$as_ac_var=yes"
37009 else
37010 echo "$as_me: failed program was:" >&5
37011 sed 's/^/| /' conftest.$ac_ext >&5
37012
37013 eval "$as_ac_var=no"
37014 fi
37015 rm -f conftest.err conftest.$ac_objext \
37016 conftest$ac_exeext conftest.$ac_ext
37017 fi
37018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37020 if test `eval echo '${'$as_ac_var'}'` = yes; then
37021 cat >>confdefs.h <<_ACEOF
37022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37023 _ACEOF
37024
37025 fi
37026 done
37027
37028 else
37029
37030 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37031 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37032 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37033 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37034 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 else
37036
37037
37038
37039 ac_ext=cc
37040 ac_cpp='$CXXCPP $CPPFLAGS'
37041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37044
37045 cat >conftest.$ac_ext <<_ACEOF
37046 /* confdefs.h. */
37047 _ACEOF
37048 cat confdefs.h >>conftest.$ac_ext
37049 cat >>conftest.$ac_ext <<_ACEOF
37050 /* end confdefs.h. */
37051 #include <math.h>
37052 int
37053 main ()
37054 {
37055 _ldexpf(0, 0);
37056 ;
37057 return 0;
37058 }
37059 _ACEOF
37060 rm -f conftest.$ac_objext
37061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37062 (eval $ac_compile) 2>conftest.er1
37063 ac_status=$?
37064 grep -v '^ *+' conftest.er1 >conftest.err
37065 rm -f conftest.er1
37066 cat conftest.err >&5
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); } &&
37069 { ac_try='test -z "$ac_cxx_werror_flag"
37070 || test ! -s conftest.err'
37071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37072 (eval $ac_try) 2>&5
37073 ac_status=$?
37074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37075 (exit $ac_status); }; } &&
37076 { ac_try='test -s conftest.$ac_objext'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; }; then
37082 glibcxx_cv_func__ldexpf_use=yes
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37086
37087 glibcxx_cv_func__ldexpf_use=no
37088 fi
37089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37090 ac_ext=c
37091 ac_cpp='$CPP $CPPFLAGS'
37092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37095
37096
37097 fi
37098
37099 fi
37100 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
37101 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
37102
37103 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37104
37105 for ac_func in _ldexpf
37106 do
37107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37108 echo "$as_me:$LINENO: checking for $ac_func" >&5
37109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37110 if eval "test \"\${$as_ac_var+set}\" = set"; then
37111 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 else
37113 if test x$gcc_no_link = xyes; then
37114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37116 { (exit 1); exit 1; }; }
37117 fi
37118 cat >conftest.$ac_ext <<_ACEOF
37119 /* confdefs.h. */
37120 _ACEOF
37121 cat confdefs.h >>conftest.$ac_ext
37122 cat >>conftest.$ac_ext <<_ACEOF
37123 /* end confdefs.h. */
37124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37126 #define $ac_func innocuous_$ac_func
37127
37128 /* System header to define __stub macros and hopefully few prototypes,
37129 which can conflict with char $ac_func (); below.
37130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37131 <limits.h> exists even on freestanding compilers. */
37132
37133 #ifdef __STDC__
37134 # include <limits.h>
37135 #else
37136 # include <assert.h>
37137 #endif
37138
37139 #undef $ac_func
37140
37141 /* Override any gcc2 internal prototype to avoid an error. */
37142 #ifdef __cplusplus
37143 extern "C"
37144 {
37145 #endif
37146 /* We use char because int might match the return type of a gcc2
37147 builtin and then its argument prototype would still apply. */
37148 char $ac_func ();
37149 /* The GNU C library defines this for functions which it implements
37150 to always fail with ENOSYS. Some functions are actually named
37151 something starting with __ and the normal name is an alias. */
37152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37153 choke me
37154 #else
37155 char (*f) () = $ac_func;
37156 #endif
37157 #ifdef __cplusplus
37158 }
37159 #endif
37160
37161 int
37162 main ()
37163 {
37164 return f != $ac_func;
37165 ;
37166 return 0;
37167 }
37168 _ACEOF
37169 rm -f conftest.$ac_objext conftest$ac_exeext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37171 (eval $ac_link) 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try='test -z "$ac_c_werror_flag"
37179 || test ! -s conftest.err'
37180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37181 (eval $ac_try) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); }; } &&
37185 { ac_try='test -s conftest$ac_exeext'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; }; then
37191 eval "$as_ac_var=yes"
37192 else
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37195
37196 eval "$as_ac_var=no"
37197 fi
37198 rm -f conftest.err conftest.$ac_objext \
37199 conftest$ac_exeext conftest.$ac_ext
37200 fi
37201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37203 if test `eval echo '${'$as_ac_var'}'` = yes; then
37204 cat >>confdefs.h <<_ACEOF
37205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37207
37208 fi
37209 done
37210
37211 fi
37212 fi
37213
37214
37215
37216 echo "$as_me:$LINENO: checking for logf declaration" >&5
37217 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
37218 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37219 if test "${glibcxx_cv_func_logf_use+set}" = set; then
37220 echo $ECHO_N "(cached) $ECHO_C" >&6
37221 else
37222
37223
37224
37225 ac_ext=cc
37226 ac_cpp='$CXXCPP $CPPFLAGS'
37227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37230
37231 cat >conftest.$ac_ext <<_ACEOF
37232 /* confdefs.h. */
37233 _ACEOF
37234 cat confdefs.h >>conftest.$ac_ext
37235 cat >>conftest.$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37237 #include <math.h>
37238 #ifdef HAVE_IEEEFP_H
37239 #include <ieeefp.h>
37240 #endif
37241
37242 int
37243 main ()
37244 {
37245 logf(0);
37246 ;
37247 return 0;
37248 }
37249 _ACEOF
37250 rm -f conftest.$ac_objext
37251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37252 (eval $ac_compile) 2>conftest.er1
37253 ac_status=$?
37254 grep -v '^ *+' conftest.er1 >conftest.err
37255 rm -f conftest.er1
37256 cat conftest.err >&5
37257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37258 (exit $ac_status); } &&
37259 { ac_try='test -z "$ac_cxx_werror_flag"
37260 || test ! -s conftest.err'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37263 ac_status=$?
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; } &&
37266 { ac_try='test -s conftest.$ac_objext'
37267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37268 (eval $ac_try) 2>&5
37269 ac_status=$?
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); }; }; then
37272 glibcxx_cv_func_logf_use=yes
37273 else
37274 echo "$as_me: failed program was:" >&5
37275 sed 's/^/| /' conftest.$ac_ext >&5
37276
37277 glibcxx_cv_func_logf_use=no
37278 fi
37279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37280 ac_ext=c
37281 ac_cpp='$CPP $CPPFLAGS'
37282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37285
37286
37287 fi
37288
37289 fi
37290 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
37291 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
37292
37293 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37294
37295 for ac_func in logf
37296 do
37297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37298 echo "$as_me:$LINENO: checking for $ac_func" >&5
37299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37300 if eval "test \"\${$as_ac_var+set}\" = set"; then
37301 echo $ECHO_N "(cached) $ECHO_C" >&6
37302 else
37303 if test x$gcc_no_link = xyes; then
37304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37306 { (exit 1); exit 1; }; }
37307 fi
37308 cat >conftest.$ac_ext <<_ACEOF
37309 /* confdefs.h. */
37310 _ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37316 #define $ac_func innocuous_$ac_func
37317
37318 /* System header to define __stub macros and hopefully few prototypes,
37319 which can conflict with char $ac_func (); below.
37320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37321 <limits.h> exists even on freestanding compilers. */
37322
37323 #ifdef __STDC__
37324 # include <limits.h>
37325 #else
37326 # include <assert.h>
37327 #endif
37328
37329 #undef $ac_func
37330
37331 /* Override any gcc2 internal prototype to avoid an error. */
37332 #ifdef __cplusplus
37333 extern "C"
37334 {
37335 #endif
37336 /* We use char because int might match the return type of a gcc2
37337 builtin and then its argument prototype would still apply. */
37338 char $ac_func ();
37339 /* The GNU C library defines this for functions which it implements
37340 to always fail with ENOSYS. Some functions are actually named
37341 something starting with __ and the normal name is an alias. */
37342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37343 choke me
37344 #else
37345 char (*f) () = $ac_func;
37346 #endif
37347 #ifdef __cplusplus
37348 }
37349 #endif
37350
37351 int
37352 main ()
37353 {
37354 return f != $ac_func;
37355 ;
37356 return 0;
37357 }
37358 _ACEOF
37359 rm -f conftest.$ac_objext conftest$ac_exeext
37360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37361 (eval $ac_link) 2>conftest.er1
37362 ac_status=$?
37363 grep -v '^ *+' conftest.er1 >conftest.err
37364 rm -f conftest.er1
37365 cat conftest.err >&5
37366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37367 (exit $ac_status); } &&
37368 { ac_try='test -z "$ac_c_werror_flag"
37369 || test ! -s conftest.err'
37370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37371 (eval $ac_try) 2>&5
37372 ac_status=$?
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); }; } &&
37375 { ac_try='test -s conftest$ac_exeext'
37376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37377 (eval $ac_try) 2>&5
37378 ac_status=$?
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); }; }; then
37381 eval "$as_ac_var=yes"
37382 else
37383 echo "$as_me: failed program was:" >&5
37384 sed 's/^/| /' conftest.$ac_ext >&5
37385
37386 eval "$as_ac_var=no"
37387 fi
37388 rm -f conftest.err conftest.$ac_objext \
37389 conftest$ac_exeext conftest.$ac_ext
37390 fi
37391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37393 if test `eval echo '${'$as_ac_var'}'` = yes; then
37394 cat >>confdefs.h <<_ACEOF
37395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37396 _ACEOF
37397
37398 fi
37399 done
37400
37401 else
37402
37403 echo "$as_me:$LINENO: checking for _logf declaration" >&5
37404 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
37405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37406 if test "${glibcxx_cv_func__logf_use+set}" = set; then
37407 echo $ECHO_N "(cached) $ECHO_C" >&6
37408 else
37409
37410
37411
37412 ac_ext=cc
37413 ac_cpp='$CXXCPP $CPPFLAGS'
37414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417
37418 cat >conftest.$ac_ext <<_ACEOF
37419 /* confdefs.h. */
37420 _ACEOF
37421 cat confdefs.h >>conftest.$ac_ext
37422 cat >>conftest.$ac_ext <<_ACEOF
37423 /* end confdefs.h. */
37424 #include <math.h>
37425 #ifdef HAVE_IEEEFP_H
37426 #include <ieeefp.h>
37427 #endif
37428
37429 int
37430 main ()
37431 {
37432 _logf(0);
37433 ;
37434 return 0;
37435 }
37436 _ACEOF
37437 rm -f conftest.$ac_objext
37438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37439 (eval $ac_compile) 2>conftest.er1
37440 ac_status=$?
37441 grep -v '^ *+' conftest.er1 >conftest.err
37442 rm -f conftest.er1
37443 cat conftest.err >&5
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); } &&
37446 { ac_try='test -z "$ac_cxx_werror_flag"
37447 || test ! -s conftest.err'
37448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37449 (eval $ac_try) 2>&5
37450 ac_status=$?
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); }; } &&
37453 { ac_try='test -s conftest.$ac_objext'
37454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37455 (eval $ac_try) 2>&5
37456 ac_status=$?
37457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37458 (exit $ac_status); }; }; then
37459 glibcxx_cv_func__logf_use=yes
37460 else
37461 echo "$as_me: failed program was:" >&5
37462 sed 's/^/| /' conftest.$ac_ext >&5
37463
37464 glibcxx_cv_func__logf_use=no
37465 fi
37466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37467 ac_ext=c
37468 ac_cpp='$CPP $CPPFLAGS'
37469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37472
37473
37474 fi
37475
37476 fi
37477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
37478 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
37479
37480 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37481
37482 for ac_func in _logf
37483 do
37484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37485 echo "$as_me:$LINENO: checking for $ac_func" >&5
37486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37487 if eval "test \"\${$as_ac_var+set}\" = set"; then
37488 echo $ECHO_N "(cached) $ECHO_C" >&6
37489 else
37490 if test x$gcc_no_link = xyes; then
37491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37493 { (exit 1); exit 1; }; }
37494 fi
37495 cat >conftest.$ac_ext <<_ACEOF
37496 /* confdefs.h. */
37497 _ACEOF
37498 cat confdefs.h >>conftest.$ac_ext
37499 cat >>conftest.$ac_ext <<_ACEOF
37500 /* end confdefs.h. */
37501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37503 #define $ac_func innocuous_$ac_func
37504
37505 /* System header to define __stub macros and hopefully few prototypes,
37506 which can conflict with char $ac_func (); below.
37507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37508 <limits.h> exists even on freestanding compilers. */
37509
37510 #ifdef __STDC__
37511 # include <limits.h>
37512 #else
37513 # include <assert.h>
37514 #endif
37515
37516 #undef $ac_func
37517
37518 /* Override any gcc2 internal prototype to avoid an error. */
37519 #ifdef __cplusplus
37520 extern "C"
37521 {
37522 #endif
37523 /* We use char because int might match the return type of a gcc2
37524 builtin and then its argument prototype would still apply. */
37525 char $ac_func ();
37526 /* The GNU C library defines this for functions which it implements
37527 to always fail with ENOSYS. Some functions are actually named
37528 something starting with __ and the normal name is an alias. */
37529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37530 choke me
37531 #else
37532 char (*f) () = $ac_func;
37533 #endif
37534 #ifdef __cplusplus
37535 }
37536 #endif
37537
37538 int
37539 main ()
37540 {
37541 return f != $ac_func;
37542 ;
37543 return 0;
37544 }
37545 _ACEOF
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37548 (eval $ac_link) 2>conftest.er1
37549 ac_status=$?
37550 grep -v '^ *+' conftest.er1 >conftest.err
37551 rm -f conftest.er1
37552 cat conftest.err >&5
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); } &&
37555 { ac_try='test -z "$ac_c_werror_flag"
37556 || test ! -s conftest.err'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; } &&
37562 { ac_try='test -s conftest$ac_exeext'
37563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37564 (eval $ac_try) 2>&5
37565 ac_status=$?
37566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37567 (exit $ac_status); }; }; then
37568 eval "$as_ac_var=yes"
37569 else
37570 echo "$as_me: failed program was:" >&5
37571 sed 's/^/| /' conftest.$ac_ext >&5
37572
37573 eval "$as_ac_var=no"
37574 fi
37575 rm -f conftest.err conftest.$ac_objext \
37576 conftest$ac_exeext conftest.$ac_ext
37577 fi
37578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37580 if test `eval echo '${'$as_ac_var'}'` = yes; then
37581 cat >>confdefs.h <<_ACEOF
37582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37583 _ACEOF
37584
37585 fi
37586 done
37587
37588 fi
37589 fi
37590
37591
37592
37593 echo "$as_me:$LINENO: checking for log10f declaration" >&5
37594 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
37595 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37596 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
37597 echo $ECHO_N "(cached) $ECHO_C" >&6
37598 else
37599
37600
37601
37602 ac_ext=cc
37603 ac_cpp='$CXXCPP $CPPFLAGS'
37604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37607
37608 cat >conftest.$ac_ext <<_ACEOF
37609 /* confdefs.h. */
37610 _ACEOF
37611 cat confdefs.h >>conftest.$ac_ext
37612 cat >>conftest.$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 #include <math.h>
37615 #ifdef HAVE_IEEEFP_H
37616 #include <ieeefp.h>
37617 #endif
37618
37619 int
37620 main ()
37621 {
37622 log10f(0);
37623 ;
37624 return 0;
37625 }
37626 _ACEOF
37627 rm -f conftest.$ac_objext
37628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37629 (eval $ac_compile) 2>conftest.er1
37630 ac_status=$?
37631 grep -v '^ *+' conftest.er1 >conftest.err
37632 rm -f conftest.er1
37633 cat conftest.err >&5
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); } &&
37636 { ac_try='test -z "$ac_cxx_werror_flag"
37637 || test ! -s conftest.err'
37638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37639 (eval $ac_try) 2>&5
37640 ac_status=$?
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); }; } &&
37643 { ac_try='test -s conftest.$ac_objext'
37644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37645 (eval $ac_try) 2>&5
37646 ac_status=$?
37647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37648 (exit $ac_status); }; }; then
37649 glibcxx_cv_func_log10f_use=yes
37650 else
37651 echo "$as_me: failed program was:" >&5
37652 sed 's/^/| /' conftest.$ac_ext >&5
37653
37654 glibcxx_cv_func_log10f_use=no
37655 fi
37656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37657 ac_ext=c
37658 ac_cpp='$CPP $CPPFLAGS'
37659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37662
37663
37664 fi
37665
37666 fi
37667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
37668 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
37669
37670 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37671
37672 for ac_func in log10f
37673 do
37674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37675 echo "$as_me:$LINENO: checking for $ac_func" >&5
37676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37677 if eval "test \"\${$as_ac_var+set}\" = set"; then
37678 echo $ECHO_N "(cached) $ECHO_C" >&6
37679 else
37680 if test x$gcc_no_link = xyes; then
37681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37683 { (exit 1); exit 1; }; }
37684 fi
37685 cat >conftest.$ac_ext <<_ACEOF
37686 /* confdefs.h. */
37687 _ACEOF
37688 cat confdefs.h >>conftest.$ac_ext
37689 cat >>conftest.$ac_ext <<_ACEOF
37690 /* end confdefs.h. */
37691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37693 #define $ac_func innocuous_$ac_func
37694
37695 /* System header to define __stub macros and hopefully few prototypes,
37696 which can conflict with char $ac_func (); below.
37697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37698 <limits.h> exists even on freestanding compilers. */
37699
37700 #ifdef __STDC__
37701 # include <limits.h>
37702 #else
37703 # include <assert.h>
37704 #endif
37705
37706 #undef $ac_func
37707
37708 /* Override any gcc2 internal prototype to avoid an error. */
37709 #ifdef __cplusplus
37710 extern "C"
37711 {
37712 #endif
37713 /* We use char because int might match the return type of a gcc2
37714 builtin and then its argument prototype would still apply. */
37715 char $ac_func ();
37716 /* The GNU C library defines this for functions which it implements
37717 to always fail with ENOSYS. Some functions are actually named
37718 something starting with __ and the normal name is an alias. */
37719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37720 choke me
37721 #else
37722 char (*f) () = $ac_func;
37723 #endif
37724 #ifdef __cplusplus
37725 }
37726 #endif
37727
37728 int
37729 main ()
37730 {
37731 return f != $ac_func;
37732 ;
37733 return 0;
37734 }
37735 _ACEOF
37736 rm -f conftest.$ac_objext conftest$ac_exeext
37737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37738 (eval $ac_link) 2>conftest.er1
37739 ac_status=$?
37740 grep -v '^ *+' conftest.er1 >conftest.err
37741 rm -f conftest.er1
37742 cat conftest.err >&5
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); } &&
37745 { ac_try='test -z "$ac_c_werror_flag"
37746 || test ! -s conftest.err'
37747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37748 (eval $ac_try) 2>&5
37749 ac_status=$?
37750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37751 (exit $ac_status); }; } &&
37752 { ac_try='test -s conftest$ac_exeext'
37753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37754 (eval $ac_try) 2>&5
37755 ac_status=$?
37756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37757 (exit $ac_status); }; }; then
37758 eval "$as_ac_var=yes"
37759 else
37760 echo "$as_me: failed program was:" >&5
37761 sed 's/^/| /' conftest.$ac_ext >&5
37762
37763 eval "$as_ac_var=no"
37764 fi
37765 rm -f conftest.err conftest.$ac_objext \
37766 conftest$ac_exeext conftest.$ac_ext
37767 fi
37768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37770 if test `eval echo '${'$as_ac_var'}'` = yes; then
37771 cat >>confdefs.h <<_ACEOF
37772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37773 _ACEOF
37774
37775 fi
37776 done
37777
37778 else
37779
37780 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
37781 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
37782 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37783 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
37784 echo $ECHO_N "(cached) $ECHO_C" >&6
37785 else
37786
37787
37788
37789 ac_ext=cc
37790 ac_cpp='$CXXCPP $CPPFLAGS'
37791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37794
37795 cat >conftest.$ac_ext <<_ACEOF
37796 /* confdefs.h. */
37797 _ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801 #include <math.h>
37802 #ifdef HAVE_IEEEFP_H
37803 #include <ieeefp.h>
37804 #endif
37805
37806 int
37807 main ()
37808 {
37809 _log10f(0);
37810 ;
37811 return 0;
37812 }
37813 _ACEOF
37814 rm -f conftest.$ac_objext
37815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37816 (eval $ac_compile) 2>conftest.er1
37817 ac_status=$?
37818 grep -v '^ *+' conftest.er1 >conftest.err
37819 rm -f conftest.er1
37820 cat conftest.err >&5
37821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37822 (exit $ac_status); } &&
37823 { ac_try='test -z "$ac_cxx_werror_flag"
37824 || test ! -s conftest.err'
37825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37826 (eval $ac_try) 2>&5
37827 ac_status=$?
37828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37829 (exit $ac_status); }; } &&
37830 { ac_try='test -s conftest.$ac_objext'
37831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37832 (eval $ac_try) 2>&5
37833 ac_status=$?
37834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37835 (exit $ac_status); }; }; then
37836 glibcxx_cv_func__log10f_use=yes
37837 else
37838 echo "$as_me: failed program was:" >&5
37839 sed 's/^/| /' conftest.$ac_ext >&5
37840
37841 glibcxx_cv_func__log10f_use=no
37842 fi
37843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849
37850
37851 fi
37852
37853 fi
37854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
37855 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
37856
37857 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37858
37859 for ac_func in _log10f
37860 do
37861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37862 echo "$as_me:$LINENO: checking for $ac_func" >&5
37863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37864 if eval "test \"\${$as_ac_var+set}\" = set"; then
37865 echo $ECHO_N "(cached) $ECHO_C" >&6
37866 else
37867 if test x$gcc_no_link = xyes; then
37868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37870 { (exit 1); exit 1; }; }
37871 fi
37872 cat >conftest.$ac_ext <<_ACEOF
37873 /* confdefs.h. */
37874 _ACEOF
37875 cat confdefs.h >>conftest.$ac_ext
37876 cat >>conftest.$ac_ext <<_ACEOF
37877 /* end confdefs.h. */
37878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37880 #define $ac_func innocuous_$ac_func
37881
37882 /* System header to define __stub macros and hopefully few prototypes,
37883 which can conflict with char $ac_func (); below.
37884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37885 <limits.h> exists even on freestanding compilers. */
37886
37887 #ifdef __STDC__
37888 # include <limits.h>
37889 #else
37890 # include <assert.h>
37891 #endif
37892
37893 #undef $ac_func
37894
37895 /* Override any gcc2 internal prototype to avoid an error. */
37896 #ifdef __cplusplus
37897 extern "C"
37898 {
37899 #endif
37900 /* We use char because int might match the return type of a gcc2
37901 builtin and then its argument prototype would still apply. */
37902 char $ac_func ();
37903 /* The GNU C library defines this for functions which it implements
37904 to always fail with ENOSYS. Some functions are actually named
37905 something starting with __ and the normal name is an alias. */
37906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37907 choke me
37908 #else
37909 char (*f) () = $ac_func;
37910 #endif
37911 #ifdef __cplusplus
37912 }
37913 #endif
37914
37915 int
37916 main ()
37917 {
37918 return f != $ac_func;
37919 ;
37920 return 0;
37921 }
37922 _ACEOF
37923 rm -f conftest.$ac_objext conftest$ac_exeext
37924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37925 (eval $ac_link) 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } &&
37932 { ac_try='test -z "$ac_c_werror_flag"
37933 || test ! -s conftest.err'
37934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37935 (eval $ac_try) 2>&5
37936 ac_status=$?
37937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37938 (exit $ac_status); }; } &&
37939 { ac_try='test -s conftest$ac_exeext'
37940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37941 (eval $ac_try) 2>&5
37942 ac_status=$?
37943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37944 (exit $ac_status); }; }; then
37945 eval "$as_ac_var=yes"
37946 else
37947 echo "$as_me: failed program was:" >&5
37948 sed 's/^/| /' conftest.$ac_ext >&5
37949
37950 eval "$as_ac_var=no"
37951 fi
37952 rm -f conftest.err conftest.$ac_objext \
37953 conftest$ac_exeext conftest.$ac_ext
37954 fi
37955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37957 if test `eval echo '${'$as_ac_var'}'` = yes; then
37958 cat >>confdefs.h <<_ACEOF
37959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37960 _ACEOF
37961
37962 fi
37963 done
37964
37965 fi
37966 fi
37967
37968
37969
37970 echo "$as_me:$LINENO: checking for modff declaration" >&5
37971 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
37972 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37973 if test "${glibcxx_cv_func_modff_use+set}" = set; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976
37977
37978
37979 ac_ext=cc
37980 ac_cpp='$CXXCPP $CPPFLAGS'
37981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37984
37985 cat >conftest.$ac_ext <<_ACEOF
37986 /* confdefs.h. */
37987 _ACEOF
37988 cat confdefs.h >>conftest.$ac_ext
37989 cat >>conftest.$ac_ext <<_ACEOF
37990 /* end confdefs.h. */
37991 #include <math.h>
37992 int
37993 main ()
37994 {
37995 modff(0, 0);
37996 ;
37997 return 0;
37998 }
37999 _ACEOF
38000 rm -f conftest.$ac_objext
38001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38002 (eval $ac_compile) 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } &&
38009 { ac_try='test -z "$ac_cxx_werror_flag"
38010 || test ! -s conftest.err'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38013 ac_status=$?
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; } &&
38016 { ac_try='test -s conftest.$ac_objext'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; }; then
38022 glibcxx_cv_func_modff_use=yes
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38026
38027 glibcxx_cv_func_modff_use=no
38028 fi
38029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38030 ac_ext=c
38031 ac_cpp='$CPP $CPPFLAGS'
38032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38035
38036
38037 fi
38038
38039 fi
38040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38041 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38042
38043 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38044
38045 for ac_func in modff
38046 do
38047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38048 echo "$as_me:$LINENO: checking for $ac_func" >&5
38049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38050 if eval "test \"\${$as_ac_var+set}\" = set"; then
38051 echo $ECHO_N "(cached) $ECHO_C" >&6
38052 else
38053 if test x$gcc_no_link = xyes; then
38054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38056 { (exit 1); exit 1; }; }
38057 fi
38058 cat >conftest.$ac_ext <<_ACEOF
38059 /* confdefs.h. */
38060 _ACEOF
38061 cat confdefs.h >>conftest.$ac_ext
38062 cat >>conftest.$ac_ext <<_ACEOF
38063 /* end confdefs.h. */
38064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38066 #define $ac_func innocuous_$ac_func
38067
38068 /* System header to define __stub macros and hopefully few prototypes,
38069 which can conflict with char $ac_func (); below.
38070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38071 <limits.h> exists even on freestanding compilers. */
38072
38073 #ifdef __STDC__
38074 # include <limits.h>
38075 #else
38076 # include <assert.h>
38077 #endif
38078
38079 #undef $ac_func
38080
38081 /* Override any gcc2 internal prototype to avoid an error. */
38082 #ifdef __cplusplus
38083 extern "C"
38084 {
38085 #endif
38086 /* We use char because int might match the return type of a gcc2
38087 builtin and then its argument prototype would still apply. */
38088 char $ac_func ();
38089 /* The GNU C library defines this for functions which it implements
38090 to always fail with ENOSYS. Some functions are actually named
38091 something starting with __ and the normal name is an alias. */
38092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38093 choke me
38094 #else
38095 char (*f) () = $ac_func;
38096 #endif
38097 #ifdef __cplusplus
38098 }
38099 #endif
38100
38101 int
38102 main ()
38103 {
38104 return f != $ac_func;
38105 ;
38106 return 0;
38107 }
38108 _ACEOF
38109 rm -f conftest.$ac_objext conftest$ac_exeext
38110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38111 (eval $ac_link) 2>conftest.er1
38112 ac_status=$?
38113 grep -v '^ *+' conftest.er1 >conftest.err
38114 rm -f conftest.er1
38115 cat conftest.err >&5
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); } &&
38118 { ac_try='test -z "$ac_c_werror_flag"
38119 || test ! -s conftest.err'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; } &&
38125 { ac_try='test -s conftest$ac_exeext'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; }; then
38131 eval "$as_ac_var=yes"
38132 else
38133 echo "$as_me: failed program was:" >&5
38134 sed 's/^/| /' conftest.$ac_ext >&5
38135
38136 eval "$as_ac_var=no"
38137 fi
38138 rm -f conftest.err conftest.$ac_objext \
38139 conftest$ac_exeext conftest.$ac_ext
38140 fi
38141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38143 if test `eval echo '${'$as_ac_var'}'` = yes; then
38144 cat >>confdefs.h <<_ACEOF
38145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38146 _ACEOF
38147
38148 fi
38149 done
38150
38151 else
38152
38153 echo "$as_me:$LINENO: checking for _modff declaration" >&5
38154 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
38155 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38156 if test "${glibcxx_cv_func__modff_use+set}" = set; then
38157 echo $ECHO_N "(cached) $ECHO_C" >&6
38158 else
38159
38160
38161
38162 ac_ext=cc
38163 ac_cpp='$CXXCPP $CPPFLAGS'
38164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38167
38168 cat >conftest.$ac_ext <<_ACEOF
38169 /* confdefs.h. */
38170 _ACEOF
38171 cat confdefs.h >>conftest.$ac_ext
38172 cat >>conftest.$ac_ext <<_ACEOF
38173 /* end confdefs.h. */
38174 #include <math.h>
38175 int
38176 main ()
38177 {
38178 _modff(0, 0);
38179 ;
38180 return 0;
38181 }
38182 _ACEOF
38183 rm -f conftest.$ac_objext
38184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38185 (eval $ac_compile) 2>conftest.er1
38186 ac_status=$?
38187 grep -v '^ *+' conftest.er1 >conftest.err
38188 rm -f conftest.er1
38189 cat conftest.err >&5
38190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38191 (exit $ac_status); } &&
38192 { ac_try='test -z "$ac_cxx_werror_flag"
38193 || test ! -s conftest.err'
38194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38195 (eval $ac_try) 2>&5
38196 ac_status=$?
38197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38198 (exit $ac_status); }; } &&
38199 { ac_try='test -s conftest.$ac_objext'
38200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38201 (eval $ac_try) 2>&5
38202 ac_status=$?
38203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38204 (exit $ac_status); }; }; then
38205 glibcxx_cv_func__modff_use=yes
38206 else
38207 echo "$as_me: failed program was:" >&5
38208 sed 's/^/| /' conftest.$ac_ext >&5
38209
38210 glibcxx_cv_func__modff_use=no
38211 fi
38212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38213 ac_ext=c
38214 ac_cpp='$CPP $CPPFLAGS'
38215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38218
38219
38220 fi
38221
38222 fi
38223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
38224 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
38225
38226 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38227
38228 for ac_func in _modff
38229 do
38230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38231 echo "$as_me:$LINENO: checking for $ac_func" >&5
38232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38233 if eval "test \"\${$as_ac_var+set}\" = set"; then
38234 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 else
38236 if test x$gcc_no_link = xyes; then
38237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38239 { (exit 1); exit 1; }; }
38240 fi
38241 cat >conftest.$ac_ext <<_ACEOF
38242 /* confdefs.h. */
38243 _ACEOF
38244 cat confdefs.h >>conftest.$ac_ext
38245 cat >>conftest.$ac_ext <<_ACEOF
38246 /* end confdefs.h. */
38247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38249 #define $ac_func innocuous_$ac_func
38250
38251 /* System header to define __stub macros and hopefully few prototypes,
38252 which can conflict with char $ac_func (); below.
38253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38254 <limits.h> exists even on freestanding compilers. */
38255
38256 #ifdef __STDC__
38257 # include <limits.h>
38258 #else
38259 # include <assert.h>
38260 #endif
38261
38262 #undef $ac_func
38263
38264 /* Override any gcc2 internal prototype to avoid an error. */
38265 #ifdef __cplusplus
38266 extern "C"
38267 {
38268 #endif
38269 /* We use char because int might match the return type of a gcc2
38270 builtin and then its argument prototype would still apply. */
38271 char $ac_func ();
38272 /* The GNU C library defines this for functions which it implements
38273 to always fail with ENOSYS. Some functions are actually named
38274 something starting with __ and the normal name is an alias. */
38275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38276 choke me
38277 #else
38278 char (*f) () = $ac_func;
38279 #endif
38280 #ifdef __cplusplus
38281 }
38282 #endif
38283
38284 int
38285 main ()
38286 {
38287 return f != $ac_func;
38288 ;
38289 return 0;
38290 }
38291 _ACEOF
38292 rm -f conftest.$ac_objext conftest$ac_exeext
38293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38294 (eval $ac_link) 2>conftest.er1
38295 ac_status=$?
38296 grep -v '^ *+' conftest.er1 >conftest.err
38297 rm -f conftest.er1
38298 cat conftest.err >&5
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); } &&
38301 { ac_try='test -z "$ac_c_werror_flag"
38302 || test ! -s conftest.err'
38303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38304 (eval $ac_try) 2>&5
38305 ac_status=$?
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); }; } &&
38308 { ac_try='test -s conftest$ac_exeext'
38309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38310 (eval $ac_try) 2>&5
38311 ac_status=$?
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); }; }; then
38314 eval "$as_ac_var=yes"
38315 else
38316 echo "$as_me: failed program was:" >&5
38317 sed 's/^/| /' conftest.$ac_ext >&5
38318
38319 eval "$as_ac_var=no"
38320 fi
38321 rm -f conftest.err conftest.$ac_objext \
38322 conftest$ac_exeext conftest.$ac_ext
38323 fi
38324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38326 if test `eval echo '${'$as_ac_var'}'` = yes; then
38327 cat >>confdefs.h <<_ACEOF
38328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38329 _ACEOF
38330
38331 fi
38332 done
38333
38334 fi
38335 fi
38336
38337
38338
38339 echo "$as_me:$LINENO: checking for powf declaration" >&5
38340 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
38341 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38342 if test "${glibcxx_cv_func_powf_use+set}" = set; then
38343 echo $ECHO_N "(cached) $ECHO_C" >&6
38344 else
38345
38346
38347
38348 ac_ext=cc
38349 ac_cpp='$CXXCPP $CPPFLAGS'
38350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38353
38354 cat >conftest.$ac_ext <<_ACEOF
38355 /* confdefs.h. */
38356 _ACEOF
38357 cat confdefs.h >>conftest.$ac_ext
38358 cat >>conftest.$ac_ext <<_ACEOF
38359 /* end confdefs.h. */
38360 #include <math.h>
38361 int
38362 main ()
38363 {
38364 powf(0, 0);
38365 ;
38366 return 0;
38367 }
38368 _ACEOF
38369 rm -f conftest.$ac_objext
38370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38371 (eval $ac_compile) 2>conftest.er1
38372 ac_status=$?
38373 grep -v '^ *+' conftest.er1 >conftest.err
38374 rm -f conftest.er1
38375 cat conftest.err >&5
38376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38377 (exit $ac_status); } &&
38378 { ac_try='test -z "$ac_cxx_werror_flag"
38379 || test ! -s conftest.err'
38380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38381 (eval $ac_try) 2>&5
38382 ac_status=$?
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); }; } &&
38385 { ac_try='test -s conftest.$ac_objext'
38386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38387 (eval $ac_try) 2>&5
38388 ac_status=$?
38389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38390 (exit $ac_status); }; }; then
38391 glibcxx_cv_func_powf_use=yes
38392 else
38393 echo "$as_me: failed program was:" >&5
38394 sed 's/^/| /' conftest.$ac_ext >&5
38395
38396 glibcxx_cv_func_powf_use=no
38397 fi
38398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38399 ac_ext=c
38400 ac_cpp='$CPP $CPPFLAGS'
38401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38404
38405
38406 fi
38407
38408 fi
38409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
38410 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
38411
38412 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38413
38414 for ac_func in powf
38415 do
38416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38417 echo "$as_me:$LINENO: checking for $ac_func" >&5
38418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38419 if eval "test \"\${$as_ac_var+set}\" = set"; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38421 else
38422 if test x$gcc_no_link = xyes; then
38423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38425 { (exit 1); exit 1; }; }
38426 fi
38427 cat >conftest.$ac_ext <<_ACEOF
38428 /* confdefs.h. */
38429 _ACEOF
38430 cat confdefs.h >>conftest.$ac_ext
38431 cat >>conftest.$ac_ext <<_ACEOF
38432 /* end confdefs.h. */
38433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38435 #define $ac_func innocuous_$ac_func
38436
38437 /* System header to define __stub macros and hopefully few prototypes,
38438 which can conflict with char $ac_func (); below.
38439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38440 <limits.h> exists even on freestanding compilers. */
38441
38442 #ifdef __STDC__
38443 # include <limits.h>
38444 #else
38445 # include <assert.h>
38446 #endif
38447
38448 #undef $ac_func
38449
38450 /* Override any gcc2 internal prototype to avoid an error. */
38451 #ifdef __cplusplus
38452 extern "C"
38453 {
38454 #endif
38455 /* We use char because int might match the return type of a gcc2
38456 builtin and then its argument prototype would still apply. */
38457 char $ac_func ();
38458 /* The GNU C library defines this for functions which it implements
38459 to always fail with ENOSYS. Some functions are actually named
38460 something starting with __ and the normal name is an alias. */
38461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38462 choke me
38463 #else
38464 char (*f) () = $ac_func;
38465 #endif
38466 #ifdef __cplusplus
38467 }
38468 #endif
38469
38470 int
38471 main ()
38472 {
38473 return f != $ac_func;
38474 ;
38475 return 0;
38476 }
38477 _ACEOF
38478 rm -f conftest.$ac_objext conftest$ac_exeext
38479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38480 (eval $ac_link) 2>conftest.er1
38481 ac_status=$?
38482 grep -v '^ *+' conftest.er1 >conftest.err
38483 rm -f conftest.er1
38484 cat conftest.err >&5
38485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38486 (exit $ac_status); } &&
38487 { ac_try='test -z "$ac_c_werror_flag"
38488 || test ! -s conftest.err'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; } &&
38494 { ac_try='test -s conftest$ac_exeext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38497 ac_status=$?
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 eval "$as_ac_var=yes"
38501 else
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38504
38505 eval "$as_ac_var=no"
38506 fi
38507 rm -f conftest.err conftest.$ac_objext \
38508 conftest$ac_exeext conftest.$ac_ext
38509 fi
38510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38512 if test `eval echo '${'$as_ac_var'}'` = yes; then
38513 cat >>confdefs.h <<_ACEOF
38514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38515 _ACEOF
38516
38517 fi
38518 done
38519
38520 else
38521
38522 echo "$as_me:$LINENO: checking for _powf declaration" >&5
38523 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
38524 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38525 if test "${glibcxx_cv_func__powf_use+set}" = set; then
38526 echo $ECHO_N "(cached) $ECHO_C" >&6
38527 else
38528
38529
38530
38531 ac_ext=cc
38532 ac_cpp='$CXXCPP $CPPFLAGS'
38533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38536
38537 cat >conftest.$ac_ext <<_ACEOF
38538 /* confdefs.h. */
38539 _ACEOF
38540 cat confdefs.h >>conftest.$ac_ext
38541 cat >>conftest.$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 #include <math.h>
38544 int
38545 main ()
38546 {
38547 _powf(0, 0);
38548 ;
38549 return 0;
38550 }
38551 _ACEOF
38552 rm -f conftest.$ac_objext
38553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38554 (eval $ac_compile) 2>conftest.er1
38555 ac_status=$?
38556 grep -v '^ *+' conftest.er1 >conftest.err
38557 rm -f conftest.er1
38558 cat conftest.err >&5
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); } &&
38561 { ac_try='test -z "$ac_cxx_werror_flag"
38562 || test ! -s conftest.err'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38565 ac_status=$?
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; } &&
38568 { ac_try='test -s conftest.$ac_objext'
38569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38570 (eval $ac_try) 2>&5
38571 ac_status=$?
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); }; }; then
38574 glibcxx_cv_func__powf_use=yes
38575 else
38576 echo "$as_me: failed program was:" >&5
38577 sed 's/^/| /' conftest.$ac_ext >&5
38578
38579 glibcxx_cv_func__powf_use=no
38580 fi
38581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38582 ac_ext=c
38583 ac_cpp='$CPP $CPPFLAGS'
38584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38587
38588
38589 fi
38590
38591 fi
38592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
38593 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
38594
38595 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38596
38597 for ac_func in _powf
38598 do
38599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38600 echo "$as_me:$LINENO: checking for $ac_func" >&5
38601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38602 if eval "test \"\${$as_ac_var+set}\" = set"; then
38603 echo $ECHO_N "(cached) $ECHO_C" >&6
38604 else
38605 if test x$gcc_no_link = xyes; then
38606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38608 { (exit 1); exit 1; }; }
38609 fi
38610 cat >conftest.$ac_ext <<_ACEOF
38611 /* confdefs.h. */
38612 _ACEOF
38613 cat confdefs.h >>conftest.$ac_ext
38614 cat >>conftest.$ac_ext <<_ACEOF
38615 /* end confdefs.h. */
38616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38618 #define $ac_func innocuous_$ac_func
38619
38620 /* System header to define __stub macros and hopefully few prototypes,
38621 which can conflict with char $ac_func (); below.
38622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38623 <limits.h> exists even on freestanding compilers. */
38624
38625 #ifdef __STDC__
38626 # include <limits.h>
38627 #else
38628 # include <assert.h>
38629 #endif
38630
38631 #undef $ac_func
38632
38633 /* Override any gcc2 internal prototype to avoid an error. */
38634 #ifdef __cplusplus
38635 extern "C"
38636 {
38637 #endif
38638 /* We use char because int might match the return type of a gcc2
38639 builtin and then its argument prototype would still apply. */
38640 char $ac_func ();
38641 /* The GNU C library defines this for functions which it implements
38642 to always fail with ENOSYS. Some functions are actually named
38643 something starting with __ and the normal name is an alias. */
38644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38645 choke me
38646 #else
38647 char (*f) () = $ac_func;
38648 #endif
38649 #ifdef __cplusplus
38650 }
38651 #endif
38652
38653 int
38654 main ()
38655 {
38656 return f != $ac_func;
38657 ;
38658 return 0;
38659 }
38660 _ACEOF
38661 rm -f conftest.$ac_objext conftest$ac_exeext
38662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38663 (eval $ac_link) 2>conftest.er1
38664 ac_status=$?
38665 grep -v '^ *+' conftest.er1 >conftest.err
38666 rm -f conftest.er1
38667 cat conftest.err >&5
38668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38669 (exit $ac_status); } &&
38670 { ac_try='test -z "$ac_c_werror_flag"
38671 || test ! -s conftest.err'
38672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38673 (eval $ac_try) 2>&5
38674 ac_status=$?
38675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38676 (exit $ac_status); }; } &&
38677 { ac_try='test -s conftest$ac_exeext'
38678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38679 (eval $ac_try) 2>&5
38680 ac_status=$?
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); }; }; then
38683 eval "$as_ac_var=yes"
38684 else
38685 echo "$as_me: failed program was:" >&5
38686 sed 's/^/| /' conftest.$ac_ext >&5
38687
38688 eval "$as_ac_var=no"
38689 fi
38690 rm -f conftest.err conftest.$ac_objext \
38691 conftest$ac_exeext conftest.$ac_ext
38692 fi
38693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38695 if test `eval echo '${'$as_ac_var'}'` = yes; then
38696 cat >>confdefs.h <<_ACEOF
38697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38698 _ACEOF
38699
38700 fi
38701 done
38702
38703 fi
38704 fi
38705
38706
38707
38708 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
38709 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
38710 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38711 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38714
38715
38716
38717 ac_ext=cc
38718 ac_cpp='$CXXCPP $CPPFLAGS'
38719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38722
38723 cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h. */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h. */
38729 #include <math.h>
38730 #ifdef HAVE_IEEEFP_H
38731 #include <ieeefp.h>
38732 #endif
38733
38734 int
38735 main ()
38736 {
38737 sqrtf(0);
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 rm -f conftest.$ac_objext
38743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38744 (eval $ac_compile) 2>conftest.er1
38745 ac_status=$?
38746 grep -v '^ *+' conftest.er1 >conftest.err
38747 rm -f conftest.er1
38748 cat conftest.err >&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); } &&
38751 { ac_try='test -z "$ac_cxx_werror_flag"
38752 || test ! -s conftest.err'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38755 ac_status=$?
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; } &&
38758 { ac_try='test -s conftest.$ac_objext'
38759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38760 (eval $ac_try) 2>&5
38761 ac_status=$?
38762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38763 (exit $ac_status); }; }; then
38764 glibcxx_cv_func_sqrtf_use=yes
38765 else
38766 echo "$as_me: failed program was:" >&5
38767 sed 's/^/| /' conftest.$ac_ext >&5
38768
38769 glibcxx_cv_func_sqrtf_use=no
38770 fi
38771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38772 ac_ext=c
38773 ac_cpp='$CPP $CPPFLAGS'
38774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38777
38778
38779 fi
38780
38781 fi
38782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
38783 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
38784
38785 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38786
38787 for ac_func in sqrtf
38788 do
38789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38790 echo "$as_me:$LINENO: checking for $ac_func" >&5
38791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38792 if eval "test \"\${$as_ac_var+set}\" = set"; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795 if test x$gcc_no_link = xyes; then
38796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38798 { (exit 1); exit 1; }; }
38799 fi
38800 cat >conftest.$ac_ext <<_ACEOF
38801 /* confdefs.h. */
38802 _ACEOF
38803 cat confdefs.h >>conftest.$ac_ext
38804 cat >>conftest.$ac_ext <<_ACEOF
38805 /* end confdefs.h. */
38806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38808 #define $ac_func innocuous_$ac_func
38809
38810 /* System header to define __stub macros and hopefully few prototypes,
38811 which can conflict with char $ac_func (); below.
38812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38813 <limits.h> exists even on freestanding compilers. */
38814
38815 #ifdef __STDC__
38816 # include <limits.h>
38817 #else
38818 # include <assert.h>
38819 #endif
38820
38821 #undef $ac_func
38822
38823 /* Override any gcc2 internal prototype to avoid an error. */
38824 #ifdef __cplusplus
38825 extern "C"
38826 {
38827 #endif
38828 /* We use char because int might match the return type of a gcc2
38829 builtin and then its argument prototype would still apply. */
38830 char $ac_func ();
38831 /* The GNU C library defines this for functions which it implements
38832 to always fail with ENOSYS. Some functions are actually named
38833 something starting with __ and the normal name is an alias. */
38834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38835 choke me
38836 #else
38837 char (*f) () = $ac_func;
38838 #endif
38839 #ifdef __cplusplus
38840 }
38841 #endif
38842
38843 int
38844 main ()
38845 {
38846 return f != $ac_func;
38847 ;
38848 return 0;
38849 }
38850 _ACEOF
38851 rm -f conftest.$ac_objext conftest$ac_exeext
38852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38853 (eval $ac_link) 2>conftest.er1
38854 ac_status=$?
38855 grep -v '^ *+' conftest.er1 >conftest.err
38856 rm -f conftest.er1
38857 cat conftest.err >&5
38858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38859 (exit $ac_status); } &&
38860 { ac_try='test -z "$ac_c_werror_flag"
38861 || test ! -s conftest.err'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38864 ac_status=$?
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; } &&
38867 { ac_try='test -s conftest$ac_exeext'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; }; then
38873 eval "$as_ac_var=yes"
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38877
38878 eval "$as_ac_var=no"
38879 fi
38880 rm -f conftest.err conftest.$ac_objext \
38881 conftest$ac_exeext conftest.$ac_ext
38882 fi
38883 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38884 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38885 if test `eval echo '${'$as_ac_var'}'` = yes; then
38886 cat >>confdefs.h <<_ACEOF
38887 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38888 _ACEOF
38889
38890 fi
38891 done
38892
38893 else
38894
38895 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
38896 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
38897 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38898 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
38899 echo $ECHO_N "(cached) $ECHO_C" >&6
38900 else
38901
38902
38903
38904 ac_ext=cc
38905 ac_cpp='$CXXCPP $CPPFLAGS'
38906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38909
38910 cat >conftest.$ac_ext <<_ACEOF
38911 /* confdefs.h. */
38912 _ACEOF
38913 cat confdefs.h >>conftest.$ac_ext
38914 cat >>conftest.$ac_ext <<_ACEOF
38915 /* end confdefs.h. */
38916 #include <math.h>
38917 #ifdef HAVE_IEEEFP_H
38918 #include <ieeefp.h>
38919 #endif
38920
38921 int
38922 main ()
38923 {
38924 _sqrtf(0);
38925 ;
38926 return 0;
38927 }
38928 _ACEOF
38929 rm -f conftest.$ac_objext
38930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38931 (eval $ac_compile) 2>conftest.er1
38932 ac_status=$?
38933 grep -v '^ *+' conftest.er1 >conftest.err
38934 rm -f conftest.er1
38935 cat conftest.err >&5
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); } &&
38938 { ac_try='test -z "$ac_cxx_werror_flag"
38939 || test ! -s conftest.err'
38940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38941 (eval $ac_try) 2>&5
38942 ac_status=$?
38943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38944 (exit $ac_status); }; } &&
38945 { ac_try='test -s conftest.$ac_objext'
38946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38947 (eval $ac_try) 2>&5
38948 ac_status=$?
38949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38950 (exit $ac_status); }; }; then
38951 glibcxx_cv_func__sqrtf_use=yes
38952 else
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.$ac_ext >&5
38955
38956 glibcxx_cv_func__sqrtf_use=no
38957 fi
38958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38959 ac_ext=c
38960 ac_cpp='$CPP $CPPFLAGS'
38961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38964
38965
38966 fi
38967
38968 fi
38969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
38970 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
38971
38972 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38973
38974 for ac_func in _sqrtf
38975 do
38976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38977 echo "$as_me:$LINENO: checking for $ac_func" >&5
38978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38979 if eval "test \"\${$as_ac_var+set}\" = set"; then
38980 echo $ECHO_N "(cached) $ECHO_C" >&6
38981 else
38982 if test x$gcc_no_link = xyes; then
38983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38985 { (exit 1); exit 1; }; }
38986 fi
38987 cat >conftest.$ac_ext <<_ACEOF
38988 /* confdefs.h. */
38989 _ACEOF
38990 cat confdefs.h >>conftest.$ac_ext
38991 cat >>conftest.$ac_ext <<_ACEOF
38992 /* end confdefs.h. */
38993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38995 #define $ac_func innocuous_$ac_func
38996
38997 /* System header to define __stub macros and hopefully few prototypes,
38998 which can conflict with char $ac_func (); below.
38999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39000 <limits.h> exists even on freestanding compilers. */
39001
39002 #ifdef __STDC__
39003 # include <limits.h>
39004 #else
39005 # include <assert.h>
39006 #endif
39007
39008 #undef $ac_func
39009
39010 /* Override any gcc2 internal prototype to avoid an error. */
39011 #ifdef __cplusplus
39012 extern "C"
39013 {
39014 #endif
39015 /* We use char because int might match the return type of a gcc2
39016 builtin and then its argument prototype would still apply. */
39017 char $ac_func ();
39018 /* The GNU C library defines this for functions which it implements
39019 to always fail with ENOSYS. Some functions are actually named
39020 something starting with __ and the normal name is an alias. */
39021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39022 choke me
39023 #else
39024 char (*f) () = $ac_func;
39025 #endif
39026 #ifdef __cplusplus
39027 }
39028 #endif
39029
39030 int
39031 main ()
39032 {
39033 return f != $ac_func;
39034 ;
39035 return 0;
39036 }
39037 _ACEOF
39038 rm -f conftest.$ac_objext conftest$ac_exeext
39039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39040 (eval $ac_link) 2>conftest.er1
39041 ac_status=$?
39042 grep -v '^ *+' conftest.er1 >conftest.err
39043 rm -f conftest.er1
39044 cat conftest.err >&5
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); } &&
39047 { ac_try='test -z "$ac_c_werror_flag"
39048 || test ! -s conftest.err'
39049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39050 (eval $ac_try) 2>&5
39051 ac_status=$?
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); }; } &&
39054 { ac_try='test -s conftest$ac_exeext'
39055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39056 (eval $ac_try) 2>&5
39057 ac_status=$?
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); }; }; then
39060 eval "$as_ac_var=yes"
39061 else
39062 echo "$as_me: failed program was:" >&5
39063 sed 's/^/| /' conftest.$ac_ext >&5
39064
39065 eval "$as_ac_var=no"
39066 fi
39067 rm -f conftest.err conftest.$ac_objext \
39068 conftest$ac_exeext conftest.$ac_ext
39069 fi
39070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39072 if test `eval echo '${'$as_ac_var'}'` = yes; then
39073 cat >>confdefs.h <<_ACEOF
39074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39075 _ACEOF
39076
39077 fi
39078 done
39079
39080 fi
39081 fi
39082
39083
39084
39085 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
39086 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
39087 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39088 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
39089 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 else
39091
39092
39093
39094 ac_ext=cc
39095 ac_cpp='$CXXCPP $CPPFLAGS'
39096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39099
39100 cat >conftest.$ac_ext <<_ACEOF
39101 /* confdefs.h. */
39102 _ACEOF
39103 cat confdefs.h >>conftest.$ac_ext
39104 cat >>conftest.$ac_ext <<_ACEOF
39105 /* end confdefs.h. */
39106 #include <math.h>
39107 int
39108 main ()
39109 {
39110 sincosf(0, 0, 0);
39111 ;
39112 return 0;
39113 }
39114 _ACEOF
39115 rm -f conftest.$ac_objext
39116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39117 (eval $ac_compile) 2>conftest.er1
39118 ac_status=$?
39119 grep -v '^ *+' conftest.er1 >conftest.err
39120 rm -f conftest.er1
39121 cat conftest.err >&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } &&
39124 { ac_try='test -z "$ac_cxx_werror_flag"
39125 || test ! -s conftest.err'
39126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39127 (eval $ac_try) 2>&5
39128 ac_status=$?
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); }; } &&
39131 { ac_try='test -s conftest.$ac_objext'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39134 ac_status=$?
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; }; then
39137 glibcxx_cv_func_sincosf_use=yes
39138 else
39139 echo "$as_me: failed program was:" >&5
39140 sed 's/^/| /' conftest.$ac_ext >&5
39141
39142 glibcxx_cv_func_sincosf_use=no
39143 fi
39144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39145 ac_ext=c
39146 ac_cpp='$CPP $CPPFLAGS'
39147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39150
39151
39152 fi
39153
39154 fi
39155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
39156 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
39157
39158 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39159
39160 for ac_func in sincosf
39161 do
39162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39163 echo "$as_me:$LINENO: checking for $ac_func" >&5
39164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39165 if eval "test \"\${$as_ac_var+set}\" = set"; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 if test x$gcc_no_link = xyes; then
39169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39171 { (exit 1); exit 1; }; }
39172 fi
39173 cat >conftest.$ac_ext <<_ACEOF
39174 /* confdefs.h. */
39175 _ACEOF
39176 cat confdefs.h >>conftest.$ac_ext
39177 cat >>conftest.$ac_ext <<_ACEOF
39178 /* end confdefs.h. */
39179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39181 #define $ac_func innocuous_$ac_func
39182
39183 /* System header to define __stub macros and hopefully few prototypes,
39184 which can conflict with char $ac_func (); below.
39185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39186 <limits.h> exists even on freestanding compilers. */
39187
39188 #ifdef __STDC__
39189 # include <limits.h>
39190 #else
39191 # include <assert.h>
39192 #endif
39193
39194 #undef $ac_func
39195
39196 /* Override any gcc2 internal prototype to avoid an error. */
39197 #ifdef __cplusplus
39198 extern "C"
39199 {
39200 #endif
39201 /* We use char because int might match the return type of a gcc2
39202 builtin and then its argument prototype would still apply. */
39203 char $ac_func ();
39204 /* The GNU C library defines this for functions which it implements
39205 to always fail with ENOSYS. Some functions are actually named
39206 something starting with __ and the normal name is an alias. */
39207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39208 choke me
39209 #else
39210 char (*f) () = $ac_func;
39211 #endif
39212 #ifdef __cplusplus
39213 }
39214 #endif
39215
39216 int
39217 main ()
39218 {
39219 return f != $ac_func;
39220 ;
39221 return 0;
39222 }
39223 _ACEOF
39224 rm -f conftest.$ac_objext conftest$ac_exeext
39225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39226 (eval $ac_link) 2>conftest.er1
39227 ac_status=$?
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } &&
39233 { ac_try='test -z "$ac_c_werror_flag"
39234 || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest$ac_exeext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246 eval "$as_ac_var=yes"
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39250
39251 eval "$as_ac_var=no"
39252 fi
39253 rm -f conftest.err conftest.$ac_objext \
39254 conftest$ac_exeext conftest.$ac_ext
39255 fi
39256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39258 if test `eval echo '${'$as_ac_var'}'` = yes; then
39259 cat >>confdefs.h <<_ACEOF
39260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39261 _ACEOF
39262
39263 fi
39264 done
39265
39266 else
39267
39268 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
39269 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
39270 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39271 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39274
39275
39276
39277 ac_ext=cc
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39282
39283 cat >conftest.$ac_ext <<_ACEOF
39284 /* confdefs.h. */
39285 _ACEOF
39286 cat confdefs.h >>conftest.$ac_ext
39287 cat >>conftest.$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39289 #include <math.h>
39290 int
39291 main ()
39292 {
39293 _sincosf(0, 0, 0);
39294 ;
39295 return 0;
39296 }
39297 _ACEOF
39298 rm -f conftest.$ac_objext
39299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39300 (eval $ac_compile) 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } &&
39307 { ac_try='test -z "$ac_cxx_werror_flag"
39308 || test ! -s conftest.err'
39309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39310 (eval $ac_try) 2>&5
39311 ac_status=$?
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); }; } &&
39314 { ac_try='test -s conftest.$ac_objext'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; }; then
39320 glibcxx_cv_func__sincosf_use=yes
39321 else
39322 echo "$as_me: failed program was:" >&5
39323 sed 's/^/| /' conftest.$ac_ext >&5
39324
39325 glibcxx_cv_func__sincosf_use=no
39326 fi
39327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39328 ac_ext=c
39329 ac_cpp='$CPP $CPPFLAGS'
39330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39333
39334
39335 fi
39336
39337 fi
39338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
39339 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
39340
39341 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39342
39343 for ac_func in _sincosf
39344 do
39345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39346 echo "$as_me:$LINENO: checking for $ac_func" >&5
39347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39348 if eval "test \"\${$as_ac_var+set}\" = set"; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 if test x$gcc_no_link = xyes; then
39352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39354 { (exit 1); exit 1; }; }
39355 fi
39356 cat >conftest.$ac_ext <<_ACEOF
39357 /* confdefs.h. */
39358 _ACEOF
39359 cat confdefs.h >>conftest.$ac_ext
39360 cat >>conftest.$ac_ext <<_ACEOF
39361 /* end confdefs.h. */
39362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39364 #define $ac_func innocuous_$ac_func
39365
39366 /* System header to define __stub macros and hopefully few prototypes,
39367 which can conflict with char $ac_func (); below.
39368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39369 <limits.h> exists even on freestanding compilers. */
39370
39371 #ifdef __STDC__
39372 # include <limits.h>
39373 #else
39374 # include <assert.h>
39375 #endif
39376
39377 #undef $ac_func
39378
39379 /* Override any gcc2 internal prototype to avoid an error. */
39380 #ifdef __cplusplus
39381 extern "C"
39382 {
39383 #endif
39384 /* We use char because int might match the return type of a gcc2
39385 builtin and then its argument prototype would still apply. */
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39391 choke me
39392 #else
39393 char (*f) () = $ac_func;
39394 #endif
39395 #ifdef __cplusplus
39396 }
39397 #endif
39398
39399 int
39400 main ()
39401 {
39402 return f != $ac_func;
39403 ;
39404 return 0;
39405 }
39406 _ACEOF
39407 rm -f conftest.$ac_objext conftest$ac_exeext
39408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39409 (eval $ac_link) 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } &&
39416 { ac_try='test -z "$ac_c_werror_flag"
39417 || test ! -s conftest.err'
39418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39419 (eval $ac_try) 2>&5
39420 ac_status=$?
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); }; } &&
39423 { ac_try='test -s conftest$ac_exeext'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39426 ac_status=$?
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; }; then
39429 eval "$as_ac_var=yes"
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39433
39434 eval "$as_ac_var=no"
39435 fi
39436 rm -f conftest.err conftest.$ac_objext \
39437 conftest$ac_exeext conftest.$ac_ext
39438 fi
39439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39441 if test `eval echo '${'$as_ac_var'}'` = yes; then
39442 cat >>confdefs.h <<_ACEOF
39443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39444 _ACEOF
39445
39446 fi
39447 done
39448
39449 fi
39450 fi
39451
39452
39453
39454 echo "$as_me:$LINENO: checking for finitef declaration" >&5
39455 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
39456 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39457 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
39458 echo $ECHO_N "(cached) $ECHO_C" >&6
39459 else
39460
39461
39462
39463 ac_ext=cc
39464 ac_cpp='$CXXCPP $CPPFLAGS'
39465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39468
39469 cat >conftest.$ac_ext <<_ACEOF
39470 /* confdefs.h. */
39471 _ACEOF
39472 cat confdefs.h >>conftest.$ac_ext
39473 cat >>conftest.$ac_ext <<_ACEOF
39474 /* end confdefs.h. */
39475 #include <math.h>
39476 #ifdef HAVE_IEEEFP_H
39477 #include <ieeefp.h>
39478 #endif
39479
39480 int
39481 main ()
39482 {
39483 finitef(0);
39484 ;
39485 return 0;
39486 }
39487 _ACEOF
39488 rm -f conftest.$ac_objext
39489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39490 (eval $ac_compile) 2>conftest.er1
39491 ac_status=$?
39492 grep -v '^ *+' conftest.er1 >conftest.err
39493 rm -f conftest.er1
39494 cat conftest.err >&5
39495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39496 (exit $ac_status); } &&
39497 { ac_try='test -z "$ac_cxx_werror_flag"
39498 || test ! -s conftest.err'
39499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39500 (eval $ac_try) 2>&5
39501 ac_status=$?
39502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39503 (exit $ac_status); }; } &&
39504 { ac_try='test -s conftest.$ac_objext'
39505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39506 (eval $ac_try) 2>&5
39507 ac_status=$?
39508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39509 (exit $ac_status); }; }; then
39510 glibcxx_cv_func_finitef_use=yes
39511 else
39512 echo "$as_me: failed program was:" >&5
39513 sed 's/^/| /' conftest.$ac_ext >&5
39514
39515 glibcxx_cv_func_finitef_use=no
39516 fi
39517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39518 ac_ext=c
39519 ac_cpp='$CPP $CPPFLAGS'
39520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39523
39524
39525 fi
39526
39527 fi
39528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
39529 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
39530
39531 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39532
39533 for ac_func in finitef
39534 do
39535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39536 echo "$as_me:$LINENO: checking for $ac_func" >&5
39537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39538 if eval "test \"\${$as_ac_var+set}\" = set"; then
39539 echo $ECHO_N "(cached) $ECHO_C" >&6
39540 else
39541 if test x$gcc_no_link = xyes; then
39542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39544 { (exit 1); exit 1; }; }
39545 fi
39546 cat >conftest.$ac_ext <<_ACEOF
39547 /* confdefs.h. */
39548 _ACEOF
39549 cat confdefs.h >>conftest.$ac_ext
39550 cat >>conftest.$ac_ext <<_ACEOF
39551 /* end confdefs.h. */
39552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39554 #define $ac_func innocuous_$ac_func
39555
39556 /* System header to define __stub macros and hopefully few prototypes,
39557 which can conflict with char $ac_func (); below.
39558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39559 <limits.h> exists even on freestanding compilers. */
39560
39561 #ifdef __STDC__
39562 # include <limits.h>
39563 #else
39564 # include <assert.h>
39565 #endif
39566
39567 #undef $ac_func
39568
39569 /* Override any gcc2 internal prototype to avoid an error. */
39570 #ifdef __cplusplus
39571 extern "C"
39572 {
39573 #endif
39574 /* We use char because int might match the return type of a gcc2
39575 builtin and then its argument prototype would still apply. */
39576 char $ac_func ();
39577 /* The GNU C library defines this for functions which it implements
39578 to always fail with ENOSYS. Some functions are actually named
39579 something starting with __ and the normal name is an alias. */
39580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39581 choke me
39582 #else
39583 char (*f) () = $ac_func;
39584 #endif
39585 #ifdef __cplusplus
39586 }
39587 #endif
39588
39589 int
39590 main ()
39591 {
39592 return f != $ac_func;
39593 ;
39594 return 0;
39595 }
39596 _ACEOF
39597 rm -f conftest.$ac_objext conftest$ac_exeext
39598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39599 (eval $ac_link) 2>conftest.er1
39600 ac_status=$?
39601 grep -v '^ *+' conftest.er1 >conftest.err
39602 rm -f conftest.er1
39603 cat conftest.err >&5
39604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39605 (exit $ac_status); } &&
39606 { ac_try='test -z "$ac_c_werror_flag"
39607 || test ! -s conftest.err'
39608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39609 (eval $ac_try) 2>&5
39610 ac_status=$?
39611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39612 (exit $ac_status); }; } &&
39613 { ac_try='test -s conftest$ac_exeext'
39614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39615 (eval $ac_try) 2>&5
39616 ac_status=$?
39617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39618 (exit $ac_status); }; }; then
39619 eval "$as_ac_var=yes"
39620 else
39621 echo "$as_me: failed program was:" >&5
39622 sed 's/^/| /' conftest.$ac_ext >&5
39623
39624 eval "$as_ac_var=no"
39625 fi
39626 rm -f conftest.err conftest.$ac_objext \
39627 conftest$ac_exeext conftest.$ac_ext
39628 fi
39629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39631 if test `eval echo '${'$as_ac_var'}'` = yes; then
39632 cat >>confdefs.h <<_ACEOF
39633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39634 _ACEOF
39635
39636 fi
39637 done
39638
39639 else
39640
39641 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
39642 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
39643 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39644 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 else
39647
39648
39649
39650 ac_ext=cc
39651 ac_cpp='$CXXCPP $CPPFLAGS'
39652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39655
39656 cat >conftest.$ac_ext <<_ACEOF
39657 /* confdefs.h. */
39658 _ACEOF
39659 cat confdefs.h >>conftest.$ac_ext
39660 cat >>conftest.$ac_ext <<_ACEOF
39661 /* end confdefs.h. */
39662 #include <math.h>
39663 #ifdef HAVE_IEEEFP_H
39664 #include <ieeefp.h>
39665 #endif
39666
39667 int
39668 main ()
39669 {
39670 _finitef(0);
39671 ;
39672 return 0;
39673 }
39674 _ACEOF
39675 rm -f conftest.$ac_objext
39676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39677 (eval $ac_compile) 2>conftest.er1
39678 ac_status=$?
39679 grep -v '^ *+' conftest.er1 >conftest.err
39680 rm -f conftest.er1
39681 cat conftest.err >&5
39682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39683 (exit $ac_status); } &&
39684 { ac_try='test -z "$ac_cxx_werror_flag"
39685 || test ! -s conftest.err'
39686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39687 (eval $ac_try) 2>&5
39688 ac_status=$?
39689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39690 (exit $ac_status); }; } &&
39691 { ac_try='test -s conftest.$ac_objext'
39692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39693 (eval $ac_try) 2>&5
39694 ac_status=$?
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); }; }; then
39697 glibcxx_cv_func__finitef_use=yes
39698 else
39699 echo "$as_me: failed program was:" >&5
39700 sed 's/^/| /' conftest.$ac_ext >&5
39701
39702 glibcxx_cv_func__finitef_use=no
39703 fi
39704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39705 ac_ext=c
39706 ac_cpp='$CPP $CPPFLAGS'
39707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39710
39711
39712 fi
39713
39714 fi
39715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
39716 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
39717
39718 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39719
39720 for ac_func in _finitef
39721 do
39722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39723 echo "$as_me:$LINENO: checking for $ac_func" >&5
39724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39725 if eval "test \"\${$as_ac_var+set}\" = set"; then
39726 echo $ECHO_N "(cached) $ECHO_C" >&6
39727 else
39728 if test x$gcc_no_link = xyes; then
39729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39731 { (exit 1); exit 1; }; }
39732 fi
39733 cat >conftest.$ac_ext <<_ACEOF
39734 /* confdefs.h. */
39735 _ACEOF
39736 cat confdefs.h >>conftest.$ac_ext
39737 cat >>conftest.$ac_ext <<_ACEOF
39738 /* end confdefs.h. */
39739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39741 #define $ac_func innocuous_$ac_func
39742
39743 /* System header to define __stub macros and hopefully few prototypes,
39744 which can conflict with char $ac_func (); below.
39745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39746 <limits.h> exists even on freestanding compilers. */
39747
39748 #ifdef __STDC__
39749 # include <limits.h>
39750 #else
39751 # include <assert.h>
39752 #endif
39753
39754 #undef $ac_func
39755
39756 /* Override any gcc2 internal prototype to avoid an error. */
39757 #ifdef __cplusplus
39758 extern "C"
39759 {
39760 #endif
39761 /* We use char because int might match the return type of a gcc2
39762 builtin and then its argument prototype would still apply. */
39763 char $ac_func ();
39764 /* The GNU C library defines this for functions which it implements
39765 to always fail with ENOSYS. Some functions are actually named
39766 something starting with __ and the normal name is an alias. */
39767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39768 choke me
39769 #else
39770 char (*f) () = $ac_func;
39771 #endif
39772 #ifdef __cplusplus
39773 }
39774 #endif
39775
39776 int
39777 main ()
39778 {
39779 return f != $ac_func;
39780 ;
39781 return 0;
39782 }
39783 _ACEOF
39784 rm -f conftest.$ac_objext conftest$ac_exeext
39785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39786 (eval $ac_link) 2>conftest.er1
39787 ac_status=$?
39788 grep -v '^ *+' conftest.er1 >conftest.err
39789 rm -f conftest.er1
39790 cat conftest.err >&5
39791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39792 (exit $ac_status); } &&
39793 { ac_try='test -z "$ac_c_werror_flag"
39794 || test ! -s conftest.err'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39797 ac_status=$?
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; } &&
39800 { ac_try='test -s conftest$ac_exeext'
39801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39802 (eval $ac_try) 2>&5
39803 ac_status=$?
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); }; }; then
39806 eval "$as_ac_var=yes"
39807 else
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39810
39811 eval "$as_ac_var=no"
39812 fi
39813 rm -f conftest.err conftest.$ac_objext \
39814 conftest$ac_exeext conftest.$ac_ext
39815 fi
39816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39818 if test `eval echo '${'$as_ac_var'}'` = yes; then
39819 cat >>confdefs.h <<_ACEOF
39820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39821 _ACEOF
39822
39823 fi
39824 done
39825
39826 fi
39827 fi
39828
39829
39830
39831 echo "$as_me:$LINENO: checking for long double trig functions" >&5
39832 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
39833 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
39834 echo $ECHO_N "(cached) $ECHO_C" >&6
39835 else
39836
39837
39838
39839 ac_ext=cc
39840 ac_cpp='$CXXCPP $CPPFLAGS'
39841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39844
39845 cat >conftest.$ac_ext <<_ACEOF
39846 /* confdefs.h. */
39847 _ACEOF
39848 cat confdefs.h >>conftest.$ac_ext
39849 cat >>conftest.$ac_ext <<_ACEOF
39850 /* end confdefs.h. */
39851 #include <math.h>
39852 int
39853 main ()
39854 {
39855 `for x in acosl asinl atanl \
39856 cosl sinl tanl \
39857 coshl sinhl tanhl; do echo "$x (0);"; done`
39858 ;
39859 return 0;
39860 }
39861 _ACEOF
39862 rm -f conftest.$ac_objext
39863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39864 (eval $ac_compile) 2>conftest.er1
39865 ac_status=$?
39866 grep -v '^ *+' conftest.er1 >conftest.err
39867 rm -f conftest.er1
39868 cat conftest.err >&5
39869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39870 (exit $ac_status); } &&
39871 { ac_try='test -z "$ac_cxx_werror_flag"
39872 || test ! -s conftest.err'
39873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39874 (eval $ac_try) 2>&5
39875 ac_status=$?
39876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39877 (exit $ac_status); }; } &&
39878 { ac_try='test -s conftest.$ac_objext'
39879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39880 (eval $ac_try) 2>&5
39881 ac_status=$?
39882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39883 (exit $ac_status); }; }; then
39884 glibcxx_cv_func_long_double_trig_use=yes
39885 else
39886 echo "$as_me: failed program was:" >&5
39887 sed 's/^/| /' conftest.$ac_ext >&5
39888
39889 glibcxx_cv_func_long_double_trig_use=no
39890 fi
39891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_ext=c
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39897
39898 fi
39899
39900 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
39901 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
39902 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39903
39904
39905
39906
39907
39908
39909
39910
39911
39912 for ac_func in acosl asinl atanl \
39913 cosl sinl tanl \
39914 coshl sinhl tanhl
39915 do
39916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39917 echo "$as_me:$LINENO: checking for $ac_func" >&5
39918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39919 if eval "test \"\${$as_ac_var+set}\" = set"; then
39920 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 else
39922 if test x$gcc_no_link = xyes; then
39923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39925 { (exit 1); exit 1; }; }
39926 fi
39927 cat >conftest.$ac_ext <<_ACEOF
39928 /* confdefs.h. */
39929 _ACEOF
39930 cat confdefs.h >>conftest.$ac_ext
39931 cat >>conftest.$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39935 #define $ac_func innocuous_$ac_func
39936
39937 /* System header to define __stub macros and hopefully few prototypes,
39938 which can conflict with char $ac_func (); below.
39939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39940 <limits.h> exists even on freestanding compilers. */
39941
39942 #ifdef __STDC__
39943 # include <limits.h>
39944 #else
39945 # include <assert.h>
39946 #endif
39947
39948 #undef $ac_func
39949
39950 /* Override any gcc2 internal prototype to avoid an error. */
39951 #ifdef __cplusplus
39952 extern "C"
39953 {
39954 #endif
39955 /* We use char because int might match the return type of a gcc2
39956 builtin and then its argument prototype would still apply. */
39957 char $ac_func ();
39958 /* The GNU C library defines this for functions which it implements
39959 to always fail with ENOSYS. Some functions are actually named
39960 something starting with __ and the normal name is an alias. */
39961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39962 choke me
39963 #else
39964 char (*f) () = $ac_func;
39965 #endif
39966 #ifdef __cplusplus
39967 }
39968 #endif
39969
39970 int
39971 main ()
39972 {
39973 return f != $ac_func;
39974 ;
39975 return 0;
39976 }
39977 _ACEOF
39978 rm -f conftest.$ac_objext conftest$ac_exeext
39979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39980 (eval $ac_link) 2>conftest.er1
39981 ac_status=$?
39982 grep -v '^ *+' conftest.er1 >conftest.err
39983 rm -f conftest.er1
39984 cat conftest.err >&5
39985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39986 (exit $ac_status); } &&
39987 { ac_try='test -z "$ac_c_werror_flag"
39988 || test ! -s conftest.err'
39989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39990 (eval $ac_try) 2>&5
39991 ac_status=$?
39992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39993 (exit $ac_status); }; } &&
39994 { ac_try='test -s conftest$ac_exeext'
39995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39996 (eval $ac_try) 2>&5
39997 ac_status=$?
39998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39999 (exit $ac_status); }; }; then
40000 eval "$as_ac_var=yes"
40001 else
40002 echo "$as_me: failed program was:" >&5
40003 sed 's/^/| /' conftest.$ac_ext >&5
40004
40005 eval "$as_ac_var=no"
40006 fi
40007 rm -f conftest.err conftest.$ac_objext \
40008 conftest$ac_exeext conftest.$ac_ext
40009 fi
40010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40012 if test `eval echo '${'$as_ac_var'}'` = yes; then
40013 cat >>confdefs.h <<_ACEOF
40014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40015 _ACEOF
40016
40017 fi
40018 done
40019
40020 fi
40021
40022
40023 echo "$as_me:$LINENO: checking for long double round functions" >&5
40024 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40025 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40026 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 else
40028
40029
40030
40031 ac_ext=cc
40032 ac_cpp='$CXXCPP $CPPFLAGS'
40033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40036
40037 cat >conftest.$ac_ext <<_ACEOF
40038 /* confdefs.h. */
40039 _ACEOF
40040 cat confdefs.h >>conftest.$ac_ext
40041 cat >>conftest.$ac_ext <<_ACEOF
40042 /* end confdefs.h. */
40043 #include <math.h>
40044 int
40045 main ()
40046 {
40047 `for x in ceill floorl; do echo "$x (0);"; done`
40048 ;
40049 return 0;
40050 }
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054 (eval $ac_compile) 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } &&
40061 { ac_try='test -z "$ac_cxx_werror_flag"
40062 || test ! -s conftest.err'
40063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064 (eval $ac_try) 2>&5
40065 ac_status=$?
40066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067 (exit $ac_status); }; } &&
40068 { ac_try='test -s conftest.$ac_objext'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40071 ac_status=$?
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; }; then
40074 glibcxx_cv_func_long_double_round_use=yes
40075 else
40076 echo "$as_me: failed program was:" >&5
40077 sed 's/^/| /' conftest.$ac_ext >&5
40078
40079 glibcxx_cv_func_long_double_round_use=no
40080 fi
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40082 ac_ext=c
40083 ac_cpp='$CPP $CPPFLAGS'
40084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40087
40088 fi
40089
40090 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
40091 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
40092 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
40093
40094
40095 for ac_func in ceill floorl
40096 do
40097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 echo "$as_me:$LINENO: checking for $ac_func" >&5
40099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40100 if eval "test \"\${$as_ac_var+set}\" = set"; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103 if test x$gcc_no_link = xyes; then
40104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40106 { (exit 1); exit 1; }; }
40107 fi
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define $ac_func innocuous_$ac_func
40117
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char $ac_func (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40122
40123 #ifdef __STDC__
40124 # include <limits.h>
40125 #else
40126 # include <assert.h>
40127 #endif
40128
40129 #undef $ac_func
40130
40131 /* Override any gcc2 internal prototype to avoid an error. */
40132 #ifdef __cplusplus
40133 extern "C"
40134 {
40135 #endif
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char $ac_func ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40143 choke me
40144 #else
40145 char (*f) () = $ac_func;
40146 #endif
40147 #ifdef __cplusplus
40148 }
40149 #endif
40150
40151 int
40152 main ()
40153 {
40154 return f != $ac_func;
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_c_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 eval "$as_ac_var=yes"
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40185
40186 eval "$as_ac_var=no"
40187 fi
40188 rm -f conftest.err conftest.$ac_objext \
40189 conftest$ac_exeext conftest.$ac_ext
40190 fi
40191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40193 if test `eval echo '${'$as_ac_var'}'` = yes; then
40194 cat >>confdefs.h <<_ACEOF
40195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40196 _ACEOF
40197
40198 fi
40199 done
40200
40201 fi
40202
40203
40204
40205 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
40206 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
40207 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
40208 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
40209 echo $ECHO_N "(cached) $ECHO_C" >&6
40210 else
40211
40212
40213
40214 ac_ext=cc
40215 ac_cpp='$CXXCPP $CPPFLAGS'
40216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40219
40220 cat >conftest.$ac_ext <<_ACEOF
40221 /* confdefs.h. */
40222 _ACEOF
40223 cat confdefs.h >>conftest.$ac_ext
40224 cat >>conftest.$ac_ext <<_ACEOF
40225 /* end confdefs.h. */
40226 #include <math.h>
40227 #ifdef HAVE_IEEEFP_H
40228 #include <ieeefp.h>
40229 #endif
40230
40231 int
40232 main ()
40233 {
40234 isnanl(0);
40235 ;
40236 return 0;
40237 }
40238 _ACEOF
40239 rm -f conftest.$ac_objext
40240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40241 (eval $ac_compile) 2>conftest.er1
40242 ac_status=$?
40243 grep -v '^ *+' conftest.er1 >conftest.err
40244 rm -f conftest.er1
40245 cat conftest.err >&5
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); } &&
40248 { ac_try='test -z "$ac_cxx_werror_flag"
40249 || test ! -s conftest.err'
40250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40251 (eval $ac_try) 2>&5
40252 ac_status=$?
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); }; } &&
40255 { ac_try='test -s conftest.$ac_objext'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; }; then
40261 glibcxx_cv_func_isnanl_use=yes
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40265
40266 glibcxx_cv_func_isnanl_use=no
40267 fi
40268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40269 ac_ext=c
40270 ac_cpp='$CPP $CPPFLAGS'
40271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40274
40275
40276 fi
40277
40278 fi
40279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
40280 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
40281
40282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
40283
40284 for ac_func in isnanl
40285 do
40286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40287 echo "$as_me:$LINENO: checking for $ac_func" >&5
40288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40289 if eval "test \"\${$as_ac_var+set}\" = set"; then
40290 echo $ECHO_N "(cached) $ECHO_C" >&6
40291 else
40292 if test x$gcc_no_link = xyes; then
40293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40295 { (exit 1); exit 1; }; }
40296 fi
40297 cat >conftest.$ac_ext <<_ACEOF
40298 /* confdefs.h. */
40299 _ACEOF
40300 cat confdefs.h >>conftest.$ac_ext
40301 cat >>conftest.$ac_ext <<_ACEOF
40302 /* end confdefs.h. */
40303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40305 #define $ac_func innocuous_$ac_func
40306
40307 /* System header to define __stub macros and hopefully few prototypes,
40308 which can conflict with char $ac_func (); below.
40309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40310 <limits.h> exists even on freestanding compilers. */
40311
40312 #ifdef __STDC__
40313 # include <limits.h>
40314 #else
40315 # include <assert.h>
40316 #endif
40317
40318 #undef $ac_func
40319
40320 /* Override any gcc2 internal prototype to avoid an error. */
40321 #ifdef __cplusplus
40322 extern "C"
40323 {
40324 #endif
40325 /* We use char because int might match the return type of a gcc2
40326 builtin and then its argument prototype would still apply. */
40327 char $ac_func ();
40328 /* The GNU C library defines this for functions which it implements
40329 to always fail with ENOSYS. Some functions are actually named
40330 something starting with __ and the normal name is an alias. */
40331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40332 choke me
40333 #else
40334 char (*f) () = $ac_func;
40335 #endif
40336 #ifdef __cplusplus
40337 }
40338 #endif
40339
40340 int
40341 main ()
40342 {
40343 return f != $ac_func;
40344 ;
40345 return 0;
40346 }
40347 _ACEOF
40348 rm -f conftest.$ac_objext conftest$ac_exeext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40350 (eval $ac_link) 2>conftest.er1
40351 ac_status=$?
40352 grep -v '^ *+' conftest.er1 >conftest.err
40353 rm -f conftest.er1
40354 cat conftest.err >&5
40355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356 (exit $ac_status); } &&
40357 { ac_try='test -z "$ac_c_werror_flag"
40358 || test ! -s conftest.err'
40359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360 (eval $ac_try) 2>&5
40361 ac_status=$?
40362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363 (exit $ac_status); }; } &&
40364 { ac_try='test -s conftest$ac_exeext'
40365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366 (eval $ac_try) 2>&5
40367 ac_status=$?
40368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369 (exit $ac_status); }; }; then
40370 eval "$as_ac_var=yes"
40371 else
40372 echo "$as_me: failed program was:" >&5
40373 sed 's/^/| /' conftest.$ac_ext >&5
40374
40375 eval "$as_ac_var=no"
40376 fi
40377 rm -f conftest.err conftest.$ac_objext \
40378 conftest$ac_exeext conftest.$ac_ext
40379 fi
40380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40382 if test `eval echo '${'$as_ac_var'}'` = yes; then
40383 cat >>confdefs.h <<_ACEOF
40384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40385 _ACEOF
40386
40387 fi
40388 done
40389
40390 else
40391
40392 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
40393 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
40394 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
40395 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
40396 echo $ECHO_N "(cached) $ECHO_C" >&6
40397 else
40398
40399
40400
40401 ac_ext=cc
40402 ac_cpp='$CXXCPP $CPPFLAGS'
40403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40406
40407 cat >conftest.$ac_ext <<_ACEOF
40408 /* confdefs.h. */
40409 _ACEOF
40410 cat confdefs.h >>conftest.$ac_ext
40411 cat >>conftest.$ac_ext <<_ACEOF
40412 /* end confdefs.h. */
40413 #include <math.h>
40414 #ifdef HAVE_IEEEFP_H
40415 #include <ieeefp.h>
40416 #endif
40417
40418 int
40419 main ()
40420 {
40421 _isnanl(0);
40422 ;
40423 return 0;
40424 }
40425 _ACEOF
40426 rm -f conftest.$ac_objext
40427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40428 (eval $ac_compile) 2>conftest.er1
40429 ac_status=$?
40430 grep -v '^ *+' conftest.er1 >conftest.err
40431 rm -f conftest.er1
40432 cat conftest.err >&5
40433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40434 (exit $ac_status); } &&
40435 { ac_try='test -z "$ac_cxx_werror_flag"
40436 || test ! -s conftest.err'
40437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40438 (eval $ac_try) 2>&5
40439 ac_status=$?
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); }; } &&
40442 { ac_try='test -s conftest.$ac_objext'
40443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40444 (eval $ac_try) 2>&5
40445 ac_status=$?
40446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447 (exit $ac_status); }; }; then
40448 glibcxx_cv_func__isnanl_use=yes
40449 else
40450 echo "$as_me: failed program was:" >&5
40451 sed 's/^/| /' conftest.$ac_ext >&5
40452
40453 glibcxx_cv_func__isnanl_use=no
40454 fi
40455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40456 ac_ext=c
40457 ac_cpp='$CPP $CPPFLAGS'
40458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40461
40462
40463 fi
40464
40465 fi
40466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
40467 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
40468
40469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
40470
40471 for ac_func in _isnanl
40472 do
40473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40474 echo "$as_me:$LINENO: checking for $ac_func" >&5
40475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40476 if eval "test \"\${$as_ac_var+set}\" = set"; then
40477 echo $ECHO_N "(cached) $ECHO_C" >&6
40478 else
40479 if test x$gcc_no_link = xyes; then
40480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40482 { (exit 1); exit 1; }; }
40483 fi
40484 cat >conftest.$ac_ext <<_ACEOF
40485 /* confdefs.h. */
40486 _ACEOF
40487 cat confdefs.h >>conftest.$ac_ext
40488 cat >>conftest.$ac_ext <<_ACEOF
40489 /* end confdefs.h. */
40490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40492 #define $ac_func innocuous_$ac_func
40493
40494 /* System header to define __stub macros and hopefully few prototypes,
40495 which can conflict with char $ac_func (); below.
40496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40497 <limits.h> exists even on freestanding compilers. */
40498
40499 #ifdef __STDC__
40500 # include <limits.h>
40501 #else
40502 # include <assert.h>
40503 #endif
40504
40505 #undef $ac_func
40506
40507 /* Override any gcc2 internal prototype to avoid an error. */
40508 #ifdef __cplusplus
40509 extern "C"
40510 {
40511 #endif
40512 /* We use char because int might match the return type of a gcc2
40513 builtin and then its argument prototype would still apply. */
40514 char $ac_func ();
40515 /* The GNU C library defines this for functions which it implements
40516 to always fail with ENOSYS. Some functions are actually named
40517 something starting with __ and the normal name is an alias. */
40518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40519 choke me
40520 #else
40521 char (*f) () = $ac_func;
40522 #endif
40523 #ifdef __cplusplus
40524 }
40525 #endif
40526
40527 int
40528 main ()
40529 {
40530 return f != $ac_func;
40531 ;
40532 return 0;
40533 }
40534 _ACEOF
40535 rm -f conftest.$ac_objext conftest$ac_exeext
40536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40537 (eval $ac_link) 2>conftest.er1
40538 ac_status=$?
40539 grep -v '^ *+' conftest.er1 >conftest.err
40540 rm -f conftest.er1
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } &&
40544 { ac_try='test -z "$ac_c_werror_flag"
40545 || test ! -s conftest.err'
40546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40547 (eval $ac_try) 2>&5
40548 ac_status=$?
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); }; } &&
40551 { ac_try='test -s conftest$ac_exeext'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40554 ac_status=$?
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; }; then
40557 eval "$as_ac_var=yes"
40558 else
40559 echo "$as_me: failed program was:" >&5
40560 sed 's/^/| /' conftest.$ac_ext >&5
40561
40562 eval "$as_ac_var=no"
40563 fi
40564 rm -f conftest.err conftest.$ac_objext \
40565 conftest$ac_exeext conftest.$ac_ext
40566 fi
40567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40569 if test `eval echo '${'$as_ac_var'}'` = yes; then
40570 cat >>confdefs.h <<_ACEOF
40571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40572 _ACEOF
40573
40574 fi
40575 done
40576
40577 fi
40578 fi
40579
40580
40581
40582 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
40583 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
40584 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
40585 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
40586 echo $ECHO_N "(cached) $ECHO_C" >&6
40587 else
40588
40589
40590
40591 ac_ext=cc
40592 ac_cpp='$CXXCPP $CPPFLAGS'
40593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40596
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 #include <math.h>
40604 #ifdef HAVE_IEEEFP_H
40605 #include <ieeefp.h>
40606 #endif
40607
40608 int
40609 main ()
40610 {
40611 isinfl(0);
40612 ;
40613 return 0;
40614 }
40615 _ACEOF
40616 rm -f conftest.$ac_objext
40617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40618 (eval $ac_compile) 2>conftest.er1
40619 ac_status=$?
40620 grep -v '^ *+' conftest.er1 >conftest.err
40621 rm -f conftest.er1
40622 cat conftest.err >&5
40623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40624 (exit $ac_status); } &&
40625 { ac_try='test -z "$ac_cxx_werror_flag"
40626 || test ! -s conftest.err'
40627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40628 (eval $ac_try) 2>&5
40629 ac_status=$?
40630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40631 (exit $ac_status); }; } &&
40632 { ac_try='test -s conftest.$ac_objext'
40633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40634 (eval $ac_try) 2>&5
40635 ac_status=$?
40636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40637 (exit $ac_status); }; }; then
40638 glibcxx_cv_func_isinfl_use=yes
40639 else
40640 echo "$as_me: failed program was:" >&5
40641 sed 's/^/| /' conftest.$ac_ext >&5
40642
40643 glibcxx_cv_func_isinfl_use=no
40644 fi
40645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40646 ac_ext=c
40647 ac_cpp='$CPP $CPPFLAGS'
40648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40651
40652
40653 fi
40654
40655 fi
40656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
40657 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
40658
40659 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
40660
40661 for ac_func in isinfl
40662 do
40663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40664 echo "$as_me:$LINENO: checking for $ac_func" >&5
40665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40666 if eval "test \"\${$as_ac_var+set}\" = set"; then
40667 echo $ECHO_N "(cached) $ECHO_C" >&6
40668 else
40669 if test x$gcc_no_link = xyes; then
40670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40672 { (exit 1); exit 1; }; }
40673 fi
40674 cat >conftest.$ac_ext <<_ACEOF
40675 /* confdefs.h. */
40676 _ACEOF
40677 cat confdefs.h >>conftest.$ac_ext
40678 cat >>conftest.$ac_ext <<_ACEOF
40679 /* end confdefs.h. */
40680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40682 #define $ac_func innocuous_$ac_func
40683
40684 /* System header to define __stub macros and hopefully few prototypes,
40685 which can conflict with char $ac_func (); below.
40686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40687 <limits.h> exists even on freestanding compilers. */
40688
40689 #ifdef __STDC__
40690 # include <limits.h>
40691 #else
40692 # include <assert.h>
40693 #endif
40694
40695 #undef $ac_func
40696
40697 /* Override any gcc2 internal prototype to avoid an error. */
40698 #ifdef __cplusplus
40699 extern "C"
40700 {
40701 #endif
40702 /* We use char because int might match the return type of a gcc2
40703 builtin and then its argument prototype would still apply. */
40704 char $ac_func ();
40705 /* The GNU C library defines this for functions which it implements
40706 to always fail with ENOSYS. Some functions are actually named
40707 something starting with __ and the normal name is an alias. */
40708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40709 choke me
40710 #else
40711 char (*f) () = $ac_func;
40712 #endif
40713 #ifdef __cplusplus
40714 }
40715 #endif
40716
40717 int
40718 main ()
40719 {
40720 return f != $ac_func;
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 rm -f conftest.$ac_objext conftest$ac_exeext
40726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40727 (eval $ac_link) 2>conftest.er1
40728 ac_status=$?
40729 grep -v '^ *+' conftest.er1 >conftest.err
40730 rm -f conftest.er1
40731 cat conftest.err >&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } &&
40734 { ac_try='test -z "$ac_c_werror_flag"
40735 || test ! -s conftest.err'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40738 ac_status=$?
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; } &&
40741 { ac_try='test -s conftest$ac_exeext'
40742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40743 (eval $ac_try) 2>&5
40744 ac_status=$?
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); }; }; then
40747 eval "$as_ac_var=yes"
40748 else
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40751
40752 eval "$as_ac_var=no"
40753 fi
40754 rm -f conftest.err conftest.$ac_objext \
40755 conftest$ac_exeext conftest.$ac_ext
40756 fi
40757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40759 if test `eval echo '${'$as_ac_var'}'` = yes; then
40760 cat >>confdefs.h <<_ACEOF
40761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40762 _ACEOF
40763
40764 fi
40765 done
40766
40767 else
40768
40769 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
40770 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
40771 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
40772 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40774 else
40775
40776
40777
40778 ac_ext=cc
40779 ac_cpp='$CXXCPP $CPPFLAGS'
40780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40783
40784 cat >conftest.$ac_ext <<_ACEOF
40785 /* confdefs.h. */
40786 _ACEOF
40787 cat confdefs.h >>conftest.$ac_ext
40788 cat >>conftest.$ac_ext <<_ACEOF
40789 /* end confdefs.h. */
40790 #include <math.h>
40791 #ifdef HAVE_IEEEFP_H
40792 #include <ieeefp.h>
40793 #endif
40794
40795 int
40796 main ()
40797 {
40798 _isinfl(0);
40799 ;
40800 return 0;
40801 }
40802 _ACEOF
40803 rm -f conftest.$ac_objext
40804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40805 (eval $ac_compile) 2>conftest.er1
40806 ac_status=$?
40807 grep -v '^ *+' conftest.er1 >conftest.err
40808 rm -f conftest.er1
40809 cat conftest.err >&5
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); } &&
40812 { ac_try='test -z "$ac_cxx_werror_flag"
40813 || test ! -s conftest.err'
40814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40815 (eval $ac_try) 2>&5
40816 ac_status=$?
40817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40818 (exit $ac_status); }; } &&
40819 { ac_try='test -s conftest.$ac_objext'
40820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40821 (eval $ac_try) 2>&5
40822 ac_status=$?
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); }; }; then
40825 glibcxx_cv_func__isinfl_use=yes
40826 else
40827 echo "$as_me: failed program was:" >&5
40828 sed 's/^/| /' conftest.$ac_ext >&5
40829
40830 glibcxx_cv_func__isinfl_use=no
40831 fi
40832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40833 ac_ext=c
40834 ac_cpp='$CPP $CPPFLAGS'
40835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40838
40839
40840 fi
40841
40842 fi
40843 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
40844 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
40845
40846 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
40847
40848 for ac_func in _isinfl
40849 do
40850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40851 echo "$as_me:$LINENO: checking for $ac_func" >&5
40852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40853 if eval "test \"\${$as_ac_var+set}\" = set"; then
40854 echo $ECHO_N "(cached) $ECHO_C" >&6
40855 else
40856 if test x$gcc_no_link = xyes; then
40857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40859 { (exit 1); exit 1; }; }
40860 fi
40861 cat >conftest.$ac_ext <<_ACEOF
40862 /* confdefs.h. */
40863 _ACEOF
40864 cat confdefs.h >>conftest.$ac_ext
40865 cat >>conftest.$ac_ext <<_ACEOF
40866 /* end confdefs.h. */
40867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40869 #define $ac_func innocuous_$ac_func
40870
40871 /* System header to define __stub macros and hopefully few prototypes,
40872 which can conflict with char $ac_func (); below.
40873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40874 <limits.h> exists even on freestanding compilers. */
40875
40876 #ifdef __STDC__
40877 # include <limits.h>
40878 #else
40879 # include <assert.h>
40880 #endif
40881
40882 #undef $ac_func
40883
40884 /* Override any gcc2 internal prototype to avoid an error. */
40885 #ifdef __cplusplus
40886 extern "C"
40887 {
40888 #endif
40889 /* We use char because int might match the return type of a gcc2
40890 builtin and then its argument prototype would still apply. */
40891 char $ac_func ();
40892 /* The GNU C library defines this for functions which it implements
40893 to always fail with ENOSYS. Some functions are actually named
40894 something starting with __ and the normal name is an alias. */
40895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40896 choke me
40897 #else
40898 char (*f) () = $ac_func;
40899 #endif
40900 #ifdef __cplusplus
40901 }
40902 #endif
40903
40904 int
40905 main ()
40906 {
40907 return f != $ac_func;
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 rm -f conftest.$ac_objext conftest$ac_exeext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40914 (eval $ac_link) 2>conftest.er1
40915 ac_status=$?
40916 grep -v '^ *+' conftest.er1 >conftest.err
40917 rm -f conftest.er1
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } &&
40921 { ac_try='test -z "$ac_c_werror_flag"
40922 || test ! -s conftest.err'
40923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924 (eval $ac_try) 2>&5
40925 ac_status=$?
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); }; } &&
40928 { ac_try='test -s conftest$ac_exeext'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; }; then
40934 eval "$as_ac_var=yes"
40935 else
40936 echo "$as_me: failed program was:" >&5
40937 sed 's/^/| /' conftest.$ac_ext >&5
40938
40939 eval "$as_ac_var=no"
40940 fi
40941 rm -f conftest.err conftest.$ac_objext \
40942 conftest$ac_exeext conftest.$ac_ext
40943 fi
40944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40946 if test `eval echo '${'$as_ac_var'}'` = yes; then
40947 cat >>confdefs.h <<_ACEOF
40948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40949 _ACEOF
40950
40951 fi
40952 done
40953
40954 fi
40955 fi
40956
40957
40958
40959 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
40960 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
40961 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
40962 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40965
40966
40967
40968 ac_ext=cc
40969 ac_cpp='$CXXCPP $CPPFLAGS'
40970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973
40974 cat >conftest.$ac_ext <<_ACEOF
40975 /* confdefs.h. */
40976 _ACEOF
40977 cat confdefs.h >>conftest.$ac_ext
40978 cat >>conftest.$ac_ext <<_ACEOF
40979 /* end confdefs.h. */
40980 #include <math.h>
40981 int
40982 main ()
40983 {
40984 copysignl(0, 0);
40985 ;
40986 return 0;
40987 }
40988 _ACEOF
40989 rm -f conftest.$ac_objext
40990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40991 (eval $ac_compile) 2>conftest.er1
40992 ac_status=$?
40993 grep -v '^ *+' conftest.er1 >conftest.err
40994 rm -f conftest.er1
40995 cat conftest.err >&5
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); } &&
40998 { ac_try='test -z "$ac_cxx_werror_flag"
40999 || test ! -s conftest.err'
41000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41001 (eval $ac_try) 2>&5
41002 ac_status=$?
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); }; } &&
41005 { ac_try='test -s conftest.$ac_objext'
41006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41007 (eval $ac_try) 2>&5
41008 ac_status=$?
41009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41010 (exit $ac_status); }; }; then
41011 glibcxx_cv_func_copysignl_use=yes
41012 else
41013 echo "$as_me: failed program was:" >&5
41014 sed 's/^/| /' conftest.$ac_ext >&5
41015
41016 glibcxx_cv_func_copysignl_use=no
41017 fi
41018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41019 ac_ext=c
41020 ac_cpp='$CPP $CPPFLAGS'
41021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41024
41025
41026 fi
41027
41028 fi
41029 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41030 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41031
41032 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41033
41034 for ac_func in copysignl
41035 do
41036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41037 echo "$as_me:$LINENO: checking for $ac_func" >&5
41038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41039 if eval "test \"\${$as_ac_var+set}\" = set"; then
41040 echo $ECHO_N "(cached) $ECHO_C" >&6
41041 else
41042 if test x$gcc_no_link = xyes; then
41043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41045 { (exit 1); exit 1; }; }
41046 fi
41047 cat >conftest.$ac_ext <<_ACEOF
41048 /* confdefs.h. */
41049 _ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41055 #define $ac_func innocuous_$ac_func
41056
41057 /* System header to define __stub macros and hopefully few prototypes,
41058 which can conflict with char $ac_func (); below.
41059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41060 <limits.h> exists even on freestanding compilers. */
41061
41062 #ifdef __STDC__
41063 # include <limits.h>
41064 #else
41065 # include <assert.h>
41066 #endif
41067
41068 #undef $ac_func
41069
41070 /* Override any gcc2 internal prototype to avoid an error. */
41071 #ifdef __cplusplus
41072 extern "C"
41073 {
41074 #endif
41075 /* We use char because int might match the return type of a gcc2
41076 builtin and then its argument prototype would still apply. */
41077 char $ac_func ();
41078 /* The GNU C library defines this for functions which it implements
41079 to always fail with ENOSYS. Some functions are actually named
41080 something starting with __ and the normal name is an alias. */
41081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41082 choke me
41083 #else
41084 char (*f) () = $ac_func;
41085 #endif
41086 #ifdef __cplusplus
41087 }
41088 #endif
41089
41090 int
41091 main ()
41092 {
41093 return f != $ac_func;
41094 ;
41095 return 0;
41096 }
41097 _ACEOF
41098 rm -f conftest.$ac_objext conftest$ac_exeext
41099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41100 (eval $ac_link) 2>conftest.er1
41101 ac_status=$?
41102 grep -v '^ *+' conftest.er1 >conftest.err
41103 rm -f conftest.er1
41104 cat conftest.err >&5
41105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41106 (exit $ac_status); } &&
41107 { ac_try='test -z "$ac_c_werror_flag"
41108 || test ! -s conftest.err'
41109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41110 (eval $ac_try) 2>&5
41111 ac_status=$?
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); }; } &&
41114 { ac_try='test -s conftest$ac_exeext'
41115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41116 (eval $ac_try) 2>&5
41117 ac_status=$?
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); }; }; then
41120 eval "$as_ac_var=yes"
41121 else
41122 echo "$as_me: failed program was:" >&5
41123 sed 's/^/| /' conftest.$ac_ext >&5
41124
41125 eval "$as_ac_var=no"
41126 fi
41127 rm -f conftest.err conftest.$ac_objext \
41128 conftest$ac_exeext conftest.$ac_ext
41129 fi
41130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41132 if test `eval echo '${'$as_ac_var'}'` = yes; then
41133 cat >>confdefs.h <<_ACEOF
41134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41135 _ACEOF
41136
41137 fi
41138 done
41139
41140 else
41141
41142 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
41143 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
41144 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
41145 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
41146 echo $ECHO_N "(cached) $ECHO_C" >&6
41147 else
41148
41149
41150
41151 ac_ext=cc
41152 ac_cpp='$CXXCPP $CPPFLAGS'
41153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41156
41157 cat >conftest.$ac_ext <<_ACEOF
41158 /* confdefs.h. */
41159 _ACEOF
41160 cat confdefs.h >>conftest.$ac_ext
41161 cat >>conftest.$ac_ext <<_ACEOF
41162 /* end confdefs.h. */
41163 #include <math.h>
41164 int
41165 main ()
41166 {
41167 _copysignl(0, 0);
41168 ;
41169 return 0;
41170 }
41171 _ACEOF
41172 rm -f conftest.$ac_objext
41173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41174 (eval $ac_compile) 2>conftest.er1
41175 ac_status=$?
41176 grep -v '^ *+' conftest.er1 >conftest.err
41177 rm -f conftest.er1
41178 cat conftest.err >&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); } &&
41181 { ac_try='test -z "$ac_cxx_werror_flag"
41182 || test ! -s conftest.err'
41183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41184 (eval $ac_try) 2>&5
41185 ac_status=$?
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); }; } &&
41188 { ac_try='test -s conftest.$ac_objext'
41189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41190 (eval $ac_try) 2>&5
41191 ac_status=$?
41192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41193 (exit $ac_status); }; }; then
41194 glibcxx_cv_func__copysignl_use=yes
41195 else
41196 echo "$as_me: failed program was:" >&5
41197 sed 's/^/| /' conftest.$ac_ext >&5
41198
41199 glibcxx_cv_func__copysignl_use=no
41200 fi
41201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41202 ac_ext=c
41203 ac_cpp='$CPP $CPPFLAGS'
41204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41207
41208
41209 fi
41210
41211 fi
41212 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
41213 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
41214
41215 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
41216
41217 for ac_func in _copysignl
41218 do
41219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41220 echo "$as_me:$LINENO: checking for $ac_func" >&5
41221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41222 if eval "test \"\${$as_ac_var+set}\" = set"; then
41223 echo $ECHO_N "(cached) $ECHO_C" >&6
41224 else
41225 if test x$gcc_no_link = xyes; then
41226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41228 { (exit 1); exit 1; }; }
41229 fi
41230 cat >conftest.$ac_ext <<_ACEOF
41231 /* confdefs.h. */
41232 _ACEOF
41233 cat confdefs.h >>conftest.$ac_ext
41234 cat >>conftest.$ac_ext <<_ACEOF
41235 /* end confdefs.h. */
41236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41238 #define $ac_func innocuous_$ac_func
41239
41240 /* System header to define __stub macros and hopefully few prototypes,
41241 which can conflict with char $ac_func (); below.
41242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41243 <limits.h> exists even on freestanding compilers. */
41244
41245 #ifdef __STDC__
41246 # include <limits.h>
41247 #else
41248 # include <assert.h>
41249 #endif
41250
41251 #undef $ac_func
41252
41253 /* Override any gcc2 internal prototype to avoid an error. */
41254 #ifdef __cplusplus
41255 extern "C"
41256 {
41257 #endif
41258 /* We use char because int might match the return type of a gcc2
41259 builtin and then its argument prototype would still apply. */
41260 char $ac_func ();
41261 /* The GNU C library defines this for functions which it implements
41262 to always fail with ENOSYS. Some functions are actually named
41263 something starting with __ and the normal name is an alias. */
41264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41265 choke me
41266 #else
41267 char (*f) () = $ac_func;
41268 #endif
41269 #ifdef __cplusplus
41270 }
41271 #endif
41272
41273 int
41274 main ()
41275 {
41276 return f != $ac_func;
41277 ;
41278 return 0;
41279 }
41280 _ACEOF
41281 rm -f conftest.$ac_objext conftest$ac_exeext
41282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41283 (eval $ac_link) 2>conftest.er1
41284 ac_status=$?
41285 grep -v '^ *+' conftest.er1 >conftest.err
41286 rm -f conftest.er1
41287 cat conftest.err >&5
41288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41289 (exit $ac_status); } &&
41290 { ac_try='test -z "$ac_c_werror_flag"
41291 || test ! -s conftest.err'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41294 ac_status=$?
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; } &&
41297 { ac_try='test -s conftest$ac_exeext'
41298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41299 (eval $ac_try) 2>&5
41300 ac_status=$?
41301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41302 (exit $ac_status); }; }; then
41303 eval "$as_ac_var=yes"
41304 else
41305 echo "$as_me: failed program was:" >&5
41306 sed 's/^/| /' conftest.$ac_ext >&5
41307
41308 eval "$as_ac_var=no"
41309 fi
41310 rm -f conftest.err conftest.$ac_objext \
41311 conftest$ac_exeext conftest.$ac_ext
41312 fi
41313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41315 if test `eval echo '${'$as_ac_var'}'` = yes; then
41316 cat >>confdefs.h <<_ACEOF
41317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41318 _ACEOF
41319
41320 fi
41321 done
41322
41323 fi
41324 fi
41325
41326
41327
41328 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
41329 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
41330 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41331 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41334
41335
41336
41337 ac_ext=cc
41338 ac_cpp='$CXXCPP $CPPFLAGS'
41339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41342
41343 cat >conftest.$ac_ext <<_ACEOF
41344 /* confdefs.h. */
41345 _ACEOF
41346 cat confdefs.h >>conftest.$ac_ext
41347 cat >>conftest.$ac_ext <<_ACEOF
41348 /* end confdefs.h. */
41349 #include <math.h>
41350 int
41351 main ()
41352 {
41353 atan2l(0, 0);
41354 ;
41355 return 0;
41356 }
41357 _ACEOF
41358 rm -f conftest.$ac_objext
41359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41360 (eval $ac_compile) 2>conftest.er1
41361 ac_status=$?
41362 grep -v '^ *+' conftest.er1 >conftest.err
41363 rm -f conftest.er1
41364 cat conftest.err >&5
41365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41366 (exit $ac_status); } &&
41367 { ac_try='test -z "$ac_cxx_werror_flag"
41368 || test ! -s conftest.err'
41369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41370 (eval $ac_try) 2>&5
41371 ac_status=$?
41372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41373 (exit $ac_status); }; } &&
41374 { ac_try='test -s conftest.$ac_objext'
41375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41376 (eval $ac_try) 2>&5
41377 ac_status=$?
41378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41379 (exit $ac_status); }; }; then
41380 glibcxx_cv_func_atan2l_use=yes
41381 else
41382 echo "$as_me: failed program was:" >&5
41383 sed 's/^/| /' conftest.$ac_ext >&5
41384
41385 glibcxx_cv_func_atan2l_use=no
41386 fi
41387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41388 ac_ext=c
41389 ac_cpp='$CPP $CPPFLAGS'
41390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41393
41394
41395 fi
41396
41397 fi
41398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
41399 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
41400
41401 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41402
41403 for ac_func in atan2l
41404 do
41405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41406 echo "$as_me:$LINENO: checking for $ac_func" >&5
41407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41408 if eval "test \"\${$as_ac_var+set}\" = set"; then
41409 echo $ECHO_N "(cached) $ECHO_C" >&6
41410 else
41411 if test x$gcc_no_link = xyes; then
41412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41414 { (exit 1); exit 1; }; }
41415 fi
41416 cat >conftest.$ac_ext <<_ACEOF
41417 /* confdefs.h. */
41418 _ACEOF
41419 cat confdefs.h >>conftest.$ac_ext
41420 cat >>conftest.$ac_ext <<_ACEOF
41421 /* end confdefs.h. */
41422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41424 #define $ac_func innocuous_$ac_func
41425
41426 /* System header to define __stub macros and hopefully few prototypes,
41427 which can conflict with char $ac_func (); below.
41428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41429 <limits.h> exists even on freestanding compilers. */
41430
41431 #ifdef __STDC__
41432 # include <limits.h>
41433 #else
41434 # include <assert.h>
41435 #endif
41436
41437 #undef $ac_func
41438
41439 /* Override any gcc2 internal prototype to avoid an error. */
41440 #ifdef __cplusplus
41441 extern "C"
41442 {
41443 #endif
41444 /* We use char because int might match the return type of a gcc2
41445 builtin and then its argument prototype would still apply. */
41446 char $ac_func ();
41447 /* The GNU C library defines this for functions which it implements
41448 to always fail with ENOSYS. Some functions are actually named
41449 something starting with __ and the normal name is an alias. */
41450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41451 choke me
41452 #else
41453 char (*f) () = $ac_func;
41454 #endif
41455 #ifdef __cplusplus
41456 }
41457 #endif
41458
41459 int
41460 main ()
41461 {
41462 return f != $ac_func;
41463 ;
41464 return 0;
41465 }
41466 _ACEOF
41467 rm -f conftest.$ac_objext conftest$ac_exeext
41468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41469 (eval $ac_link) 2>conftest.er1
41470 ac_status=$?
41471 grep -v '^ *+' conftest.er1 >conftest.err
41472 rm -f conftest.er1
41473 cat conftest.err >&5
41474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41475 (exit $ac_status); } &&
41476 { ac_try='test -z "$ac_c_werror_flag"
41477 || test ! -s conftest.err'
41478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41479 (eval $ac_try) 2>&5
41480 ac_status=$?
41481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41482 (exit $ac_status); }; } &&
41483 { ac_try='test -s conftest$ac_exeext'
41484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41485 (eval $ac_try) 2>&5
41486 ac_status=$?
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); }; }; then
41489 eval "$as_ac_var=yes"
41490 else
41491 echo "$as_me: failed program was:" >&5
41492 sed 's/^/| /' conftest.$ac_ext >&5
41493
41494 eval "$as_ac_var=no"
41495 fi
41496 rm -f conftest.err conftest.$ac_objext \
41497 conftest$ac_exeext conftest.$ac_ext
41498 fi
41499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41501 if test `eval echo '${'$as_ac_var'}'` = yes; then
41502 cat >>confdefs.h <<_ACEOF
41503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509 else
41510
41511 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
41512 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
41513 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41514 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
41515 echo $ECHO_N "(cached) $ECHO_C" >&6
41516 else
41517
41518
41519
41520 ac_ext=cc
41521 ac_cpp='$CXXCPP $CPPFLAGS'
41522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41525
41526 cat >conftest.$ac_ext <<_ACEOF
41527 /* confdefs.h. */
41528 _ACEOF
41529 cat confdefs.h >>conftest.$ac_ext
41530 cat >>conftest.$ac_ext <<_ACEOF
41531 /* end confdefs.h. */
41532 #include <math.h>
41533 int
41534 main ()
41535 {
41536 _atan2l(0, 0);
41537 ;
41538 return 0;
41539 }
41540 _ACEOF
41541 rm -f conftest.$ac_objext
41542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41543 (eval $ac_compile) 2>conftest.er1
41544 ac_status=$?
41545 grep -v '^ *+' conftest.er1 >conftest.err
41546 rm -f conftest.er1
41547 cat conftest.err >&5
41548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41549 (exit $ac_status); } &&
41550 { ac_try='test -z "$ac_cxx_werror_flag"
41551 || test ! -s conftest.err'
41552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41553 (eval $ac_try) 2>&5
41554 ac_status=$?
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); }; } &&
41557 { ac_try='test -s conftest.$ac_objext'
41558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559 (eval $ac_try) 2>&5
41560 ac_status=$?
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; }; then
41563 glibcxx_cv_func__atan2l_use=yes
41564 else
41565 echo "$as_me: failed program was:" >&5
41566 sed 's/^/| /' conftest.$ac_ext >&5
41567
41568 glibcxx_cv_func__atan2l_use=no
41569 fi
41570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41576
41577
41578 fi
41579
41580 fi
41581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
41582 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
41583
41584 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41585
41586 for ac_func in _atan2l
41587 do
41588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41589 echo "$as_me:$LINENO: checking for $ac_func" >&5
41590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41591 if eval "test \"\${$as_ac_var+set}\" = set"; then
41592 echo $ECHO_N "(cached) $ECHO_C" >&6
41593 else
41594 if test x$gcc_no_link = xyes; then
41595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41597 { (exit 1); exit 1; }; }
41598 fi
41599 cat >conftest.$ac_ext <<_ACEOF
41600 /* confdefs.h. */
41601 _ACEOF
41602 cat confdefs.h >>conftest.$ac_ext
41603 cat >>conftest.$ac_ext <<_ACEOF
41604 /* end confdefs.h. */
41605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41607 #define $ac_func innocuous_$ac_func
41608
41609 /* System header to define __stub macros and hopefully few prototypes,
41610 which can conflict with char $ac_func (); below.
41611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41612 <limits.h> exists even on freestanding compilers. */
41613
41614 #ifdef __STDC__
41615 # include <limits.h>
41616 #else
41617 # include <assert.h>
41618 #endif
41619
41620 #undef $ac_func
41621
41622 /* Override any gcc2 internal prototype to avoid an error. */
41623 #ifdef __cplusplus
41624 extern "C"
41625 {
41626 #endif
41627 /* We use char because int might match the return type of a gcc2
41628 builtin and then its argument prototype would still apply. */
41629 char $ac_func ();
41630 /* The GNU C library defines this for functions which it implements
41631 to always fail with ENOSYS. Some functions are actually named
41632 something starting with __ and the normal name is an alias. */
41633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41634 choke me
41635 #else
41636 char (*f) () = $ac_func;
41637 #endif
41638 #ifdef __cplusplus
41639 }
41640 #endif
41641
41642 int
41643 main ()
41644 {
41645 return f != $ac_func;
41646 ;
41647 return 0;
41648 }
41649 _ACEOF
41650 rm -f conftest.$ac_objext conftest$ac_exeext
41651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41652 (eval $ac_link) 2>conftest.er1
41653 ac_status=$?
41654 grep -v '^ *+' conftest.er1 >conftest.err
41655 rm -f conftest.er1
41656 cat conftest.err >&5
41657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41658 (exit $ac_status); } &&
41659 { ac_try='test -z "$ac_c_werror_flag"
41660 || test ! -s conftest.err'
41661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41662 (eval $ac_try) 2>&5
41663 ac_status=$?
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; } &&
41666 { ac_try='test -s conftest$ac_exeext'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41669 ac_status=$?
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; }; then
41672 eval "$as_ac_var=yes"
41673 else
41674 echo "$as_me: failed program was:" >&5
41675 sed 's/^/| /' conftest.$ac_ext >&5
41676
41677 eval "$as_ac_var=no"
41678 fi
41679 rm -f conftest.err conftest.$ac_objext \
41680 conftest$ac_exeext conftest.$ac_ext
41681 fi
41682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41684 if test `eval echo '${'$as_ac_var'}'` = yes; then
41685 cat >>confdefs.h <<_ACEOF
41686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41687 _ACEOF
41688
41689 fi
41690 done
41691
41692 fi
41693 fi
41694
41695
41696
41697 echo "$as_me:$LINENO: checking for expl declaration" >&5
41698 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
41699 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41700 if test "${glibcxx_cv_func_expl_use+set}" = set; then
41701 echo $ECHO_N "(cached) $ECHO_C" >&6
41702 else
41703
41704
41705
41706 ac_ext=cc
41707 ac_cpp='$CXXCPP $CPPFLAGS'
41708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41711
41712 cat >conftest.$ac_ext <<_ACEOF
41713 /* confdefs.h. */
41714 _ACEOF
41715 cat confdefs.h >>conftest.$ac_ext
41716 cat >>conftest.$ac_ext <<_ACEOF
41717 /* end confdefs.h. */
41718 #include <math.h>
41719 #ifdef HAVE_IEEEFP_H
41720 #include <ieeefp.h>
41721 #endif
41722
41723 int
41724 main ()
41725 {
41726 expl(0);
41727 ;
41728 return 0;
41729 }
41730 _ACEOF
41731 rm -f conftest.$ac_objext
41732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41733 (eval $ac_compile) 2>conftest.er1
41734 ac_status=$?
41735 grep -v '^ *+' conftest.er1 >conftest.err
41736 rm -f conftest.er1
41737 cat conftest.err >&5
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); } &&
41740 { ac_try='test -z "$ac_cxx_werror_flag"
41741 || test ! -s conftest.err'
41742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41743 (eval $ac_try) 2>&5
41744 ac_status=$?
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; } &&
41747 { ac_try='test -s conftest.$ac_objext'
41748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41749 (eval $ac_try) 2>&5
41750 ac_status=$?
41751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41752 (exit $ac_status); }; }; then
41753 glibcxx_cv_func_expl_use=yes
41754 else
41755 echo "$as_me: failed program was:" >&5
41756 sed 's/^/| /' conftest.$ac_ext >&5
41757
41758 glibcxx_cv_func_expl_use=no
41759 fi
41760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41761 ac_ext=c
41762 ac_cpp='$CPP $CPPFLAGS'
41763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41766
41767
41768 fi
41769
41770 fi
41771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
41772 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
41773
41774 if test x$glibcxx_cv_func_expl_use = x"yes"; then
41775
41776 for ac_func in expl
41777 do
41778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41779 echo "$as_me:$LINENO: checking for $ac_func" >&5
41780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41781 if eval "test \"\${$as_ac_var+set}\" = set"; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 else
41784 if test x$gcc_no_link = xyes; then
41785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41787 { (exit 1); exit 1; }; }
41788 fi
41789 cat >conftest.$ac_ext <<_ACEOF
41790 /* confdefs.h. */
41791 _ACEOF
41792 cat confdefs.h >>conftest.$ac_ext
41793 cat >>conftest.$ac_ext <<_ACEOF
41794 /* end confdefs.h. */
41795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41797 #define $ac_func innocuous_$ac_func
41798
41799 /* System header to define __stub macros and hopefully few prototypes,
41800 which can conflict with char $ac_func (); below.
41801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41802 <limits.h> exists even on freestanding compilers. */
41803
41804 #ifdef __STDC__
41805 # include <limits.h>
41806 #else
41807 # include <assert.h>
41808 #endif
41809
41810 #undef $ac_func
41811
41812 /* Override any gcc2 internal prototype to avoid an error. */
41813 #ifdef __cplusplus
41814 extern "C"
41815 {
41816 #endif
41817 /* We use char because int might match the return type of a gcc2
41818 builtin and then its argument prototype would still apply. */
41819 char $ac_func ();
41820 /* The GNU C library defines this for functions which it implements
41821 to always fail with ENOSYS. Some functions are actually named
41822 something starting with __ and the normal name is an alias. */
41823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41824 choke me
41825 #else
41826 char (*f) () = $ac_func;
41827 #endif
41828 #ifdef __cplusplus
41829 }
41830 #endif
41831
41832 int
41833 main ()
41834 {
41835 return f != $ac_func;
41836 ;
41837 return 0;
41838 }
41839 _ACEOF
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41842 (eval $ac_link) 2>conftest.er1
41843 ac_status=$?
41844 grep -v '^ *+' conftest.er1 >conftest.err
41845 rm -f conftest.er1
41846 cat conftest.err >&5
41847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41848 (exit $ac_status); } &&
41849 { ac_try='test -z "$ac_c_werror_flag"
41850 || test ! -s conftest.err'
41851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41852 (eval $ac_try) 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; } &&
41856 { ac_try='test -s conftest$ac_exeext'
41857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41858 (eval $ac_try) 2>&5
41859 ac_status=$?
41860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41861 (exit $ac_status); }; }; then
41862 eval "$as_ac_var=yes"
41863 else
41864 echo "$as_me: failed program was:" >&5
41865 sed 's/^/| /' conftest.$ac_ext >&5
41866
41867 eval "$as_ac_var=no"
41868 fi
41869 rm -f conftest.err conftest.$ac_objext \
41870 conftest$ac_exeext conftest.$ac_ext
41871 fi
41872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41874 if test `eval echo '${'$as_ac_var'}'` = yes; then
41875 cat >>confdefs.h <<_ACEOF
41876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41877 _ACEOF
41878
41879 fi
41880 done
41881
41882 else
41883
41884 echo "$as_me:$LINENO: checking for _expl declaration" >&5
41885 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
41886 if test x${glibcxx_cv_func__expl_use+set} != xset; then
41887 if test "${glibcxx_cv_func__expl_use+set}" = set; then
41888 echo $ECHO_N "(cached) $ECHO_C" >&6
41889 else
41890
41891
41892
41893 ac_ext=cc
41894 ac_cpp='$CXXCPP $CPPFLAGS'
41895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41898
41899 cat >conftest.$ac_ext <<_ACEOF
41900 /* confdefs.h. */
41901 _ACEOF
41902 cat confdefs.h >>conftest.$ac_ext
41903 cat >>conftest.$ac_ext <<_ACEOF
41904 /* end confdefs.h. */
41905 #include <math.h>
41906 #ifdef HAVE_IEEEFP_H
41907 #include <ieeefp.h>
41908 #endif
41909
41910 int
41911 main ()
41912 {
41913 _expl(0);
41914 ;
41915 return 0;
41916 }
41917 _ACEOF
41918 rm -f conftest.$ac_objext
41919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41920 (eval $ac_compile) 2>conftest.er1
41921 ac_status=$?
41922 grep -v '^ *+' conftest.er1 >conftest.err
41923 rm -f conftest.er1
41924 cat conftest.err >&5
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); } &&
41927 { ac_try='test -z "$ac_cxx_werror_flag"
41928 || test ! -s conftest.err'
41929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41930 (eval $ac_try) 2>&5
41931 ac_status=$?
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); }; } &&
41934 { ac_try='test -s conftest.$ac_objext'
41935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41936 (eval $ac_try) 2>&5
41937 ac_status=$?
41938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41939 (exit $ac_status); }; }; then
41940 glibcxx_cv_func__expl_use=yes
41941 else
41942 echo "$as_me: failed program was:" >&5
41943 sed 's/^/| /' conftest.$ac_ext >&5
41944
41945 glibcxx_cv_func__expl_use=no
41946 fi
41947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41948 ac_ext=c
41949 ac_cpp='$CPP $CPPFLAGS'
41950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41953
41954
41955 fi
41956
41957 fi
41958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
41959 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
41960
41961 if test x$glibcxx_cv_func__expl_use = x"yes"; then
41962
41963 for ac_func in _expl
41964 do
41965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41966 echo "$as_me:$LINENO: checking for $ac_func" >&5
41967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41968 if eval "test \"\${$as_ac_var+set}\" = set"; then
41969 echo $ECHO_N "(cached) $ECHO_C" >&6
41970 else
41971 if test x$gcc_no_link = xyes; then
41972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41974 { (exit 1); exit 1; }; }
41975 fi
41976 cat >conftest.$ac_ext <<_ACEOF
41977 /* confdefs.h. */
41978 _ACEOF
41979 cat confdefs.h >>conftest.$ac_ext
41980 cat >>conftest.$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41984 #define $ac_func innocuous_$ac_func
41985
41986 /* System header to define __stub macros and hopefully few prototypes,
41987 which can conflict with char $ac_func (); below.
41988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41989 <limits.h> exists even on freestanding compilers. */
41990
41991 #ifdef __STDC__
41992 # include <limits.h>
41993 #else
41994 # include <assert.h>
41995 #endif
41996
41997 #undef $ac_func
41998
41999 /* Override any gcc2 internal prototype to avoid an error. */
42000 #ifdef __cplusplus
42001 extern "C"
42002 {
42003 #endif
42004 /* We use char because int might match the return type of a gcc2
42005 builtin and then its argument prototype would still apply. */
42006 char $ac_func ();
42007 /* The GNU C library defines this for functions which it implements
42008 to always fail with ENOSYS. Some functions are actually named
42009 something starting with __ and the normal name is an alias. */
42010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42011 choke me
42012 #else
42013 char (*f) () = $ac_func;
42014 #endif
42015 #ifdef __cplusplus
42016 }
42017 #endif
42018
42019 int
42020 main ()
42021 {
42022 return f != $ac_func;
42023 ;
42024 return 0;
42025 }
42026 _ACEOF
42027 rm -f conftest.$ac_objext conftest$ac_exeext
42028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42029 (eval $ac_link) 2>conftest.er1
42030 ac_status=$?
42031 grep -v '^ *+' conftest.er1 >conftest.err
42032 rm -f conftest.er1
42033 cat conftest.err >&5
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); } &&
42036 { ac_try='test -z "$ac_c_werror_flag"
42037 || test ! -s conftest.err'
42038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42039 (eval $ac_try) 2>&5
42040 ac_status=$?
42041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42042 (exit $ac_status); }; } &&
42043 { ac_try='test -s conftest$ac_exeext'
42044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42045 (eval $ac_try) 2>&5
42046 ac_status=$?
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); }; }; then
42049 eval "$as_ac_var=yes"
42050 else
42051 echo "$as_me: failed program was:" >&5
42052 sed 's/^/| /' conftest.$ac_ext >&5
42053
42054 eval "$as_ac_var=no"
42055 fi
42056 rm -f conftest.err conftest.$ac_objext \
42057 conftest$ac_exeext conftest.$ac_ext
42058 fi
42059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42061 if test `eval echo '${'$as_ac_var'}'` = yes; then
42062 cat >>confdefs.h <<_ACEOF
42063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42064 _ACEOF
42065
42066 fi
42067 done
42068
42069 fi
42070 fi
42071
42072
42073
42074 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42075 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42076 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42077 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42080
42081
42082
42083 ac_ext=cc
42084 ac_cpp='$CXXCPP $CPPFLAGS'
42085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42088
42089 cat >conftest.$ac_ext <<_ACEOF
42090 /* confdefs.h. */
42091 _ACEOF
42092 cat confdefs.h >>conftest.$ac_ext
42093 cat >>conftest.$ac_ext <<_ACEOF
42094 /* end confdefs.h. */
42095 #include <math.h>
42096 #ifdef HAVE_IEEEFP_H
42097 #include <ieeefp.h>
42098 #endif
42099
42100 int
42101 main ()
42102 {
42103 fabsl(0);
42104 ;
42105 return 0;
42106 }
42107 _ACEOF
42108 rm -f conftest.$ac_objext
42109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42110 (eval $ac_compile) 2>conftest.er1
42111 ac_status=$?
42112 grep -v '^ *+' conftest.er1 >conftest.err
42113 rm -f conftest.er1
42114 cat conftest.err >&5
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); } &&
42117 { ac_try='test -z "$ac_cxx_werror_flag"
42118 || test ! -s conftest.err'
42119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42120 (eval $ac_try) 2>&5
42121 ac_status=$?
42122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42123 (exit $ac_status); }; } &&
42124 { ac_try='test -s conftest.$ac_objext'
42125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42126 (eval $ac_try) 2>&5
42127 ac_status=$?
42128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42129 (exit $ac_status); }; }; then
42130 glibcxx_cv_func_fabsl_use=yes
42131 else
42132 echo "$as_me: failed program was:" >&5
42133 sed 's/^/| /' conftest.$ac_ext >&5
42134
42135 glibcxx_cv_func_fabsl_use=no
42136 fi
42137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42138 ac_ext=c
42139 ac_cpp='$CPP $CPPFLAGS'
42140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42143
42144
42145 fi
42146
42147 fi
42148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
42149 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
42150
42151 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42152
42153 for ac_func in fabsl
42154 do
42155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42156 echo "$as_me:$LINENO: checking for $ac_func" >&5
42157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42158 if eval "test \"\${$as_ac_var+set}\" = set"; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161 if test x$gcc_no_link = xyes; then
42162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42164 { (exit 1); exit 1; }; }
42165 fi
42166 cat >conftest.$ac_ext <<_ACEOF
42167 /* confdefs.h. */
42168 _ACEOF
42169 cat confdefs.h >>conftest.$ac_ext
42170 cat >>conftest.$ac_ext <<_ACEOF
42171 /* end confdefs.h. */
42172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42174 #define $ac_func innocuous_$ac_func
42175
42176 /* System header to define __stub macros and hopefully few prototypes,
42177 which can conflict with char $ac_func (); below.
42178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42179 <limits.h> exists even on freestanding compilers. */
42180
42181 #ifdef __STDC__
42182 # include <limits.h>
42183 #else
42184 # include <assert.h>
42185 #endif
42186
42187 #undef $ac_func
42188
42189 /* Override any gcc2 internal prototype to avoid an error. */
42190 #ifdef __cplusplus
42191 extern "C"
42192 {
42193 #endif
42194 /* We use char because int might match the return type of a gcc2
42195 builtin and then its argument prototype would still apply. */
42196 char $ac_func ();
42197 /* The GNU C library defines this for functions which it implements
42198 to always fail with ENOSYS. Some functions are actually named
42199 something starting with __ and the normal name is an alias. */
42200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42201 choke me
42202 #else
42203 char (*f) () = $ac_func;
42204 #endif
42205 #ifdef __cplusplus
42206 }
42207 #endif
42208
42209 int
42210 main ()
42211 {
42212 return f != $ac_func;
42213 ;
42214 return 0;
42215 }
42216 _ACEOF
42217 rm -f conftest.$ac_objext conftest$ac_exeext
42218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42219 (eval $ac_link) 2>conftest.er1
42220 ac_status=$?
42221 grep -v '^ *+' conftest.er1 >conftest.err
42222 rm -f conftest.er1
42223 cat conftest.err >&5
42224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42225 (exit $ac_status); } &&
42226 { ac_try='test -z "$ac_c_werror_flag"
42227 || test ! -s conftest.err'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42230 ac_status=$?
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; } &&
42233 { ac_try='test -s conftest$ac_exeext'
42234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42235 (eval $ac_try) 2>&5
42236 ac_status=$?
42237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42238 (exit $ac_status); }; }; then
42239 eval "$as_ac_var=yes"
42240 else
42241 echo "$as_me: failed program was:" >&5
42242 sed 's/^/| /' conftest.$ac_ext >&5
42243
42244 eval "$as_ac_var=no"
42245 fi
42246 rm -f conftest.err conftest.$ac_objext \
42247 conftest$ac_exeext conftest.$ac_ext
42248 fi
42249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42251 if test `eval echo '${'$as_ac_var'}'` = yes; then
42252 cat >>confdefs.h <<_ACEOF
42253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42254 _ACEOF
42255
42256 fi
42257 done
42258
42259 else
42260
42261 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
42262 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
42263 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42264 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
42265 echo $ECHO_N "(cached) $ECHO_C" >&6
42266 else
42267
42268
42269
42270 ac_ext=cc
42271 ac_cpp='$CXXCPP $CPPFLAGS'
42272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42275
42276 cat >conftest.$ac_ext <<_ACEOF
42277 /* confdefs.h. */
42278 _ACEOF
42279 cat confdefs.h >>conftest.$ac_ext
42280 cat >>conftest.$ac_ext <<_ACEOF
42281 /* end confdefs.h. */
42282 #include <math.h>
42283 #ifdef HAVE_IEEEFP_H
42284 #include <ieeefp.h>
42285 #endif
42286
42287 int
42288 main ()
42289 {
42290 _fabsl(0);
42291 ;
42292 return 0;
42293 }
42294 _ACEOF
42295 rm -f conftest.$ac_objext
42296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42297 (eval $ac_compile) 2>conftest.er1
42298 ac_status=$?
42299 grep -v '^ *+' conftest.er1 >conftest.err
42300 rm -f conftest.er1
42301 cat conftest.err >&5
42302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42303 (exit $ac_status); } &&
42304 { ac_try='test -z "$ac_cxx_werror_flag"
42305 || test ! -s conftest.err'
42306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42307 (eval $ac_try) 2>&5
42308 ac_status=$?
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); }; } &&
42311 { ac_try='test -s conftest.$ac_objext'
42312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42313 (eval $ac_try) 2>&5
42314 ac_status=$?
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); }; }; then
42317 glibcxx_cv_func__fabsl_use=yes
42318 else
42319 echo "$as_me: failed program was:" >&5
42320 sed 's/^/| /' conftest.$ac_ext >&5
42321
42322 glibcxx_cv_func__fabsl_use=no
42323 fi
42324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42325 ac_ext=c
42326 ac_cpp='$CPP $CPPFLAGS'
42327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42330
42331
42332 fi
42333
42334 fi
42335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
42336 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
42337
42338 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42339
42340 for ac_func in _fabsl
42341 do
42342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42343 echo "$as_me:$LINENO: checking for $ac_func" >&5
42344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42345 if eval "test \"\${$as_ac_var+set}\" = set"; then
42346 echo $ECHO_N "(cached) $ECHO_C" >&6
42347 else
42348 if test x$gcc_no_link = xyes; then
42349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42351 { (exit 1); exit 1; }; }
42352 fi
42353 cat >conftest.$ac_ext <<_ACEOF
42354 /* confdefs.h. */
42355 _ACEOF
42356 cat confdefs.h >>conftest.$ac_ext
42357 cat >>conftest.$ac_ext <<_ACEOF
42358 /* end confdefs.h. */
42359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42361 #define $ac_func innocuous_$ac_func
42362
42363 /* System header to define __stub macros and hopefully few prototypes,
42364 which can conflict with char $ac_func (); below.
42365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42366 <limits.h> exists even on freestanding compilers. */
42367
42368 #ifdef __STDC__
42369 # include <limits.h>
42370 #else
42371 # include <assert.h>
42372 #endif
42373
42374 #undef $ac_func
42375
42376 /* Override any gcc2 internal prototype to avoid an error. */
42377 #ifdef __cplusplus
42378 extern "C"
42379 {
42380 #endif
42381 /* We use char because int might match the return type of a gcc2
42382 builtin and then its argument prototype would still apply. */
42383 char $ac_func ();
42384 /* The GNU C library defines this for functions which it implements
42385 to always fail with ENOSYS. Some functions are actually named
42386 something starting with __ and the normal name is an alias. */
42387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42388 choke me
42389 #else
42390 char (*f) () = $ac_func;
42391 #endif
42392 #ifdef __cplusplus
42393 }
42394 #endif
42395
42396 int
42397 main ()
42398 {
42399 return f != $ac_func;
42400 ;
42401 return 0;
42402 }
42403 _ACEOF
42404 rm -f conftest.$ac_objext conftest$ac_exeext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42406 (eval $ac_link) 2>conftest.er1
42407 ac_status=$?
42408 grep -v '^ *+' conftest.er1 >conftest.err
42409 rm -f conftest.er1
42410 cat conftest.err >&5
42411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42412 (exit $ac_status); } &&
42413 { ac_try='test -z "$ac_c_werror_flag"
42414 || test ! -s conftest.err'
42415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42416 (eval $ac_try) 2>&5
42417 ac_status=$?
42418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42419 (exit $ac_status); }; } &&
42420 { ac_try='test -s conftest$ac_exeext'
42421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42422 (eval $ac_try) 2>&5
42423 ac_status=$?
42424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42425 (exit $ac_status); }; }; then
42426 eval "$as_ac_var=yes"
42427 else
42428 echo "$as_me: failed program was:" >&5
42429 sed 's/^/| /' conftest.$ac_ext >&5
42430
42431 eval "$as_ac_var=no"
42432 fi
42433 rm -f conftest.err conftest.$ac_objext \
42434 conftest$ac_exeext conftest.$ac_ext
42435 fi
42436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42438 if test `eval echo '${'$as_ac_var'}'` = yes; then
42439 cat >>confdefs.h <<_ACEOF
42440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42441 _ACEOF
42442
42443 fi
42444 done
42445
42446 fi
42447 fi
42448
42449
42450
42451 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
42452 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
42453 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42454 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
42455 echo $ECHO_N "(cached) $ECHO_C" >&6
42456 else
42457
42458
42459
42460 ac_ext=cc
42461 ac_cpp='$CXXCPP $CPPFLAGS'
42462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42465
42466 cat >conftest.$ac_ext <<_ACEOF
42467 /* confdefs.h. */
42468 _ACEOF
42469 cat confdefs.h >>conftest.$ac_ext
42470 cat >>conftest.$ac_ext <<_ACEOF
42471 /* end confdefs.h. */
42472 #include <math.h>
42473 int
42474 main ()
42475 {
42476 fmodl(0, 0);
42477 ;
42478 return 0;
42479 }
42480 _ACEOF
42481 rm -f conftest.$ac_objext
42482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42483 (eval $ac_compile) 2>conftest.er1
42484 ac_status=$?
42485 grep -v '^ *+' conftest.er1 >conftest.err
42486 rm -f conftest.er1
42487 cat conftest.err >&5
42488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42489 (exit $ac_status); } &&
42490 { ac_try='test -z "$ac_cxx_werror_flag"
42491 || test ! -s conftest.err'
42492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42493 (eval $ac_try) 2>&5
42494 ac_status=$?
42495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42496 (exit $ac_status); }; } &&
42497 { ac_try='test -s conftest.$ac_objext'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42500 ac_status=$?
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; }; then
42503 glibcxx_cv_func_fmodl_use=yes
42504 else
42505 echo "$as_me: failed program was:" >&5
42506 sed 's/^/| /' conftest.$ac_ext >&5
42507
42508 glibcxx_cv_func_fmodl_use=no
42509 fi
42510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42511 ac_ext=c
42512 ac_cpp='$CPP $CPPFLAGS'
42513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42516
42517
42518 fi
42519
42520 fi
42521 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
42522 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
42523
42524 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42525
42526 for ac_func in fmodl
42527 do
42528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42529 echo "$as_me:$LINENO: checking for $ac_func" >&5
42530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42531 if eval "test \"\${$as_ac_var+set}\" = set"; then
42532 echo $ECHO_N "(cached) $ECHO_C" >&6
42533 else
42534 if test x$gcc_no_link = xyes; then
42535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42537 { (exit 1); exit 1; }; }
42538 fi
42539 cat >conftest.$ac_ext <<_ACEOF
42540 /* confdefs.h. */
42541 _ACEOF
42542 cat confdefs.h >>conftest.$ac_ext
42543 cat >>conftest.$ac_ext <<_ACEOF
42544 /* end confdefs.h. */
42545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42547 #define $ac_func innocuous_$ac_func
42548
42549 /* System header to define __stub macros and hopefully few prototypes,
42550 which can conflict with char $ac_func (); below.
42551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42552 <limits.h> exists even on freestanding compilers. */
42553
42554 #ifdef __STDC__
42555 # include <limits.h>
42556 #else
42557 # include <assert.h>
42558 #endif
42559
42560 #undef $ac_func
42561
42562 /* Override any gcc2 internal prototype to avoid an error. */
42563 #ifdef __cplusplus
42564 extern "C"
42565 {
42566 #endif
42567 /* We use char because int might match the return type of a gcc2
42568 builtin and then its argument prototype would still apply. */
42569 char $ac_func ();
42570 /* The GNU C library defines this for functions which it implements
42571 to always fail with ENOSYS. Some functions are actually named
42572 something starting with __ and the normal name is an alias. */
42573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42574 choke me
42575 #else
42576 char (*f) () = $ac_func;
42577 #endif
42578 #ifdef __cplusplus
42579 }
42580 #endif
42581
42582 int
42583 main ()
42584 {
42585 return f != $ac_func;
42586 ;
42587 return 0;
42588 }
42589 _ACEOF
42590 rm -f conftest.$ac_objext conftest$ac_exeext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42592 (eval $ac_link) 2>conftest.er1
42593 ac_status=$?
42594 grep -v '^ *+' conftest.er1 >conftest.err
42595 rm -f conftest.er1
42596 cat conftest.err >&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); } &&
42599 { ac_try='test -z "$ac_c_werror_flag"
42600 || test ! -s conftest.err'
42601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42602 (eval $ac_try) 2>&5
42603 ac_status=$?
42604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42605 (exit $ac_status); }; } &&
42606 { ac_try='test -s conftest$ac_exeext'
42607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42608 (eval $ac_try) 2>&5
42609 ac_status=$?
42610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42611 (exit $ac_status); }; }; then
42612 eval "$as_ac_var=yes"
42613 else
42614 echo "$as_me: failed program was:" >&5
42615 sed 's/^/| /' conftest.$ac_ext >&5
42616
42617 eval "$as_ac_var=no"
42618 fi
42619 rm -f conftest.err conftest.$ac_objext \
42620 conftest$ac_exeext conftest.$ac_ext
42621 fi
42622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42624 if test `eval echo '${'$as_ac_var'}'` = yes; then
42625 cat >>confdefs.h <<_ACEOF
42626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42627 _ACEOF
42628
42629 fi
42630 done
42631
42632 else
42633
42634 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
42635 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
42636 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42637 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 else
42640
42641
42642
42643 ac_ext=cc
42644 ac_cpp='$CXXCPP $CPPFLAGS'
42645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42648
42649 cat >conftest.$ac_ext <<_ACEOF
42650 /* confdefs.h. */
42651 _ACEOF
42652 cat confdefs.h >>conftest.$ac_ext
42653 cat >>conftest.$ac_ext <<_ACEOF
42654 /* end confdefs.h. */
42655 #include <math.h>
42656 int
42657 main ()
42658 {
42659 _fmodl(0, 0);
42660 ;
42661 return 0;
42662 }
42663 _ACEOF
42664 rm -f conftest.$ac_objext
42665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42666 (eval $ac_compile) 2>conftest.er1
42667 ac_status=$?
42668 grep -v '^ *+' conftest.er1 >conftest.err
42669 rm -f conftest.er1
42670 cat conftest.err >&5
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); } &&
42673 { ac_try='test -z "$ac_cxx_werror_flag"
42674 || test ! -s conftest.err'
42675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42676 (eval $ac_try) 2>&5
42677 ac_status=$?
42678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42679 (exit $ac_status); }; } &&
42680 { ac_try='test -s conftest.$ac_objext'
42681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42682 (eval $ac_try) 2>&5
42683 ac_status=$?
42684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42685 (exit $ac_status); }; }; then
42686 glibcxx_cv_func__fmodl_use=yes
42687 else
42688 echo "$as_me: failed program was:" >&5
42689 sed 's/^/| /' conftest.$ac_ext >&5
42690
42691 glibcxx_cv_func__fmodl_use=no
42692 fi
42693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42694 ac_ext=c
42695 ac_cpp='$CPP $CPPFLAGS'
42696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42699
42700
42701 fi
42702
42703 fi
42704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
42705 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
42706
42707 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42708
42709 for ac_func in _fmodl
42710 do
42711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42712 echo "$as_me:$LINENO: checking for $ac_func" >&5
42713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42714 if eval "test \"\${$as_ac_var+set}\" = set"; then
42715 echo $ECHO_N "(cached) $ECHO_C" >&6
42716 else
42717 if test x$gcc_no_link = xyes; then
42718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42720 { (exit 1); exit 1; }; }
42721 fi
42722 cat >conftest.$ac_ext <<_ACEOF
42723 /* confdefs.h. */
42724 _ACEOF
42725 cat confdefs.h >>conftest.$ac_ext
42726 cat >>conftest.$ac_ext <<_ACEOF
42727 /* end confdefs.h. */
42728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42730 #define $ac_func innocuous_$ac_func
42731
42732 /* System header to define __stub macros and hopefully few prototypes,
42733 which can conflict with char $ac_func (); below.
42734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42735 <limits.h> exists even on freestanding compilers. */
42736
42737 #ifdef __STDC__
42738 # include <limits.h>
42739 #else
42740 # include <assert.h>
42741 #endif
42742
42743 #undef $ac_func
42744
42745 /* Override any gcc2 internal prototype to avoid an error. */
42746 #ifdef __cplusplus
42747 extern "C"
42748 {
42749 #endif
42750 /* We use char because int might match the return type of a gcc2
42751 builtin and then its argument prototype would still apply. */
42752 char $ac_func ();
42753 /* The GNU C library defines this for functions which it implements
42754 to always fail with ENOSYS. Some functions are actually named
42755 something starting with __ and the normal name is an alias. */
42756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42757 choke me
42758 #else
42759 char (*f) () = $ac_func;
42760 #endif
42761 #ifdef __cplusplus
42762 }
42763 #endif
42764
42765 int
42766 main ()
42767 {
42768 return f != $ac_func;
42769 ;
42770 return 0;
42771 }
42772 _ACEOF
42773 rm -f conftest.$ac_objext conftest$ac_exeext
42774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42775 (eval $ac_link) 2>conftest.er1
42776 ac_status=$?
42777 grep -v '^ *+' conftest.er1 >conftest.err
42778 rm -f conftest.er1
42779 cat conftest.err >&5
42780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42781 (exit $ac_status); } &&
42782 { ac_try='test -z "$ac_c_werror_flag"
42783 || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 eval "$as_ac_var=yes"
42796 else
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42799
42800 eval "$as_ac_var=no"
42801 fi
42802 rm -f conftest.err conftest.$ac_objext \
42803 conftest$ac_exeext conftest.$ac_ext
42804 fi
42805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42807 if test `eval echo '${'$as_ac_var'}'` = yes; then
42808 cat >>confdefs.h <<_ACEOF
42809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42810 _ACEOF
42811
42812 fi
42813 done
42814
42815 fi
42816 fi
42817
42818
42819
42820 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
42821 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
42822 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42823 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
42824 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 else
42826
42827
42828
42829 ac_ext=cc
42830 ac_cpp='$CXXCPP $CPPFLAGS'
42831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42834
42835 cat >conftest.$ac_ext <<_ACEOF
42836 /* confdefs.h. */
42837 _ACEOF
42838 cat confdefs.h >>conftest.$ac_ext
42839 cat >>conftest.$ac_ext <<_ACEOF
42840 /* end confdefs.h. */
42841 #include <math.h>
42842 int
42843 main ()
42844 {
42845 frexpl(0, 0);
42846 ;
42847 return 0;
42848 }
42849 _ACEOF
42850 rm -f conftest.$ac_objext
42851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42852 (eval $ac_compile) 2>conftest.er1
42853 ac_status=$?
42854 grep -v '^ *+' conftest.er1 >conftest.err
42855 rm -f conftest.er1
42856 cat conftest.err >&5
42857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42858 (exit $ac_status); } &&
42859 { ac_try='test -z "$ac_cxx_werror_flag"
42860 || test ! -s conftest.err'
42861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42862 (eval $ac_try) 2>&5
42863 ac_status=$?
42864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42865 (exit $ac_status); }; } &&
42866 { ac_try='test -s conftest.$ac_objext'
42867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42868 (eval $ac_try) 2>&5
42869 ac_status=$?
42870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42871 (exit $ac_status); }; }; then
42872 glibcxx_cv_func_frexpl_use=yes
42873 else
42874 echo "$as_me: failed program was:" >&5
42875 sed 's/^/| /' conftest.$ac_ext >&5
42876
42877 glibcxx_cv_func_frexpl_use=no
42878 fi
42879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42880 ac_ext=c
42881 ac_cpp='$CPP $CPPFLAGS'
42882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42885
42886
42887 fi
42888
42889 fi
42890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
42891 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
42892
42893 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42894
42895 for ac_func in frexpl
42896 do
42897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42898 echo "$as_me:$LINENO: checking for $ac_func" >&5
42899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42900 if eval "test \"\${$as_ac_var+set}\" = set"; then
42901 echo $ECHO_N "(cached) $ECHO_C" >&6
42902 else
42903 if test x$gcc_no_link = xyes; then
42904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42906 { (exit 1); exit 1; }; }
42907 fi
42908 cat >conftest.$ac_ext <<_ACEOF
42909 /* confdefs.h. */
42910 _ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42916 #define $ac_func innocuous_$ac_func
42917
42918 /* System header to define __stub macros and hopefully few prototypes,
42919 which can conflict with char $ac_func (); below.
42920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42921 <limits.h> exists even on freestanding compilers. */
42922
42923 #ifdef __STDC__
42924 # include <limits.h>
42925 #else
42926 # include <assert.h>
42927 #endif
42928
42929 #undef $ac_func
42930
42931 /* Override any gcc2 internal prototype to avoid an error. */
42932 #ifdef __cplusplus
42933 extern "C"
42934 {
42935 #endif
42936 /* We use char because int might match the return type of a gcc2
42937 builtin and then its argument prototype would still apply. */
42938 char $ac_func ();
42939 /* The GNU C library defines this for functions which it implements
42940 to always fail with ENOSYS. Some functions are actually named
42941 something starting with __ and the normal name is an alias. */
42942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42943 choke me
42944 #else
42945 char (*f) () = $ac_func;
42946 #endif
42947 #ifdef __cplusplus
42948 }
42949 #endif
42950
42951 int
42952 main ()
42953 {
42954 return f != $ac_func;
42955 ;
42956 return 0;
42957 }
42958 _ACEOF
42959 rm -f conftest.$ac_objext conftest$ac_exeext
42960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42961 (eval $ac_link) 2>conftest.er1
42962 ac_status=$?
42963 grep -v '^ *+' conftest.er1 >conftest.err
42964 rm -f conftest.er1
42965 cat conftest.err >&5
42966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42967 (exit $ac_status); } &&
42968 { ac_try='test -z "$ac_c_werror_flag"
42969 || test ! -s conftest.err'
42970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42971 (eval $ac_try) 2>&5
42972 ac_status=$?
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); }; } &&
42975 { ac_try='test -s conftest$ac_exeext'
42976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42977 (eval $ac_try) 2>&5
42978 ac_status=$?
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); }; }; then
42981 eval "$as_ac_var=yes"
42982 else
42983 echo "$as_me: failed program was:" >&5
42984 sed 's/^/| /' conftest.$ac_ext >&5
42985
42986 eval "$as_ac_var=no"
42987 fi
42988 rm -f conftest.err conftest.$ac_objext \
42989 conftest$ac_exeext conftest.$ac_ext
42990 fi
42991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42993 if test `eval echo '${'$as_ac_var'}'` = yes; then
42994 cat >>confdefs.h <<_ACEOF
42995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42996 _ACEOF
42997
42998 fi
42999 done
43000
43001 else
43002
43003 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43004 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43005 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43006 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43007 echo $ECHO_N "(cached) $ECHO_C" >&6
43008 else
43009
43010
43011
43012 ac_ext=cc
43013 ac_cpp='$CXXCPP $CPPFLAGS'
43014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43017
43018 cat >conftest.$ac_ext <<_ACEOF
43019 /* confdefs.h. */
43020 _ACEOF
43021 cat confdefs.h >>conftest.$ac_ext
43022 cat >>conftest.$ac_ext <<_ACEOF
43023 /* end confdefs.h. */
43024 #include <math.h>
43025 int
43026 main ()
43027 {
43028 _frexpl(0, 0);
43029 ;
43030 return 0;
43031 }
43032 _ACEOF
43033 rm -f conftest.$ac_objext
43034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43035 (eval $ac_compile) 2>conftest.er1
43036 ac_status=$?
43037 grep -v '^ *+' conftest.er1 >conftest.err
43038 rm -f conftest.er1
43039 cat conftest.err >&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); } &&
43042 { ac_try='test -z "$ac_cxx_werror_flag"
43043 || test ! -s conftest.err'
43044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43045 (eval $ac_try) 2>&5
43046 ac_status=$?
43047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43048 (exit $ac_status); }; } &&
43049 { ac_try='test -s conftest.$ac_objext'
43050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43051 (eval $ac_try) 2>&5
43052 ac_status=$?
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; }; then
43055 glibcxx_cv_func__frexpl_use=yes
43056 else
43057 echo "$as_me: failed program was:" >&5
43058 sed 's/^/| /' conftest.$ac_ext >&5
43059
43060 glibcxx_cv_func__frexpl_use=no
43061 fi
43062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43063 ac_ext=c
43064 ac_cpp='$CPP $CPPFLAGS'
43065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43068
43069
43070 fi
43071
43072 fi
43073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43074 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43075
43076 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43077
43078 for ac_func in _frexpl
43079 do
43080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43081 echo "$as_me:$LINENO: checking for $ac_func" >&5
43082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43083 if eval "test \"\${$as_ac_var+set}\" = set"; then
43084 echo $ECHO_N "(cached) $ECHO_C" >&6
43085 else
43086 if test x$gcc_no_link = xyes; then
43087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43089 { (exit 1); exit 1; }; }
43090 fi
43091 cat >conftest.$ac_ext <<_ACEOF
43092 /* confdefs.h. */
43093 _ACEOF
43094 cat confdefs.h >>conftest.$ac_ext
43095 cat >>conftest.$ac_ext <<_ACEOF
43096 /* end confdefs.h. */
43097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43099 #define $ac_func innocuous_$ac_func
43100
43101 /* System header to define __stub macros and hopefully few prototypes,
43102 which can conflict with char $ac_func (); below.
43103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43104 <limits.h> exists even on freestanding compilers. */
43105
43106 #ifdef __STDC__
43107 # include <limits.h>
43108 #else
43109 # include <assert.h>
43110 #endif
43111
43112 #undef $ac_func
43113
43114 /* Override any gcc2 internal prototype to avoid an error. */
43115 #ifdef __cplusplus
43116 extern "C"
43117 {
43118 #endif
43119 /* We use char because int might match the return type of a gcc2
43120 builtin and then its argument prototype would still apply. */
43121 char $ac_func ();
43122 /* The GNU C library defines this for functions which it implements
43123 to always fail with ENOSYS. Some functions are actually named
43124 something starting with __ and the normal name is an alias. */
43125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43126 choke me
43127 #else
43128 char (*f) () = $ac_func;
43129 #endif
43130 #ifdef __cplusplus
43131 }
43132 #endif
43133
43134 int
43135 main ()
43136 {
43137 return f != $ac_func;
43138 ;
43139 return 0;
43140 }
43141 _ACEOF
43142 rm -f conftest.$ac_objext conftest$ac_exeext
43143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43144 (eval $ac_link) 2>conftest.er1
43145 ac_status=$?
43146 grep -v '^ *+' conftest.er1 >conftest.err
43147 rm -f conftest.er1
43148 cat conftest.err >&5
43149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43150 (exit $ac_status); } &&
43151 { ac_try='test -z "$ac_c_werror_flag"
43152 || test ! -s conftest.err'
43153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43154 (eval $ac_try) 2>&5
43155 ac_status=$?
43156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43157 (exit $ac_status); }; } &&
43158 { ac_try='test -s conftest$ac_exeext'
43159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43160 (eval $ac_try) 2>&5
43161 ac_status=$?
43162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43163 (exit $ac_status); }; }; then
43164 eval "$as_ac_var=yes"
43165 else
43166 echo "$as_me: failed program was:" >&5
43167 sed 's/^/| /' conftest.$ac_ext >&5
43168
43169 eval "$as_ac_var=no"
43170 fi
43171 rm -f conftest.err conftest.$ac_objext \
43172 conftest$ac_exeext conftest.$ac_ext
43173 fi
43174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43176 if test `eval echo '${'$as_ac_var'}'` = yes; then
43177 cat >>confdefs.h <<_ACEOF
43178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43179 _ACEOF
43180
43181 fi
43182 done
43183
43184 fi
43185 fi
43186
43187
43188
43189 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
43190 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
43191 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43192 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
43193 echo $ECHO_N "(cached) $ECHO_C" >&6
43194 else
43195
43196
43197
43198 ac_ext=cc
43199 ac_cpp='$CXXCPP $CPPFLAGS'
43200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203
43204 cat >conftest.$ac_ext <<_ACEOF
43205 /* confdefs.h. */
43206 _ACEOF
43207 cat confdefs.h >>conftest.$ac_ext
43208 cat >>conftest.$ac_ext <<_ACEOF
43209 /* end confdefs.h. */
43210 #include <math.h>
43211 int
43212 main ()
43213 {
43214 hypotl(0, 0);
43215 ;
43216 return 0;
43217 }
43218 _ACEOF
43219 rm -f conftest.$ac_objext
43220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43221 (eval $ac_compile) 2>conftest.er1
43222 ac_status=$?
43223 grep -v '^ *+' conftest.er1 >conftest.err
43224 rm -f conftest.er1
43225 cat conftest.err >&5
43226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43227 (exit $ac_status); } &&
43228 { ac_try='test -z "$ac_cxx_werror_flag"
43229 || test ! -s conftest.err'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43232 ac_status=$?
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; } &&
43235 { ac_try='test -s conftest.$ac_objext'
43236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43237 (eval $ac_try) 2>&5
43238 ac_status=$?
43239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43240 (exit $ac_status); }; }; then
43241 glibcxx_cv_func_hypotl_use=yes
43242 else
43243 echo "$as_me: failed program was:" >&5
43244 sed 's/^/| /' conftest.$ac_ext >&5
43245
43246 glibcxx_cv_func_hypotl_use=no
43247 fi
43248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258 fi
43259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
43260 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
43261
43262 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43263
43264 for ac_func in hypotl
43265 do
43266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43267 echo "$as_me:$LINENO: checking for $ac_func" >&5
43268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43269 if eval "test \"\${$as_ac_var+set}\" = set"; then
43270 echo $ECHO_N "(cached) $ECHO_C" >&6
43271 else
43272 if test x$gcc_no_link = xyes; then
43273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43275 { (exit 1); exit 1; }; }
43276 fi
43277 cat >conftest.$ac_ext <<_ACEOF
43278 /* confdefs.h. */
43279 _ACEOF
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43285 #define $ac_func innocuous_$ac_func
43286
43287 /* System header to define __stub macros and hopefully few prototypes,
43288 which can conflict with char $ac_func (); below.
43289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43290 <limits.h> exists even on freestanding compilers. */
43291
43292 #ifdef __STDC__
43293 # include <limits.h>
43294 #else
43295 # include <assert.h>
43296 #endif
43297
43298 #undef $ac_func
43299
43300 /* Override any gcc2 internal prototype to avoid an error. */
43301 #ifdef __cplusplus
43302 extern "C"
43303 {
43304 #endif
43305 /* We use char because int might match the return type of a gcc2
43306 builtin and then its argument prototype would still apply. */
43307 char $ac_func ();
43308 /* The GNU C library defines this for functions which it implements
43309 to always fail with ENOSYS. Some functions are actually named
43310 something starting with __ and the normal name is an alias. */
43311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43312 choke me
43313 #else
43314 char (*f) () = $ac_func;
43315 #endif
43316 #ifdef __cplusplus
43317 }
43318 #endif
43319
43320 int
43321 main ()
43322 {
43323 return f != $ac_func;
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 rm -f conftest.$ac_objext conftest$ac_exeext
43329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43330 (eval $ac_link) 2>conftest.er1
43331 ac_status=$?
43332 grep -v '^ *+' conftest.er1 >conftest.err
43333 rm -f conftest.er1
43334 cat conftest.err >&5
43335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43336 (exit $ac_status); } &&
43337 { ac_try='test -z "$ac_c_werror_flag"
43338 || test ! -s conftest.err'
43339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43340 (eval $ac_try) 2>&5
43341 ac_status=$?
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); }; } &&
43344 { ac_try='test -s conftest$ac_exeext'
43345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43346 (eval $ac_try) 2>&5
43347 ac_status=$?
43348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43349 (exit $ac_status); }; }; then
43350 eval "$as_ac_var=yes"
43351 else
43352 echo "$as_me: failed program was:" >&5
43353 sed 's/^/| /' conftest.$ac_ext >&5
43354
43355 eval "$as_ac_var=no"
43356 fi
43357 rm -f conftest.err conftest.$ac_objext \
43358 conftest$ac_exeext conftest.$ac_ext
43359 fi
43360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43362 if test `eval echo '${'$as_ac_var'}'` = yes; then
43363 cat >>confdefs.h <<_ACEOF
43364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43365 _ACEOF
43366
43367 fi
43368 done
43369
43370 else
43371
43372 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
43373 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
43374 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43375 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
43376 echo $ECHO_N "(cached) $ECHO_C" >&6
43377 else
43378
43379
43380
43381 ac_ext=cc
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43386
43387 cat >conftest.$ac_ext <<_ACEOF
43388 /* confdefs.h. */
43389 _ACEOF
43390 cat confdefs.h >>conftest.$ac_ext
43391 cat >>conftest.$ac_ext <<_ACEOF
43392 /* end confdefs.h. */
43393 #include <math.h>
43394 int
43395 main ()
43396 {
43397 _hypotl(0, 0);
43398 ;
43399 return 0;
43400 }
43401 _ACEOF
43402 rm -f conftest.$ac_objext
43403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43404 (eval $ac_compile) 2>conftest.er1
43405 ac_status=$?
43406 grep -v '^ *+' conftest.er1 >conftest.err
43407 rm -f conftest.er1
43408 cat conftest.err >&5
43409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43410 (exit $ac_status); } &&
43411 { ac_try='test -z "$ac_cxx_werror_flag"
43412 || test ! -s conftest.err'
43413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43414 (eval $ac_try) 2>&5
43415 ac_status=$?
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); }; } &&
43418 { ac_try='test -s conftest.$ac_objext'
43419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43420 (eval $ac_try) 2>&5
43421 ac_status=$?
43422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43423 (exit $ac_status); }; }; then
43424 glibcxx_cv_func__hypotl_use=yes
43425 else
43426 echo "$as_me: failed program was:" >&5
43427 sed 's/^/| /' conftest.$ac_ext >&5
43428
43429 glibcxx_cv_func__hypotl_use=no
43430 fi
43431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437
43438
43439 fi
43440
43441 fi
43442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
43443 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
43444
43445 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43446
43447 for ac_func in _hypotl
43448 do
43449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43450 echo "$as_me:$LINENO: checking for $ac_func" >&5
43451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43452 if eval "test \"\${$as_ac_var+set}\" = set"; then
43453 echo $ECHO_N "(cached) $ECHO_C" >&6
43454 else
43455 if test x$gcc_no_link = xyes; then
43456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43458 { (exit 1); exit 1; }; }
43459 fi
43460 cat >conftest.$ac_ext <<_ACEOF
43461 /* confdefs.h. */
43462 _ACEOF
43463 cat confdefs.h >>conftest.$ac_ext
43464 cat >>conftest.$ac_ext <<_ACEOF
43465 /* end confdefs.h. */
43466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43468 #define $ac_func innocuous_$ac_func
43469
43470 /* System header to define __stub macros and hopefully few prototypes,
43471 which can conflict with char $ac_func (); below.
43472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43473 <limits.h> exists even on freestanding compilers. */
43474
43475 #ifdef __STDC__
43476 # include <limits.h>
43477 #else
43478 # include <assert.h>
43479 #endif
43480
43481 #undef $ac_func
43482
43483 /* Override any gcc2 internal prototype to avoid an error. */
43484 #ifdef __cplusplus
43485 extern "C"
43486 {
43487 #endif
43488 /* We use char because int might match the return type of a gcc2
43489 builtin and then its argument prototype would still apply. */
43490 char $ac_func ();
43491 /* The GNU C library defines this for functions which it implements
43492 to always fail with ENOSYS. Some functions are actually named
43493 something starting with __ and the normal name is an alias. */
43494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43495 choke me
43496 #else
43497 char (*f) () = $ac_func;
43498 #endif
43499 #ifdef __cplusplus
43500 }
43501 #endif
43502
43503 int
43504 main ()
43505 {
43506 return f != $ac_func;
43507 ;
43508 return 0;
43509 }
43510 _ACEOF
43511 rm -f conftest.$ac_objext conftest$ac_exeext
43512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43513 (eval $ac_link) 2>conftest.er1
43514 ac_status=$?
43515 grep -v '^ *+' conftest.er1 >conftest.err
43516 rm -f conftest.er1
43517 cat conftest.err >&5
43518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43519 (exit $ac_status); } &&
43520 { ac_try='test -z "$ac_c_werror_flag"
43521 || test ! -s conftest.err'
43522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43523 (eval $ac_try) 2>&5
43524 ac_status=$?
43525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43526 (exit $ac_status); }; } &&
43527 { ac_try='test -s conftest$ac_exeext'
43528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43529 (eval $ac_try) 2>&5
43530 ac_status=$?
43531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43532 (exit $ac_status); }; }; then
43533 eval "$as_ac_var=yes"
43534 else
43535 echo "$as_me: failed program was:" >&5
43536 sed 's/^/| /' conftest.$ac_ext >&5
43537
43538 eval "$as_ac_var=no"
43539 fi
43540 rm -f conftest.err conftest.$ac_objext \
43541 conftest$ac_exeext conftest.$ac_ext
43542 fi
43543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43545 if test `eval echo '${'$as_ac_var'}'` = yes; then
43546 cat >>confdefs.h <<_ACEOF
43547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43548 _ACEOF
43549
43550 fi
43551 done
43552
43553 fi
43554 fi
43555
43556
43557
43558 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
43559 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
43560 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43561 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
43562 echo $ECHO_N "(cached) $ECHO_C" >&6
43563 else
43564
43565
43566
43567 ac_ext=cc
43568 ac_cpp='$CXXCPP $CPPFLAGS'
43569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43572
43573 cat >conftest.$ac_ext <<_ACEOF
43574 /* confdefs.h. */
43575 _ACEOF
43576 cat confdefs.h >>conftest.$ac_ext
43577 cat >>conftest.$ac_ext <<_ACEOF
43578 /* end confdefs.h. */
43579 #include <math.h>
43580 int
43581 main ()
43582 {
43583 ldexpl(0, 0);
43584 ;
43585 return 0;
43586 }
43587 _ACEOF
43588 rm -f conftest.$ac_objext
43589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43590 (eval $ac_compile) 2>conftest.er1
43591 ac_status=$?
43592 grep -v '^ *+' conftest.er1 >conftest.err
43593 rm -f conftest.er1
43594 cat conftest.err >&5
43595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43596 (exit $ac_status); } &&
43597 { ac_try='test -z "$ac_cxx_werror_flag"
43598 || test ! -s conftest.err'
43599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43600 (eval $ac_try) 2>&5
43601 ac_status=$?
43602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43603 (exit $ac_status); }; } &&
43604 { ac_try='test -s conftest.$ac_objext'
43605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43606 (eval $ac_try) 2>&5
43607 ac_status=$?
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); }; }; then
43610 glibcxx_cv_func_ldexpl_use=yes
43611 else
43612 echo "$as_me: failed program was:" >&5
43613 sed 's/^/| /' conftest.$ac_ext >&5
43614
43615 glibcxx_cv_func_ldexpl_use=no
43616 fi
43617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43618 ac_ext=c
43619 ac_cpp='$CPP $CPPFLAGS'
43620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43623
43624
43625 fi
43626
43627 fi
43628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
43629 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
43630
43631 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43632
43633 for ac_func in ldexpl
43634 do
43635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43636 echo "$as_me:$LINENO: checking for $ac_func" >&5
43637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43638 if eval "test \"\${$as_ac_var+set}\" = set"; then
43639 echo $ECHO_N "(cached) $ECHO_C" >&6
43640 else
43641 if test x$gcc_no_link = xyes; then
43642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43644 { (exit 1); exit 1; }; }
43645 fi
43646 cat >conftest.$ac_ext <<_ACEOF
43647 /* confdefs.h. */
43648 _ACEOF
43649 cat confdefs.h >>conftest.$ac_ext
43650 cat >>conftest.$ac_ext <<_ACEOF
43651 /* end confdefs.h. */
43652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43654 #define $ac_func innocuous_$ac_func
43655
43656 /* System header to define __stub macros and hopefully few prototypes,
43657 which can conflict with char $ac_func (); below.
43658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43659 <limits.h> exists even on freestanding compilers. */
43660
43661 #ifdef __STDC__
43662 # include <limits.h>
43663 #else
43664 # include <assert.h>
43665 #endif
43666
43667 #undef $ac_func
43668
43669 /* Override any gcc2 internal prototype to avoid an error. */
43670 #ifdef __cplusplus
43671 extern "C"
43672 {
43673 #endif
43674 /* We use char because int might match the return type of a gcc2
43675 builtin and then its argument prototype would still apply. */
43676 char $ac_func ();
43677 /* The GNU C library defines this for functions which it implements
43678 to always fail with ENOSYS. Some functions are actually named
43679 something starting with __ and the normal name is an alias. */
43680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43681 choke me
43682 #else
43683 char (*f) () = $ac_func;
43684 #endif
43685 #ifdef __cplusplus
43686 }
43687 #endif
43688
43689 int
43690 main ()
43691 {
43692 return f != $ac_func;
43693 ;
43694 return 0;
43695 }
43696 _ACEOF
43697 rm -f conftest.$ac_objext conftest$ac_exeext
43698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43699 (eval $ac_link) 2>conftest.er1
43700 ac_status=$?
43701 grep -v '^ *+' conftest.er1 >conftest.err
43702 rm -f conftest.er1
43703 cat conftest.err >&5
43704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43705 (exit $ac_status); } &&
43706 { ac_try='test -z "$ac_c_werror_flag"
43707 || test ! -s conftest.err'
43708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43709 (eval $ac_try) 2>&5
43710 ac_status=$?
43711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43712 (exit $ac_status); }; } &&
43713 { ac_try='test -s conftest$ac_exeext'
43714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43715 (eval $ac_try) 2>&5
43716 ac_status=$?
43717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43718 (exit $ac_status); }; }; then
43719 eval "$as_ac_var=yes"
43720 else
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43723
43724 eval "$as_ac_var=no"
43725 fi
43726 rm -f conftest.err conftest.$ac_objext \
43727 conftest$ac_exeext conftest.$ac_ext
43728 fi
43729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43731 if test `eval echo '${'$as_ac_var'}'` = yes; then
43732 cat >>confdefs.h <<_ACEOF
43733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43734 _ACEOF
43735
43736 fi
43737 done
43738
43739 else
43740
43741 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
43742 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
43743 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43744 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
43745 echo $ECHO_N "(cached) $ECHO_C" >&6
43746 else
43747
43748
43749
43750 ac_ext=cc
43751 ac_cpp='$CXXCPP $CPPFLAGS'
43752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43755
43756 cat >conftest.$ac_ext <<_ACEOF
43757 /* confdefs.h. */
43758 _ACEOF
43759 cat confdefs.h >>conftest.$ac_ext
43760 cat >>conftest.$ac_ext <<_ACEOF
43761 /* end confdefs.h. */
43762 #include <math.h>
43763 int
43764 main ()
43765 {
43766 _ldexpl(0, 0);
43767 ;
43768 return 0;
43769 }
43770 _ACEOF
43771 rm -f conftest.$ac_objext
43772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43773 (eval $ac_compile) 2>conftest.er1
43774 ac_status=$?
43775 grep -v '^ *+' conftest.er1 >conftest.err
43776 rm -f conftest.er1
43777 cat conftest.err >&5
43778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43779 (exit $ac_status); } &&
43780 { ac_try='test -z "$ac_cxx_werror_flag"
43781 || test ! -s conftest.err'
43782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43783 (eval $ac_try) 2>&5
43784 ac_status=$?
43785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43786 (exit $ac_status); }; } &&
43787 { ac_try='test -s conftest.$ac_objext'
43788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43789 (eval $ac_try) 2>&5
43790 ac_status=$?
43791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43792 (exit $ac_status); }; }; then
43793 glibcxx_cv_func__ldexpl_use=yes
43794 else
43795 echo "$as_me: failed program was:" >&5
43796 sed 's/^/| /' conftest.$ac_ext >&5
43797
43798 glibcxx_cv_func__ldexpl_use=no
43799 fi
43800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43801 ac_ext=c
43802 ac_cpp='$CPP $CPPFLAGS'
43803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43806
43807
43808 fi
43809
43810 fi
43811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
43812 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
43813
43814 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43815
43816 for ac_func in _ldexpl
43817 do
43818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43819 echo "$as_me:$LINENO: checking for $ac_func" >&5
43820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43821 if eval "test \"\${$as_ac_var+set}\" = set"; then
43822 echo $ECHO_N "(cached) $ECHO_C" >&6
43823 else
43824 if test x$gcc_no_link = xyes; then
43825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43827 { (exit 1); exit 1; }; }
43828 fi
43829 cat >conftest.$ac_ext <<_ACEOF
43830 /* confdefs.h. */
43831 _ACEOF
43832 cat confdefs.h >>conftest.$ac_ext
43833 cat >>conftest.$ac_ext <<_ACEOF
43834 /* end confdefs.h. */
43835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43837 #define $ac_func innocuous_$ac_func
43838
43839 /* System header to define __stub macros and hopefully few prototypes,
43840 which can conflict with char $ac_func (); below.
43841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43842 <limits.h> exists even on freestanding compilers. */
43843
43844 #ifdef __STDC__
43845 # include <limits.h>
43846 #else
43847 # include <assert.h>
43848 #endif
43849
43850 #undef $ac_func
43851
43852 /* Override any gcc2 internal prototype to avoid an error. */
43853 #ifdef __cplusplus
43854 extern "C"
43855 {
43856 #endif
43857 /* We use char because int might match the return type of a gcc2
43858 builtin and then its argument prototype would still apply. */
43859 char $ac_func ();
43860 /* The GNU C library defines this for functions which it implements
43861 to always fail with ENOSYS. Some functions are actually named
43862 something starting with __ and the normal name is an alias. */
43863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43864 choke me
43865 #else
43866 char (*f) () = $ac_func;
43867 #endif
43868 #ifdef __cplusplus
43869 }
43870 #endif
43871
43872 int
43873 main ()
43874 {
43875 return f != $ac_func;
43876 ;
43877 return 0;
43878 }
43879 _ACEOF
43880 rm -f conftest.$ac_objext conftest$ac_exeext
43881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43882 (eval $ac_link) 2>conftest.er1
43883 ac_status=$?
43884 grep -v '^ *+' conftest.er1 >conftest.err
43885 rm -f conftest.er1
43886 cat conftest.err >&5
43887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43888 (exit $ac_status); } &&
43889 { ac_try='test -z "$ac_c_werror_flag"
43890 || test ! -s conftest.err'
43891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43892 (eval $ac_try) 2>&5
43893 ac_status=$?
43894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43895 (exit $ac_status); }; } &&
43896 { ac_try='test -s conftest$ac_exeext'
43897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43898 (eval $ac_try) 2>&5
43899 ac_status=$?
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); }; }; then
43902 eval "$as_ac_var=yes"
43903 else
43904 echo "$as_me: failed program was:" >&5
43905 sed 's/^/| /' conftest.$ac_ext >&5
43906
43907 eval "$as_ac_var=no"
43908 fi
43909 rm -f conftest.err conftest.$ac_objext \
43910 conftest$ac_exeext conftest.$ac_ext
43911 fi
43912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43914 if test `eval echo '${'$as_ac_var'}'` = yes; then
43915 cat >>confdefs.h <<_ACEOF
43916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43917 _ACEOF
43918
43919 fi
43920 done
43921
43922 fi
43923 fi
43924
43925
43926
43927 echo "$as_me:$LINENO: checking for logl declaration" >&5
43928 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
43929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43930 if test "${glibcxx_cv_func_logl_use+set}" = set; then
43931 echo $ECHO_N "(cached) $ECHO_C" >&6
43932 else
43933
43934
43935
43936 ac_ext=cc
43937 ac_cpp='$CXXCPP $CPPFLAGS'
43938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43941
43942 cat >conftest.$ac_ext <<_ACEOF
43943 /* confdefs.h. */
43944 _ACEOF
43945 cat confdefs.h >>conftest.$ac_ext
43946 cat >>conftest.$ac_ext <<_ACEOF
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43952
43953 int
43954 main ()
43955 {
43956 logl(0);
43957 ;
43958 return 0;
43959 }
43960 _ACEOF
43961 rm -f conftest.$ac_objext
43962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43963 (eval $ac_compile) 2>conftest.er1
43964 ac_status=$?
43965 grep -v '^ *+' conftest.er1 >conftest.err
43966 rm -f conftest.er1
43967 cat conftest.err >&5
43968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43969 (exit $ac_status); } &&
43970 { ac_try='test -z "$ac_cxx_werror_flag"
43971 || test ! -s conftest.err'
43972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43973 (eval $ac_try) 2>&5
43974 ac_status=$?
43975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43976 (exit $ac_status); }; } &&
43977 { ac_try='test -s conftest.$ac_objext'
43978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43979 (eval $ac_try) 2>&5
43980 ac_status=$?
43981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43982 (exit $ac_status); }; }; then
43983 glibcxx_cv_func_logl_use=yes
43984 else
43985 echo "$as_me: failed program was:" >&5
43986 sed 's/^/| /' conftest.$ac_ext >&5
43987
43988 glibcxx_cv_func_logl_use=no
43989 fi
43990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997
43998 fi
43999
44000 fi
44001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44002 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44003
44004 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44005
44006 for ac_func in logl
44007 do
44008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44009 echo "$as_me:$LINENO: checking for $ac_func" >&5
44010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44011 if eval "test \"\${$as_ac_var+set}\" = set"; then
44012 echo $ECHO_N "(cached) $ECHO_C" >&6
44013 else
44014 if test x$gcc_no_link = xyes; then
44015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44017 { (exit 1); exit 1; }; }
44018 fi
44019 cat >conftest.$ac_ext <<_ACEOF
44020 /* confdefs.h. */
44021 _ACEOF
44022 cat confdefs.h >>conftest.$ac_ext
44023 cat >>conftest.$ac_ext <<_ACEOF
44024 /* end confdefs.h. */
44025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44027 #define $ac_func innocuous_$ac_func
44028
44029 /* System header to define __stub macros and hopefully few prototypes,
44030 which can conflict with char $ac_func (); below.
44031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44032 <limits.h> exists even on freestanding compilers. */
44033
44034 #ifdef __STDC__
44035 # include <limits.h>
44036 #else
44037 # include <assert.h>
44038 #endif
44039
44040 #undef $ac_func
44041
44042 /* Override any gcc2 internal prototype to avoid an error. */
44043 #ifdef __cplusplus
44044 extern "C"
44045 {
44046 #endif
44047 /* We use char because int might match the return type of a gcc2
44048 builtin and then its argument prototype would still apply. */
44049 char $ac_func ();
44050 /* The GNU C library defines this for functions which it implements
44051 to always fail with ENOSYS. Some functions are actually named
44052 something starting with __ and the normal name is an alias. */
44053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44054 choke me
44055 #else
44056 char (*f) () = $ac_func;
44057 #endif
44058 #ifdef __cplusplus
44059 }
44060 #endif
44061
44062 int
44063 main ()
44064 {
44065 return f != $ac_func;
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 rm -f conftest.$ac_objext conftest$ac_exeext
44071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44072 (eval $ac_link) 2>conftest.er1
44073 ac_status=$?
44074 grep -v '^ *+' conftest.er1 >conftest.err
44075 rm -f conftest.er1
44076 cat conftest.err >&5
44077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44078 (exit $ac_status); } &&
44079 { ac_try='test -z "$ac_c_werror_flag"
44080 || test ! -s conftest.err'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44083 ac_status=$?
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; } &&
44086 { ac_try='test -s conftest$ac_exeext'
44087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44088 (eval $ac_try) 2>&5
44089 ac_status=$?
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); }; }; then
44092 eval "$as_ac_var=yes"
44093 else
44094 echo "$as_me: failed program was:" >&5
44095 sed 's/^/| /' conftest.$ac_ext >&5
44096
44097 eval "$as_ac_var=no"
44098 fi
44099 rm -f conftest.err conftest.$ac_objext \
44100 conftest$ac_exeext conftest.$ac_ext
44101 fi
44102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44104 if test `eval echo '${'$as_ac_var'}'` = yes; then
44105 cat >>confdefs.h <<_ACEOF
44106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44107 _ACEOF
44108
44109 fi
44110 done
44111
44112 else
44113
44114 echo "$as_me:$LINENO: checking for _logl declaration" >&5
44115 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
44116 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44117 if test "${glibcxx_cv_func__logl_use+set}" = set; then
44118 echo $ECHO_N "(cached) $ECHO_C" >&6
44119 else
44120
44121
44122
44123 ac_ext=cc
44124 ac_cpp='$CXXCPP $CPPFLAGS'
44125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44128
44129 cat >conftest.$ac_ext <<_ACEOF
44130 /* confdefs.h. */
44131 _ACEOF
44132 cat confdefs.h >>conftest.$ac_ext
44133 cat >>conftest.$ac_ext <<_ACEOF
44134 /* end confdefs.h. */
44135 #include <math.h>
44136 #ifdef HAVE_IEEEFP_H
44137 #include <ieeefp.h>
44138 #endif
44139
44140 int
44141 main ()
44142 {
44143 _logl(0);
44144 ;
44145 return 0;
44146 }
44147 _ACEOF
44148 rm -f conftest.$ac_objext
44149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44150 (eval $ac_compile) 2>conftest.er1
44151 ac_status=$?
44152 grep -v '^ *+' conftest.er1 >conftest.err
44153 rm -f conftest.er1
44154 cat conftest.err >&5
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); } &&
44157 { ac_try='test -z "$ac_cxx_werror_flag"
44158 || test ! -s conftest.err'
44159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44160 (eval $ac_try) 2>&5
44161 ac_status=$?
44162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44163 (exit $ac_status); }; } &&
44164 { ac_try='test -s conftest.$ac_objext'
44165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44166 (eval $ac_try) 2>&5
44167 ac_status=$?
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); }; }; then
44170 glibcxx_cv_func__logl_use=yes
44171 else
44172 echo "$as_me: failed program was:" >&5
44173 sed 's/^/| /' conftest.$ac_ext >&5
44174
44175 glibcxx_cv_func__logl_use=no
44176 fi
44177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44178 ac_ext=c
44179 ac_cpp='$CPP $CPPFLAGS'
44180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44183
44184
44185 fi
44186
44187 fi
44188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
44189 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
44190
44191 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44192
44193 for ac_func in _logl
44194 do
44195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44196 echo "$as_me:$LINENO: checking for $ac_func" >&5
44197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44198 if eval "test \"\${$as_ac_var+set}\" = set"; then
44199 echo $ECHO_N "(cached) $ECHO_C" >&6
44200 else
44201 if test x$gcc_no_link = xyes; then
44202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44204 { (exit 1); exit 1; }; }
44205 fi
44206 cat >conftest.$ac_ext <<_ACEOF
44207 /* confdefs.h. */
44208 _ACEOF
44209 cat confdefs.h >>conftest.$ac_ext
44210 cat >>conftest.$ac_ext <<_ACEOF
44211 /* end confdefs.h. */
44212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44214 #define $ac_func innocuous_$ac_func
44215
44216 /* System header to define __stub macros and hopefully few prototypes,
44217 which can conflict with char $ac_func (); below.
44218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44219 <limits.h> exists even on freestanding compilers. */
44220
44221 #ifdef __STDC__
44222 # include <limits.h>
44223 #else
44224 # include <assert.h>
44225 #endif
44226
44227 #undef $ac_func
44228
44229 /* Override any gcc2 internal prototype to avoid an error. */
44230 #ifdef __cplusplus
44231 extern "C"
44232 {
44233 #endif
44234 /* We use char because int might match the return type of a gcc2
44235 builtin and then its argument prototype would still apply. */
44236 char $ac_func ();
44237 /* The GNU C library defines this for functions which it implements
44238 to always fail with ENOSYS. Some functions are actually named
44239 something starting with __ and the normal name is an alias. */
44240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44241 choke me
44242 #else
44243 char (*f) () = $ac_func;
44244 #endif
44245 #ifdef __cplusplus
44246 }
44247 #endif
44248
44249 int
44250 main ()
44251 {
44252 return f != $ac_func;
44253 ;
44254 return 0;
44255 }
44256 _ACEOF
44257 rm -f conftest.$ac_objext conftest$ac_exeext
44258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44259 (eval $ac_link) 2>conftest.er1
44260 ac_status=$?
44261 grep -v '^ *+' conftest.er1 >conftest.err
44262 rm -f conftest.er1
44263 cat conftest.err >&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } &&
44266 { ac_try='test -z "$ac_c_werror_flag"
44267 || test ! -s conftest.err'
44268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44269 (eval $ac_try) 2>&5
44270 ac_status=$?
44271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44272 (exit $ac_status); }; } &&
44273 { ac_try='test -s conftest$ac_exeext'
44274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44275 (eval $ac_try) 2>&5
44276 ac_status=$?
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); }; }; then
44279 eval "$as_ac_var=yes"
44280 else
44281 echo "$as_me: failed program was:" >&5
44282 sed 's/^/| /' conftest.$ac_ext >&5
44283
44284 eval "$as_ac_var=no"
44285 fi
44286 rm -f conftest.err conftest.$ac_objext \
44287 conftest$ac_exeext conftest.$ac_ext
44288 fi
44289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44291 if test `eval echo '${'$as_ac_var'}'` = yes; then
44292 cat >>confdefs.h <<_ACEOF
44293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44294 _ACEOF
44295
44296 fi
44297 done
44298
44299 fi
44300 fi
44301
44302
44303
44304 echo "$as_me:$LINENO: checking for log10l declaration" >&5
44305 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
44306 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44307 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
44308 echo $ECHO_N "(cached) $ECHO_C" >&6
44309 else
44310
44311
44312
44313 ac_ext=cc
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44318
44319 cat >conftest.$ac_ext <<_ACEOF
44320 /* confdefs.h. */
44321 _ACEOF
44322 cat confdefs.h >>conftest.$ac_ext
44323 cat >>conftest.$ac_ext <<_ACEOF
44324 /* end confdefs.h. */
44325 #include <math.h>
44326 #ifdef HAVE_IEEEFP_H
44327 #include <ieeefp.h>
44328 #endif
44329
44330 int
44331 main ()
44332 {
44333 log10l(0);
44334 ;
44335 return 0;
44336 }
44337 _ACEOF
44338 rm -f conftest.$ac_objext
44339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44340 (eval $ac_compile) 2>conftest.er1
44341 ac_status=$?
44342 grep -v '^ *+' conftest.er1 >conftest.err
44343 rm -f conftest.er1
44344 cat conftest.err >&5
44345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44346 (exit $ac_status); } &&
44347 { ac_try='test -z "$ac_cxx_werror_flag"
44348 || test ! -s conftest.err'
44349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44350 (eval $ac_try) 2>&5
44351 ac_status=$?
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); }; } &&
44354 { ac_try='test -s conftest.$ac_objext'
44355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44356 (eval $ac_try) 2>&5
44357 ac_status=$?
44358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44359 (exit $ac_status); }; }; then
44360 glibcxx_cv_func_log10l_use=yes
44361 else
44362 echo "$as_me: failed program was:" >&5
44363 sed 's/^/| /' conftest.$ac_ext >&5
44364
44365 glibcxx_cv_func_log10l_use=no
44366 fi
44367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44368 ac_ext=c
44369 ac_cpp='$CPP $CPPFLAGS'
44370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44373
44374
44375 fi
44376
44377 fi
44378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
44379 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
44380
44381 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44382
44383 for ac_func in log10l
44384 do
44385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44386 echo "$as_me:$LINENO: checking for $ac_func" >&5
44387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44388 if eval "test \"\${$as_ac_var+set}\" = set"; then
44389 echo $ECHO_N "(cached) $ECHO_C" >&6
44390 else
44391 if test x$gcc_no_link = xyes; then
44392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44394 { (exit 1); exit 1; }; }
44395 fi
44396 cat >conftest.$ac_ext <<_ACEOF
44397 /* confdefs.h. */
44398 _ACEOF
44399 cat confdefs.h >>conftest.$ac_ext
44400 cat >>conftest.$ac_ext <<_ACEOF
44401 /* end confdefs.h. */
44402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44404 #define $ac_func innocuous_$ac_func
44405
44406 /* System header to define __stub macros and hopefully few prototypes,
44407 which can conflict with char $ac_func (); below.
44408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44409 <limits.h> exists even on freestanding compilers. */
44410
44411 #ifdef __STDC__
44412 # include <limits.h>
44413 #else
44414 # include <assert.h>
44415 #endif
44416
44417 #undef $ac_func
44418
44419 /* Override any gcc2 internal prototype to avoid an error. */
44420 #ifdef __cplusplus
44421 extern "C"
44422 {
44423 #endif
44424 /* We use char because int might match the return type of a gcc2
44425 builtin and then its argument prototype would still apply. */
44426 char $ac_func ();
44427 /* The GNU C library defines this for functions which it implements
44428 to always fail with ENOSYS. Some functions are actually named
44429 something starting with __ and the normal name is an alias. */
44430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44431 choke me
44432 #else
44433 char (*f) () = $ac_func;
44434 #endif
44435 #ifdef __cplusplus
44436 }
44437 #endif
44438
44439 int
44440 main ()
44441 {
44442 return f != $ac_func;
44443 ;
44444 return 0;
44445 }
44446 _ACEOF
44447 rm -f conftest.$ac_objext conftest$ac_exeext
44448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44449 (eval $ac_link) 2>conftest.er1
44450 ac_status=$?
44451 grep -v '^ *+' conftest.er1 >conftest.err
44452 rm -f conftest.er1
44453 cat conftest.err >&5
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); } &&
44456 { ac_try='test -z "$ac_c_werror_flag"
44457 || test ! -s conftest.err'
44458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44459 (eval $ac_try) 2>&5
44460 ac_status=$?
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); }; } &&
44463 { ac_try='test -s conftest$ac_exeext'
44464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44465 (eval $ac_try) 2>&5
44466 ac_status=$?
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; }; then
44469 eval "$as_ac_var=yes"
44470 else
44471 echo "$as_me: failed program was:" >&5
44472 sed 's/^/| /' conftest.$ac_ext >&5
44473
44474 eval "$as_ac_var=no"
44475 fi
44476 rm -f conftest.err conftest.$ac_objext \
44477 conftest$ac_exeext conftest.$ac_ext
44478 fi
44479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44481 if test `eval echo '${'$as_ac_var'}'` = yes; then
44482 cat >>confdefs.h <<_ACEOF
44483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44484 _ACEOF
44485
44486 fi
44487 done
44488
44489 else
44490
44491 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
44492 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
44493 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44494 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
44495 echo $ECHO_N "(cached) $ECHO_C" >&6
44496 else
44497
44498
44499
44500 ac_ext=cc
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44505
44506 cat >conftest.$ac_ext <<_ACEOF
44507 /* confdefs.h. */
44508 _ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512 #include <math.h>
44513 #ifdef HAVE_IEEEFP_H
44514 #include <ieeefp.h>
44515 #endif
44516
44517 int
44518 main ()
44519 {
44520 _log10l(0);
44521 ;
44522 return 0;
44523 }
44524 _ACEOF
44525 rm -f conftest.$ac_objext
44526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44527 (eval $ac_compile) 2>conftest.er1
44528 ac_status=$?
44529 grep -v '^ *+' conftest.er1 >conftest.err
44530 rm -f conftest.er1
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } &&
44534 { ac_try='test -z "$ac_cxx_werror_flag"
44535 || test ! -s conftest.err'
44536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44537 (eval $ac_try) 2>&5
44538 ac_status=$?
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); }; } &&
44541 { ac_try='test -s conftest.$ac_objext'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; }; then
44547 glibcxx_cv_func__log10l_use=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44551
44552 glibcxx_cv_func__log10l_use=no
44553 fi
44554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44555 ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44560
44561
44562 fi
44563
44564 fi
44565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
44566 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
44567
44568 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44569
44570 for ac_func in _log10l
44571 do
44572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44573 echo "$as_me:$LINENO: checking for $ac_func" >&5
44574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44575 if eval "test \"\${$as_ac_var+set}\" = set"; then
44576 echo $ECHO_N "(cached) $ECHO_C" >&6
44577 else
44578 if test x$gcc_no_link = xyes; then
44579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44581 { (exit 1); exit 1; }; }
44582 fi
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44591 #define $ac_func innocuous_$ac_func
44592
44593 /* System header to define __stub macros and hopefully few prototypes,
44594 which can conflict with char $ac_func (); below.
44595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44596 <limits.h> exists even on freestanding compilers. */
44597
44598 #ifdef __STDC__
44599 # include <limits.h>
44600 #else
44601 # include <assert.h>
44602 #endif
44603
44604 #undef $ac_func
44605
44606 /* Override any gcc2 internal prototype to avoid an error. */
44607 #ifdef __cplusplus
44608 extern "C"
44609 {
44610 #endif
44611 /* We use char because int might match the return type of a gcc2
44612 builtin and then its argument prototype would still apply. */
44613 char $ac_func ();
44614 /* The GNU C library defines this for functions which it implements
44615 to always fail with ENOSYS. Some functions are actually named
44616 something starting with __ and the normal name is an alias. */
44617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44618 choke me
44619 #else
44620 char (*f) () = $ac_func;
44621 #endif
44622 #ifdef __cplusplus
44623 }
44624 #endif
44625
44626 int
44627 main ()
44628 {
44629 return f != $ac_func;
44630 ;
44631 return 0;
44632 }
44633 _ACEOF
44634 rm -f conftest.$ac_objext conftest$ac_exeext
44635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44636 (eval $ac_link) 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } &&
44643 { ac_try='test -z "$ac_c_werror_flag"
44644 || test ! -s conftest.err'
44645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646 (eval $ac_try) 2>&5
44647 ac_status=$?
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); }; } &&
44650 { ac_try='test -s conftest$ac_exeext'
44651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44652 (eval $ac_try) 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44656 eval "$as_ac_var=yes"
44657 else
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.$ac_ext >&5
44660
44661 eval "$as_ac_var=no"
44662 fi
44663 rm -f conftest.err conftest.$ac_objext \
44664 conftest$ac_exeext conftest.$ac_ext
44665 fi
44666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44668 if test `eval echo '${'$as_ac_var'}'` = yes; then
44669 cat >>confdefs.h <<_ACEOF
44670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44671 _ACEOF
44672
44673 fi
44674 done
44675
44676 fi
44677 fi
44678
44679
44680
44681 echo "$as_me:$LINENO: checking for modfl declaration" >&5
44682 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
44683 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44684 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
44685 echo $ECHO_N "(cached) $ECHO_C" >&6
44686 else
44687
44688
44689
44690 ac_ext=cc
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44695
44696 cat >conftest.$ac_ext <<_ACEOF
44697 /* confdefs.h. */
44698 _ACEOF
44699 cat confdefs.h >>conftest.$ac_ext
44700 cat >>conftest.$ac_ext <<_ACEOF
44701 /* end confdefs.h. */
44702 #include <math.h>
44703 int
44704 main ()
44705 {
44706 modfl(0, 0);
44707 ;
44708 return 0;
44709 }
44710 _ACEOF
44711 rm -f conftest.$ac_objext
44712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44713 (eval $ac_compile) 2>conftest.er1
44714 ac_status=$?
44715 grep -v '^ *+' conftest.er1 >conftest.err
44716 rm -f conftest.er1
44717 cat conftest.err >&5
44718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44719 (exit $ac_status); } &&
44720 { ac_try='test -z "$ac_cxx_werror_flag"
44721 || test ! -s conftest.err'
44722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44723 (eval $ac_try) 2>&5
44724 ac_status=$?
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); }; } &&
44727 { ac_try='test -s conftest.$ac_objext'
44728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44729 (eval $ac_try) 2>&5
44730 ac_status=$?
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); }; }; then
44733 glibcxx_cv_func_modfl_use=yes
44734 else
44735 echo "$as_me: failed program was:" >&5
44736 sed 's/^/| /' conftest.$ac_ext >&5
44737
44738 glibcxx_cv_func_modfl_use=no
44739 fi
44740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44741 ac_ext=c
44742 ac_cpp='$CPP $CPPFLAGS'
44743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44746
44747
44748 fi
44749
44750 fi
44751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
44752 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
44753
44754 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44755
44756 for ac_func in modfl
44757 do
44758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44759 echo "$as_me:$LINENO: checking for $ac_func" >&5
44760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44761 if eval "test \"\${$as_ac_var+set}\" = set"; then
44762 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 else
44764 if test x$gcc_no_link = xyes; then
44765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44767 { (exit 1); exit 1; }; }
44768 fi
44769 cat >conftest.$ac_ext <<_ACEOF
44770 /* confdefs.h. */
44771 _ACEOF
44772 cat confdefs.h >>conftest.$ac_ext
44773 cat >>conftest.$ac_ext <<_ACEOF
44774 /* end confdefs.h. */
44775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44777 #define $ac_func innocuous_$ac_func
44778
44779 /* System header to define __stub macros and hopefully few prototypes,
44780 which can conflict with char $ac_func (); below.
44781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44782 <limits.h> exists even on freestanding compilers. */
44783
44784 #ifdef __STDC__
44785 # include <limits.h>
44786 #else
44787 # include <assert.h>
44788 #endif
44789
44790 #undef $ac_func
44791
44792 /* Override any gcc2 internal prototype to avoid an error. */
44793 #ifdef __cplusplus
44794 extern "C"
44795 {
44796 #endif
44797 /* We use char because int might match the return type of a gcc2
44798 builtin and then its argument prototype would still apply. */
44799 char $ac_func ();
44800 /* The GNU C library defines this for functions which it implements
44801 to always fail with ENOSYS. Some functions are actually named
44802 something starting with __ and the normal name is an alias. */
44803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44804 choke me
44805 #else
44806 char (*f) () = $ac_func;
44807 #endif
44808 #ifdef __cplusplus
44809 }
44810 #endif
44811
44812 int
44813 main ()
44814 {
44815 return f != $ac_func;
44816 ;
44817 return 0;
44818 }
44819 _ACEOF
44820 rm -f conftest.$ac_objext conftest$ac_exeext
44821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44822 (eval $ac_link) 2>conftest.er1
44823 ac_status=$?
44824 grep -v '^ *+' conftest.er1 >conftest.err
44825 rm -f conftest.er1
44826 cat conftest.err >&5
44827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44828 (exit $ac_status); } &&
44829 { ac_try='test -z "$ac_c_werror_flag"
44830 || test ! -s conftest.err'
44831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44832 (eval $ac_try) 2>&5
44833 ac_status=$?
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); }; } &&
44836 { ac_try='test -s conftest$ac_exeext'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44839 ac_status=$?
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; }; then
44842 eval "$as_ac_var=yes"
44843 else
44844 echo "$as_me: failed program was:" >&5
44845 sed 's/^/| /' conftest.$ac_ext >&5
44846
44847 eval "$as_ac_var=no"
44848 fi
44849 rm -f conftest.err conftest.$ac_objext \
44850 conftest$ac_exeext conftest.$ac_ext
44851 fi
44852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44854 if test `eval echo '${'$as_ac_var'}'` = yes; then
44855 cat >>confdefs.h <<_ACEOF
44856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44857 _ACEOF
44858
44859 fi
44860 done
44861
44862 else
44863
44864 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
44865 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
44866 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44867 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
44868 echo $ECHO_N "(cached) $ECHO_C" >&6
44869 else
44870
44871
44872
44873 ac_ext=cc
44874 ac_cpp='$CXXCPP $CPPFLAGS'
44875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44878
44879 cat >conftest.$ac_ext <<_ACEOF
44880 /* confdefs.h. */
44881 _ACEOF
44882 cat confdefs.h >>conftest.$ac_ext
44883 cat >>conftest.$ac_ext <<_ACEOF
44884 /* end confdefs.h. */
44885 #include <math.h>
44886 int
44887 main ()
44888 {
44889 _modfl(0, 0);
44890 ;
44891 return 0;
44892 }
44893 _ACEOF
44894 rm -f conftest.$ac_objext
44895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44896 (eval $ac_compile) 2>conftest.er1
44897 ac_status=$?
44898 grep -v '^ *+' conftest.er1 >conftest.err
44899 rm -f conftest.er1
44900 cat conftest.err >&5
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); } &&
44903 { ac_try='test -z "$ac_cxx_werror_flag"
44904 || test ! -s conftest.err'
44905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44906 (eval $ac_try) 2>&5
44907 ac_status=$?
44908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909 (exit $ac_status); }; } &&
44910 { ac_try='test -s conftest.$ac_objext'
44911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44912 (eval $ac_try) 2>&5
44913 ac_status=$?
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); }; }; then
44916 glibcxx_cv_func__modfl_use=yes
44917 else
44918 echo "$as_me: failed program was:" >&5
44919 sed 's/^/| /' conftest.$ac_ext >&5
44920
44921 glibcxx_cv_func__modfl_use=no
44922 fi
44923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44924 ac_ext=c
44925 ac_cpp='$CPP $CPPFLAGS'
44926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44929
44930
44931 fi
44932
44933 fi
44934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
44935 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
44936
44937 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44938
44939 for ac_func in _modfl
44940 do
44941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44942 echo "$as_me:$LINENO: checking for $ac_func" >&5
44943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44944 if eval "test \"\${$as_ac_var+set}\" = set"; then
44945 echo $ECHO_N "(cached) $ECHO_C" >&6
44946 else
44947 if test x$gcc_no_link = xyes; then
44948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44950 { (exit 1); exit 1; }; }
44951 fi
44952 cat >conftest.$ac_ext <<_ACEOF
44953 /* confdefs.h. */
44954 _ACEOF
44955 cat confdefs.h >>conftest.$ac_ext
44956 cat >>conftest.$ac_ext <<_ACEOF
44957 /* end confdefs.h. */
44958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44960 #define $ac_func innocuous_$ac_func
44961
44962 /* System header to define __stub macros and hopefully few prototypes,
44963 which can conflict with char $ac_func (); below.
44964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44965 <limits.h> exists even on freestanding compilers. */
44966
44967 #ifdef __STDC__
44968 # include <limits.h>
44969 #else
44970 # include <assert.h>
44971 #endif
44972
44973 #undef $ac_func
44974
44975 /* Override any gcc2 internal prototype to avoid an error. */
44976 #ifdef __cplusplus
44977 extern "C"
44978 {
44979 #endif
44980 /* We use char because int might match the return type of a gcc2
44981 builtin and then its argument prototype would still apply. */
44982 char $ac_func ();
44983 /* The GNU C library defines this for functions which it implements
44984 to always fail with ENOSYS. Some functions are actually named
44985 something starting with __ and the normal name is an alias. */
44986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44987 choke me
44988 #else
44989 char (*f) () = $ac_func;
44990 #endif
44991 #ifdef __cplusplus
44992 }
44993 #endif
44994
44995 int
44996 main ()
44997 {
44998 return f != $ac_func;
44999 ;
45000 return 0;
45001 }
45002 _ACEOF
45003 rm -f conftest.$ac_objext conftest$ac_exeext
45004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45005 (eval $ac_link) 2>conftest.er1
45006 ac_status=$?
45007 grep -v '^ *+' conftest.er1 >conftest.err
45008 rm -f conftest.er1
45009 cat conftest.err >&5
45010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45011 (exit $ac_status); } &&
45012 { ac_try='test -z "$ac_c_werror_flag"
45013 || test ! -s conftest.err'
45014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45015 (eval $ac_try) 2>&5
45016 ac_status=$?
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); }; } &&
45019 { ac_try='test -s conftest$ac_exeext'
45020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45021 (eval $ac_try) 2>&5
45022 ac_status=$?
45023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45024 (exit $ac_status); }; }; then
45025 eval "$as_ac_var=yes"
45026 else
45027 echo "$as_me: failed program was:" >&5
45028 sed 's/^/| /' conftest.$ac_ext >&5
45029
45030 eval "$as_ac_var=no"
45031 fi
45032 rm -f conftest.err conftest.$ac_objext \
45033 conftest$ac_exeext conftest.$ac_ext
45034 fi
45035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45037 if test `eval echo '${'$as_ac_var'}'` = yes; then
45038 cat >>confdefs.h <<_ACEOF
45039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45040 _ACEOF
45041
45042 fi
45043 done
45044
45045 fi
45046 fi
45047
45048
45049
45050 echo "$as_me:$LINENO: checking for powl declaration" >&5
45051 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45052 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45053 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45054 echo $ECHO_N "(cached) $ECHO_C" >&6
45055 else
45056
45057
45058
45059 ac_ext=cc
45060 ac_cpp='$CXXCPP $CPPFLAGS'
45061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45064
45065 cat >conftest.$ac_ext <<_ACEOF
45066 /* confdefs.h. */
45067 _ACEOF
45068 cat confdefs.h >>conftest.$ac_ext
45069 cat >>conftest.$ac_ext <<_ACEOF
45070 /* end confdefs.h. */
45071 #include <math.h>
45072 int
45073 main ()
45074 {
45075 powl(0, 0);
45076 ;
45077 return 0;
45078 }
45079 _ACEOF
45080 rm -f conftest.$ac_objext
45081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45082 (eval $ac_compile) 2>conftest.er1
45083 ac_status=$?
45084 grep -v '^ *+' conftest.er1 >conftest.err
45085 rm -f conftest.er1
45086 cat conftest.err >&5
45087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088 (exit $ac_status); } &&
45089 { ac_try='test -z "$ac_cxx_werror_flag"
45090 || test ! -s conftest.err'
45091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45092 (eval $ac_try) 2>&5
45093 ac_status=$?
45094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45095 (exit $ac_status); }; } &&
45096 { ac_try='test -s conftest.$ac_objext'
45097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45098 (eval $ac_try) 2>&5
45099 ac_status=$?
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); }; }; then
45102 glibcxx_cv_func_powl_use=yes
45103 else
45104 echo "$as_me: failed program was:" >&5
45105 sed 's/^/| /' conftest.$ac_ext >&5
45106
45107 glibcxx_cv_func_powl_use=no
45108 fi
45109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45110 ac_ext=c
45111 ac_cpp='$CPP $CPPFLAGS'
45112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45115
45116
45117 fi
45118
45119 fi
45120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
45121 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
45122
45123 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45124
45125 for ac_func in powl
45126 do
45127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45128 echo "$as_me:$LINENO: checking for $ac_func" >&5
45129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45130 if eval "test \"\${$as_ac_var+set}\" = set"; then
45131 echo $ECHO_N "(cached) $ECHO_C" >&6
45132 else
45133 if test x$gcc_no_link = xyes; then
45134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45136 { (exit 1); exit 1; }; }
45137 fi
45138 cat >conftest.$ac_ext <<_ACEOF
45139 /* confdefs.h. */
45140 _ACEOF
45141 cat confdefs.h >>conftest.$ac_ext
45142 cat >>conftest.$ac_ext <<_ACEOF
45143 /* end confdefs.h. */
45144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45146 #define $ac_func innocuous_$ac_func
45147
45148 /* System header to define __stub macros and hopefully few prototypes,
45149 which can conflict with char $ac_func (); below.
45150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45151 <limits.h> exists even on freestanding compilers. */
45152
45153 #ifdef __STDC__
45154 # include <limits.h>
45155 #else
45156 # include <assert.h>
45157 #endif
45158
45159 #undef $ac_func
45160
45161 /* Override any gcc2 internal prototype to avoid an error. */
45162 #ifdef __cplusplus
45163 extern "C"
45164 {
45165 #endif
45166 /* We use char because int might match the return type of a gcc2
45167 builtin and then its argument prototype would still apply. */
45168 char $ac_func ();
45169 /* The GNU C library defines this for functions which it implements
45170 to always fail with ENOSYS. Some functions are actually named
45171 something starting with __ and the normal name is an alias. */
45172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45173 choke me
45174 #else
45175 char (*f) () = $ac_func;
45176 #endif
45177 #ifdef __cplusplus
45178 }
45179 #endif
45180
45181 int
45182 main ()
45183 {
45184 return f != $ac_func;
45185 ;
45186 return 0;
45187 }
45188 _ACEOF
45189 rm -f conftest.$ac_objext conftest$ac_exeext
45190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45191 (eval $ac_link) 2>conftest.er1
45192 ac_status=$?
45193 grep -v '^ *+' conftest.er1 >conftest.err
45194 rm -f conftest.er1
45195 cat conftest.err >&5
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); } &&
45198 { ac_try='test -z "$ac_c_werror_flag"
45199 || test ! -s conftest.err'
45200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45201 (eval $ac_try) 2>&5
45202 ac_status=$?
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); }; } &&
45205 { ac_try='test -s conftest$ac_exeext'
45206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207 (eval $ac_try) 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; }; then
45211 eval "$as_ac_var=yes"
45212 else
45213 echo "$as_me: failed program was:" >&5
45214 sed 's/^/| /' conftest.$ac_ext >&5
45215
45216 eval "$as_ac_var=no"
45217 fi
45218 rm -f conftest.err conftest.$ac_objext \
45219 conftest$ac_exeext conftest.$ac_ext
45220 fi
45221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45223 if test `eval echo '${'$as_ac_var'}'` = yes; then
45224 cat >>confdefs.h <<_ACEOF
45225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45226 _ACEOF
45227
45228 fi
45229 done
45230
45231 else
45232
45233 echo "$as_me:$LINENO: checking for _powl declaration" >&5
45234 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
45235 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45236 if test "${glibcxx_cv_func__powl_use+set}" = set; then
45237 echo $ECHO_N "(cached) $ECHO_C" >&6
45238 else
45239
45240
45241
45242 ac_ext=cc
45243 ac_cpp='$CXXCPP $CPPFLAGS'
45244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45247
45248 cat >conftest.$ac_ext <<_ACEOF
45249 /* confdefs.h. */
45250 _ACEOF
45251 cat confdefs.h >>conftest.$ac_ext
45252 cat >>conftest.$ac_ext <<_ACEOF
45253 /* end confdefs.h. */
45254 #include <math.h>
45255 int
45256 main ()
45257 {
45258 _powl(0, 0);
45259 ;
45260 return 0;
45261 }
45262 _ACEOF
45263 rm -f conftest.$ac_objext
45264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45265 (eval $ac_compile) 2>conftest.er1
45266 ac_status=$?
45267 grep -v '^ *+' conftest.er1 >conftest.err
45268 rm -f conftest.er1
45269 cat conftest.err >&5
45270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271 (exit $ac_status); } &&
45272 { ac_try='test -z "$ac_cxx_werror_flag"
45273 || test ! -s conftest.err'
45274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45275 (eval $ac_try) 2>&5
45276 ac_status=$?
45277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45278 (exit $ac_status); }; } &&
45279 { ac_try='test -s conftest.$ac_objext'
45280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45281 (eval $ac_try) 2>&5
45282 ac_status=$?
45283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45284 (exit $ac_status); }; }; then
45285 glibcxx_cv_func__powl_use=yes
45286 else
45287 echo "$as_me: failed program was:" >&5
45288 sed 's/^/| /' conftest.$ac_ext >&5
45289
45290 glibcxx_cv_func__powl_use=no
45291 fi
45292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45293 ac_ext=c
45294 ac_cpp='$CPP $CPPFLAGS'
45295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45298
45299
45300 fi
45301
45302 fi
45303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
45304 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
45305
45306 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45307
45308 for ac_func in _powl
45309 do
45310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45311 echo "$as_me:$LINENO: checking for $ac_func" >&5
45312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45313 if eval "test \"\${$as_ac_var+set}\" = set"; then
45314 echo $ECHO_N "(cached) $ECHO_C" >&6
45315 else
45316 if test x$gcc_no_link = xyes; then
45317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45319 { (exit 1); exit 1; }; }
45320 fi
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45329 #define $ac_func innocuous_$ac_func
45330
45331 /* System header to define __stub macros and hopefully few prototypes,
45332 which can conflict with char $ac_func (); below.
45333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45334 <limits.h> exists even on freestanding compilers. */
45335
45336 #ifdef __STDC__
45337 # include <limits.h>
45338 #else
45339 # include <assert.h>
45340 #endif
45341
45342 #undef $ac_func
45343
45344 /* Override any gcc2 internal prototype to avoid an error. */
45345 #ifdef __cplusplus
45346 extern "C"
45347 {
45348 #endif
45349 /* We use char because int might match the return type of a gcc2
45350 builtin and then its argument prototype would still apply. */
45351 char $ac_func ();
45352 /* The GNU C library defines this for functions which it implements
45353 to always fail with ENOSYS. Some functions are actually named
45354 something starting with __ and the normal name is an alias. */
45355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45356 choke me
45357 #else
45358 char (*f) () = $ac_func;
45359 #endif
45360 #ifdef __cplusplus
45361 }
45362 #endif
45363
45364 int
45365 main ()
45366 {
45367 return f != $ac_func;
45368 ;
45369 return 0;
45370 }
45371 _ACEOF
45372 rm -f conftest.$ac_objext conftest$ac_exeext
45373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45374 (eval $ac_link) 2>conftest.er1
45375 ac_status=$?
45376 grep -v '^ *+' conftest.er1 >conftest.err
45377 rm -f conftest.er1
45378 cat conftest.err >&5
45379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380 (exit $ac_status); } &&
45381 { ac_try='test -z "$ac_c_werror_flag"
45382 || test ! -s conftest.err'
45383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45384 (eval $ac_try) 2>&5
45385 ac_status=$?
45386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45387 (exit $ac_status); }; } &&
45388 { ac_try='test -s conftest$ac_exeext'
45389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45390 (eval $ac_try) 2>&5
45391 ac_status=$?
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); }; }; then
45394 eval "$as_ac_var=yes"
45395 else
45396 echo "$as_me: failed program was:" >&5
45397 sed 's/^/| /' conftest.$ac_ext >&5
45398
45399 eval "$as_ac_var=no"
45400 fi
45401 rm -f conftest.err conftest.$ac_objext \
45402 conftest$ac_exeext conftest.$ac_ext
45403 fi
45404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45406 if test `eval echo '${'$as_ac_var'}'` = yes; then
45407 cat >>confdefs.h <<_ACEOF
45408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45409 _ACEOF
45410
45411 fi
45412 done
45413
45414 fi
45415 fi
45416
45417
45418
45419 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
45420 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
45421 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45422 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
45423 echo $ECHO_N "(cached) $ECHO_C" >&6
45424 else
45425
45426
45427
45428 ac_ext=cc
45429 ac_cpp='$CXXCPP $CPPFLAGS'
45430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45433
45434 cat >conftest.$ac_ext <<_ACEOF
45435 /* confdefs.h. */
45436 _ACEOF
45437 cat confdefs.h >>conftest.$ac_ext
45438 cat >>conftest.$ac_ext <<_ACEOF
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45444
45445 int
45446 main ()
45447 {
45448 sqrtl(0);
45449 ;
45450 return 0;
45451 }
45452 _ACEOF
45453 rm -f conftest.$ac_objext
45454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45455 (eval $ac_compile) 2>conftest.er1
45456 ac_status=$?
45457 grep -v '^ *+' conftest.er1 >conftest.err
45458 rm -f conftest.er1
45459 cat conftest.err >&5
45460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45461 (exit $ac_status); } &&
45462 { ac_try='test -z "$ac_cxx_werror_flag"
45463 || test ! -s conftest.err'
45464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45465 (eval $ac_try) 2>&5
45466 ac_status=$?
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); }; } &&
45469 { ac_try='test -s conftest.$ac_objext'
45470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45471 (eval $ac_try) 2>&5
45472 ac_status=$?
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); }; }; then
45475 glibcxx_cv_func_sqrtl_use=yes
45476 else
45477 echo "$as_me: failed program was:" >&5
45478 sed 's/^/| /' conftest.$ac_ext >&5
45479
45480 glibcxx_cv_func_sqrtl_use=no
45481 fi
45482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45483 ac_ext=c
45484 ac_cpp='$CPP $CPPFLAGS'
45485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45488
45489
45490 fi
45491
45492 fi
45493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
45494 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
45495
45496 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45497
45498 for ac_func in sqrtl
45499 do
45500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45501 echo "$as_me:$LINENO: checking for $ac_func" >&5
45502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45503 if eval "test \"\${$as_ac_var+set}\" = set"; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45505 else
45506 if test x$gcc_no_link = xyes; then
45507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45509 { (exit 1); exit 1; }; }
45510 fi
45511 cat >conftest.$ac_ext <<_ACEOF
45512 /* confdefs.h. */
45513 _ACEOF
45514 cat confdefs.h >>conftest.$ac_ext
45515 cat >>conftest.$ac_ext <<_ACEOF
45516 /* end confdefs.h. */
45517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45519 #define $ac_func innocuous_$ac_func
45520
45521 /* System header to define __stub macros and hopefully few prototypes,
45522 which can conflict with char $ac_func (); below.
45523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45524 <limits.h> exists even on freestanding compilers. */
45525
45526 #ifdef __STDC__
45527 # include <limits.h>
45528 #else
45529 # include <assert.h>
45530 #endif
45531
45532 #undef $ac_func
45533
45534 /* Override any gcc2 internal prototype to avoid an error. */
45535 #ifdef __cplusplus
45536 extern "C"
45537 {
45538 #endif
45539 /* We use char because int might match the return type of a gcc2
45540 builtin and then its argument prototype would still apply. */
45541 char $ac_func ();
45542 /* The GNU C library defines this for functions which it implements
45543 to always fail with ENOSYS. Some functions are actually named
45544 something starting with __ and the normal name is an alias. */
45545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45546 choke me
45547 #else
45548 char (*f) () = $ac_func;
45549 #endif
45550 #ifdef __cplusplus
45551 }
45552 #endif
45553
45554 int
45555 main ()
45556 {
45557 return f != $ac_func;
45558 ;
45559 return 0;
45560 }
45561 _ACEOF
45562 rm -f conftest.$ac_objext conftest$ac_exeext
45563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45564 (eval $ac_link) 2>conftest.er1
45565 ac_status=$?
45566 grep -v '^ *+' conftest.er1 >conftest.err
45567 rm -f conftest.er1
45568 cat conftest.err >&5
45569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45570 (exit $ac_status); } &&
45571 { ac_try='test -z "$ac_c_werror_flag"
45572 || test ! -s conftest.err'
45573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45574 (eval $ac_try) 2>&5
45575 ac_status=$?
45576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45577 (exit $ac_status); }; } &&
45578 { ac_try='test -s conftest$ac_exeext'
45579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45580 (eval $ac_try) 2>&5
45581 ac_status=$?
45582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45583 (exit $ac_status); }; }; then
45584 eval "$as_ac_var=yes"
45585 else
45586 echo "$as_me: failed program was:" >&5
45587 sed 's/^/| /' conftest.$ac_ext >&5
45588
45589 eval "$as_ac_var=no"
45590 fi
45591 rm -f conftest.err conftest.$ac_objext \
45592 conftest$ac_exeext conftest.$ac_ext
45593 fi
45594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45596 if test `eval echo '${'$as_ac_var'}'` = yes; then
45597 cat >>confdefs.h <<_ACEOF
45598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45599 _ACEOF
45600
45601 fi
45602 done
45603
45604 else
45605
45606 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
45607 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
45608 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45609 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
45610 echo $ECHO_N "(cached) $ECHO_C" >&6
45611 else
45612
45613
45614
45615 ac_ext=cc
45616 ac_cpp='$CXXCPP $CPPFLAGS'
45617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45620
45621 cat >conftest.$ac_ext <<_ACEOF
45622 /* confdefs.h. */
45623 _ACEOF
45624 cat confdefs.h >>conftest.$ac_ext
45625 cat >>conftest.$ac_ext <<_ACEOF
45626 /* end confdefs.h. */
45627 #include <math.h>
45628 #ifdef HAVE_IEEEFP_H
45629 #include <ieeefp.h>
45630 #endif
45631
45632 int
45633 main ()
45634 {
45635 _sqrtl(0);
45636 ;
45637 return 0;
45638 }
45639 _ACEOF
45640 rm -f conftest.$ac_objext
45641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45642 (eval $ac_compile) 2>conftest.er1
45643 ac_status=$?
45644 grep -v '^ *+' conftest.er1 >conftest.err
45645 rm -f conftest.er1
45646 cat conftest.err >&5
45647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45648 (exit $ac_status); } &&
45649 { ac_try='test -z "$ac_cxx_werror_flag"
45650 || test ! -s conftest.err'
45651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45652 (eval $ac_try) 2>&5
45653 ac_status=$?
45654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45655 (exit $ac_status); }; } &&
45656 { ac_try='test -s conftest.$ac_objext'
45657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45658 (eval $ac_try) 2>&5
45659 ac_status=$?
45660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45661 (exit $ac_status); }; }; then
45662 glibcxx_cv_func__sqrtl_use=yes
45663 else
45664 echo "$as_me: failed program was:" >&5
45665 sed 's/^/| /' conftest.$ac_ext >&5
45666
45667 glibcxx_cv_func__sqrtl_use=no
45668 fi
45669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45670 ac_ext=c
45671 ac_cpp='$CPP $CPPFLAGS'
45672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45675
45676
45677 fi
45678
45679 fi
45680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
45681 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
45682
45683 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45684
45685 for ac_func in _sqrtl
45686 do
45687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45688 echo "$as_me:$LINENO: checking for $ac_func" >&5
45689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45690 if eval "test \"\${$as_ac_var+set}\" = set"; then
45691 echo $ECHO_N "(cached) $ECHO_C" >&6
45692 else
45693 if test x$gcc_no_link = xyes; then
45694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45696 { (exit 1); exit 1; }; }
45697 fi
45698 cat >conftest.$ac_ext <<_ACEOF
45699 /* confdefs.h. */
45700 _ACEOF
45701 cat confdefs.h >>conftest.$ac_ext
45702 cat >>conftest.$ac_ext <<_ACEOF
45703 /* end confdefs.h. */
45704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45706 #define $ac_func innocuous_$ac_func
45707
45708 /* System header to define __stub macros and hopefully few prototypes,
45709 which can conflict with char $ac_func (); below.
45710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45711 <limits.h> exists even on freestanding compilers. */
45712
45713 #ifdef __STDC__
45714 # include <limits.h>
45715 #else
45716 # include <assert.h>
45717 #endif
45718
45719 #undef $ac_func
45720
45721 /* Override any gcc2 internal prototype to avoid an error. */
45722 #ifdef __cplusplus
45723 extern "C"
45724 {
45725 #endif
45726 /* We use char because int might match the return type of a gcc2
45727 builtin and then its argument prototype would still apply. */
45728 char $ac_func ();
45729 /* The GNU C library defines this for functions which it implements
45730 to always fail with ENOSYS. Some functions are actually named
45731 something starting with __ and the normal name is an alias. */
45732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45733 choke me
45734 #else
45735 char (*f) () = $ac_func;
45736 #endif
45737 #ifdef __cplusplus
45738 }
45739 #endif
45740
45741 int
45742 main ()
45743 {
45744 return f != $ac_func;
45745 ;
45746 return 0;
45747 }
45748 _ACEOF
45749 rm -f conftest.$ac_objext conftest$ac_exeext
45750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45751 (eval $ac_link) 2>conftest.er1
45752 ac_status=$?
45753 grep -v '^ *+' conftest.er1 >conftest.err
45754 rm -f conftest.er1
45755 cat conftest.err >&5
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); } &&
45758 { ac_try='test -z "$ac_c_werror_flag"
45759 || test ! -s conftest.err'
45760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45761 (eval $ac_try) 2>&5
45762 ac_status=$?
45763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45764 (exit $ac_status); }; } &&
45765 { ac_try='test -s conftest$ac_exeext'
45766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45767 (eval $ac_try) 2>&5
45768 ac_status=$?
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); }; }; then
45771 eval "$as_ac_var=yes"
45772 else
45773 echo "$as_me: failed program was:" >&5
45774 sed 's/^/| /' conftest.$ac_ext >&5
45775
45776 eval "$as_ac_var=no"
45777 fi
45778 rm -f conftest.err conftest.$ac_objext \
45779 conftest$ac_exeext conftest.$ac_ext
45780 fi
45781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45783 if test `eval echo '${'$as_ac_var'}'` = yes; then
45784 cat >>confdefs.h <<_ACEOF
45785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45786 _ACEOF
45787
45788 fi
45789 done
45790
45791 fi
45792 fi
45793
45794
45795
45796 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
45797 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
45798 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45799 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
45800 echo $ECHO_N "(cached) $ECHO_C" >&6
45801 else
45802
45803
45804
45805 ac_ext=cc
45806 ac_cpp='$CXXCPP $CPPFLAGS'
45807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45810
45811 cat >conftest.$ac_ext <<_ACEOF
45812 /* confdefs.h. */
45813 _ACEOF
45814 cat confdefs.h >>conftest.$ac_ext
45815 cat >>conftest.$ac_ext <<_ACEOF
45816 /* end confdefs.h. */
45817 #include <math.h>
45818 int
45819 main ()
45820 {
45821 sincosl(0, 0, 0);
45822 ;
45823 return 0;
45824 }
45825 _ACEOF
45826 rm -f conftest.$ac_objext
45827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45828 (eval $ac_compile) 2>conftest.er1
45829 ac_status=$?
45830 grep -v '^ *+' conftest.er1 >conftest.err
45831 rm -f conftest.er1
45832 cat conftest.err >&5
45833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45834 (exit $ac_status); } &&
45835 { ac_try='test -z "$ac_cxx_werror_flag"
45836 || test ! -s conftest.err'
45837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45838 (eval $ac_try) 2>&5
45839 ac_status=$?
45840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45841 (exit $ac_status); }; } &&
45842 { ac_try='test -s conftest.$ac_objext'
45843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45844 (eval $ac_try) 2>&5
45845 ac_status=$?
45846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45847 (exit $ac_status); }; }; then
45848 glibcxx_cv_func_sincosl_use=yes
45849 else
45850 echo "$as_me: failed program was:" >&5
45851 sed 's/^/| /' conftest.$ac_ext >&5
45852
45853 glibcxx_cv_func_sincosl_use=no
45854 fi
45855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45856 ac_ext=c
45857 ac_cpp='$CPP $CPPFLAGS'
45858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45861
45862
45863 fi
45864
45865 fi
45866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
45867 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
45868
45869 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45870
45871 for ac_func in sincosl
45872 do
45873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45874 echo "$as_me:$LINENO: checking for $ac_func" >&5
45875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45876 if eval "test \"\${$as_ac_var+set}\" = set"; then
45877 echo $ECHO_N "(cached) $ECHO_C" >&6
45878 else
45879 if test x$gcc_no_link = xyes; then
45880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45882 { (exit 1); exit 1; }; }
45883 fi
45884 cat >conftest.$ac_ext <<_ACEOF
45885 /* confdefs.h. */
45886 _ACEOF
45887 cat confdefs.h >>conftest.$ac_ext
45888 cat >>conftest.$ac_ext <<_ACEOF
45889 /* end confdefs.h. */
45890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45892 #define $ac_func innocuous_$ac_func
45893
45894 /* System header to define __stub macros and hopefully few prototypes,
45895 which can conflict with char $ac_func (); below.
45896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45897 <limits.h> exists even on freestanding compilers. */
45898
45899 #ifdef __STDC__
45900 # include <limits.h>
45901 #else
45902 # include <assert.h>
45903 #endif
45904
45905 #undef $ac_func
45906
45907 /* Override any gcc2 internal prototype to avoid an error. */
45908 #ifdef __cplusplus
45909 extern "C"
45910 {
45911 #endif
45912 /* We use char because int might match the return type of a gcc2
45913 builtin and then its argument prototype would still apply. */
45914 char $ac_func ();
45915 /* The GNU C library defines this for functions which it implements
45916 to always fail with ENOSYS. Some functions are actually named
45917 something starting with __ and the normal name is an alias. */
45918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45919 choke me
45920 #else
45921 char (*f) () = $ac_func;
45922 #endif
45923 #ifdef __cplusplus
45924 }
45925 #endif
45926
45927 int
45928 main ()
45929 {
45930 return f != $ac_func;
45931 ;
45932 return 0;
45933 }
45934 _ACEOF
45935 rm -f conftest.$ac_objext conftest$ac_exeext
45936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45937 (eval $ac_link) 2>conftest.er1
45938 ac_status=$?
45939 grep -v '^ *+' conftest.er1 >conftest.err
45940 rm -f conftest.er1
45941 cat conftest.err >&5
45942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45943 (exit $ac_status); } &&
45944 { ac_try='test -z "$ac_c_werror_flag"
45945 || test ! -s conftest.err'
45946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45947 (eval $ac_try) 2>&5
45948 ac_status=$?
45949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45950 (exit $ac_status); }; } &&
45951 { ac_try='test -s conftest$ac_exeext'
45952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45953 (eval $ac_try) 2>&5
45954 ac_status=$?
45955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45956 (exit $ac_status); }; }; then
45957 eval "$as_ac_var=yes"
45958 else
45959 echo "$as_me: failed program was:" >&5
45960 sed 's/^/| /' conftest.$ac_ext >&5
45961
45962 eval "$as_ac_var=no"
45963 fi
45964 rm -f conftest.err conftest.$ac_objext \
45965 conftest$ac_exeext conftest.$ac_ext
45966 fi
45967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45969 if test `eval echo '${'$as_ac_var'}'` = yes; then
45970 cat >>confdefs.h <<_ACEOF
45971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45972 _ACEOF
45973
45974 fi
45975 done
45976
45977 else
45978
45979 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
45980 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
45981 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45982 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
45983 echo $ECHO_N "(cached) $ECHO_C" >&6
45984 else
45985
45986
45987
45988 ac_ext=cc
45989 ac_cpp='$CXXCPP $CPPFLAGS'
45990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45993
45994 cat >conftest.$ac_ext <<_ACEOF
45995 /* confdefs.h. */
45996 _ACEOF
45997 cat confdefs.h >>conftest.$ac_ext
45998 cat >>conftest.$ac_ext <<_ACEOF
45999 /* end confdefs.h. */
46000 #include <math.h>
46001 int
46002 main ()
46003 {
46004 _sincosl(0, 0, 0);
46005 ;
46006 return 0;
46007 }
46008 _ACEOF
46009 rm -f conftest.$ac_objext
46010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46011 (eval $ac_compile) 2>conftest.er1
46012 ac_status=$?
46013 grep -v '^ *+' conftest.er1 >conftest.err
46014 rm -f conftest.er1
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } &&
46018 { ac_try='test -z "$ac_cxx_werror_flag"
46019 || test ! -s conftest.err'
46020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46021 (eval $ac_try) 2>&5
46022 ac_status=$?
46023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46024 (exit $ac_status); }; } &&
46025 { ac_try='test -s conftest.$ac_objext'
46026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46027 (eval $ac_try) 2>&5
46028 ac_status=$?
46029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46030 (exit $ac_status); }; }; then
46031 glibcxx_cv_func__sincosl_use=yes
46032 else
46033 echo "$as_me: failed program was:" >&5
46034 sed 's/^/| /' conftest.$ac_ext >&5
46035
46036 glibcxx_cv_func__sincosl_use=no
46037 fi
46038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46039 ac_ext=c
46040 ac_cpp='$CPP $CPPFLAGS'
46041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46044
46045
46046 fi
46047
46048 fi
46049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46050 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46051
46052 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46053
46054 for ac_func in _sincosl
46055 do
46056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46057 echo "$as_me:$LINENO: checking for $ac_func" >&5
46058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46059 if eval "test \"\${$as_ac_var+set}\" = set"; then
46060 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 else
46062 if test x$gcc_no_link = xyes; then
46063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46065 { (exit 1); exit 1; }; }
46066 fi
46067 cat >conftest.$ac_ext <<_ACEOF
46068 /* confdefs.h. */
46069 _ACEOF
46070 cat confdefs.h >>conftest.$ac_ext
46071 cat >>conftest.$ac_ext <<_ACEOF
46072 /* end confdefs.h. */
46073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46075 #define $ac_func innocuous_$ac_func
46076
46077 /* System header to define __stub macros and hopefully few prototypes,
46078 which can conflict with char $ac_func (); below.
46079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46080 <limits.h> exists even on freestanding compilers. */
46081
46082 #ifdef __STDC__
46083 # include <limits.h>
46084 #else
46085 # include <assert.h>
46086 #endif
46087
46088 #undef $ac_func
46089
46090 /* Override any gcc2 internal prototype to avoid an error. */
46091 #ifdef __cplusplus
46092 extern "C"
46093 {
46094 #endif
46095 /* We use char because int might match the return type of a gcc2
46096 builtin and then its argument prototype would still apply. */
46097 char $ac_func ();
46098 /* The GNU C library defines this for functions which it implements
46099 to always fail with ENOSYS. Some functions are actually named
46100 something starting with __ and the normal name is an alias. */
46101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46102 choke me
46103 #else
46104 char (*f) () = $ac_func;
46105 #endif
46106 #ifdef __cplusplus
46107 }
46108 #endif
46109
46110 int
46111 main ()
46112 {
46113 return f != $ac_func;
46114 ;
46115 return 0;
46116 }
46117 _ACEOF
46118 rm -f conftest.$ac_objext conftest$ac_exeext
46119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46120 (eval $ac_link) 2>conftest.er1
46121 ac_status=$?
46122 grep -v '^ *+' conftest.er1 >conftest.err
46123 rm -f conftest.er1
46124 cat conftest.err >&5
46125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46126 (exit $ac_status); } &&
46127 { ac_try='test -z "$ac_c_werror_flag"
46128 || test ! -s conftest.err'
46129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46130 (eval $ac_try) 2>&5
46131 ac_status=$?
46132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46133 (exit $ac_status); }; } &&
46134 { ac_try='test -s conftest$ac_exeext'
46135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46136 (eval $ac_try) 2>&5
46137 ac_status=$?
46138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46139 (exit $ac_status); }; }; then
46140 eval "$as_ac_var=yes"
46141 else
46142 echo "$as_me: failed program was:" >&5
46143 sed 's/^/| /' conftest.$ac_ext >&5
46144
46145 eval "$as_ac_var=no"
46146 fi
46147 rm -f conftest.err conftest.$ac_objext \
46148 conftest$ac_exeext conftest.$ac_ext
46149 fi
46150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46152 if test `eval echo '${'$as_ac_var'}'` = yes; then
46153 cat >>confdefs.h <<_ACEOF
46154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46155 _ACEOF
46156
46157 fi
46158 done
46159
46160 fi
46161 fi
46162
46163
46164
46165 echo "$as_me:$LINENO: checking for finitel declaration" >&5
46166 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
46167 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46168 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
46169 echo $ECHO_N "(cached) $ECHO_C" >&6
46170 else
46171
46172
46173
46174 ac_ext=cc
46175 ac_cpp='$CXXCPP $CPPFLAGS'
46176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46179
46180 cat >conftest.$ac_ext <<_ACEOF
46181 /* confdefs.h. */
46182 _ACEOF
46183 cat confdefs.h >>conftest.$ac_ext
46184 cat >>conftest.$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186 #include <math.h>
46187 #ifdef HAVE_IEEEFP_H
46188 #include <ieeefp.h>
46189 #endif
46190
46191 int
46192 main ()
46193 {
46194 finitel(0);
46195 ;
46196 return 0;
46197 }
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46201 (eval $ac_compile) 2>conftest.er1
46202 ac_status=$?
46203 grep -v '^ *+' conftest.er1 >conftest.err
46204 rm -f conftest.er1
46205 cat conftest.err >&5
46206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207 (exit $ac_status); } &&
46208 { ac_try='test -z "$ac_cxx_werror_flag"
46209 || test ! -s conftest.err'
46210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211 (eval $ac_try) 2>&5
46212 ac_status=$?
46213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214 (exit $ac_status); }; } &&
46215 { ac_try='test -s conftest.$ac_objext'
46216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217 (eval $ac_try) 2>&5
46218 ac_status=$?
46219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220 (exit $ac_status); }; }; then
46221 glibcxx_cv_func_finitel_use=yes
46222 else
46223 echo "$as_me: failed program was:" >&5
46224 sed 's/^/| /' conftest.$ac_ext >&5
46225
46226 glibcxx_cv_func_finitel_use=no
46227 fi
46228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46229 ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234
46235
46236 fi
46237
46238 fi
46239 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
46240 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
46241
46242 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46243
46244 for ac_func in finitel
46245 do
46246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46247 echo "$as_me:$LINENO: checking for $ac_func" >&5
46248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46249 if eval "test \"\${$as_ac_var+set}\" = set"; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46251 else
46252 if test x$gcc_no_link = xyes; then
46253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46255 { (exit 1); exit 1; }; }
46256 fi
46257 cat >conftest.$ac_ext <<_ACEOF
46258 /* confdefs.h. */
46259 _ACEOF
46260 cat confdefs.h >>conftest.$ac_ext
46261 cat >>conftest.$ac_ext <<_ACEOF
46262 /* end confdefs.h. */
46263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46265 #define $ac_func innocuous_$ac_func
46266
46267 /* System header to define __stub macros and hopefully few prototypes,
46268 which can conflict with char $ac_func (); below.
46269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46270 <limits.h> exists even on freestanding compilers. */
46271
46272 #ifdef __STDC__
46273 # include <limits.h>
46274 #else
46275 # include <assert.h>
46276 #endif
46277
46278 #undef $ac_func
46279
46280 /* Override any gcc2 internal prototype to avoid an error. */
46281 #ifdef __cplusplus
46282 extern "C"
46283 {
46284 #endif
46285 /* We use char because int might match the return type of a gcc2
46286 builtin and then its argument prototype would still apply. */
46287 char $ac_func ();
46288 /* The GNU C library defines this for functions which it implements
46289 to always fail with ENOSYS. Some functions are actually named
46290 something starting with __ and the normal name is an alias. */
46291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46292 choke me
46293 #else
46294 char (*f) () = $ac_func;
46295 #endif
46296 #ifdef __cplusplus
46297 }
46298 #endif
46299
46300 int
46301 main ()
46302 {
46303 return f != $ac_func;
46304 ;
46305 return 0;
46306 }
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46310 (eval $ac_link) 2>conftest.er1
46311 ac_status=$?
46312 grep -v '^ *+' conftest.er1 >conftest.err
46313 rm -f conftest.er1
46314 cat conftest.err >&5
46315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316 (exit $ac_status); } &&
46317 { ac_try='test -z "$ac_c_werror_flag"
46318 || test ! -s conftest.err'
46319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46320 (eval $ac_try) 2>&5
46321 ac_status=$?
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); }; } &&
46324 { ac_try='test -s conftest$ac_exeext'
46325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46326 (eval $ac_try) 2>&5
46327 ac_status=$?
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); }; }; then
46330 eval "$as_ac_var=yes"
46331 else
46332 echo "$as_me: failed program was:" >&5
46333 sed 's/^/| /' conftest.$ac_ext >&5
46334
46335 eval "$as_ac_var=no"
46336 fi
46337 rm -f conftest.err conftest.$ac_objext \
46338 conftest$ac_exeext conftest.$ac_ext
46339 fi
46340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46342 if test `eval echo '${'$as_ac_var'}'` = yes; then
46343 cat >>confdefs.h <<_ACEOF
46344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46345 _ACEOF
46346
46347 fi
46348 done
46349
46350 else
46351
46352 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
46353 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
46354 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46355 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
46356 echo $ECHO_N "(cached) $ECHO_C" >&6
46357 else
46358
46359
46360
46361 ac_ext=cc
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46366
46367 cat >conftest.$ac_ext <<_ACEOF
46368 /* confdefs.h. */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h. */
46373 #include <math.h>
46374 #ifdef HAVE_IEEEFP_H
46375 #include <ieeefp.h>
46376 #endif
46377
46378 int
46379 main ()
46380 {
46381 _finitel(0);
46382 ;
46383 return 0;
46384 }
46385 _ACEOF
46386 rm -f conftest.$ac_objext
46387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46388 (eval $ac_compile) 2>conftest.er1
46389 ac_status=$?
46390 grep -v '^ *+' conftest.er1 >conftest.err
46391 rm -f conftest.er1
46392 cat conftest.err >&5
46393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46394 (exit $ac_status); } &&
46395 { ac_try='test -z "$ac_cxx_werror_flag"
46396 || test ! -s conftest.err'
46397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46398 (eval $ac_try) 2>&5
46399 ac_status=$?
46400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46401 (exit $ac_status); }; } &&
46402 { ac_try='test -s conftest.$ac_objext'
46403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46404 (eval $ac_try) 2>&5
46405 ac_status=$?
46406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46407 (exit $ac_status); }; }; then
46408 glibcxx_cv_func__finitel_use=yes
46409 else
46410 echo "$as_me: failed program was:" >&5
46411 sed 's/^/| /' conftest.$ac_ext >&5
46412
46413 glibcxx_cv_func__finitel_use=no
46414 fi
46415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46416 ac_ext=c
46417 ac_cpp='$CPP $CPPFLAGS'
46418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46421
46422
46423 fi
46424
46425 fi
46426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
46427 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
46428
46429 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46430
46431 for ac_func in _finitel
46432 do
46433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46434 echo "$as_me:$LINENO: checking for $ac_func" >&5
46435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46436 if eval "test \"\${$as_ac_var+set}\" = set"; then
46437 echo $ECHO_N "(cached) $ECHO_C" >&6
46438 else
46439 if test x$gcc_no_link = xyes; then
46440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46442 { (exit 1); exit 1; }; }
46443 fi
46444 cat >conftest.$ac_ext <<_ACEOF
46445 /* confdefs.h. */
46446 _ACEOF
46447 cat confdefs.h >>conftest.$ac_ext
46448 cat >>conftest.$ac_ext <<_ACEOF
46449 /* end confdefs.h. */
46450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46452 #define $ac_func innocuous_$ac_func
46453
46454 /* System header to define __stub macros and hopefully few prototypes,
46455 which can conflict with char $ac_func (); below.
46456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46457 <limits.h> exists even on freestanding compilers. */
46458
46459 #ifdef __STDC__
46460 # include <limits.h>
46461 #else
46462 # include <assert.h>
46463 #endif
46464
46465 #undef $ac_func
46466
46467 /* Override any gcc2 internal prototype to avoid an error. */
46468 #ifdef __cplusplus
46469 extern "C"
46470 {
46471 #endif
46472 /* We use char because int might match the return type of a gcc2
46473 builtin and then its argument prototype would still apply. */
46474 char $ac_func ();
46475 /* The GNU C library defines this for functions which it implements
46476 to always fail with ENOSYS. Some functions are actually named
46477 something starting with __ and the normal name is an alias. */
46478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46479 choke me
46480 #else
46481 char (*f) () = $ac_func;
46482 #endif
46483 #ifdef __cplusplus
46484 }
46485 #endif
46486
46487 int
46488 main ()
46489 {
46490 return f != $ac_func;
46491 ;
46492 return 0;
46493 }
46494 _ACEOF
46495 rm -f conftest.$ac_objext conftest$ac_exeext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46497 (eval $ac_link) 2>conftest.er1
46498 ac_status=$?
46499 grep -v '^ *+' conftest.er1 >conftest.err
46500 rm -f conftest.er1
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } &&
46504 { ac_try='test -z "$ac_c_werror_flag"
46505 || test ! -s conftest.err'
46506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46507 (eval $ac_try) 2>&5
46508 ac_status=$?
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); }; } &&
46511 { ac_try='test -s conftest$ac_exeext'
46512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513 (eval $ac_try) 2>&5
46514 ac_status=$?
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); }; }; then
46517 eval "$as_ac_var=yes"
46518 else
46519 echo "$as_me: failed program was:" >&5
46520 sed 's/^/| /' conftest.$ac_ext >&5
46521
46522 eval "$as_ac_var=no"
46523 fi
46524 rm -f conftest.err conftest.$ac_objext \
46525 conftest$ac_exeext conftest.$ac_ext
46526 fi
46527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46529 if test `eval echo '${'$as_ac_var'}'` = yes; then
46530 cat >>confdefs.h <<_ACEOF
46531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46532 _ACEOF
46533
46534 fi
46535 done
46536
46537 fi
46538 fi
46539
46540
46541
46542
46543 echo "$as_me:$LINENO: checking for _float trig functions" >&5
46544 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46545 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46546 echo $ECHO_N "(cached) $ECHO_C" >&6
46547 else
46548
46549
46550
46551 ac_ext=cc
46552 ac_cpp='$CXXCPP $CPPFLAGS'
46553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46556
46557 cat >conftest.$ac_ext <<_ACEOF
46558 /* confdefs.h. */
46559 _ACEOF
46560 cat confdefs.h >>conftest.$ac_ext
46561 cat >>conftest.$ac_ext <<_ACEOF
46562 /* end confdefs.h. */
46563 #include <math.h>
46564 int
46565 main ()
46566 {
46567 `for x in _acosf _asinf _atanf \
46568 _cosf _sinf _tanf \
46569 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
46570 ;
46571 return 0;
46572 }
46573 _ACEOF
46574 rm -f conftest.$ac_objext
46575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46576 (eval $ac_compile) 2>conftest.er1
46577 ac_status=$?
46578 grep -v '^ *+' conftest.er1 >conftest.err
46579 rm -f conftest.er1
46580 cat conftest.err >&5
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); } &&
46583 { ac_try='test -z "$ac_cxx_werror_flag"
46584 || test ! -s conftest.err'
46585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46586 (eval $ac_try) 2>&5
46587 ac_status=$?
46588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46589 (exit $ac_status); }; } &&
46590 { ac_try='test -s conftest.$ac_objext'
46591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46592 (eval $ac_try) 2>&5
46593 ac_status=$?
46594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46595 (exit $ac_status); }; }; then
46596 glibcxx_cv_func__float_trig_use=yes
46597 else
46598 echo "$as_me: failed program was:" >&5
46599 sed 's/^/| /' conftest.$ac_ext >&5
46600
46601 glibcxx_cv_func__float_trig_use=no
46602 fi
46603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609
46610 fi
46611
46612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46613 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46614 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46615
46616
46617
46618
46619
46620
46621
46622
46623
46624 for ac_func in _acosf _asinf _atanf \
46625 _cosf _sinf _tanf \
46626 _coshf _sinhf _tanhf
46627 do
46628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46629 echo "$as_me:$LINENO: checking for $ac_func" >&5
46630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46631 if eval "test \"\${$as_ac_var+set}\" = set"; then
46632 echo $ECHO_N "(cached) $ECHO_C" >&6
46633 else
46634 if test x$gcc_no_link = xyes; then
46635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46637 { (exit 1); exit 1; }; }
46638 fi
46639 cat >conftest.$ac_ext <<_ACEOF
46640 /* confdefs.h. */
46641 _ACEOF
46642 cat confdefs.h >>conftest.$ac_ext
46643 cat >>conftest.$ac_ext <<_ACEOF
46644 /* end confdefs.h. */
46645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46647 #define $ac_func innocuous_$ac_func
46648
46649 /* System header to define __stub macros and hopefully few prototypes,
46650 which can conflict with char $ac_func (); below.
46651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46652 <limits.h> exists even on freestanding compilers. */
46653
46654 #ifdef __STDC__
46655 # include <limits.h>
46656 #else
46657 # include <assert.h>
46658 #endif
46659
46660 #undef $ac_func
46661
46662 /* Override any gcc2 internal prototype to avoid an error. */
46663 #ifdef __cplusplus
46664 extern "C"
46665 {
46666 #endif
46667 /* We use char because int might match the return type of a gcc2
46668 builtin and then its argument prototype would still apply. */
46669 char $ac_func ();
46670 /* The GNU C library defines this for functions which it implements
46671 to always fail with ENOSYS. Some functions are actually named
46672 something starting with __ and the normal name is an alias. */
46673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46674 choke me
46675 #else
46676 char (*f) () = $ac_func;
46677 #endif
46678 #ifdef __cplusplus
46679 }
46680 #endif
46681
46682 int
46683 main ()
46684 {
46685 return f != $ac_func;
46686 ;
46687 return 0;
46688 }
46689 _ACEOF
46690 rm -f conftest.$ac_objext conftest$ac_exeext
46691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46692 (eval $ac_link) 2>conftest.er1
46693 ac_status=$?
46694 grep -v '^ *+' conftest.er1 >conftest.err
46695 rm -f conftest.er1
46696 cat conftest.err >&5
46697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698 (exit $ac_status); } &&
46699 { ac_try='test -z "$ac_c_werror_flag"
46700 || test ! -s conftest.err'
46701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702 (eval $ac_try) 2>&5
46703 ac_status=$?
46704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705 (exit $ac_status); }; } &&
46706 { ac_try='test -s conftest$ac_exeext'
46707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46708 (eval $ac_try) 2>&5
46709 ac_status=$?
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); }; }; then
46712 eval "$as_ac_var=yes"
46713 else
46714 echo "$as_me: failed program was:" >&5
46715 sed 's/^/| /' conftest.$ac_ext >&5
46716
46717 eval "$as_ac_var=no"
46718 fi
46719 rm -f conftest.err conftest.$ac_objext \
46720 conftest$ac_exeext conftest.$ac_ext
46721 fi
46722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46724 if test `eval echo '${'$as_ac_var'}'` = yes; then
46725 cat >>confdefs.h <<_ACEOF
46726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46727 _ACEOF
46728
46729 fi
46730 done
46731
46732 fi
46733
46734
46735 echo "$as_me:$LINENO: checking for _float round functions" >&5
46736 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46737 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46738 echo $ECHO_N "(cached) $ECHO_C" >&6
46739 else
46740
46741
46742
46743 ac_ext=cc
46744 ac_cpp='$CXXCPP $CPPFLAGS'
46745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46748
46749 cat >conftest.$ac_ext <<_ACEOF
46750 /* confdefs.h. */
46751 _ACEOF
46752 cat confdefs.h >>conftest.$ac_ext
46753 cat >>conftest.$ac_ext <<_ACEOF
46754 /* end confdefs.h. */
46755 #include <math.h>
46756 int
46757 main ()
46758 {
46759 `for x in _ceilf _floorf; do echo "$x (0);"; done`
46760 ;
46761 return 0;
46762 }
46763 _ACEOF
46764 rm -f conftest.$ac_objext
46765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46766 (eval $ac_compile) 2>conftest.er1
46767 ac_status=$?
46768 grep -v '^ *+' conftest.er1 >conftest.err
46769 rm -f conftest.er1
46770 cat conftest.err >&5
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); } &&
46773 { ac_try='test -z "$ac_cxx_werror_flag"
46774 || test ! -s conftest.err'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46777 ac_status=$?
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; } &&
46780 { ac_try='test -s conftest.$ac_objext'
46781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46782 (eval $ac_try) 2>&5
46783 ac_status=$?
46784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46785 (exit $ac_status); }; }; then
46786 glibcxx_cv_func__float_round_use=yes
46787 else
46788 echo "$as_me: failed program was:" >&5
46789 sed 's/^/| /' conftest.$ac_ext >&5
46790
46791 glibcxx_cv_func__float_round_use=no
46792 fi
46793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46794 ac_ext=c
46795 ac_cpp='$CPP $CPPFLAGS'
46796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46799
46800 fi
46801
46802 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46803 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46804 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46805
46806
46807 for ac_func in _ceilf _floorf
46808 do
46809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46810 echo "$as_me:$LINENO: checking for $ac_func" >&5
46811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46812 if eval "test \"\${$as_ac_var+set}\" = set"; then
46813 echo $ECHO_N "(cached) $ECHO_C" >&6
46814 else
46815 if test x$gcc_no_link = xyes; then
46816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46818 { (exit 1); exit 1; }; }
46819 fi
46820 cat >conftest.$ac_ext <<_ACEOF
46821 /* confdefs.h. */
46822 _ACEOF
46823 cat confdefs.h >>conftest.$ac_ext
46824 cat >>conftest.$ac_ext <<_ACEOF
46825 /* end confdefs.h. */
46826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46828 #define $ac_func innocuous_$ac_func
46829
46830 /* System header to define __stub macros and hopefully few prototypes,
46831 which can conflict with char $ac_func (); below.
46832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46833 <limits.h> exists even on freestanding compilers. */
46834
46835 #ifdef __STDC__
46836 # include <limits.h>
46837 #else
46838 # include <assert.h>
46839 #endif
46840
46841 #undef $ac_func
46842
46843 /* Override any gcc2 internal prototype to avoid an error. */
46844 #ifdef __cplusplus
46845 extern "C"
46846 {
46847 #endif
46848 /* We use char because int might match the return type of a gcc2
46849 builtin and then its argument prototype would still apply. */
46850 char $ac_func ();
46851 /* The GNU C library defines this for functions which it implements
46852 to always fail with ENOSYS. Some functions are actually named
46853 something starting with __ and the normal name is an alias. */
46854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46855 choke me
46856 #else
46857 char (*f) () = $ac_func;
46858 #endif
46859 #ifdef __cplusplus
46860 }
46861 #endif
46862
46863 int
46864 main ()
46865 {
46866 return f != $ac_func;
46867 ;
46868 return 0;
46869 }
46870 _ACEOF
46871 rm -f conftest.$ac_objext conftest$ac_exeext
46872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46873 (eval $ac_link) 2>conftest.er1
46874 ac_status=$?
46875 grep -v '^ *+' conftest.er1 >conftest.err
46876 rm -f conftest.er1
46877 cat conftest.err >&5
46878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46879 (exit $ac_status); } &&
46880 { ac_try='test -z "$ac_c_werror_flag"
46881 || test ! -s conftest.err'
46882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46883 (eval $ac_try) 2>&5
46884 ac_status=$?
46885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46886 (exit $ac_status); }; } &&
46887 { ac_try='test -s conftest$ac_exeext'
46888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46889 (eval $ac_try) 2>&5
46890 ac_status=$?
46891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46892 (exit $ac_status); }; }; then
46893 eval "$as_ac_var=yes"
46894 else
46895 echo "$as_me: failed program was:" >&5
46896 sed 's/^/| /' conftest.$ac_ext >&5
46897
46898 eval "$as_ac_var=no"
46899 fi
46900 rm -f conftest.err conftest.$ac_objext \
46901 conftest$ac_exeext conftest.$ac_ext
46902 fi
46903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46905 if test `eval echo '${'$as_ac_var'}'` = yes; then
46906 cat >>confdefs.h <<_ACEOF
46907 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46908 _ACEOF
46909
46910 fi
46911 done
46912
46913 fi
46914
46915
46916
46917 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
46918 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
46919 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
46920 echo $ECHO_N "(cached) $ECHO_C" >&6
46921 else
46922
46923
46924
46925 ac_ext=cc
46926 ac_cpp='$CXXCPP $CPPFLAGS'
46927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46930
46931 cat >conftest.$ac_ext <<_ACEOF
46932 /* confdefs.h. */
46933 _ACEOF
46934 cat confdefs.h >>conftest.$ac_ext
46935 cat >>conftest.$ac_ext <<_ACEOF
46936 /* end confdefs.h. */
46937 #include <math.h>
46938 int
46939 main ()
46940 {
46941 `for x in _acosl _asinl _atanl \
46942 _cosl _sinl _tanl \
46943 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
46944 ;
46945 return 0;
46946 }
46947 _ACEOF
46948 rm -f conftest.$ac_objext
46949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46950 (eval $ac_compile) 2>conftest.er1
46951 ac_status=$?
46952 grep -v '^ *+' conftest.er1 >conftest.err
46953 rm -f conftest.er1
46954 cat conftest.err >&5
46955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46956 (exit $ac_status); } &&
46957 { ac_try='test -z "$ac_cxx_werror_flag"
46958 || test ! -s conftest.err'
46959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46960 (eval $ac_try) 2>&5
46961 ac_status=$?
46962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46963 (exit $ac_status); }; } &&
46964 { ac_try='test -s conftest.$ac_objext'
46965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46966 (eval $ac_try) 2>&5
46967 ac_status=$?
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; }; then
46970 glibcxx_cv_func__long_double_trig_use=yes
46971 else
46972 echo "$as_me: failed program was:" >&5
46973 sed 's/^/| /' conftest.$ac_ext >&5
46974
46975 glibcxx_cv_func__long_double_trig_use=no
46976 fi
46977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46978 ac_ext=c
46979 ac_cpp='$CPP $CPPFLAGS'
46980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46983
46984 fi
46985
46986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
46987 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
46988 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
46989
46990
46991
46992
46993
46994
46995
46996
46997
46998 for ac_func in _acosl _asinl _atanl \
46999 _cosl _sinl _tanl \
47000 _coshl _sinhl _tanhl
47001 do
47002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47003 echo "$as_me:$LINENO: checking for $ac_func" >&5
47004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47005 if eval "test \"\${$as_ac_var+set}\" = set"; then
47006 echo $ECHO_N "(cached) $ECHO_C" >&6
47007 else
47008 if test x$gcc_no_link = xyes; then
47009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47011 { (exit 1); exit 1; }; }
47012 fi
47013 cat >conftest.$ac_ext <<_ACEOF
47014 /* confdefs.h. */
47015 _ACEOF
47016 cat confdefs.h >>conftest.$ac_ext
47017 cat >>conftest.$ac_ext <<_ACEOF
47018 /* end confdefs.h. */
47019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47021 #define $ac_func innocuous_$ac_func
47022
47023 /* System header to define __stub macros and hopefully few prototypes,
47024 which can conflict with char $ac_func (); below.
47025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47026 <limits.h> exists even on freestanding compilers. */
47027
47028 #ifdef __STDC__
47029 # include <limits.h>
47030 #else
47031 # include <assert.h>
47032 #endif
47033
47034 #undef $ac_func
47035
47036 /* Override any gcc2 internal prototype to avoid an error. */
47037 #ifdef __cplusplus
47038 extern "C"
47039 {
47040 #endif
47041 /* We use char because int might match the return type of a gcc2
47042 builtin and then its argument prototype would still apply. */
47043 char $ac_func ();
47044 /* The GNU C library defines this for functions which it implements
47045 to always fail with ENOSYS. Some functions are actually named
47046 something starting with __ and the normal name is an alias. */
47047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47048 choke me
47049 #else
47050 char (*f) () = $ac_func;
47051 #endif
47052 #ifdef __cplusplus
47053 }
47054 #endif
47055
47056 int
47057 main ()
47058 {
47059 return f != $ac_func;
47060 ;
47061 return 0;
47062 }
47063 _ACEOF
47064 rm -f conftest.$ac_objext conftest$ac_exeext
47065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47066 (eval $ac_link) 2>conftest.er1
47067 ac_status=$?
47068 grep -v '^ *+' conftest.er1 >conftest.err
47069 rm -f conftest.er1
47070 cat conftest.err >&5
47071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47072 (exit $ac_status); } &&
47073 { ac_try='test -z "$ac_c_werror_flag"
47074 || test ! -s conftest.err'
47075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47076 (eval $ac_try) 2>&5
47077 ac_status=$?
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); }; } &&
47080 { ac_try='test -s conftest$ac_exeext'
47081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082 (eval $ac_try) 2>&5
47083 ac_status=$?
47084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085 (exit $ac_status); }; }; then
47086 eval "$as_ac_var=yes"
47087 else
47088 echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47090
47091 eval "$as_ac_var=no"
47092 fi
47093 rm -f conftest.err conftest.$ac_objext \
47094 conftest$ac_exeext conftest.$ac_ext
47095 fi
47096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47098 if test `eval echo '${'$as_ac_var'}'` = yes; then
47099 cat >>confdefs.h <<_ACEOF
47100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47101 _ACEOF
47102
47103 fi
47104 done
47105
47106 fi
47107
47108
47109 echo "$as_me:$LINENO: checking for _long double round functions" >&5
47110 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
47111 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
47112 echo $ECHO_N "(cached) $ECHO_C" >&6
47113 else
47114
47115
47116
47117 ac_ext=cc
47118 ac_cpp='$CXXCPP $CPPFLAGS'
47119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47122
47123 cat >conftest.$ac_ext <<_ACEOF
47124 /* confdefs.h. */
47125 _ACEOF
47126 cat confdefs.h >>conftest.$ac_ext
47127 cat >>conftest.$ac_ext <<_ACEOF
47128 /* end confdefs.h. */
47129 #include <math.h>
47130 int
47131 main ()
47132 {
47133 `for x in _ceill _floorl; do echo "$x (0);"; done`
47134 ;
47135 return 0;
47136 }
47137 _ACEOF
47138 rm -f conftest.$ac_objext
47139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47140 (eval $ac_compile) 2>conftest.er1
47141 ac_status=$?
47142 grep -v '^ *+' conftest.er1 >conftest.err
47143 rm -f conftest.er1
47144 cat conftest.err >&5
47145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47146 (exit $ac_status); } &&
47147 { ac_try='test -z "$ac_cxx_werror_flag"
47148 || test ! -s conftest.err'
47149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47150 (eval $ac_try) 2>&5
47151 ac_status=$?
47152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47153 (exit $ac_status); }; } &&
47154 { ac_try='test -s conftest.$ac_objext'
47155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47156 (eval $ac_try) 2>&5
47157 ac_status=$?
47158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47159 (exit $ac_status); }; }; then
47160 glibcxx_cv_func__long_double_round_use=yes
47161 else
47162 echo "$as_me: failed program was:" >&5
47163 sed 's/^/| /' conftest.$ac_ext >&5
47164
47165 glibcxx_cv_func__long_double_round_use=no
47166 fi
47167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173
47174 fi
47175
47176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
47177 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
47178 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
47179
47180
47181 for ac_func in _ceill _floorl
47182 do
47183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47184 echo "$as_me:$LINENO: checking for $ac_func" >&5
47185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47186 if eval "test \"\${$as_ac_var+set}\" = set"; then
47187 echo $ECHO_N "(cached) $ECHO_C" >&6
47188 else
47189 if test x$gcc_no_link = xyes; then
47190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47192 { (exit 1); exit 1; }; }
47193 fi
47194 cat >conftest.$ac_ext <<_ACEOF
47195 /* confdefs.h. */
47196 _ACEOF
47197 cat confdefs.h >>conftest.$ac_ext
47198 cat >>conftest.$ac_ext <<_ACEOF
47199 /* end confdefs.h. */
47200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47202 #define $ac_func innocuous_$ac_func
47203
47204 /* System header to define __stub macros and hopefully few prototypes,
47205 which can conflict with char $ac_func (); below.
47206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47207 <limits.h> exists even on freestanding compilers. */
47208
47209 #ifdef __STDC__
47210 # include <limits.h>
47211 #else
47212 # include <assert.h>
47213 #endif
47214
47215 #undef $ac_func
47216
47217 /* Override any gcc2 internal prototype to avoid an error. */
47218 #ifdef __cplusplus
47219 extern "C"
47220 {
47221 #endif
47222 /* We use char because int might match the return type of a gcc2
47223 builtin and then its argument prototype would still apply. */
47224 char $ac_func ();
47225 /* The GNU C library defines this for functions which it implements
47226 to always fail with ENOSYS. Some functions are actually named
47227 something starting with __ and the normal name is an alias. */
47228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47229 choke me
47230 #else
47231 char (*f) () = $ac_func;
47232 #endif
47233 #ifdef __cplusplus
47234 }
47235 #endif
47236
47237 int
47238 main ()
47239 {
47240 return f != $ac_func;
47241 ;
47242 return 0;
47243 }
47244 _ACEOF
47245 rm -f conftest.$ac_objext conftest$ac_exeext
47246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47247 (eval $ac_link) 2>conftest.er1
47248 ac_status=$?
47249 grep -v '^ *+' conftest.er1 >conftest.err
47250 rm -f conftest.er1
47251 cat conftest.err >&5
47252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47253 (exit $ac_status); } &&
47254 { ac_try='test -z "$ac_c_werror_flag"
47255 || test ! -s conftest.err'
47256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47257 (eval $ac_try) 2>&5
47258 ac_status=$?
47259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47260 (exit $ac_status); }; } &&
47261 { ac_try='test -s conftest$ac_exeext'
47262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47263 (eval $ac_try) 2>&5
47264 ac_status=$?
47265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47266 (exit $ac_status); }; }; then
47267 eval "$as_ac_var=yes"
47268 else
47269 echo "$as_me: failed program was:" >&5
47270 sed 's/^/| /' conftest.$ac_ext >&5
47271
47272 eval "$as_ac_var=no"
47273 fi
47274 rm -f conftest.err conftest.$ac_objext \
47275 conftest$ac_exeext conftest.$ac_ext
47276 fi
47277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47279 if test `eval echo '${'$as_ac_var'}'` = yes; then
47280 cat >>confdefs.h <<_ACEOF
47281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47282 _ACEOF
47283
47284 fi
47285 done
47286
47287 fi
47288
47289
47290 LIBS="$ac_save_LIBS"
47291 CXXFLAGS="$ac_save_CXXFLAGS"
47292
47293
47294
47295 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
47296 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
47297 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
47298 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
47299 echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47301
47302
47303
47304 ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47309
47310 cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h. */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h. */
47316 #include <math.h>
47317 int
47318 main ()
47319 {
47320 __builtin_abs(0);
47321 ;
47322 return 0;
47323 }
47324 _ACEOF
47325 rm -f conftest.$ac_objext
47326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47327 (eval $ac_compile) 2>conftest.er1
47328 ac_status=$?
47329 grep -v '^ *+' conftest.er1 >conftest.err
47330 rm -f conftest.er1
47331 cat conftest.err >&5
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); } &&
47334 { ac_try='test -z "$ac_cxx_werror_flag"
47335 || test ! -s conftest.err'
47336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47337 (eval $ac_try) 2>&5
47338 ac_status=$?
47339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47340 (exit $ac_status); }; } &&
47341 { ac_try='test -s conftest.$ac_objext'
47342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47343 (eval $ac_try) 2>&5
47344 ac_status=$?
47345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47346 (exit $ac_status); }; }; then
47347 glibcxx_cv_func___builtin_abs_use=yes
47348 else
47349 echo "$as_me: failed program was:" >&5
47350 sed 's/^/| /' conftest.$ac_ext >&5
47351
47352 glibcxx_cv_func___builtin_abs_use=no
47353 fi
47354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47360
47361
47362 fi
47363
47364 fi
47365 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
47366 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
47367 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
47368 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
47369 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
47370 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
47371 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
47372 echo $ECHO_N "(cached) $ECHO_C" >&6
47373 else
47374
47375 if test x$gcc_no_link = xyes; then
47376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47378 { (exit 1); exit 1; }; }
47379 fi
47380 cat >conftest.$ac_ext <<_ACEOF
47381 /* confdefs.h. */
47382 _ACEOF
47383 cat confdefs.h >>conftest.$ac_ext
47384 cat >>conftest.$ac_ext <<_ACEOF
47385 /* end confdefs.h. */
47386 #include <math.h>
47387 int
47388 main ()
47389 {
47390 __builtin_abs(0);
47391 ;
47392 return 0;
47393 }
47394 _ACEOF
47395 rm -f conftest.$ac_objext conftest$ac_exeext
47396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47397 (eval $ac_link) 2>conftest.er1
47398 ac_status=$?
47399 grep -v '^ *+' conftest.er1 >conftest.err
47400 rm -f conftest.er1
47401 cat conftest.err >&5
47402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47403 (exit $ac_status); } &&
47404 { ac_try='test -z "$ac_c_werror_flag"
47405 || test ! -s conftest.err'
47406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47407 (eval $ac_try) 2>&5
47408 ac_status=$?
47409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47410 (exit $ac_status); }; } &&
47411 { ac_try='test -s conftest$ac_exeext'
47412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47413 (eval $ac_try) 2>&5
47414 ac_status=$?
47415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47416 (exit $ac_status); }; }; then
47417 glibcxx_cv_func___builtin_abs_link=yes
47418 else
47419 echo "$as_me: failed program was:" >&5
47420 sed 's/^/| /' conftest.$ac_ext >&5
47421
47422 glibcxx_cv_func___builtin_abs_link=no
47423 fi
47424 rm -f conftest.err conftest.$ac_objext \
47425 conftest$ac_exeext conftest.$ac_ext
47426
47427 fi
47428
47429 fi
47430 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
47431 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
47432 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
47433 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47434
47435 cat >>confdefs.h <<_ACEOF
47436 #define ${ac_tr_func} 1
47437 _ACEOF
47438
47439 fi
47440 fi
47441
47442
47443 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
47444 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
47445 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
47446 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
47447 echo $ECHO_N "(cached) $ECHO_C" >&6
47448 else
47449
47450
47451
47452 ac_ext=cc
47453 ac_cpp='$CXXCPP $CPPFLAGS'
47454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47457
47458 cat >conftest.$ac_ext <<_ACEOF
47459 /* confdefs.h. */
47460 _ACEOF
47461 cat confdefs.h >>conftest.$ac_ext
47462 cat >>conftest.$ac_ext <<_ACEOF
47463 /* end confdefs.h. */
47464 #include <math.h>
47465 int
47466 main ()
47467 {
47468 __builtin_fabsf(0);
47469 ;
47470 return 0;
47471 }
47472 _ACEOF
47473 rm -f conftest.$ac_objext
47474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47475 (eval $ac_compile) 2>conftest.er1
47476 ac_status=$?
47477 grep -v '^ *+' conftest.er1 >conftest.err
47478 rm -f conftest.er1
47479 cat conftest.err >&5
47480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47481 (exit $ac_status); } &&
47482 { ac_try='test -z "$ac_cxx_werror_flag"
47483 || test ! -s conftest.err'
47484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47485 (eval $ac_try) 2>&5
47486 ac_status=$?
47487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47488 (exit $ac_status); }; } &&
47489 { ac_try='test -s conftest.$ac_objext'
47490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47491 (eval $ac_try) 2>&5
47492 ac_status=$?
47493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47494 (exit $ac_status); }; }; then
47495 glibcxx_cv_func___builtin_fabsf_use=yes
47496 else
47497 echo "$as_me: failed program was:" >&5
47498 sed 's/^/| /' conftest.$ac_ext >&5
47499
47500 glibcxx_cv_func___builtin_fabsf_use=no
47501 fi
47502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47503 ac_ext=c
47504 ac_cpp='$CPP $CPPFLAGS'
47505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47508
47509
47510 fi
47511
47512 fi
47513 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
47514 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
47515 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
47516 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
47517 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
47518 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
47519 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
47520 echo $ECHO_N "(cached) $ECHO_C" >&6
47521 else
47522
47523 if test x$gcc_no_link = xyes; then
47524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47526 { (exit 1); exit 1; }; }
47527 fi
47528 cat >conftest.$ac_ext <<_ACEOF
47529 /* confdefs.h. */
47530 _ACEOF
47531 cat confdefs.h >>conftest.$ac_ext
47532 cat >>conftest.$ac_ext <<_ACEOF
47533 /* end confdefs.h. */
47534 #include <math.h>
47535 int
47536 main ()
47537 {
47538 __builtin_fabsf(0);
47539 ;
47540 return 0;
47541 }
47542 _ACEOF
47543 rm -f conftest.$ac_objext conftest$ac_exeext
47544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47545 (eval $ac_link) 2>conftest.er1
47546 ac_status=$?
47547 grep -v '^ *+' conftest.er1 >conftest.err
47548 rm -f conftest.er1
47549 cat conftest.err >&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); } &&
47552 { ac_try='test -z "$ac_c_werror_flag"
47553 || test ! -s conftest.err'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47556 ac_status=$?
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; } &&
47559 { ac_try='test -s conftest$ac_exeext'
47560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561 (eval $ac_try) 2>&5
47562 ac_status=$?
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); }; }; then
47565 glibcxx_cv_func___builtin_fabsf_link=yes
47566 else
47567 echo "$as_me: failed program was:" >&5
47568 sed 's/^/| /' conftest.$ac_ext >&5
47569
47570 glibcxx_cv_func___builtin_fabsf_link=no
47571 fi
47572 rm -f conftest.err conftest.$ac_objext \
47573 conftest$ac_exeext conftest.$ac_ext
47574
47575 fi
47576
47577 fi
47578 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
47579 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
47580 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
47581 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47582
47583 cat >>confdefs.h <<_ACEOF
47584 #define ${ac_tr_func} 1
47585 _ACEOF
47586
47587 fi
47588 fi
47589
47590
47591 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
47592 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
47593 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
47594 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
47595 echo $ECHO_N "(cached) $ECHO_C" >&6
47596 else
47597
47598
47599
47600 ac_ext=cc
47601 ac_cpp='$CXXCPP $CPPFLAGS'
47602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47605
47606 cat >conftest.$ac_ext <<_ACEOF
47607 /* confdefs.h. */
47608 _ACEOF
47609 cat confdefs.h >>conftest.$ac_ext
47610 cat >>conftest.$ac_ext <<_ACEOF
47611 /* end confdefs.h. */
47612 #include <math.h>
47613 int
47614 main ()
47615 {
47616 __builtin_fabs(0);
47617 ;
47618 return 0;
47619 }
47620 _ACEOF
47621 rm -f conftest.$ac_objext
47622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47623 (eval $ac_compile) 2>conftest.er1
47624 ac_status=$?
47625 grep -v '^ *+' conftest.er1 >conftest.err
47626 rm -f conftest.er1
47627 cat conftest.err >&5
47628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47629 (exit $ac_status); } &&
47630 { ac_try='test -z "$ac_cxx_werror_flag"
47631 || test ! -s conftest.err'
47632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47633 (eval $ac_try) 2>&5
47634 ac_status=$?
47635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); }; } &&
47637 { ac_try='test -s conftest.$ac_objext'
47638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47639 (eval $ac_try) 2>&5
47640 ac_status=$?
47641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47642 (exit $ac_status); }; }; then
47643 glibcxx_cv_func___builtin_fabs_use=yes
47644 else
47645 echo "$as_me: failed program was:" >&5
47646 sed 's/^/| /' conftest.$ac_ext >&5
47647
47648 glibcxx_cv_func___builtin_fabs_use=no
47649 fi
47650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47651 ac_ext=c
47652 ac_cpp='$CPP $CPPFLAGS'
47653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47656
47657
47658 fi
47659
47660 fi
47661 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
47662 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
47663 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
47664 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
47665 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
47666 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
47667 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 else
47670
47671 if test x$gcc_no_link = xyes; then
47672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47674 { (exit 1); exit 1; }; }
47675 fi
47676 cat >conftest.$ac_ext <<_ACEOF
47677 /* confdefs.h. */
47678 _ACEOF
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682 #include <math.h>
47683 int
47684 main ()
47685 {
47686 __builtin_fabs(0);
47687 ;
47688 return 0;
47689 }
47690 _ACEOF
47691 rm -f conftest.$ac_objext conftest$ac_exeext
47692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47693 (eval $ac_link) 2>conftest.er1
47694 ac_status=$?
47695 grep -v '^ *+' conftest.er1 >conftest.err
47696 rm -f conftest.er1
47697 cat conftest.err >&5
47698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47699 (exit $ac_status); } &&
47700 { ac_try='test -z "$ac_c_werror_flag"
47701 || test ! -s conftest.err'
47702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47703 (eval $ac_try) 2>&5
47704 ac_status=$?
47705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47706 (exit $ac_status); }; } &&
47707 { ac_try='test -s conftest$ac_exeext'
47708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47709 (eval $ac_try) 2>&5
47710 ac_status=$?
47711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47712 (exit $ac_status); }; }; then
47713 glibcxx_cv_func___builtin_fabs_link=yes
47714 else
47715 echo "$as_me: failed program was:" >&5
47716 sed 's/^/| /' conftest.$ac_ext >&5
47717
47718 glibcxx_cv_func___builtin_fabs_link=no
47719 fi
47720 rm -f conftest.err conftest.$ac_objext \
47721 conftest$ac_exeext conftest.$ac_ext
47722
47723 fi
47724
47725 fi
47726 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
47727 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
47728 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
47729 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47730
47731 cat >>confdefs.h <<_ACEOF
47732 #define ${ac_tr_func} 1
47733 _ACEOF
47734
47735 fi
47736 fi
47737
47738
47739 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
47740 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
47741 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
47742 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
47743 echo $ECHO_N "(cached) $ECHO_C" >&6
47744 else
47745
47746
47747
47748 ac_ext=cc
47749 ac_cpp='$CXXCPP $CPPFLAGS'
47750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47753
47754 cat >conftest.$ac_ext <<_ACEOF
47755 /* confdefs.h. */
47756 _ACEOF
47757 cat confdefs.h >>conftest.$ac_ext
47758 cat >>conftest.$ac_ext <<_ACEOF
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 int
47762 main ()
47763 {
47764 __builtin_fabsl(0);
47765 ;
47766 return 0;
47767 }
47768 _ACEOF
47769 rm -f conftest.$ac_objext
47770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47771 (eval $ac_compile) 2>conftest.er1
47772 ac_status=$?
47773 grep -v '^ *+' conftest.er1 >conftest.err
47774 rm -f conftest.er1
47775 cat conftest.err >&5
47776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47777 (exit $ac_status); } &&
47778 { ac_try='test -z "$ac_cxx_werror_flag"
47779 || test ! -s conftest.err'
47780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47781 (eval $ac_try) 2>&5
47782 ac_status=$?
47783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47784 (exit $ac_status); }; } &&
47785 { ac_try='test -s conftest.$ac_objext'
47786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47787 (eval $ac_try) 2>&5
47788 ac_status=$?
47789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47790 (exit $ac_status); }; }; then
47791 glibcxx_cv_func___builtin_fabsl_use=yes
47792 else
47793 echo "$as_me: failed program was:" >&5
47794 sed 's/^/| /' conftest.$ac_ext >&5
47795
47796 glibcxx_cv_func___builtin_fabsl_use=no
47797 fi
47798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47799 ac_ext=c
47800 ac_cpp='$CPP $CPPFLAGS'
47801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47804
47805
47806 fi
47807
47808 fi
47809 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
47810 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
47811 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
47812 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
47813 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
47814 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
47815 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
47816 echo $ECHO_N "(cached) $ECHO_C" >&6
47817 else
47818
47819 if test x$gcc_no_link = xyes; then
47820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47822 { (exit 1); exit 1; }; }
47823 fi
47824 cat >conftest.$ac_ext <<_ACEOF
47825 /* confdefs.h. */
47826 _ACEOF
47827 cat confdefs.h >>conftest.$ac_ext
47828 cat >>conftest.$ac_ext <<_ACEOF
47829 /* end confdefs.h. */
47830 #include <math.h>
47831 int
47832 main ()
47833 {
47834 __builtin_fabsl(0);
47835 ;
47836 return 0;
47837 }
47838 _ACEOF
47839 rm -f conftest.$ac_objext conftest$ac_exeext
47840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47841 (eval $ac_link) 2>conftest.er1
47842 ac_status=$?
47843 grep -v '^ *+' conftest.er1 >conftest.err
47844 rm -f conftest.er1
47845 cat conftest.err >&5
47846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47847 (exit $ac_status); } &&
47848 { ac_try='test -z "$ac_c_werror_flag"
47849 || test ! -s conftest.err'
47850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47851 (eval $ac_try) 2>&5
47852 ac_status=$?
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); }; } &&
47855 { ac_try='test -s conftest$ac_exeext'
47856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47857 (eval $ac_try) 2>&5
47858 ac_status=$?
47859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860 (exit $ac_status); }; }; then
47861 glibcxx_cv_func___builtin_fabsl_link=yes
47862 else
47863 echo "$as_me: failed program was:" >&5
47864 sed 's/^/| /' conftest.$ac_ext >&5
47865
47866 glibcxx_cv_func___builtin_fabsl_link=no
47867 fi
47868 rm -f conftest.err conftest.$ac_objext \
47869 conftest$ac_exeext conftest.$ac_ext
47870
47871 fi
47872
47873 fi
47874 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
47875 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
47876 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
47877 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
47878
47879 cat >>confdefs.h <<_ACEOF
47880 #define ${ac_tr_func} 1
47881 _ACEOF
47882
47883 fi
47884 fi
47885
47886
47887 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
47888 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
47889 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
47890 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
47891 echo $ECHO_N "(cached) $ECHO_C" >&6
47892 else
47893
47894
47895
47896 ac_ext=cc
47897 ac_cpp='$CXXCPP $CPPFLAGS'
47898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47901
47902 cat >conftest.$ac_ext <<_ACEOF
47903 /* confdefs.h. */
47904 _ACEOF
47905 cat confdefs.h >>conftest.$ac_ext
47906 cat >>conftest.$ac_ext <<_ACEOF
47907 /* end confdefs.h. */
47908 #include <math.h>
47909 int
47910 main ()
47911 {
47912 __builtin_labs(0);
47913 ;
47914 return 0;
47915 }
47916 _ACEOF
47917 rm -f conftest.$ac_objext
47918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47919 (eval $ac_compile) 2>conftest.er1
47920 ac_status=$?
47921 grep -v '^ *+' conftest.er1 >conftest.err
47922 rm -f conftest.er1
47923 cat conftest.err >&5
47924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47925 (exit $ac_status); } &&
47926 { ac_try='test -z "$ac_cxx_werror_flag"
47927 || test ! -s conftest.err'
47928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47929 (eval $ac_try) 2>&5
47930 ac_status=$?
47931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47932 (exit $ac_status); }; } &&
47933 { ac_try='test -s conftest.$ac_objext'
47934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47935 (eval $ac_try) 2>&5
47936 ac_status=$?
47937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47938 (exit $ac_status); }; }; then
47939 glibcxx_cv_func___builtin_labs_use=yes
47940 else
47941 echo "$as_me: failed program was:" >&5
47942 sed 's/^/| /' conftest.$ac_ext >&5
47943
47944 glibcxx_cv_func___builtin_labs_use=no
47945 fi
47946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47947 ac_ext=c
47948 ac_cpp='$CPP $CPPFLAGS'
47949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47952
47953
47954 fi
47955
47956 fi
47957 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
47958 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
47959 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
47960 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
47961 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
47962 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
47963 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
47964 echo $ECHO_N "(cached) $ECHO_C" >&6
47965 else
47966
47967 if test x$gcc_no_link = xyes; then
47968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47970 { (exit 1); exit 1; }; }
47971 fi
47972 cat >conftest.$ac_ext <<_ACEOF
47973 /* confdefs.h. */
47974 _ACEOF
47975 cat confdefs.h >>conftest.$ac_ext
47976 cat >>conftest.$ac_ext <<_ACEOF
47977 /* end confdefs.h. */
47978 #include <math.h>
47979 int
47980 main ()
47981 {
47982 __builtin_labs(0);
47983 ;
47984 return 0;
47985 }
47986 _ACEOF
47987 rm -f conftest.$ac_objext conftest$ac_exeext
47988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47989 (eval $ac_link) 2>conftest.er1
47990 ac_status=$?
47991 grep -v '^ *+' conftest.er1 >conftest.err
47992 rm -f conftest.er1
47993 cat conftest.err >&5
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); } &&
47996 { ac_try='test -z "$ac_c_werror_flag"
47997 || test ! -s conftest.err'
47998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47999 (eval $ac_try) 2>&5
48000 ac_status=$?
48001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48002 (exit $ac_status); }; } &&
48003 { ac_try='test -s conftest$ac_exeext'
48004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48005 (eval $ac_try) 2>&5
48006 ac_status=$?
48007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48008 (exit $ac_status); }; }; then
48009 glibcxx_cv_func___builtin_labs_link=yes
48010 else
48011 echo "$as_me: failed program was:" >&5
48012 sed 's/^/| /' conftest.$ac_ext >&5
48013
48014 glibcxx_cv_func___builtin_labs_link=no
48015 fi
48016 rm -f conftest.err conftest.$ac_objext \
48017 conftest$ac_exeext conftest.$ac_ext
48018
48019 fi
48020
48021 fi
48022 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48023 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48024 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48025 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48026
48027 cat >>confdefs.h <<_ACEOF
48028 #define ${ac_tr_func} 1
48029 _ACEOF
48030
48031 fi
48032 fi
48033
48034
48035
48036 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48037 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48038 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48039 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48040 echo $ECHO_N "(cached) $ECHO_C" >&6
48041 else
48042
48043
48044
48045 ac_ext=cc
48046 ac_cpp='$CXXCPP $CPPFLAGS'
48047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48050
48051 cat >conftest.$ac_ext <<_ACEOF
48052 /* confdefs.h. */
48053 _ACEOF
48054 cat confdefs.h >>conftest.$ac_ext
48055 cat >>conftest.$ac_ext <<_ACEOF
48056 /* end confdefs.h. */
48057 #include <math.h>
48058 int
48059 main ()
48060 {
48061 __builtin_sqrtf(0);
48062 ;
48063 return 0;
48064 }
48065 _ACEOF
48066 rm -f conftest.$ac_objext
48067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48068 (eval $ac_compile) 2>conftest.er1
48069 ac_status=$?
48070 grep -v '^ *+' conftest.er1 >conftest.err
48071 rm -f conftest.er1
48072 cat conftest.err >&5
48073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48074 (exit $ac_status); } &&
48075 { ac_try='test -z "$ac_cxx_werror_flag"
48076 || test ! -s conftest.err'
48077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078 (eval $ac_try) 2>&5
48079 ac_status=$?
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); }; } &&
48082 { ac_try='test -s conftest.$ac_objext'
48083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48084 (eval $ac_try) 2>&5
48085 ac_status=$?
48086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48087 (exit $ac_status); }; }; then
48088 glibcxx_cv_func___builtin_sqrtf_use=yes
48089 else
48090 echo "$as_me: failed program was:" >&5
48091 sed 's/^/| /' conftest.$ac_ext >&5
48092
48093 glibcxx_cv_func___builtin_sqrtf_use=no
48094 fi
48095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48096 ac_ext=c
48097 ac_cpp='$CPP $CPPFLAGS'
48098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48101
48102
48103 fi
48104
48105 fi
48106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
48107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
48108 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
48109 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
48110 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
48111 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
48112 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
48113 echo $ECHO_N "(cached) $ECHO_C" >&6
48114 else
48115
48116 if test x$gcc_no_link = xyes; then
48117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48119 { (exit 1); exit 1; }; }
48120 fi
48121 cat >conftest.$ac_ext <<_ACEOF
48122 /* confdefs.h. */
48123 _ACEOF
48124 cat confdefs.h >>conftest.$ac_ext
48125 cat >>conftest.$ac_ext <<_ACEOF
48126 /* end confdefs.h. */
48127 #include <math.h>
48128 int
48129 main ()
48130 {
48131 __builtin_sqrtf(0);
48132 ;
48133 return 0;
48134 }
48135 _ACEOF
48136 rm -f conftest.$ac_objext conftest$ac_exeext
48137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48138 (eval $ac_link) 2>conftest.er1
48139 ac_status=$?
48140 grep -v '^ *+' conftest.er1 >conftest.err
48141 rm -f conftest.er1
48142 cat conftest.err >&5
48143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48144 (exit $ac_status); } &&
48145 { ac_try='test -z "$ac_c_werror_flag"
48146 || test ! -s conftest.err'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; } &&
48152 { ac_try='test -s conftest$ac_exeext'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; }; then
48158 glibcxx_cv_func___builtin_sqrtf_link=yes
48159 else
48160 echo "$as_me: failed program was:" >&5
48161 sed 's/^/| /' conftest.$ac_ext >&5
48162
48163 glibcxx_cv_func___builtin_sqrtf_link=no
48164 fi
48165 rm -f conftest.err conftest.$ac_objext \
48166 conftest$ac_exeext conftest.$ac_ext
48167
48168 fi
48169
48170 fi
48171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
48172 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
48173 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
48174 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48175
48176 cat >>confdefs.h <<_ACEOF
48177 #define ${ac_tr_func} 1
48178 _ACEOF
48179
48180 fi
48181 fi
48182
48183
48184 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
48185 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
48186 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
48187 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
48188 echo $ECHO_N "(cached) $ECHO_C" >&6
48189 else
48190
48191
48192
48193 ac_ext=cc
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198
48199 cat >conftest.$ac_ext <<_ACEOF
48200 /* confdefs.h. */
48201 _ACEOF
48202 cat confdefs.h >>conftest.$ac_ext
48203 cat >>conftest.$ac_ext <<_ACEOF
48204 /* end confdefs.h. */
48205 #include <math.h>
48206 int
48207 main ()
48208 {
48209 __builtin_sqrt(0);
48210 ;
48211 return 0;
48212 }
48213 _ACEOF
48214 rm -f conftest.$ac_objext
48215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48216 (eval $ac_compile) 2>conftest.er1
48217 ac_status=$?
48218 grep -v '^ *+' conftest.er1 >conftest.err
48219 rm -f conftest.er1
48220 cat conftest.err >&5
48221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48222 (exit $ac_status); } &&
48223 { ac_try='test -z "$ac_cxx_werror_flag"
48224 || test ! -s conftest.err'
48225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48226 (eval $ac_try) 2>&5
48227 ac_status=$?
48228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48229 (exit $ac_status); }; } &&
48230 { ac_try='test -s conftest.$ac_objext'
48231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48232 (eval $ac_try) 2>&5
48233 ac_status=$?
48234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48235 (exit $ac_status); }; }; then
48236 glibcxx_cv_func___builtin_sqrt_use=yes
48237 else
48238 echo "$as_me: failed program was:" >&5
48239 sed 's/^/| /' conftest.$ac_ext >&5
48240
48241 glibcxx_cv_func___builtin_sqrt_use=no
48242 fi
48243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48244 ac_ext=c
48245 ac_cpp='$CPP $CPPFLAGS'
48246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48249
48250
48251 fi
48252
48253 fi
48254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
48255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
48256 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
48257 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
48258 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
48259 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
48260 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
48261 echo $ECHO_N "(cached) $ECHO_C" >&6
48262 else
48263
48264 if test x$gcc_no_link = xyes; then
48265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48267 { (exit 1); exit 1; }; }
48268 fi
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 int
48277 main ()
48278 {
48279 __builtin_sqrt(0);
48280 ;
48281 return 0;
48282 }
48283 _ACEOF
48284 rm -f conftest.$ac_objext conftest$ac_exeext
48285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48286 (eval $ac_link) 2>conftest.er1
48287 ac_status=$?
48288 grep -v '^ *+' conftest.er1 >conftest.err
48289 rm -f conftest.er1
48290 cat conftest.err >&5
48291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48292 (exit $ac_status); } &&
48293 { ac_try='test -z "$ac_c_werror_flag"
48294 || test ! -s conftest.err'
48295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48296 (eval $ac_try) 2>&5
48297 ac_status=$?
48298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48299 (exit $ac_status); }; } &&
48300 { ac_try='test -s conftest$ac_exeext'
48301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48302 (eval $ac_try) 2>&5
48303 ac_status=$?
48304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48305 (exit $ac_status); }; }; then
48306 glibcxx_cv_func___builtin_sqrt_link=yes
48307 else
48308 echo "$as_me: failed program was:" >&5
48309 sed 's/^/| /' conftest.$ac_ext >&5
48310
48311 glibcxx_cv_func___builtin_sqrt_link=no
48312 fi
48313 rm -f conftest.err conftest.$ac_objext \
48314 conftest$ac_exeext conftest.$ac_ext
48315
48316 fi
48317
48318 fi
48319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
48320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
48321 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
48322 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48323
48324 cat >>confdefs.h <<_ACEOF
48325 #define ${ac_tr_func} 1
48326 _ACEOF
48327
48328 fi
48329 fi
48330
48331
48332 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
48333 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
48334 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
48335 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
48336 echo $ECHO_N "(cached) $ECHO_C" >&6
48337 else
48338
48339
48340
48341 ac_ext=cc
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346
48347 cat >conftest.$ac_ext <<_ACEOF
48348 /* confdefs.h. */
48349 _ACEOF
48350 cat confdefs.h >>conftest.$ac_ext
48351 cat >>conftest.$ac_ext <<_ACEOF
48352 /* end confdefs.h. */
48353 #include <math.h>
48354 int
48355 main ()
48356 {
48357 __builtin_sqrtl(0);
48358 ;
48359 return 0;
48360 }
48361 _ACEOF
48362 rm -f conftest.$ac_objext
48363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48364 (eval $ac_compile) 2>conftest.er1
48365 ac_status=$?
48366 grep -v '^ *+' conftest.er1 >conftest.err
48367 rm -f conftest.er1
48368 cat conftest.err >&5
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); } &&
48371 { ac_try='test -z "$ac_cxx_werror_flag"
48372 || test ! -s conftest.err'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48375 ac_status=$?
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; } &&
48378 { ac_try='test -s conftest.$ac_objext'
48379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48380 (eval $ac_try) 2>&5
48381 ac_status=$?
48382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383 (exit $ac_status); }; }; then
48384 glibcxx_cv_func___builtin_sqrtl_use=yes
48385 else
48386 echo "$as_me: failed program was:" >&5
48387 sed 's/^/| /' conftest.$ac_ext >&5
48388
48389 glibcxx_cv_func___builtin_sqrtl_use=no
48390 fi
48391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48392 ac_ext=c
48393 ac_cpp='$CPP $CPPFLAGS'
48394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48397
48398
48399 fi
48400
48401 fi
48402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
48403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
48404 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
48405 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
48406 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
48407 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
48408 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
48409 echo $ECHO_N "(cached) $ECHO_C" >&6
48410 else
48411
48412 if test x$gcc_no_link = xyes; then
48413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48415 { (exit 1); exit 1; }; }
48416 fi
48417 cat >conftest.$ac_ext <<_ACEOF
48418 /* confdefs.h. */
48419 _ACEOF
48420 cat confdefs.h >>conftest.$ac_ext
48421 cat >>conftest.$ac_ext <<_ACEOF
48422 /* end confdefs.h. */
48423 #include <math.h>
48424 int
48425 main ()
48426 {
48427 __builtin_sqrtl(0);
48428 ;
48429 return 0;
48430 }
48431 _ACEOF
48432 rm -f conftest.$ac_objext conftest$ac_exeext
48433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48434 (eval $ac_link) 2>conftest.er1
48435 ac_status=$?
48436 grep -v '^ *+' conftest.er1 >conftest.err
48437 rm -f conftest.er1
48438 cat conftest.err >&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); } &&
48441 { ac_try='test -z "$ac_c_werror_flag"
48442 || test ! -s conftest.err'
48443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48444 (eval $ac_try) 2>&5
48445 ac_status=$?
48446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48447 (exit $ac_status); }; } &&
48448 { ac_try='test -s conftest$ac_exeext'
48449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48450 (eval $ac_try) 2>&5
48451 ac_status=$?
48452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48453 (exit $ac_status); }; }; then
48454 glibcxx_cv_func___builtin_sqrtl_link=yes
48455 else
48456 echo "$as_me: failed program was:" >&5
48457 sed 's/^/| /' conftest.$ac_ext >&5
48458
48459 glibcxx_cv_func___builtin_sqrtl_link=no
48460 fi
48461 rm -f conftest.err conftest.$ac_objext \
48462 conftest$ac_exeext conftest.$ac_ext
48463
48464 fi
48465
48466 fi
48467 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
48468 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
48469 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
48470 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48471
48472 cat >>confdefs.h <<_ACEOF
48473 #define ${ac_tr_func} 1
48474 _ACEOF
48475
48476 fi
48477 fi
48478
48479
48480
48481 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
48482 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
48483 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
48484 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
48485 echo $ECHO_N "(cached) $ECHO_C" >&6
48486 else
48487
48488
48489
48490 ac_ext=cc
48491 ac_cpp='$CXXCPP $CPPFLAGS'
48492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48495
48496 cat >conftest.$ac_ext <<_ACEOF
48497 /* confdefs.h. */
48498 _ACEOF
48499 cat confdefs.h >>conftest.$ac_ext
48500 cat >>conftest.$ac_ext <<_ACEOF
48501 /* end confdefs.h. */
48502 #include <math.h>
48503 int
48504 main ()
48505 {
48506 __builtin_sinf(0);
48507 ;
48508 return 0;
48509 }
48510 _ACEOF
48511 rm -f conftest.$ac_objext
48512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48513 (eval $ac_compile) 2>conftest.er1
48514 ac_status=$?
48515 grep -v '^ *+' conftest.er1 >conftest.err
48516 rm -f conftest.er1
48517 cat conftest.err >&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } &&
48520 { ac_try='test -z "$ac_cxx_werror_flag"
48521 || test ! -s conftest.err'
48522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48523 (eval $ac_try) 2>&5
48524 ac_status=$?
48525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48526 (exit $ac_status); }; } &&
48527 { ac_try='test -s conftest.$ac_objext'
48528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48529 (eval $ac_try) 2>&5
48530 ac_status=$?
48531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48532 (exit $ac_status); }; }; then
48533 glibcxx_cv_func___builtin_sinf_use=yes
48534 else
48535 echo "$as_me: failed program was:" >&5
48536 sed 's/^/| /' conftest.$ac_ext >&5
48537
48538 glibcxx_cv_func___builtin_sinf_use=no
48539 fi
48540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48541 ac_ext=c
48542 ac_cpp='$CPP $CPPFLAGS'
48543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48546
48547
48548 fi
48549
48550 fi
48551 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
48552 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
48553 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
48554 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
48555 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
48556 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
48557 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
48558 echo $ECHO_N "(cached) $ECHO_C" >&6
48559 else
48560
48561 if test x$gcc_no_link = xyes; then
48562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48564 { (exit 1); exit 1; }; }
48565 fi
48566 cat >conftest.$ac_ext <<_ACEOF
48567 /* confdefs.h. */
48568 _ACEOF
48569 cat confdefs.h >>conftest.$ac_ext
48570 cat >>conftest.$ac_ext <<_ACEOF
48571 /* end confdefs.h. */
48572 #include <math.h>
48573 int
48574 main ()
48575 {
48576 __builtin_sinf(0);
48577 ;
48578 return 0;
48579 }
48580 _ACEOF
48581 rm -f conftest.$ac_objext conftest$ac_exeext
48582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48583 (eval $ac_link) 2>conftest.er1
48584 ac_status=$?
48585 grep -v '^ *+' conftest.er1 >conftest.err
48586 rm -f conftest.er1
48587 cat conftest.err >&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); } &&
48590 { ac_try='test -z "$ac_c_werror_flag"
48591 || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest$ac_exeext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603 glibcxx_cv_func___builtin_sinf_link=yes
48604 else
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48607
48608 glibcxx_cv_func___builtin_sinf_link=no
48609 fi
48610 rm -f conftest.err conftest.$ac_objext \
48611 conftest$ac_exeext conftest.$ac_ext
48612
48613 fi
48614
48615 fi
48616 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
48617 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
48618 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
48619 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48620
48621 cat >>confdefs.h <<_ACEOF
48622 #define ${ac_tr_func} 1
48623 _ACEOF
48624
48625 fi
48626 fi
48627
48628
48629 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
48630 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
48631 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
48632 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
48633 echo $ECHO_N "(cached) $ECHO_C" >&6
48634 else
48635
48636
48637
48638 ac_ext=cc
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643
48644 cat >conftest.$ac_ext <<_ACEOF
48645 /* confdefs.h. */
48646 _ACEOF
48647 cat confdefs.h >>conftest.$ac_ext
48648 cat >>conftest.$ac_ext <<_ACEOF
48649 /* end confdefs.h. */
48650 #include <math.h>
48651 int
48652 main ()
48653 {
48654 __builtin_sin(0);
48655 ;
48656 return 0;
48657 }
48658 _ACEOF
48659 rm -f conftest.$ac_objext
48660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48661 (eval $ac_compile) 2>conftest.er1
48662 ac_status=$?
48663 grep -v '^ *+' conftest.er1 >conftest.err
48664 rm -f conftest.er1
48665 cat conftest.err >&5
48666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48667 (exit $ac_status); } &&
48668 { ac_try='test -z "$ac_cxx_werror_flag"
48669 || test ! -s conftest.err'
48670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48671 (eval $ac_try) 2>&5
48672 ac_status=$?
48673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674 (exit $ac_status); }; } &&
48675 { ac_try='test -s conftest.$ac_objext'
48676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48677 (eval $ac_try) 2>&5
48678 ac_status=$?
48679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48680 (exit $ac_status); }; }; then
48681 glibcxx_cv_func___builtin_sin_use=yes
48682 else
48683 echo "$as_me: failed program was:" >&5
48684 sed 's/^/| /' conftest.$ac_ext >&5
48685
48686 glibcxx_cv_func___builtin_sin_use=no
48687 fi
48688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48689 ac_ext=c
48690 ac_cpp='$CPP $CPPFLAGS'
48691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48694
48695
48696 fi
48697
48698 fi
48699 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
48700 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
48701 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
48702 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
48703 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
48704 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
48705 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
48706 echo $ECHO_N "(cached) $ECHO_C" >&6
48707 else
48708
48709 if test x$gcc_no_link = xyes; then
48710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48712 { (exit 1); exit 1; }; }
48713 fi
48714 cat >conftest.$ac_ext <<_ACEOF
48715 /* confdefs.h. */
48716 _ACEOF
48717 cat confdefs.h >>conftest.$ac_ext
48718 cat >>conftest.$ac_ext <<_ACEOF
48719 /* end confdefs.h. */
48720 #include <math.h>
48721 int
48722 main ()
48723 {
48724 __builtin_sin(0);
48725 ;
48726 return 0;
48727 }
48728 _ACEOF
48729 rm -f conftest.$ac_objext conftest$ac_exeext
48730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48731 (eval $ac_link) 2>conftest.er1
48732 ac_status=$?
48733 grep -v '^ *+' conftest.er1 >conftest.err
48734 rm -f conftest.er1
48735 cat conftest.err >&5
48736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48737 (exit $ac_status); } &&
48738 { ac_try='test -z "$ac_c_werror_flag"
48739 || test ! -s conftest.err'
48740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48741 (eval $ac_try) 2>&5
48742 ac_status=$?
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); }; } &&
48745 { ac_try='test -s conftest$ac_exeext'
48746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48747 (eval $ac_try) 2>&5
48748 ac_status=$?
48749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750 (exit $ac_status); }; }; then
48751 glibcxx_cv_func___builtin_sin_link=yes
48752 else
48753 echo "$as_me: failed program was:" >&5
48754 sed 's/^/| /' conftest.$ac_ext >&5
48755
48756 glibcxx_cv_func___builtin_sin_link=no
48757 fi
48758 rm -f conftest.err conftest.$ac_objext \
48759 conftest$ac_exeext conftest.$ac_ext
48760
48761 fi
48762
48763 fi
48764 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
48765 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
48766 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
48767 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48768
48769 cat >>confdefs.h <<_ACEOF
48770 #define ${ac_tr_func} 1
48771 _ACEOF
48772
48773 fi
48774 fi
48775
48776
48777 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
48778 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
48779 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
48780 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
48781 echo $ECHO_N "(cached) $ECHO_C" >&6
48782 else
48783
48784
48785
48786 ac_ext=cc
48787 ac_cpp='$CXXCPP $CPPFLAGS'
48788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48791
48792 cat >conftest.$ac_ext <<_ACEOF
48793 /* confdefs.h. */
48794 _ACEOF
48795 cat confdefs.h >>conftest.$ac_ext
48796 cat >>conftest.$ac_ext <<_ACEOF
48797 /* end confdefs.h. */
48798 #include <math.h>
48799 int
48800 main ()
48801 {
48802 __builtin_sinl(0);
48803 ;
48804 return 0;
48805 }
48806 _ACEOF
48807 rm -f conftest.$ac_objext
48808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48809 (eval $ac_compile) 2>conftest.er1
48810 ac_status=$?
48811 grep -v '^ *+' conftest.er1 >conftest.err
48812 rm -f conftest.er1
48813 cat conftest.err >&5
48814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48815 (exit $ac_status); } &&
48816 { ac_try='test -z "$ac_cxx_werror_flag"
48817 || test ! -s conftest.err'
48818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48819 (eval $ac_try) 2>&5
48820 ac_status=$?
48821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48822 (exit $ac_status); }; } &&
48823 { ac_try='test -s conftest.$ac_objext'
48824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48825 (eval $ac_try) 2>&5
48826 ac_status=$?
48827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48828 (exit $ac_status); }; }; then
48829 glibcxx_cv_func___builtin_sinl_use=yes
48830 else
48831 echo "$as_me: failed program was:" >&5
48832 sed 's/^/| /' conftest.$ac_ext >&5
48833
48834 glibcxx_cv_func___builtin_sinl_use=no
48835 fi
48836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842
48843
48844 fi
48845
48846 fi
48847 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
48848 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
48849 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
48850 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
48851 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
48852 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
48853 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
48854 echo $ECHO_N "(cached) $ECHO_C" >&6
48855 else
48856
48857 if test x$gcc_no_link = xyes; then
48858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48860 { (exit 1); exit 1; }; }
48861 fi
48862 cat >conftest.$ac_ext <<_ACEOF
48863 /* confdefs.h. */
48864 _ACEOF
48865 cat confdefs.h >>conftest.$ac_ext
48866 cat >>conftest.$ac_ext <<_ACEOF
48867 /* end confdefs.h. */
48868 #include <math.h>
48869 int
48870 main ()
48871 {
48872 __builtin_sinl(0);
48873 ;
48874 return 0;
48875 }
48876 _ACEOF
48877 rm -f conftest.$ac_objext conftest$ac_exeext
48878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48879 (eval $ac_link) 2>conftest.er1
48880 ac_status=$?
48881 grep -v '^ *+' conftest.er1 >conftest.err
48882 rm -f conftest.er1
48883 cat conftest.err >&5
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); } &&
48886 { ac_try='test -z "$ac_c_werror_flag"
48887 || test ! -s conftest.err'
48888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48889 (eval $ac_try) 2>&5
48890 ac_status=$?
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; } &&
48893 { ac_try='test -s conftest$ac_exeext'
48894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48895 (eval $ac_try) 2>&5
48896 ac_status=$?
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); }; }; then
48899 glibcxx_cv_func___builtin_sinl_link=yes
48900 else
48901 echo "$as_me: failed program was:" >&5
48902 sed 's/^/| /' conftest.$ac_ext >&5
48903
48904 glibcxx_cv_func___builtin_sinl_link=no
48905 fi
48906 rm -f conftest.err conftest.$ac_objext \
48907 conftest$ac_exeext conftest.$ac_ext
48908
48909 fi
48910
48911 fi
48912 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
48913 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
48914 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
48915 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48916
48917 cat >>confdefs.h <<_ACEOF
48918 #define ${ac_tr_func} 1
48919 _ACEOF
48920
48921 fi
48922 fi
48923
48924
48925
48926 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
48927 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
48928 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
48929 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
48930 echo $ECHO_N "(cached) $ECHO_C" >&6
48931 else
48932
48933
48934
48935 ac_ext=cc
48936 ac_cpp='$CXXCPP $CPPFLAGS'
48937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48940
48941 cat >conftest.$ac_ext <<_ACEOF
48942 /* confdefs.h. */
48943 _ACEOF
48944 cat confdefs.h >>conftest.$ac_ext
48945 cat >>conftest.$ac_ext <<_ACEOF
48946 /* end confdefs.h. */
48947 #include <math.h>
48948 int
48949 main ()
48950 {
48951 __builtin_cosf(0);
48952 ;
48953 return 0;
48954 }
48955 _ACEOF
48956 rm -f conftest.$ac_objext
48957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48958 (eval $ac_compile) 2>conftest.er1
48959 ac_status=$?
48960 grep -v '^ *+' conftest.er1 >conftest.err
48961 rm -f conftest.er1
48962 cat conftest.err >&5
48963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48964 (exit $ac_status); } &&
48965 { ac_try='test -z "$ac_cxx_werror_flag"
48966 || test ! -s conftest.err'
48967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968 (eval $ac_try) 2>&5
48969 ac_status=$?
48970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971 (exit $ac_status); }; } &&
48972 { ac_try='test -s conftest.$ac_objext'
48973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48974 (eval $ac_try) 2>&5
48975 ac_status=$?
48976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48977 (exit $ac_status); }; }; then
48978 glibcxx_cv_func___builtin_cosf_use=yes
48979 else
48980 echo "$as_me: failed program was:" >&5
48981 sed 's/^/| /' conftest.$ac_ext >&5
48982
48983 glibcxx_cv_func___builtin_cosf_use=no
48984 fi
48985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48986 ac_ext=c
48987 ac_cpp='$CPP $CPPFLAGS'
48988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48991
48992
48993 fi
48994
48995 fi
48996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
48997 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
48998 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
48999 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49000 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49001 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49002 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49003 echo $ECHO_N "(cached) $ECHO_C" >&6
49004 else
49005
49006 if test x$gcc_no_link = xyes; then
49007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49009 { (exit 1); exit 1; }; }
49010 fi
49011 cat >conftest.$ac_ext <<_ACEOF
49012 /* confdefs.h. */
49013 _ACEOF
49014 cat confdefs.h >>conftest.$ac_ext
49015 cat >>conftest.$ac_ext <<_ACEOF
49016 /* end confdefs.h. */
49017 #include <math.h>
49018 int
49019 main ()
49020 {
49021 __builtin_cosf(0);
49022 ;
49023 return 0;
49024 }
49025 _ACEOF
49026 rm -f conftest.$ac_objext conftest$ac_exeext
49027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49028 (eval $ac_link) 2>conftest.er1
49029 ac_status=$?
49030 grep -v '^ *+' conftest.er1 >conftest.err
49031 rm -f conftest.er1
49032 cat conftest.err >&5
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); } &&
49035 { ac_try='test -z "$ac_c_werror_flag"
49036 || test ! -s conftest.err'
49037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49038 (eval $ac_try) 2>&5
49039 ac_status=$?
49040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041 (exit $ac_status); }; } &&
49042 { ac_try='test -s conftest$ac_exeext'
49043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49044 (eval $ac_try) 2>&5
49045 ac_status=$?
49046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49047 (exit $ac_status); }; }; then
49048 glibcxx_cv_func___builtin_cosf_link=yes
49049 else
49050 echo "$as_me: failed program was:" >&5
49051 sed 's/^/| /' conftest.$ac_ext >&5
49052
49053 glibcxx_cv_func___builtin_cosf_link=no
49054 fi
49055 rm -f conftest.err conftest.$ac_objext \
49056 conftest$ac_exeext conftest.$ac_ext
49057
49058 fi
49059
49060 fi
49061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49062 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49063 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49064 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49065
49066 cat >>confdefs.h <<_ACEOF
49067 #define ${ac_tr_func} 1
49068 _ACEOF
49069
49070 fi
49071 fi
49072
49073
49074 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49075 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49076 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49077 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
49078 echo $ECHO_N "(cached) $ECHO_C" >&6
49079 else
49080
49081
49082
49083 ac_ext=cc
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49088
49089 cat >conftest.$ac_ext <<_ACEOF
49090 /* confdefs.h. */
49091 _ACEOF
49092 cat confdefs.h >>conftest.$ac_ext
49093 cat >>conftest.$ac_ext <<_ACEOF
49094 /* end confdefs.h. */
49095 #include <math.h>
49096 int
49097 main ()
49098 {
49099 __builtin_cos(0);
49100 ;
49101 return 0;
49102 }
49103 _ACEOF
49104 rm -f conftest.$ac_objext
49105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49106 (eval $ac_compile) 2>conftest.er1
49107 ac_status=$?
49108 grep -v '^ *+' conftest.er1 >conftest.err
49109 rm -f conftest.er1
49110 cat conftest.err >&5
49111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49112 (exit $ac_status); } &&
49113 { ac_try='test -z "$ac_cxx_werror_flag"
49114 || test ! -s conftest.err'
49115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49116 (eval $ac_try) 2>&5
49117 ac_status=$?
49118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49119 (exit $ac_status); }; } &&
49120 { ac_try='test -s conftest.$ac_objext'
49121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49122 (eval $ac_try) 2>&5
49123 ac_status=$?
49124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49125 (exit $ac_status); }; }; then
49126 glibcxx_cv_func___builtin_cos_use=yes
49127 else
49128 echo "$as_me: failed program was:" >&5
49129 sed 's/^/| /' conftest.$ac_ext >&5
49130
49131 glibcxx_cv_func___builtin_cos_use=no
49132 fi
49133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49134 ac_ext=c
49135 ac_cpp='$CPP $CPPFLAGS'
49136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49139
49140
49141 fi
49142
49143 fi
49144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
49145 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
49146 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
49147 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
49148 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
49149 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
49150 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
49151 echo $ECHO_N "(cached) $ECHO_C" >&6
49152 else
49153
49154 if test x$gcc_no_link = xyes; then
49155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49157 { (exit 1); exit 1; }; }
49158 fi
49159 cat >conftest.$ac_ext <<_ACEOF
49160 /* confdefs.h. */
49161 _ACEOF
49162 cat confdefs.h >>conftest.$ac_ext
49163 cat >>conftest.$ac_ext <<_ACEOF
49164 /* end confdefs.h. */
49165 #include <math.h>
49166 int
49167 main ()
49168 {
49169 __builtin_cos(0);
49170 ;
49171 return 0;
49172 }
49173 _ACEOF
49174 rm -f conftest.$ac_objext conftest$ac_exeext
49175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49176 (eval $ac_link) 2>conftest.er1
49177 ac_status=$?
49178 grep -v '^ *+' conftest.er1 >conftest.err
49179 rm -f conftest.er1
49180 cat conftest.err >&5
49181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49182 (exit $ac_status); } &&
49183 { ac_try='test -z "$ac_c_werror_flag"
49184 || test ! -s conftest.err'
49185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49186 (eval $ac_try) 2>&5
49187 ac_status=$?
49188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49189 (exit $ac_status); }; } &&
49190 { ac_try='test -s conftest$ac_exeext'
49191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49192 (eval $ac_try) 2>&5
49193 ac_status=$?
49194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49195 (exit $ac_status); }; }; then
49196 glibcxx_cv_func___builtin_cos_link=yes
49197 else
49198 echo "$as_me: failed program was:" >&5
49199 sed 's/^/| /' conftest.$ac_ext >&5
49200
49201 glibcxx_cv_func___builtin_cos_link=no
49202 fi
49203 rm -f conftest.err conftest.$ac_objext \
49204 conftest$ac_exeext conftest.$ac_ext
49205
49206 fi
49207
49208 fi
49209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
49210 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
49211 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
49212 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49213
49214 cat >>confdefs.h <<_ACEOF
49215 #define ${ac_tr_func} 1
49216 _ACEOF
49217
49218 fi
49219 fi
49220
49221
49222 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
49223 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
49224 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
49225 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
49226 echo $ECHO_N "(cached) $ECHO_C" >&6
49227 else
49228
49229
49230
49231 ac_ext=cc
49232 ac_cpp='$CXXCPP $CPPFLAGS'
49233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49236
49237 cat >conftest.$ac_ext <<_ACEOF
49238 /* confdefs.h. */
49239 _ACEOF
49240 cat confdefs.h >>conftest.$ac_ext
49241 cat >>conftest.$ac_ext <<_ACEOF
49242 /* end confdefs.h. */
49243 #include <math.h>
49244 int
49245 main ()
49246 {
49247 __builtin_cosl(0);
49248 ;
49249 return 0;
49250 }
49251 _ACEOF
49252 rm -f conftest.$ac_objext
49253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49254 (eval $ac_compile) 2>conftest.er1
49255 ac_status=$?
49256 grep -v '^ *+' conftest.er1 >conftest.err
49257 rm -f conftest.er1
49258 cat conftest.err >&5
49259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49260 (exit $ac_status); } &&
49261 { ac_try='test -z "$ac_cxx_werror_flag"
49262 || test ! -s conftest.err'
49263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49264 (eval $ac_try) 2>&5
49265 ac_status=$?
49266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49267 (exit $ac_status); }; } &&
49268 { ac_try='test -s conftest.$ac_objext'
49269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49270 (eval $ac_try) 2>&5
49271 ac_status=$?
49272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49273 (exit $ac_status); }; }; then
49274 glibcxx_cv_func___builtin_cosl_use=yes
49275 else
49276 echo "$as_me: failed program was:" >&5
49277 sed 's/^/| /' conftest.$ac_ext >&5
49278
49279 glibcxx_cv_func___builtin_cosl_use=no
49280 fi
49281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49282 ac_ext=c
49283 ac_cpp='$CPP $CPPFLAGS'
49284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49287
49288
49289 fi
49290
49291 fi
49292 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
49293 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
49294 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
49295 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
49296 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
49297 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
49298 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
49299 echo $ECHO_N "(cached) $ECHO_C" >&6
49300 else
49301
49302 if test x$gcc_no_link = xyes; then
49303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49305 { (exit 1); exit 1; }; }
49306 fi
49307 cat >conftest.$ac_ext <<_ACEOF
49308 /* confdefs.h. */
49309 _ACEOF
49310 cat confdefs.h >>conftest.$ac_ext
49311 cat >>conftest.$ac_ext <<_ACEOF
49312 /* end confdefs.h. */
49313 #include <math.h>
49314 int
49315 main ()
49316 {
49317 __builtin_cosl(0);
49318 ;
49319 return 0;
49320 }
49321 _ACEOF
49322 rm -f conftest.$ac_objext conftest$ac_exeext
49323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49324 (eval $ac_link) 2>conftest.er1
49325 ac_status=$?
49326 grep -v '^ *+' conftest.er1 >conftest.err
49327 rm -f conftest.er1
49328 cat conftest.err >&5
49329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49330 (exit $ac_status); } &&
49331 { ac_try='test -z "$ac_c_werror_flag"
49332 || test ! -s conftest.err'
49333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49334 (eval $ac_try) 2>&5
49335 ac_status=$?
49336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337 (exit $ac_status); }; } &&
49338 { ac_try='test -s conftest$ac_exeext'
49339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49340 (eval $ac_try) 2>&5
49341 ac_status=$?
49342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49343 (exit $ac_status); }; }; then
49344 glibcxx_cv_func___builtin_cosl_link=yes
49345 else
49346 echo "$as_me: failed program was:" >&5
49347 sed 's/^/| /' conftest.$ac_ext >&5
49348
49349 glibcxx_cv_func___builtin_cosl_link=no
49350 fi
49351 rm -f conftest.err conftest.$ac_objext \
49352 conftest$ac_exeext conftest.$ac_ext
49353
49354 fi
49355
49356 fi
49357 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
49358 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
49359 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
49360 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49361
49362 cat >>confdefs.h <<_ACEOF
49363 #define ${ac_tr_func} 1
49364 _ACEOF
49365
49366 fi
49367 fi
49368
49369
49370
49371
49372 echo "$as_me:$LINENO: checking for main in -lm" >&5
49373 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49374 if test "${ac_cv_lib_m_main+set}" = set; then
49375 echo $ECHO_N "(cached) $ECHO_C" >&6
49376 else
49377 ac_check_lib_save_LIBS=$LIBS
49378 LIBS="-lm $LIBS"
49379 if test x$gcc_no_link = xyes; then
49380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49382 { (exit 1); exit 1; }; }
49383 fi
49384 cat >conftest.$ac_ext <<_ACEOF
49385 /* confdefs.h. */
49386 _ACEOF
49387 cat confdefs.h >>conftest.$ac_ext
49388 cat >>conftest.$ac_ext <<_ACEOF
49389 /* end confdefs.h. */
49390
49391
49392 int
49393 main ()
49394 {
49395 main ();
49396 ;
49397 return 0;
49398 }
49399 _ACEOF
49400 rm -f conftest.$ac_objext conftest$ac_exeext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49402 (eval $ac_link) 2>conftest.er1
49403 ac_status=$?
49404 grep -v '^ *+' conftest.er1 >conftest.err
49405 rm -f conftest.er1
49406 cat conftest.err >&5
49407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408 (exit $ac_status); } &&
49409 { ac_try='test -z "$ac_c_werror_flag"
49410 || test ! -s conftest.err'
49411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49412 (eval $ac_try) 2>&5
49413 ac_status=$?
49414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415 (exit $ac_status); }; } &&
49416 { ac_try='test -s conftest$ac_exeext'
49417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49418 (eval $ac_try) 2>&5
49419 ac_status=$?
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); }; }; then
49422 ac_cv_lib_m_main=yes
49423 else
49424 echo "$as_me: failed program was:" >&5
49425 sed 's/^/| /' conftest.$ac_ext >&5
49426
49427 ac_cv_lib_m_main=no
49428 fi
49429 rm -f conftest.err conftest.$ac_objext \
49430 conftest$ac_exeext conftest.$ac_ext
49431 LIBS=$ac_check_lib_save_LIBS
49432 fi
49433 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49434 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49435 if test $ac_cv_lib_m_main = yes; then
49436 cat >>confdefs.h <<_ACEOF
49437 #define HAVE_LIBM 1
49438 _ACEOF
49439
49440 LIBS="-lm $LIBS"
49441
49442 fi
49443
49444
49445 for ac_func in copysignf
49446 do
49447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49448 echo "$as_me:$LINENO: checking for $ac_func" >&5
49449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49450 if eval "test \"\${$as_ac_var+set}\" = set"; then
49451 echo $ECHO_N "(cached) $ECHO_C" >&6
49452 else
49453 if test x$gcc_no_link = xyes; then
49454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49456 { (exit 1); exit 1; }; }
49457 fi
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h. */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h. */
49464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49466 #define $ac_func innocuous_$ac_func
49467
49468 /* System header to define __stub macros and hopefully few prototypes,
49469 which can conflict with char $ac_func (); below.
49470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49471 <limits.h> exists even on freestanding compilers. */
49472
49473 #ifdef __STDC__
49474 # include <limits.h>
49475 #else
49476 # include <assert.h>
49477 #endif
49478
49479 #undef $ac_func
49480
49481 /* Override any gcc2 internal prototype to avoid an error. */
49482 #ifdef __cplusplus
49483 extern "C"
49484 {
49485 #endif
49486 /* We use char because int might match the return type of a gcc2
49487 builtin and then its argument prototype would still apply. */
49488 char $ac_func ();
49489 /* The GNU C library defines this for functions which it implements
49490 to always fail with ENOSYS. Some functions are actually named
49491 something starting with __ and the normal name is an alias. */
49492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49493 choke me
49494 #else
49495 char (*f) () = $ac_func;
49496 #endif
49497 #ifdef __cplusplus
49498 }
49499 #endif
49500
49501 int
49502 main ()
49503 {
49504 return f != $ac_func;
49505 ;
49506 return 0;
49507 }
49508 _ACEOF
49509 rm -f conftest.$ac_objext conftest$ac_exeext
49510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49511 (eval $ac_link) 2>conftest.er1
49512 ac_status=$?
49513 grep -v '^ *+' conftest.er1 >conftest.err
49514 rm -f conftest.er1
49515 cat conftest.err >&5
49516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517 (exit $ac_status); } &&
49518 { ac_try='test -z "$ac_c_werror_flag"
49519 || test ! -s conftest.err'
49520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49521 (eval $ac_try) 2>&5
49522 ac_status=$?
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); }; } &&
49525 { ac_try='test -s conftest$ac_exeext'
49526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49527 (eval $ac_try) 2>&5
49528 ac_status=$?
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); }; }; then
49531 eval "$as_ac_var=yes"
49532 else
49533 echo "$as_me: failed program was:" >&5
49534 sed 's/^/| /' conftest.$ac_ext >&5
49535
49536 eval "$as_ac_var=no"
49537 fi
49538 rm -f conftest.err conftest.$ac_objext \
49539 conftest$ac_exeext conftest.$ac_ext
49540 fi
49541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49543 if test `eval echo '${'$as_ac_var'}'` = yes; then
49544 cat >>confdefs.h <<_ACEOF
49545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49547
49548 else
49549 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49550 fi
49551 done
49552
49553
49554
49555 for ac_func in __signbit
49556 do
49557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49558 echo "$as_me:$LINENO: checking for $ac_func" >&5
49559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49560 if eval "test \"\${$as_ac_var+set}\" = set"; then
49561 echo $ECHO_N "(cached) $ECHO_C" >&6
49562 else
49563 if test x$gcc_no_link = xyes; then
49564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49566 { (exit 1); exit 1; }; }
49567 fi
49568 cat >conftest.$ac_ext <<_ACEOF
49569 /* confdefs.h. */
49570 _ACEOF
49571 cat confdefs.h >>conftest.$ac_ext
49572 cat >>conftest.$ac_ext <<_ACEOF
49573 /* end confdefs.h. */
49574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49576 #define $ac_func innocuous_$ac_func
49577
49578 /* System header to define __stub macros and hopefully few prototypes,
49579 which can conflict with char $ac_func (); below.
49580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49581 <limits.h> exists even on freestanding compilers. */
49582
49583 #ifdef __STDC__
49584 # include <limits.h>
49585 #else
49586 # include <assert.h>
49587 #endif
49588
49589 #undef $ac_func
49590
49591 /* Override any gcc2 internal prototype to avoid an error. */
49592 #ifdef __cplusplus
49593 extern "C"
49594 {
49595 #endif
49596 /* We use char because int might match the return type of a gcc2
49597 builtin and then its argument prototype would still apply. */
49598 char $ac_func ();
49599 /* The GNU C library defines this for functions which it implements
49600 to always fail with ENOSYS. Some functions are actually named
49601 something starting with __ and the normal name is an alias. */
49602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49603 choke me
49604 #else
49605 char (*f) () = $ac_func;
49606 #endif
49607 #ifdef __cplusplus
49608 }
49609 #endif
49610
49611 int
49612 main ()
49613 {
49614 return f != $ac_func;
49615 ;
49616 return 0;
49617 }
49618 _ACEOF
49619 rm -f conftest.$ac_objext conftest$ac_exeext
49620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49621 (eval $ac_link) 2>conftest.er1
49622 ac_status=$?
49623 grep -v '^ *+' conftest.er1 >conftest.err
49624 rm -f conftest.er1
49625 cat conftest.err >&5
49626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49627 (exit $ac_status); } &&
49628 { ac_try='test -z "$ac_c_werror_flag"
49629 || test ! -s conftest.err'
49630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49631 (eval $ac_try) 2>&5
49632 ac_status=$?
49633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49634 (exit $ac_status); }; } &&
49635 { ac_try='test -s conftest$ac_exeext'
49636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49637 (eval $ac_try) 2>&5
49638 ac_status=$?
49639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49640 (exit $ac_status); }; }; then
49641 eval "$as_ac_var=yes"
49642 else
49643 echo "$as_me: failed program was:" >&5
49644 sed 's/^/| /' conftest.$ac_ext >&5
49645
49646 eval "$as_ac_var=no"
49647 fi
49648 rm -f conftest.err conftest.$ac_objext \
49649 conftest$ac_exeext conftest.$ac_ext
49650 fi
49651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49653 if test `eval echo '${'$as_ac_var'}'` = yes; then
49654 cat >>confdefs.h <<_ACEOF
49655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49656 _ACEOF
49657
49658 else
49659 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49660 fi
49661 done
49662
49663
49664
49665 for ac_func in __signbitf
49666 do
49667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49668 echo "$as_me:$LINENO: checking for $ac_func" >&5
49669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49670 if eval "test \"\${$as_ac_var+set}\" = set"; then
49671 echo $ECHO_N "(cached) $ECHO_C" >&6
49672 else
49673 if test x$gcc_no_link = xyes; then
49674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49676 { (exit 1); exit 1; }; }
49677 fi
49678 cat >conftest.$ac_ext <<_ACEOF
49679 /* confdefs.h. */
49680 _ACEOF
49681 cat confdefs.h >>conftest.$ac_ext
49682 cat >>conftest.$ac_ext <<_ACEOF
49683 /* end confdefs.h. */
49684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49686 #define $ac_func innocuous_$ac_func
49687
49688 /* System header to define __stub macros and hopefully few prototypes,
49689 which can conflict with char $ac_func (); below.
49690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49691 <limits.h> exists even on freestanding compilers. */
49692
49693 #ifdef __STDC__
49694 # include <limits.h>
49695 #else
49696 # include <assert.h>
49697 #endif
49698
49699 #undef $ac_func
49700
49701 /* Override any gcc2 internal prototype to avoid an error. */
49702 #ifdef __cplusplus
49703 extern "C"
49704 {
49705 #endif
49706 /* We use char because int might match the return type of a gcc2
49707 builtin and then its argument prototype would still apply. */
49708 char $ac_func ();
49709 /* The GNU C library defines this for functions which it implements
49710 to always fail with ENOSYS. Some functions are actually named
49711 something starting with __ and the normal name is an alias. */
49712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49713 choke me
49714 #else
49715 char (*f) () = $ac_func;
49716 #endif
49717 #ifdef __cplusplus
49718 }
49719 #endif
49720
49721 int
49722 main ()
49723 {
49724 return f != $ac_func;
49725 ;
49726 return 0;
49727 }
49728 _ACEOF
49729 rm -f conftest.$ac_objext conftest$ac_exeext
49730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49731 (eval $ac_link) 2>conftest.er1
49732 ac_status=$?
49733 grep -v '^ *+' conftest.er1 >conftest.err
49734 rm -f conftest.er1
49735 cat conftest.err >&5
49736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49737 (exit $ac_status); } &&
49738 { ac_try='test -z "$ac_c_werror_flag"
49739 || test ! -s conftest.err'
49740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49741 (eval $ac_try) 2>&5
49742 ac_status=$?
49743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49744 (exit $ac_status); }; } &&
49745 { ac_try='test -s conftest$ac_exeext'
49746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49747 (eval $ac_try) 2>&5
49748 ac_status=$?
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); }; }; then
49751 eval "$as_ac_var=yes"
49752 else
49753 echo "$as_me: failed program was:" >&5
49754 sed 's/^/| /' conftest.$ac_ext >&5
49755
49756 eval "$as_ac_var=no"
49757 fi
49758 rm -f conftest.err conftest.$ac_objext \
49759 conftest$ac_exeext conftest.$ac_ext
49760 fi
49761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49763 if test `eval echo '${'$as_ac_var'}'` = yes; then
49764 cat >>confdefs.h <<_ACEOF
49765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49766 _ACEOF
49767
49768 else
49769 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49770 fi
49771 done
49772
49773
49774 if test x$ac_cv_func_copysignl = x"yes"; then
49775
49776 for ac_func in __signbitl
49777 do
49778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49779 echo "$as_me:$LINENO: checking for $ac_func" >&5
49780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49781 if eval "test \"\${$as_ac_var+set}\" = set"; then
49782 echo $ECHO_N "(cached) $ECHO_C" >&6
49783 else
49784 if test x$gcc_no_link = xyes; then
49785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49787 { (exit 1); exit 1; }; }
49788 fi
49789 cat >conftest.$ac_ext <<_ACEOF
49790 /* confdefs.h. */
49791 _ACEOF
49792 cat confdefs.h >>conftest.$ac_ext
49793 cat >>conftest.$ac_ext <<_ACEOF
49794 /* end confdefs.h. */
49795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49797 #define $ac_func innocuous_$ac_func
49798
49799 /* System header to define __stub macros and hopefully few prototypes,
49800 which can conflict with char $ac_func (); below.
49801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49802 <limits.h> exists even on freestanding compilers. */
49803
49804 #ifdef __STDC__
49805 # include <limits.h>
49806 #else
49807 # include <assert.h>
49808 #endif
49809
49810 #undef $ac_func
49811
49812 /* Override any gcc2 internal prototype to avoid an error. */
49813 #ifdef __cplusplus
49814 extern "C"
49815 {
49816 #endif
49817 /* We use char because int might match the return type of a gcc2
49818 builtin and then its argument prototype would still apply. */
49819 char $ac_func ();
49820 /* The GNU C library defines this for functions which it implements
49821 to always fail with ENOSYS. Some functions are actually named
49822 something starting with __ and the normal name is an alias. */
49823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49824 choke me
49825 #else
49826 char (*f) () = $ac_func;
49827 #endif
49828 #ifdef __cplusplus
49829 }
49830 #endif
49831
49832 int
49833 main ()
49834 {
49835 return f != $ac_func;
49836 ;
49837 return 0;
49838 }
49839 _ACEOF
49840 rm -f conftest.$ac_objext conftest$ac_exeext
49841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49842 (eval $ac_link) 2>conftest.er1
49843 ac_status=$?
49844 grep -v '^ *+' conftest.er1 >conftest.err
49845 rm -f conftest.er1
49846 cat conftest.err >&5
49847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49848 (exit $ac_status); } &&
49849 { ac_try='test -z "$ac_c_werror_flag"
49850 || test ! -s conftest.err'
49851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49852 (eval $ac_try) 2>&5
49853 ac_status=$?
49854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49855 (exit $ac_status); }; } &&
49856 { ac_try='test -s conftest$ac_exeext'
49857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49858 (eval $ac_try) 2>&5
49859 ac_status=$?
49860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49861 (exit $ac_status); }; }; then
49862 eval "$as_ac_var=yes"
49863 else
49864 echo "$as_me: failed program was:" >&5
49865 sed 's/^/| /' conftest.$ac_ext >&5
49866
49867 eval "$as_ac_var=no"
49868 fi
49869 rm -f conftest.err conftest.$ac_objext \
49870 conftest$ac_exeext conftest.$ac_ext
49871 fi
49872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49874 if test `eval echo '${'$as_ac_var'}'` = yes; then
49875 cat >>confdefs.h <<_ACEOF
49876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49877 _ACEOF
49878
49879 else
49880 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49881 fi
49882 done
49883
49884 fi
49885
49886 # Used in libmath/Makefile.am.
49887 if test -n "$LIBMATHOBJS"; then
49888 need_libmath=yes
49889 fi
49890
49891
49892
49893
49894 enable_iconv=no
49895 # Only continue checking if the ISO C99 headers exist and support is on.
49896 if test x"$enable_wchar_t" = xyes; then
49897
49898 # Use iconv for wchar_t to char conversions. As such, check for
49899 # X/Open Portability Guide, version 2 features (XPG2).
49900 if test "${ac_cv_header_iconv_h+set}" = set; then
49901 echo "$as_me:$LINENO: checking for iconv.h" >&5
49902 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
49903 if test "${ac_cv_header_iconv_h+set}" = set; then
49904 echo $ECHO_N "(cached) $ECHO_C" >&6
49905 fi
49906 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
49907 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
49908 else
49909 # Is the header compilable?
49910 echo "$as_me:$LINENO: checking iconv.h usability" >&5
49911 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
49912 cat >conftest.$ac_ext <<_ACEOF
49913 /* confdefs.h. */
49914 _ACEOF
49915 cat confdefs.h >>conftest.$ac_ext
49916 cat >>conftest.$ac_ext <<_ACEOF
49917 /* end confdefs.h. */
49918 $ac_includes_default
49919 #include <iconv.h>
49920 _ACEOF
49921 rm -f conftest.$ac_objext
49922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49923 (eval $ac_compile) 2>conftest.er1
49924 ac_status=$?
49925 grep -v '^ *+' conftest.er1 >conftest.err
49926 rm -f conftest.er1
49927 cat conftest.err >&5
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); } &&
49930 { ac_try='test -z "$ac_c_werror_flag"
49931 || test ! -s conftest.err'
49932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49933 (eval $ac_try) 2>&5
49934 ac_status=$?
49935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49936 (exit $ac_status); }; } &&
49937 { ac_try='test -s conftest.$ac_objext'
49938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49939 (eval $ac_try) 2>&5
49940 ac_status=$?
49941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49942 (exit $ac_status); }; }; then
49943 ac_header_compiler=yes
49944 else
49945 echo "$as_me: failed program was:" >&5
49946 sed 's/^/| /' conftest.$ac_ext >&5
49947
49948 ac_header_compiler=no
49949 fi
49950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49951 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49952 echo "${ECHO_T}$ac_header_compiler" >&6
49953
49954 # Is the header present?
49955 echo "$as_me:$LINENO: checking iconv.h presence" >&5
49956 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
49957 cat >conftest.$ac_ext <<_ACEOF
49958 /* confdefs.h. */
49959 _ACEOF
49960 cat confdefs.h >>conftest.$ac_ext
49961 cat >>conftest.$ac_ext <<_ACEOF
49962 /* end confdefs.h. */
49963 #include <iconv.h>
49964 _ACEOF
49965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49967 ac_status=$?
49968 grep -v '^ *+' conftest.er1 >conftest.err
49969 rm -f conftest.er1
49970 cat conftest.err >&5
49971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49972 (exit $ac_status); } >/dev/null; then
49973 if test -s conftest.err; then
49974 ac_cpp_err=$ac_c_preproc_warn_flag
49975 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
49976 else
49977 ac_cpp_err=
49978 fi
49979 else
49980 ac_cpp_err=yes
49981 fi
49982 if test -z "$ac_cpp_err"; then
49983 ac_header_preproc=yes
49984 else
49985 echo "$as_me: failed program was:" >&5
49986 sed 's/^/| /' conftest.$ac_ext >&5
49987
49988 ac_header_preproc=no
49989 fi
49990 rm -f conftest.err conftest.$ac_ext
49991 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49992 echo "${ECHO_T}$ac_header_preproc" >&6
49993
49994 # So? What about this header?
49995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
49996 yes:no: )
49997 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
49998 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
49999 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
50000 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
50001 ac_header_preproc=yes
50002 ;;
50003 no:yes:* )
50004 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50005 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50006 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50007 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50008 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
50009 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
50010 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
50011 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
50012 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50013 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50014 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
50015 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
50016 (
50017 cat <<\_ASBOX
50018 ## ----------------------------------------- ##
50019 ## Report this to the package-unused lists. ##
50020 ## ----------------------------------------- ##
50021 _ASBOX
50022 ) |
50023 sed "s/^/$as_me: WARNING: /" >&2
50024 ;;
50025 esac
50026 echo "$as_me:$LINENO: checking for iconv.h" >&5
50027 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50028 if test "${ac_cv_header_iconv_h+set}" = set; then
50029 echo $ECHO_N "(cached) $ECHO_C" >&6
50030 else
50031 ac_cv_header_iconv_h=$ac_header_preproc
50032 fi
50033 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50034 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50035
50036 fi
50037 if test $ac_cv_header_iconv_h = yes; then
50038 ac_has_iconv_h=yes
50039 else
50040 ac_has_iconv_h=no
50041 fi
50042
50043
50044 if test "${ac_cv_header_langinfo_h+set}" = set; then
50045 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50046 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50047 if test "${ac_cv_header_langinfo_h+set}" = set; then
50048 echo $ECHO_N "(cached) $ECHO_C" >&6
50049 fi
50050 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50051 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50052 else
50053 # Is the header compilable?
50054 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50055 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50056 cat >conftest.$ac_ext <<_ACEOF
50057 /* confdefs.h. */
50058 _ACEOF
50059 cat confdefs.h >>conftest.$ac_ext
50060 cat >>conftest.$ac_ext <<_ACEOF
50061 /* end confdefs.h. */
50062 $ac_includes_default
50063 #include <langinfo.h>
50064 _ACEOF
50065 rm -f conftest.$ac_objext
50066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50067 (eval $ac_compile) 2>conftest.er1
50068 ac_status=$?
50069 grep -v '^ *+' conftest.er1 >conftest.err
50070 rm -f conftest.er1
50071 cat conftest.err >&5
50072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50073 (exit $ac_status); } &&
50074 { ac_try='test -z "$ac_c_werror_flag"
50075 || test ! -s conftest.err'
50076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50077 (eval $ac_try) 2>&5
50078 ac_status=$?
50079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50080 (exit $ac_status); }; } &&
50081 { ac_try='test -s conftest.$ac_objext'
50082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50083 (eval $ac_try) 2>&5
50084 ac_status=$?
50085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50086 (exit $ac_status); }; }; then
50087 ac_header_compiler=yes
50088 else
50089 echo "$as_me: failed program was:" >&5
50090 sed 's/^/| /' conftest.$ac_ext >&5
50091
50092 ac_header_compiler=no
50093 fi
50094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50095 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50096 echo "${ECHO_T}$ac_header_compiler" >&6
50097
50098 # Is the header present?
50099 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50100 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50101 cat >conftest.$ac_ext <<_ACEOF
50102 /* confdefs.h. */
50103 _ACEOF
50104 cat confdefs.h >>conftest.$ac_ext
50105 cat >>conftest.$ac_ext <<_ACEOF
50106 /* end confdefs.h. */
50107 #include <langinfo.h>
50108 _ACEOF
50109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50111 ac_status=$?
50112 grep -v '^ *+' conftest.er1 >conftest.err
50113 rm -f conftest.er1
50114 cat conftest.err >&5
50115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50116 (exit $ac_status); } >/dev/null; then
50117 if test -s conftest.err; then
50118 ac_cpp_err=$ac_c_preproc_warn_flag
50119 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50120 else
50121 ac_cpp_err=
50122 fi
50123 else
50124 ac_cpp_err=yes
50125 fi
50126 if test -z "$ac_cpp_err"; then
50127 ac_header_preproc=yes
50128 else
50129 echo "$as_me: failed program was:" >&5
50130 sed 's/^/| /' conftest.$ac_ext >&5
50131
50132 ac_header_preproc=no
50133 fi
50134 rm -f conftest.err conftest.$ac_ext
50135 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50136 echo "${ECHO_T}$ac_header_preproc" >&6
50137
50138 # So? What about this header?
50139 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50140 yes:no: )
50141 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50142 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50143 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
50144 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
50145 ac_header_preproc=yes
50146 ;;
50147 no:yes:* )
50148 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50149 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50150 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50151 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50152 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
50153 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
50154 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
50155 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
50156 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50157 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50158 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
50159 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
50160 (
50161 cat <<\_ASBOX
50162 ## ----------------------------------------- ##
50163 ## Report this to the package-unused lists. ##
50164 ## ----------------------------------------- ##
50165 _ASBOX
50166 ) |
50167 sed "s/^/$as_me: WARNING: /" >&2
50168 ;;
50169 esac
50170 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50171 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50172 if test "${ac_cv_header_langinfo_h+set}" = set; then
50173 echo $ECHO_N "(cached) $ECHO_C" >&6
50174 else
50175 ac_cv_header_langinfo_h=$ac_header_preproc
50176 fi
50177 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50178 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50179
50180 fi
50181 if test $ac_cv_header_langinfo_h = yes; then
50182 ac_has_langinfo_h=yes
50183 else
50184 ac_has_langinfo_h=no
50185 fi
50186
50187
50188
50189 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50190 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50191 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50192 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50193 echo $ECHO_N "(cached) $ECHO_C" >&6
50194 else
50195 ac_check_lib_save_LIBS=$LIBS
50196 LIBS="-liconv $LIBS"
50197 if test x$gcc_no_link = xyes; then
50198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50200 { (exit 1); exit 1; }; }
50201 fi
50202 cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h. */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h. */
50208
50209 /* Override any gcc2 internal prototype to avoid an error. */
50210 #ifdef __cplusplus
50211 extern "C"
50212 #endif
50213 /* We use char because int might match the return type of a gcc2
50214 builtin and then its argument prototype would still apply. */
50215 char iconv ();
50216 int
50217 main ()
50218 {
50219 iconv ();
50220 ;
50221 return 0;
50222 }
50223 _ACEOF
50224 rm -f conftest.$ac_objext conftest$ac_exeext
50225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50226 (eval $ac_link) 2>conftest.er1
50227 ac_status=$?
50228 grep -v '^ *+' conftest.er1 >conftest.err
50229 rm -f conftest.er1
50230 cat conftest.err >&5
50231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50232 (exit $ac_status); } &&
50233 { ac_try='test -z "$ac_c_werror_flag"
50234 || test ! -s conftest.err'
50235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50236 (eval $ac_try) 2>&5
50237 ac_status=$?
50238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50239 (exit $ac_status); }; } &&
50240 { ac_try='test -s conftest$ac_exeext'
50241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50242 (eval $ac_try) 2>&5
50243 ac_status=$?
50244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50245 (exit $ac_status); }; }; then
50246 ac_cv_lib_iconv_iconv=yes
50247 else
50248 echo "$as_me: failed program was:" >&5
50249 sed 's/^/| /' conftest.$ac_ext >&5
50250
50251 ac_cv_lib_iconv_iconv=no
50252 fi
50253 rm -f conftest.err conftest.$ac_objext \
50254 conftest$ac_exeext conftest.$ac_ext
50255 LIBS=$ac_check_lib_save_LIBS
50256 fi
50257 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50258 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50259 if test $ac_cv_lib_iconv_iconv = yes; then
50260 LIBICONV="-liconv"
50261 fi
50262
50263 ac_save_LIBS="$LIBS"
50264 LIBS="$LIBS $LIBICONV"
50265
50266
50267
50268
50269
50270
50271 for ac_func in iconv_open iconv_close iconv nl_langinfo
50272 do
50273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50274 echo "$as_me:$LINENO: checking for $ac_func" >&5
50275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50276 if eval "test \"\${$as_ac_var+set}\" = set"; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50279 if test x$gcc_no_link = xyes; then
50280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50282 { (exit 1); exit 1; }; }
50283 fi
50284 cat >conftest.$ac_ext <<_ACEOF
50285 /* confdefs.h. */
50286 _ACEOF
50287 cat confdefs.h >>conftest.$ac_ext
50288 cat >>conftest.$ac_ext <<_ACEOF
50289 /* end confdefs.h. */
50290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50292 #define $ac_func innocuous_$ac_func
50293
50294 /* System header to define __stub macros and hopefully few prototypes,
50295 which can conflict with char $ac_func (); below.
50296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50297 <limits.h> exists even on freestanding compilers. */
50298
50299 #ifdef __STDC__
50300 # include <limits.h>
50301 #else
50302 # include <assert.h>
50303 #endif
50304
50305 #undef $ac_func
50306
50307 /* Override any gcc2 internal prototype to avoid an error. */
50308 #ifdef __cplusplus
50309 extern "C"
50310 {
50311 #endif
50312 /* We use char because int might match the return type of a gcc2
50313 builtin and then its argument prototype would still apply. */
50314 char $ac_func ();
50315 /* The GNU C library defines this for functions which it implements
50316 to always fail with ENOSYS. Some functions are actually named
50317 something starting with __ and the normal name is an alias. */
50318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50319 choke me
50320 #else
50321 char (*f) () = $ac_func;
50322 #endif
50323 #ifdef __cplusplus
50324 }
50325 #endif
50326
50327 int
50328 main ()
50329 {
50330 return f != $ac_func;
50331 ;
50332 return 0;
50333 }
50334 _ACEOF
50335 rm -f conftest.$ac_objext conftest$ac_exeext
50336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50337 (eval $ac_link) 2>conftest.er1
50338 ac_status=$?
50339 grep -v '^ *+' conftest.er1 >conftest.err
50340 rm -f conftest.er1
50341 cat conftest.err >&5
50342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50343 (exit $ac_status); } &&
50344 { ac_try='test -z "$ac_c_werror_flag"
50345 || test ! -s conftest.err'
50346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50347 (eval $ac_try) 2>&5
50348 ac_status=$?
50349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50350 (exit $ac_status); }; } &&
50351 { ac_try='test -s conftest$ac_exeext'
50352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50353 (eval $ac_try) 2>&5
50354 ac_status=$?
50355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50356 (exit $ac_status); }; }; then
50357 eval "$as_ac_var=yes"
50358 else
50359 echo "$as_me: failed program was:" >&5
50360 sed 's/^/| /' conftest.$ac_ext >&5
50361
50362 eval "$as_ac_var=no"
50363 fi
50364 rm -f conftest.err conftest.$ac_objext \
50365 conftest$ac_exeext conftest.$ac_ext
50366 fi
50367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50369 if test `eval echo '${'$as_ac_var'}'` = yes; then
50370 cat >>confdefs.h <<_ACEOF
50371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50372 _ACEOF
50373 ac_XPG2funcs=yes
50374 else
50375 ac_XPG2funcs=no
50376 fi
50377 done
50378
50379
50380 LIBS="$ac_save_LIBS"
50381
50382 if test x"$ac_has_iconv_h" = xyes &&
50383 test x"$ac_has_langinfo_h" = xyes &&
50384 test x"$ac_XPG2funcs" = xyes;
50385 then
50386
50387 cat >>confdefs.h <<\_ACEOF
50388 #define _GLIBCXX_USE_ICONV 1
50389 _ACEOF
50390
50391 enable_iconv=yes
50392 fi
50393 fi
50394 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
50395 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
50396 echo "$as_me:$LINENO: result: $enable_iconv" >&5
50397 echo "${ECHO_T}$enable_iconv" >&6
50398
50399
50400 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50401 ac_save_CXXFLAGS="$CXXFLAGS"
50402 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50403
50404
50405 echo "$as_me:$LINENO: checking for strtold declaration" >&5
50406 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
50407 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50408 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
50409 echo $ECHO_N "(cached) $ECHO_C" >&6
50410 else
50411
50412
50413
50414 ac_ext=cc
50415 ac_cpp='$CXXCPP $CPPFLAGS'
50416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50419
50420 cat >conftest.$ac_ext <<_ACEOF
50421 /* confdefs.h. */
50422 _ACEOF
50423 cat confdefs.h >>conftest.$ac_ext
50424 cat >>conftest.$ac_ext <<_ACEOF
50425 /* end confdefs.h. */
50426 #include <stdlib.h>
50427 int
50428 main ()
50429 {
50430 strtold(0, 0);
50431 ;
50432 return 0;
50433 }
50434 _ACEOF
50435 rm -f conftest.$ac_objext
50436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50437 (eval $ac_compile) 2>conftest.er1
50438 ac_status=$?
50439 grep -v '^ *+' conftest.er1 >conftest.err
50440 rm -f conftest.er1
50441 cat conftest.err >&5
50442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50443 (exit $ac_status); } &&
50444 { ac_try='test -z "$ac_cxx_werror_flag"
50445 || test ! -s conftest.err'
50446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50447 (eval $ac_try) 2>&5
50448 ac_status=$?
50449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50450 (exit $ac_status); }; } &&
50451 { ac_try='test -s conftest.$ac_objext'
50452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50453 (eval $ac_try) 2>&5
50454 ac_status=$?
50455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50456 (exit $ac_status); }; }; then
50457 glibcxx_cv_func_strtold_use=yes
50458 else
50459 echo "$as_me: failed program was:" >&5
50460 sed 's/^/| /' conftest.$ac_ext >&5
50461
50462 glibcxx_cv_func_strtold_use=no
50463 fi
50464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50465 ac_ext=c
50466 ac_cpp='$CPP $CPPFLAGS'
50467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50470
50471
50472 fi
50473
50474 fi
50475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
50476 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
50477 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50478
50479 for ac_func in strtold
50480 do
50481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50482 echo "$as_me:$LINENO: checking for $ac_func" >&5
50483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50484 if eval "test \"\${$as_ac_var+set}\" = set"; then
50485 echo $ECHO_N "(cached) $ECHO_C" >&6
50486 else
50487 if test x$gcc_no_link = xyes; then
50488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50490 { (exit 1); exit 1; }; }
50491 fi
50492 cat >conftest.$ac_ext <<_ACEOF
50493 /* confdefs.h. */
50494 _ACEOF
50495 cat confdefs.h >>conftest.$ac_ext
50496 cat >>conftest.$ac_ext <<_ACEOF
50497 /* end confdefs.h. */
50498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50500 #define $ac_func innocuous_$ac_func
50501
50502 /* System header to define __stub macros and hopefully few prototypes,
50503 which can conflict with char $ac_func (); below.
50504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50505 <limits.h> exists even on freestanding compilers. */
50506
50507 #ifdef __STDC__
50508 # include <limits.h>
50509 #else
50510 # include <assert.h>
50511 #endif
50512
50513 #undef $ac_func
50514
50515 /* Override any gcc2 internal prototype to avoid an error. */
50516 #ifdef __cplusplus
50517 extern "C"
50518 {
50519 #endif
50520 /* We use char because int might match the return type of a gcc2
50521 builtin and then its argument prototype would still apply. */
50522 char $ac_func ();
50523 /* The GNU C library defines this for functions which it implements
50524 to always fail with ENOSYS. Some functions are actually named
50525 something starting with __ and the normal name is an alias. */
50526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50527 choke me
50528 #else
50529 char (*f) () = $ac_func;
50530 #endif
50531 #ifdef __cplusplus
50532 }
50533 #endif
50534
50535 int
50536 main ()
50537 {
50538 return f != $ac_func;
50539 ;
50540 return 0;
50541 }
50542 _ACEOF
50543 rm -f conftest.$ac_objext conftest$ac_exeext
50544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50545 (eval $ac_link) 2>conftest.er1
50546 ac_status=$?
50547 grep -v '^ *+' conftest.er1 >conftest.err
50548 rm -f conftest.er1
50549 cat conftest.err >&5
50550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551 (exit $ac_status); } &&
50552 { ac_try='test -z "$ac_c_werror_flag"
50553 || test ! -s conftest.err'
50554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50555 (eval $ac_try) 2>&5
50556 ac_status=$?
50557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50558 (exit $ac_status); }; } &&
50559 { ac_try='test -s conftest$ac_exeext'
50560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50561 (eval $ac_try) 2>&5
50562 ac_status=$?
50563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50564 (exit $ac_status); }; }; then
50565 eval "$as_ac_var=yes"
50566 else
50567 echo "$as_me: failed program was:" >&5
50568 sed 's/^/| /' conftest.$ac_ext >&5
50569
50570 eval "$as_ac_var=no"
50571 fi
50572 rm -f conftest.err conftest.$ac_objext \
50573 conftest$ac_exeext conftest.$ac_ext
50574 fi
50575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50577 if test `eval echo '${'$as_ac_var'}'` = yes; then
50578 cat >>confdefs.h <<_ACEOF
50579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50580 _ACEOF
50581
50582 fi
50583 done
50584
50585 fi
50586
50587
50588 echo "$as_me:$LINENO: checking for strtof declaration" >&5
50589 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
50590 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50591 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
50592 echo $ECHO_N "(cached) $ECHO_C" >&6
50593 else
50594
50595
50596
50597 ac_ext=cc
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602
50603 cat >conftest.$ac_ext <<_ACEOF
50604 /* confdefs.h. */
50605 _ACEOF
50606 cat confdefs.h >>conftest.$ac_ext
50607 cat >>conftest.$ac_ext <<_ACEOF
50608 /* end confdefs.h. */
50609 #include <stdlib.h>
50610 int
50611 main ()
50612 {
50613 strtof(0, 0);
50614 ;
50615 return 0;
50616 }
50617 _ACEOF
50618 rm -f conftest.$ac_objext
50619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50620 (eval $ac_compile) 2>conftest.er1
50621 ac_status=$?
50622 grep -v '^ *+' conftest.er1 >conftest.err
50623 rm -f conftest.er1
50624 cat conftest.err >&5
50625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50626 (exit $ac_status); } &&
50627 { ac_try='test -z "$ac_cxx_werror_flag"
50628 || test ! -s conftest.err'
50629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50630 (eval $ac_try) 2>&5
50631 ac_status=$?
50632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50633 (exit $ac_status); }; } &&
50634 { ac_try='test -s conftest.$ac_objext'
50635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50636 (eval $ac_try) 2>&5
50637 ac_status=$?
50638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50639 (exit $ac_status); }; }; then
50640 glibcxx_cv_func_strtof_use=yes
50641 else
50642 echo "$as_me: failed program was:" >&5
50643 sed 's/^/| /' conftest.$ac_ext >&5
50644
50645 glibcxx_cv_func_strtof_use=no
50646 fi
50647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50648 ac_ext=c
50649 ac_cpp='$CPP $CPPFLAGS'
50650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50653
50654
50655 fi
50656
50657 fi
50658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
50659 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
50660 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50661
50662 for ac_func in strtof
50663 do
50664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50665 echo "$as_me:$LINENO: checking for $ac_func" >&5
50666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50667 if eval "test \"\${$as_ac_var+set}\" = set"; then
50668 echo $ECHO_N "(cached) $ECHO_C" >&6
50669 else
50670 if test x$gcc_no_link = xyes; then
50671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50673 { (exit 1); exit 1; }; }
50674 fi
50675 cat >conftest.$ac_ext <<_ACEOF
50676 /* confdefs.h. */
50677 _ACEOF
50678 cat confdefs.h >>conftest.$ac_ext
50679 cat >>conftest.$ac_ext <<_ACEOF
50680 /* end confdefs.h. */
50681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50683 #define $ac_func innocuous_$ac_func
50684
50685 /* System header to define __stub macros and hopefully few prototypes,
50686 which can conflict with char $ac_func (); below.
50687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50688 <limits.h> exists even on freestanding compilers. */
50689
50690 #ifdef __STDC__
50691 # include <limits.h>
50692 #else
50693 # include <assert.h>
50694 #endif
50695
50696 #undef $ac_func
50697
50698 /* Override any gcc2 internal prototype to avoid an error. */
50699 #ifdef __cplusplus
50700 extern "C"
50701 {
50702 #endif
50703 /* We use char because int might match the return type of a gcc2
50704 builtin and then its argument prototype would still apply. */
50705 char $ac_func ();
50706 /* The GNU C library defines this for functions which it implements
50707 to always fail with ENOSYS. Some functions are actually named
50708 something starting with __ and the normal name is an alias. */
50709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50710 choke me
50711 #else
50712 char (*f) () = $ac_func;
50713 #endif
50714 #ifdef __cplusplus
50715 }
50716 #endif
50717
50718 int
50719 main ()
50720 {
50721 return f != $ac_func;
50722 ;
50723 return 0;
50724 }
50725 _ACEOF
50726 rm -f conftest.$ac_objext conftest$ac_exeext
50727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50728 (eval $ac_link) 2>conftest.er1
50729 ac_status=$?
50730 grep -v '^ *+' conftest.er1 >conftest.err
50731 rm -f conftest.er1
50732 cat conftest.err >&5
50733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50734 (exit $ac_status); } &&
50735 { ac_try='test -z "$ac_c_werror_flag"
50736 || test ! -s conftest.err'
50737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50738 (eval $ac_try) 2>&5
50739 ac_status=$?
50740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50741 (exit $ac_status); }; } &&
50742 { ac_try='test -s conftest$ac_exeext'
50743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50744 (eval $ac_try) 2>&5
50745 ac_status=$?
50746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50747 (exit $ac_status); }; }; then
50748 eval "$as_ac_var=yes"
50749 else
50750 echo "$as_me: failed program was:" >&5
50751 sed 's/^/| /' conftest.$ac_ext >&5
50752
50753 eval "$as_ac_var=no"
50754 fi
50755 rm -f conftest.err conftest.$ac_objext \
50756 conftest$ac_exeext conftest.$ac_ext
50757 fi
50758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50760 if test `eval echo '${'$as_ac_var'}'` = yes; then
50761 cat >>confdefs.h <<_ACEOF
50762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50763 _ACEOF
50764
50765 fi
50766 done
50767
50768 fi
50769
50770
50771 CXXFLAGS="$ac_save_CXXFLAGS"
50772
50773
50774 # For showmanyc_helper().
50775
50776
50777 for ac_header in sys/ioctl.h sys/filio.h
50778 do
50779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50781 echo "$as_me:$LINENO: checking for $ac_header" >&5
50782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50784 echo $ECHO_N "(cached) $ECHO_C" >&6
50785 fi
50786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50788 else
50789 # Is the header compilable?
50790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50792 cat >conftest.$ac_ext <<_ACEOF
50793 /* confdefs.h. */
50794 _ACEOF
50795 cat confdefs.h >>conftest.$ac_ext
50796 cat >>conftest.$ac_ext <<_ACEOF
50797 /* end confdefs.h. */
50798 $ac_includes_default
50799 #include <$ac_header>
50800 _ACEOF
50801 rm -f conftest.$ac_objext
50802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50803 (eval $ac_compile) 2>conftest.er1
50804 ac_status=$?
50805 grep -v '^ *+' conftest.er1 >conftest.err
50806 rm -f conftest.er1
50807 cat conftest.err >&5
50808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50809 (exit $ac_status); } &&
50810 { ac_try='test -z "$ac_c_werror_flag"
50811 || test ! -s conftest.err'
50812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50813 (eval $ac_try) 2>&5
50814 ac_status=$?
50815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50816 (exit $ac_status); }; } &&
50817 { ac_try='test -s conftest.$ac_objext'
50818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50819 (eval $ac_try) 2>&5
50820 ac_status=$?
50821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50822 (exit $ac_status); }; }; then
50823 ac_header_compiler=yes
50824 else
50825 echo "$as_me: failed program was:" >&5
50826 sed 's/^/| /' conftest.$ac_ext >&5
50827
50828 ac_header_compiler=no
50829 fi
50830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50832 echo "${ECHO_T}$ac_header_compiler" >&6
50833
50834 # Is the header present?
50835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50837 cat >conftest.$ac_ext <<_ACEOF
50838 /* confdefs.h. */
50839 _ACEOF
50840 cat confdefs.h >>conftest.$ac_ext
50841 cat >>conftest.$ac_ext <<_ACEOF
50842 /* end confdefs.h. */
50843 #include <$ac_header>
50844 _ACEOF
50845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50847 ac_status=$?
50848 grep -v '^ *+' conftest.er1 >conftest.err
50849 rm -f conftest.er1
50850 cat conftest.err >&5
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); } >/dev/null; then
50853 if test -s conftest.err; then
50854 ac_cpp_err=$ac_c_preproc_warn_flag
50855 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50856 else
50857 ac_cpp_err=
50858 fi
50859 else
50860 ac_cpp_err=yes
50861 fi
50862 if test -z "$ac_cpp_err"; then
50863 ac_header_preproc=yes
50864 else
50865 echo "$as_me: failed program was:" >&5
50866 sed 's/^/| /' conftest.$ac_ext >&5
50867
50868 ac_header_preproc=no
50869 fi
50870 rm -f conftest.err conftest.$ac_ext
50871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50872 echo "${ECHO_T}$ac_header_preproc" >&6
50873
50874 # So? What about this header?
50875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50876 yes:no: )
50877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50881 ac_header_preproc=yes
50882 ;;
50883 no:yes:* )
50884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50896 (
50897 cat <<\_ASBOX
50898 ## ----------------------------------------- ##
50899 ## Report this to the package-unused lists. ##
50900 ## ----------------------------------------- ##
50901 _ASBOX
50902 ) |
50903 sed "s/^/$as_me: WARNING: /" >&2
50904 ;;
50905 esac
50906 echo "$as_me:$LINENO: checking for $ac_header" >&5
50907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50909 echo $ECHO_N "(cached) $ECHO_C" >&6
50910 else
50911 eval "$as_ac_Header=\$ac_header_preproc"
50912 fi
50913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50915
50916 fi
50917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50918 cat >>confdefs.h <<_ACEOF
50919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50920 _ACEOF
50921
50922 fi
50923
50924 done
50925
50926
50927 if test "${glibcxx_cv_POLL+set}" = set; then
50928 echo $ECHO_N "(cached) $ECHO_C" >&6
50929 else
50930
50931 if test x$gcc_no_link = xyes; then
50932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50934 { (exit 1); exit 1; }; }
50935 fi
50936 cat >conftest.$ac_ext <<_ACEOF
50937 /* confdefs.h. */
50938 _ACEOF
50939 cat confdefs.h >>conftest.$ac_ext
50940 cat >>conftest.$ac_ext <<_ACEOF
50941 /* end confdefs.h. */
50942 #include <poll.h>
50943 int
50944 main ()
50945 {
50946 struct pollfd pfd[1];
50947 pfd[0].events = POLLIN;
50948 poll(pfd, 1, 0);
50949 ;
50950 return 0;
50951 }
50952 _ACEOF
50953 rm -f conftest.$ac_objext conftest$ac_exeext
50954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50955 (eval $ac_link) 2>conftest.er1
50956 ac_status=$?
50957 grep -v '^ *+' conftest.er1 >conftest.err
50958 rm -f conftest.er1
50959 cat conftest.err >&5
50960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50961 (exit $ac_status); } &&
50962 { ac_try='test -z "$ac_c_werror_flag"
50963 || test ! -s conftest.err'
50964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50965 (eval $ac_try) 2>&5
50966 ac_status=$?
50967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50968 (exit $ac_status); }; } &&
50969 { ac_try='test -s conftest$ac_exeext'
50970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50971 (eval $ac_try) 2>&5
50972 ac_status=$?
50973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50974 (exit $ac_status); }; }; then
50975 glibcxx_cv_POLL=yes
50976 else
50977 echo "$as_me: failed program was:" >&5
50978 sed 's/^/| /' conftest.$ac_ext >&5
50979
50980 glibcxx_cv_POLL=no
50981 fi
50982 rm -f conftest.err conftest.$ac_objext \
50983 conftest$ac_exeext conftest.$ac_ext
50984
50985 fi
50986
50987 if test $glibcxx_cv_POLL = yes; then
50988 cat >>confdefs.h <<\_ACEOF
50989 #define HAVE_POLL 1
50990 _ACEOF
50991
50992 fi
50993
50994
50995 if test "${glibcxx_cv_S_ISREG+set}" = set; then
50996 echo $ECHO_N "(cached) $ECHO_C" >&6
50997 else
50998
50999 if test x$gcc_no_link = xyes; then
51000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51002 { (exit 1); exit 1; }; }
51003 fi
51004 cat >conftest.$ac_ext <<_ACEOF
51005 /* confdefs.h. */
51006 _ACEOF
51007 cat confdefs.h >>conftest.$ac_ext
51008 cat >>conftest.$ac_ext <<_ACEOF
51009 /* end confdefs.h. */
51010 #include <sys/stat.h>
51011 int
51012 main ()
51013 {
51014 struct stat buffer;
51015 fstat(0, &buffer);
51016 S_ISREG(buffer.st_mode);
51017 ;
51018 return 0;
51019 }
51020 _ACEOF
51021 rm -f conftest.$ac_objext conftest$ac_exeext
51022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51023 (eval $ac_link) 2>conftest.er1
51024 ac_status=$?
51025 grep -v '^ *+' conftest.er1 >conftest.err
51026 rm -f conftest.er1
51027 cat conftest.err >&5
51028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51029 (exit $ac_status); } &&
51030 { ac_try='test -z "$ac_c_werror_flag"
51031 || test ! -s conftest.err'
51032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51033 (eval $ac_try) 2>&5
51034 ac_status=$?
51035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51036 (exit $ac_status); }; } &&
51037 { ac_try='test -s conftest$ac_exeext'
51038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51039 (eval $ac_try) 2>&5
51040 ac_status=$?
51041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51042 (exit $ac_status); }; }; then
51043 glibcxx_cv_S_ISREG=yes
51044 else
51045 echo "$as_me: failed program was:" >&5
51046 sed 's/^/| /' conftest.$ac_ext >&5
51047
51048 glibcxx_cv_S_ISREG=no
51049 fi
51050 rm -f conftest.err conftest.$ac_objext \
51051 conftest$ac_exeext conftest.$ac_ext
51052
51053 fi
51054
51055 if test "${glibcxx_cv_S_IFREG+set}" = set; then
51056 echo $ECHO_N "(cached) $ECHO_C" >&6
51057 else
51058
51059 if test x$gcc_no_link = xyes; then
51060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51062 { (exit 1); exit 1; }; }
51063 fi
51064 cat >conftest.$ac_ext <<_ACEOF
51065 /* confdefs.h. */
51066 _ACEOF
51067 cat confdefs.h >>conftest.$ac_ext
51068 cat >>conftest.$ac_ext <<_ACEOF
51069 /* end confdefs.h. */
51070 #include <sys/stat.h>
51071 int
51072 main ()
51073 {
51074 struct stat buffer;
51075 fstat(0, &buffer);
51076 S_IFREG & buffer.st_mode;
51077 ;
51078 return 0;
51079 }
51080 _ACEOF
51081 rm -f conftest.$ac_objext conftest$ac_exeext
51082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51083 (eval $ac_link) 2>conftest.er1
51084 ac_status=$?
51085 grep -v '^ *+' conftest.er1 >conftest.err
51086 rm -f conftest.er1
51087 cat conftest.err >&5
51088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51089 (exit $ac_status); } &&
51090 { ac_try='test -z "$ac_c_werror_flag"
51091 || test ! -s conftest.err'
51092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51093 (eval $ac_try) 2>&5
51094 ac_status=$?
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); }; } &&
51097 { ac_try='test -s conftest$ac_exeext'
51098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099 (eval $ac_try) 2>&5
51100 ac_status=$?
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); }; }; then
51103 glibcxx_cv_S_IFREG=yes
51104 else
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51107
51108 glibcxx_cv_S_IFREG=no
51109 fi
51110 rm -f conftest.err conftest.$ac_objext \
51111 conftest$ac_exeext conftest.$ac_ext
51112
51113 fi
51114
51115 if test $glibcxx_cv_S_ISREG = yes; then
51116 cat >>confdefs.h <<\_ACEOF
51117 #define HAVE_S_ISREG 1
51118 _ACEOF
51119
51120 elif test $glibcxx_cv_S_IFREG = yes; then
51121 cat >>confdefs.h <<\_ACEOF
51122 #define HAVE_S_IFREG 1
51123 _ACEOF
51124
51125 fi
51126
51127
51128 # For xsputn_2().
51129
51130 for ac_header in sys/uio.h
51131 do
51132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51134 echo "$as_me:$LINENO: checking for $ac_header" >&5
51135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51137 echo $ECHO_N "(cached) $ECHO_C" >&6
51138 fi
51139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51141 else
51142 # Is the header compilable?
51143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51145 cat >conftest.$ac_ext <<_ACEOF
51146 /* confdefs.h. */
51147 _ACEOF
51148 cat confdefs.h >>conftest.$ac_ext
51149 cat >>conftest.$ac_ext <<_ACEOF
51150 /* end confdefs.h. */
51151 $ac_includes_default
51152 #include <$ac_header>
51153 _ACEOF
51154 rm -f conftest.$ac_objext
51155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51156 (eval $ac_compile) 2>conftest.er1
51157 ac_status=$?
51158 grep -v '^ *+' conftest.er1 >conftest.err
51159 rm -f conftest.er1
51160 cat conftest.err >&5
51161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51162 (exit $ac_status); } &&
51163 { ac_try='test -z "$ac_c_werror_flag"
51164 || test ! -s conftest.err'
51165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51166 (eval $ac_try) 2>&5
51167 ac_status=$?
51168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51169 (exit $ac_status); }; } &&
51170 { ac_try='test -s conftest.$ac_objext'
51171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51172 (eval $ac_try) 2>&5
51173 ac_status=$?
51174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51175 (exit $ac_status); }; }; then
51176 ac_header_compiler=yes
51177 else
51178 echo "$as_me: failed program was:" >&5
51179 sed 's/^/| /' conftest.$ac_ext >&5
51180
51181 ac_header_compiler=no
51182 fi
51183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51185 echo "${ECHO_T}$ac_header_compiler" >&6
51186
51187 # Is the header present?
51188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51190 cat >conftest.$ac_ext <<_ACEOF
51191 /* confdefs.h. */
51192 _ACEOF
51193 cat confdefs.h >>conftest.$ac_ext
51194 cat >>conftest.$ac_ext <<_ACEOF
51195 /* end confdefs.h. */
51196 #include <$ac_header>
51197 _ACEOF
51198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51200 ac_status=$?
51201 grep -v '^ *+' conftest.er1 >conftest.err
51202 rm -f conftest.er1
51203 cat conftest.err >&5
51204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51205 (exit $ac_status); } >/dev/null; then
51206 if test -s conftest.err; then
51207 ac_cpp_err=$ac_c_preproc_warn_flag
51208 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51209 else
51210 ac_cpp_err=
51211 fi
51212 else
51213 ac_cpp_err=yes
51214 fi
51215 if test -z "$ac_cpp_err"; then
51216 ac_header_preproc=yes
51217 else
51218 echo "$as_me: failed program was:" >&5
51219 sed 's/^/| /' conftest.$ac_ext >&5
51220
51221 ac_header_preproc=no
51222 fi
51223 rm -f conftest.err conftest.$ac_ext
51224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51225 echo "${ECHO_T}$ac_header_preproc" >&6
51226
51227 # So? What about this header?
51228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51229 yes:no: )
51230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51234 ac_header_preproc=yes
51235 ;;
51236 no:yes:* )
51237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51249 (
51250 cat <<\_ASBOX
51251 ## ----------------------------------------- ##
51252 ## Report this to the package-unused lists. ##
51253 ## ----------------------------------------- ##
51254 _ASBOX
51255 ) |
51256 sed "s/^/$as_me: WARNING: /" >&2
51257 ;;
51258 esac
51259 echo "$as_me:$LINENO: checking for $ac_header" >&5
51260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51262 echo $ECHO_N "(cached) $ECHO_C" >&6
51263 else
51264 eval "$as_ac_Header=\$ac_header_preproc"
51265 fi
51266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51268
51269 fi
51270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51271 cat >>confdefs.h <<_ACEOF
51272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51273 _ACEOF
51274
51275 fi
51276
51277 done
51278
51279
51280 if test "${glibcxx_cv_WRITEV+set}" = set; then
51281 echo $ECHO_N "(cached) $ECHO_C" >&6
51282 else
51283
51284 if test x$gcc_no_link = xyes; then
51285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51287 { (exit 1); exit 1; }; }
51288 fi
51289 cat >conftest.$ac_ext <<_ACEOF
51290 /* confdefs.h. */
51291 _ACEOF
51292 cat confdefs.h >>conftest.$ac_ext
51293 cat >>conftest.$ac_ext <<_ACEOF
51294 /* end confdefs.h. */
51295 #include <sys/uio.h>
51296 int
51297 main ()
51298 {
51299 struct iovec iov[2];
51300 writev(0, iov, 0);
51301 ;
51302 return 0;
51303 }
51304 _ACEOF
51305 rm -f conftest.$ac_objext conftest$ac_exeext
51306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51307 (eval $ac_link) 2>conftest.er1
51308 ac_status=$?
51309 grep -v '^ *+' conftest.er1 >conftest.err
51310 rm -f conftest.er1
51311 cat conftest.err >&5
51312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51313 (exit $ac_status); } &&
51314 { ac_try='test -z "$ac_c_werror_flag"
51315 || test ! -s conftest.err'
51316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51317 (eval $ac_try) 2>&5
51318 ac_status=$?
51319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51320 (exit $ac_status); }; } &&
51321 { ac_try='test -s conftest$ac_exeext'
51322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51323 (eval $ac_try) 2>&5
51324 ac_status=$?
51325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51326 (exit $ac_status); }; }; then
51327 glibcxx_cv_WRITEV=yes
51328 else
51329 echo "$as_me: failed program was:" >&5
51330 sed 's/^/| /' conftest.$ac_ext >&5
51331
51332 glibcxx_cv_WRITEV=no
51333 fi
51334 rm -f conftest.err conftest.$ac_objext \
51335 conftest$ac_exeext conftest.$ac_ext
51336
51337 fi
51338
51339 if test $glibcxx_cv_WRITEV = yes; then
51340 cat >>confdefs.h <<\_ACEOF
51341 #define HAVE_WRITEV 1
51342 _ACEOF
51343
51344 fi
51345
51346
51347 cat >>confdefs.h <<\_ACEOF
51348 #define HAVE_LC_MESSAGES 1
51349 _ACEOF
51350
51351
51352 cat >conftest.$ac_ext <<_ACEOF
51353 /* confdefs.h. */
51354 _ACEOF
51355 cat confdefs.h >>conftest.$ac_ext
51356 cat >>conftest.$ac_ext <<_ACEOF
51357 /* end confdefs.h. */
51358 #include <setjmp.h>
51359 int
51360 main ()
51361 {
51362 sigjmp_buf env;
51363 while (! sigsetjmp (env, 1))
51364 siglongjmp (env, 1);
51365
51366 ;
51367 return 0;
51368 }
51369 _ACEOF
51370 rm -f conftest.$ac_objext
51371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51372 (eval $ac_compile) 2>conftest.er1
51373 ac_status=$?
51374 grep -v '^ *+' conftest.er1 >conftest.err
51375 rm -f conftest.er1
51376 cat conftest.err >&5
51377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51378 (exit $ac_status); } &&
51379 { ac_try='test -z "$ac_c_werror_flag"
51380 || test ! -s conftest.err'
51381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51382 (eval $ac_try) 2>&5
51383 ac_status=$?
51384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51385 (exit $ac_status); }; } &&
51386 { ac_try='test -s conftest.$ac_objext'
51387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51388 (eval $ac_try) 2>&5
51389 ac_status=$?
51390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51391 (exit $ac_status); }; }; then
51392
51393 cat >>confdefs.h <<\_ACEOF
51394 #define HAVE_SIGSETJMP 1
51395 _ACEOF
51396
51397 else
51398 echo "$as_me: failed program was:" >&5
51399 sed 's/^/| /' conftest.$ac_ext >&5
51400
51401 fi
51402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51403
51404 cat >>confdefs.h <<\_ACEOF
51405 #define HAVE_MMAP 1
51406 _ACEOF
51407
51408 ;;
51409
51410 *djgpp)
51411
51412
51413
51414
51415
51416
51417
51418
51419
51420
51421
51422
51423
51424
51425
51426
51427
51428
51429
51430
51431 for ac_header in float.h ieeefp.h inttypes.h locale.h \
51432 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
51433 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
51434 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
51435 do
51436 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51438 echo "$as_me:$LINENO: checking for $ac_header" >&5
51439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51441 echo $ECHO_N "(cached) $ECHO_C" >&6
51442 fi
51443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51445 else
51446 # Is the header compilable?
51447 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51448 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51449 cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h. */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h. */
51455 $ac_includes_default
51456 #include <$ac_header>
51457 _ACEOF
51458 rm -f conftest.$ac_objext
51459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51460 (eval $ac_compile) 2>conftest.er1
51461 ac_status=$?
51462 grep -v '^ *+' conftest.er1 >conftest.err
51463 rm -f conftest.er1
51464 cat conftest.err >&5
51465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51466 (exit $ac_status); } &&
51467 { ac_try='test -z "$ac_c_werror_flag"
51468 || test ! -s conftest.err'
51469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51470 (eval $ac_try) 2>&5
51471 ac_status=$?
51472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473 (exit $ac_status); }; } &&
51474 { ac_try='test -s conftest.$ac_objext'
51475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51476 (eval $ac_try) 2>&5
51477 ac_status=$?
51478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51479 (exit $ac_status); }; }; then
51480 ac_header_compiler=yes
51481 else
51482 echo "$as_me: failed program was:" >&5
51483 sed 's/^/| /' conftest.$ac_ext >&5
51484
51485 ac_header_compiler=no
51486 fi
51487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51488 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51489 echo "${ECHO_T}$ac_header_compiler" >&6
51490
51491 # Is the header present?
51492 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51494 cat >conftest.$ac_ext <<_ACEOF
51495 /* confdefs.h. */
51496 _ACEOF
51497 cat confdefs.h >>conftest.$ac_ext
51498 cat >>conftest.$ac_ext <<_ACEOF
51499 /* end confdefs.h. */
51500 #include <$ac_header>
51501 _ACEOF
51502 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51503 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51504 ac_status=$?
51505 grep -v '^ *+' conftest.er1 >conftest.err
51506 rm -f conftest.er1
51507 cat conftest.err >&5
51508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51509 (exit $ac_status); } >/dev/null; then
51510 if test -s conftest.err; then
51511 ac_cpp_err=$ac_c_preproc_warn_flag
51512 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51513 else
51514 ac_cpp_err=
51515 fi
51516 else
51517 ac_cpp_err=yes
51518 fi
51519 if test -z "$ac_cpp_err"; then
51520 ac_header_preproc=yes
51521 else
51522 echo "$as_me: failed program was:" >&5
51523 sed 's/^/| /' conftest.$ac_ext >&5
51524
51525 ac_header_preproc=no
51526 fi
51527 rm -f conftest.err conftest.$ac_ext
51528 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51529 echo "${ECHO_T}$ac_header_preproc" >&6
51530
51531 # So? What about this header?
51532 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51533 yes:no: )
51534 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51535 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51537 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51538 ac_header_preproc=yes
51539 ;;
51540 no:yes:* )
51541 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51542 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51543 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51544 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51545 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51546 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51547 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51548 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51553 (
51554 cat <<\_ASBOX
51555 ## ----------------------------------------- ##
51556 ## Report this to the package-unused lists. ##
51557 ## ----------------------------------------- ##
51558 _ASBOX
51559 ) |
51560 sed "s/^/$as_me: WARNING: /" >&2
51561 ;;
51562 esac
51563 echo "$as_me:$LINENO: checking for $ac_header" >&5
51564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51566 echo $ECHO_N "(cached) $ECHO_C" >&6
51567 else
51568 eval "$as_ac_Header=\$ac_header_preproc"
51569 fi
51570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51572
51573 fi
51574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51575 cat >>confdefs.h <<_ACEOF
51576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51577 _ACEOF
51578
51579 fi
51580
51581 done
51582
51583
51584 # All these tests are for C++; save the language and the compiler flags.
51585 # The CXXFLAGS thing is suspicious, but based on similar bits previously
51586 # found in GLIBCXX_CONFIGURE.
51587
51588
51589 ac_ext=cc
51590 ac_cpp='$CXXCPP $CPPFLAGS'
51591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51594
51595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51596 ac_save_CXXFLAGS="$CXXFLAGS"
51597
51598 # Check for maintainer-mode bits.
51599 if test x"$USE_MAINTAINER_MODE" = xno; then
51600 WERROR=''
51601 else
51602 WERROR='-Werror'
51603 fi
51604
51605 # Check for -ffunction-sections -fdata-sections
51606 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
51607 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
51608 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
51609 cat >conftest.$ac_ext <<_ACEOF
51610 /* confdefs.h. */
51611 _ACEOF
51612 cat confdefs.h >>conftest.$ac_ext
51613 cat >>conftest.$ac_ext <<_ACEOF
51614 /* end confdefs.h. */
51615
51616 int
51617 main ()
51618 {
51619 int foo;
51620 ;
51621 return 0;
51622 }
51623 _ACEOF
51624 rm -f conftest.$ac_objext
51625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51626 (eval $ac_compile) 2>conftest.er1
51627 ac_status=$?
51628 grep -v '^ *+' conftest.er1 >conftest.err
51629 rm -f conftest.er1
51630 cat conftest.err >&5
51631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51632 (exit $ac_status); } &&
51633 { ac_try='test -z "$ac_cxx_werror_flag"
51634 || test ! -s conftest.err'
51635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51636 (eval $ac_try) 2>&5
51637 ac_status=$?
51638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51639 (exit $ac_status); }; } &&
51640 { ac_try='test -s conftest.$ac_objext'
51641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51642 (eval $ac_try) 2>&5
51643 ac_status=$?
51644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51645 (exit $ac_status); }; }; then
51646 ac_fdsections=yes
51647 else
51648 echo "$as_me: failed program was:" >&5
51649 sed 's/^/| /' conftest.$ac_ext >&5
51650
51651 ac_fdsections=no
51652 fi
51653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51654 if test "$ac_test_CXXFLAGS" = set; then
51655 CXXFLAGS="$ac_save_CXXFLAGS"
51656 else
51657 # this is the suspicious part
51658 CXXFLAGS=''
51659 fi
51660 if test x"$ac_fdsections" = x"yes"; then
51661 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51662 fi
51663 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
51664 echo "${ECHO_T}$ac_fdsections" >&6
51665
51666 ac_ext=c
51667 ac_cpp='$CPP $CPPFLAGS'
51668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51671
51672
51673
51674
51675
51676 # If we're not using GNU ld, then there's no point in even trying these
51677 # tests. Check for that first. We should have already tested for gld
51678 # by now (in libtool), but require it now just to be safe...
51679 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51680 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51681
51682
51683
51684 # The name set by libtool depends on the version of libtool. Shame on us
51685 # for depending on an impl detail, but c'est la vie. Older versions used
51686 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51687 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51688 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51689 # set (hence we're using an older libtool), then set it.
51690 if test x${with_gnu_ld+set} != xset; then
51691 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51692 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51693 with_gnu_ld=no
51694 else
51695 with_gnu_ld=$ac_cv_prog_gnu_ld
51696 fi
51697 fi
51698
51699 # Start by getting the version number. I think the libtool test already
51700 # does some of this, but throws away the result.
51701
51702 ldver=`$LD --version 2>/dev/null | head -1 | \
51703 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51704
51705 glibcxx_gnu_ld_version=`echo $ldver | \
51706 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51707
51708 # Set --gc-sections.
51709 if test "$with_gnu_ld" = "notbroken"; then
51710 # GNU ld it is! Joy and bunny rabbits!
51711
51712 # All these tests are for C++; save the language and the compiler flags.
51713 # Need to do this so that g++ won't try to link in libstdc++
51714 ac_test_CFLAGS="${CFLAGS+set}"
51715 ac_save_CFLAGS="$CFLAGS"
51716 CFLAGS='-x c++ -Wl,--gc-sections'
51717
51718 # Check for -Wl,--gc-sections
51719 # XXX This test is broken at the moment, as symbols required for linking
51720 # are now in libsupc++ (not built yet). In addition, this test has
51721 # cored on solaris in the past. In addition, --gc-sections doesn't
51722 # really work at the moment (keeps on discarding used sections, first
51723 # .eh_frame and now some of the glibc sections for iconv).
51724 # Bzzzzt. Thanks for playing, maybe next time.
51725 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51726 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51727 if test "$cross_compiling" = yes; then
51728 ac_sectionLDflags=yes
51729 else
51730 cat >conftest.$ac_ext <<_ACEOF
51731 /* confdefs.h. */
51732 _ACEOF
51733 cat confdefs.h >>conftest.$ac_ext
51734 cat >>conftest.$ac_ext <<_ACEOF
51735 /* end confdefs.h. */
51736
51737 int main(void)
51738 {
51739 try { throw 1; }
51740 catch (...) { };
51741 return 0;
51742 }
51743
51744 _ACEOF
51745 rm -f conftest$ac_exeext
51746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51747 (eval $ac_link) 2>&5
51748 ac_status=$?
51749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51752 (eval $ac_try) 2>&5
51753 ac_status=$?
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }; }; then
51756 ac_sectionLDflags=yes
51757 else
51758 echo "$as_me: program exited with status $ac_status" >&5
51759 echo "$as_me: failed program was:" >&5
51760 sed 's/^/| /' conftest.$ac_ext >&5
51761
51762 ( exit $ac_status )
51763 ac_sectionLDflags=no
51764 fi
51765 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51766 fi
51767 if test "$ac_test_CFLAGS" = set; then
51768 CFLAGS="$ac_save_CFLAGS"
51769 else
51770 # this is the suspicious part
51771 CFLAGS=''
51772 fi
51773 if test "$ac_sectionLDflags" = "yes"; then
51774 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51775 fi
51776 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51777 echo "${ECHO_T}$ac_sectionLDflags" >&6
51778 fi
51779
51780 # Set linker optimization flags.
51781 if test x"$with_gnu_ld" = x"yes"; then
51782 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51783 fi
51784
51785
51786
51787
51788
51789 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51790 ac_save_CXXFLAGS="$CXXFLAGS"
51791 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51792
51793 echo "$as_me:$LINENO: checking for sin in -lm" >&5
51794 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
51795 if test "${ac_cv_lib_m_sin+set}" = set; then
51796 echo $ECHO_N "(cached) $ECHO_C" >&6
51797 else
51798 ac_check_lib_save_LIBS=$LIBS
51799 LIBS="-lm $LIBS"
51800 if test x$gcc_no_link = xyes; then
51801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51803 { (exit 1); exit 1; }; }
51804 fi
51805 cat >conftest.$ac_ext <<_ACEOF
51806 /* confdefs.h. */
51807 _ACEOF
51808 cat confdefs.h >>conftest.$ac_ext
51809 cat >>conftest.$ac_ext <<_ACEOF
51810 /* end confdefs.h. */
51811
51812 /* Override any gcc2 internal prototype to avoid an error. */
51813 #ifdef __cplusplus
51814 extern "C"
51815 #endif
51816 /* We use char because int might match the return type of a gcc2
51817 builtin and then its argument prototype would still apply. */
51818 char sin ();
51819 int
51820 main ()
51821 {
51822 sin ();
51823 ;
51824 return 0;
51825 }
51826 _ACEOF
51827 rm -f conftest.$ac_objext conftest$ac_exeext
51828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51829 (eval $ac_link) 2>conftest.er1
51830 ac_status=$?
51831 grep -v '^ *+' conftest.er1 >conftest.err
51832 rm -f conftest.er1
51833 cat conftest.err >&5
51834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51835 (exit $ac_status); } &&
51836 { ac_try='test -z "$ac_c_werror_flag"
51837 || test ! -s conftest.err'
51838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51839 (eval $ac_try) 2>&5
51840 ac_status=$?
51841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51842 (exit $ac_status); }; } &&
51843 { ac_try='test -s conftest$ac_exeext'
51844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51845 (eval $ac_try) 2>&5
51846 ac_status=$?
51847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51848 (exit $ac_status); }; }; then
51849 ac_cv_lib_m_sin=yes
51850 else
51851 echo "$as_me: failed program was:" >&5
51852 sed 's/^/| /' conftest.$ac_ext >&5
51853
51854 ac_cv_lib_m_sin=no
51855 fi
51856 rm -f conftest.err conftest.$ac_objext \
51857 conftest$ac_exeext conftest.$ac_ext
51858 LIBS=$ac_check_lib_save_LIBS
51859 fi
51860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
51861 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
51862 if test $ac_cv_lib_m_sin = yes; then
51863 libm="-lm"
51864 fi
51865
51866 ac_save_LIBS="$LIBS"
51867 LIBS="$LIBS $libm"
51868
51869
51870
51871 echo "$as_me:$LINENO: checking for isinf declaration" >&5
51872 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
51873 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51874 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
51875 echo $ECHO_N "(cached) $ECHO_C" >&6
51876 else
51877
51878
51879
51880 ac_ext=cc
51881 ac_cpp='$CXXCPP $CPPFLAGS'
51882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51885
51886 cat >conftest.$ac_ext <<_ACEOF
51887 /* confdefs.h. */
51888 _ACEOF
51889 cat confdefs.h >>conftest.$ac_ext
51890 cat >>conftest.$ac_ext <<_ACEOF
51891 /* end confdefs.h. */
51892 #include <math.h>
51893 #ifdef HAVE_IEEEFP_H
51894 #include <ieeefp.h>
51895 #endif
51896
51897 int
51898 main ()
51899 {
51900 isinf(0);
51901 ;
51902 return 0;
51903 }
51904 _ACEOF
51905 rm -f conftest.$ac_objext
51906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51907 (eval $ac_compile) 2>conftest.er1
51908 ac_status=$?
51909 grep -v '^ *+' conftest.er1 >conftest.err
51910 rm -f conftest.er1
51911 cat conftest.err >&5
51912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51913 (exit $ac_status); } &&
51914 { ac_try='test -z "$ac_cxx_werror_flag"
51915 || test ! -s conftest.err'
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); }; } &&
51921 { ac_try='test -s conftest.$ac_objext'
51922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51923 (eval $ac_try) 2>&5
51924 ac_status=$?
51925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51926 (exit $ac_status); }; }; then
51927 glibcxx_cv_func_isinf_use=yes
51928 else
51929 echo "$as_me: failed program was:" >&5
51930 sed 's/^/| /' conftest.$ac_ext >&5
51931
51932 glibcxx_cv_func_isinf_use=no
51933 fi
51934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51935 ac_ext=c
51936 ac_cpp='$CPP $CPPFLAGS'
51937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51940
51941
51942 fi
51943
51944 fi
51945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
51946 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
51947
51948 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51949
51950 for ac_func in isinf
51951 do
51952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51953 echo "$as_me:$LINENO: checking for $ac_func" >&5
51954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51955 if eval "test \"\${$as_ac_var+set}\" = set"; then
51956 echo $ECHO_N "(cached) $ECHO_C" >&6
51957 else
51958 if test x$gcc_no_link = xyes; then
51959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51961 { (exit 1); exit 1; }; }
51962 fi
51963 cat >conftest.$ac_ext <<_ACEOF
51964 /* confdefs.h. */
51965 _ACEOF
51966 cat confdefs.h >>conftest.$ac_ext
51967 cat >>conftest.$ac_ext <<_ACEOF
51968 /* end confdefs.h. */
51969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51971 #define $ac_func innocuous_$ac_func
51972
51973 /* System header to define __stub macros and hopefully few prototypes,
51974 which can conflict with char $ac_func (); below.
51975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51976 <limits.h> exists even on freestanding compilers. */
51977
51978 #ifdef __STDC__
51979 # include <limits.h>
51980 #else
51981 # include <assert.h>
51982 #endif
51983
51984 #undef $ac_func
51985
51986 /* Override any gcc2 internal prototype to avoid an error. */
51987 #ifdef __cplusplus
51988 extern "C"
51989 {
51990 #endif
51991 /* We use char because int might match the return type of a gcc2
51992 builtin and then its argument prototype would still apply. */
51993 char $ac_func ();
51994 /* The GNU C library defines this for functions which it implements
51995 to always fail with ENOSYS. Some functions are actually named
51996 something starting with __ and the normal name is an alias. */
51997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51998 choke me
51999 #else
52000 char (*f) () = $ac_func;
52001 #endif
52002 #ifdef __cplusplus
52003 }
52004 #endif
52005
52006 int
52007 main ()
52008 {
52009 return f != $ac_func;
52010 ;
52011 return 0;
52012 }
52013 _ACEOF
52014 rm -f conftest.$ac_objext conftest$ac_exeext
52015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52016 (eval $ac_link) 2>conftest.er1
52017 ac_status=$?
52018 grep -v '^ *+' conftest.er1 >conftest.err
52019 rm -f conftest.er1
52020 cat conftest.err >&5
52021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52022 (exit $ac_status); } &&
52023 { ac_try='test -z "$ac_c_werror_flag"
52024 || test ! -s conftest.err'
52025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52026 (eval $ac_try) 2>&5
52027 ac_status=$?
52028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029 (exit $ac_status); }; } &&
52030 { ac_try='test -s conftest$ac_exeext'
52031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032 (eval $ac_try) 2>&5
52033 ac_status=$?
52034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035 (exit $ac_status); }; }; then
52036 eval "$as_ac_var=yes"
52037 else
52038 echo "$as_me: failed program was:" >&5
52039 sed 's/^/| /' conftest.$ac_ext >&5
52040
52041 eval "$as_ac_var=no"
52042 fi
52043 rm -f conftest.err conftest.$ac_objext \
52044 conftest$ac_exeext conftest.$ac_ext
52045 fi
52046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52048 if test `eval echo '${'$as_ac_var'}'` = yes; then
52049 cat >>confdefs.h <<_ACEOF
52050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52051 _ACEOF
52052
52053 fi
52054 done
52055
52056 else
52057
52058 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
52059 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
52060 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52061 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
52062 echo $ECHO_N "(cached) $ECHO_C" >&6
52063 else
52064
52065
52066
52067 ac_ext=cc
52068 ac_cpp='$CXXCPP $CPPFLAGS'
52069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52072
52073 cat >conftest.$ac_ext <<_ACEOF
52074 /* confdefs.h. */
52075 _ACEOF
52076 cat confdefs.h >>conftest.$ac_ext
52077 cat >>conftest.$ac_ext <<_ACEOF
52078 /* end confdefs.h. */
52079 #include <math.h>
52080 #ifdef HAVE_IEEEFP_H
52081 #include <ieeefp.h>
52082 #endif
52083
52084 int
52085 main ()
52086 {
52087 _isinf(0);
52088 ;
52089 return 0;
52090 }
52091 _ACEOF
52092 rm -f conftest.$ac_objext
52093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52094 (eval $ac_compile) 2>conftest.er1
52095 ac_status=$?
52096 grep -v '^ *+' conftest.er1 >conftest.err
52097 rm -f conftest.er1
52098 cat conftest.err >&5
52099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52100 (exit $ac_status); } &&
52101 { ac_try='test -z "$ac_cxx_werror_flag"
52102 || test ! -s conftest.err'
52103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52104 (eval $ac_try) 2>&5
52105 ac_status=$?
52106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52107 (exit $ac_status); }; } &&
52108 { ac_try='test -s conftest.$ac_objext'
52109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52110 (eval $ac_try) 2>&5
52111 ac_status=$?
52112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52113 (exit $ac_status); }; }; then
52114 glibcxx_cv_func__isinf_use=yes
52115 else
52116 echo "$as_me: failed program was:" >&5
52117 sed 's/^/| /' conftest.$ac_ext >&5
52118
52119 glibcxx_cv_func__isinf_use=no
52120 fi
52121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52122 ac_ext=c
52123 ac_cpp='$CPP $CPPFLAGS'
52124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52127
52128
52129 fi
52130
52131 fi
52132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
52133 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
52134
52135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52136
52137 for ac_func in _isinf
52138 do
52139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52140 echo "$as_me:$LINENO: checking for $ac_func" >&5
52141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52142 if eval "test \"\${$as_ac_var+set}\" = set"; then
52143 echo $ECHO_N "(cached) $ECHO_C" >&6
52144 else
52145 if test x$gcc_no_link = xyes; then
52146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52148 { (exit 1); exit 1; }; }
52149 fi
52150 cat >conftest.$ac_ext <<_ACEOF
52151 /* confdefs.h. */
52152 _ACEOF
52153 cat confdefs.h >>conftest.$ac_ext
52154 cat >>conftest.$ac_ext <<_ACEOF
52155 /* end confdefs.h. */
52156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52158 #define $ac_func innocuous_$ac_func
52159
52160 /* System header to define __stub macros and hopefully few prototypes,
52161 which can conflict with char $ac_func (); below.
52162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52163 <limits.h> exists even on freestanding compilers. */
52164
52165 #ifdef __STDC__
52166 # include <limits.h>
52167 #else
52168 # include <assert.h>
52169 #endif
52170
52171 #undef $ac_func
52172
52173 /* Override any gcc2 internal prototype to avoid an error. */
52174 #ifdef __cplusplus
52175 extern "C"
52176 {
52177 #endif
52178 /* We use char because int might match the return type of a gcc2
52179 builtin and then its argument prototype would still apply. */
52180 char $ac_func ();
52181 /* The GNU C library defines this for functions which it implements
52182 to always fail with ENOSYS. Some functions are actually named
52183 something starting with __ and the normal name is an alias. */
52184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52185 choke me
52186 #else
52187 char (*f) () = $ac_func;
52188 #endif
52189 #ifdef __cplusplus
52190 }
52191 #endif
52192
52193 int
52194 main ()
52195 {
52196 return f != $ac_func;
52197 ;
52198 return 0;
52199 }
52200 _ACEOF
52201 rm -f conftest.$ac_objext conftest$ac_exeext
52202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52203 (eval $ac_link) 2>conftest.er1
52204 ac_status=$?
52205 grep -v '^ *+' conftest.er1 >conftest.err
52206 rm -f conftest.er1
52207 cat conftest.err >&5
52208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52209 (exit $ac_status); } &&
52210 { ac_try='test -z "$ac_c_werror_flag"
52211 || test ! -s conftest.err'
52212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52213 (eval $ac_try) 2>&5
52214 ac_status=$?
52215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52216 (exit $ac_status); }; } &&
52217 { ac_try='test -s conftest$ac_exeext'
52218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52219 (eval $ac_try) 2>&5
52220 ac_status=$?
52221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52222 (exit $ac_status); }; }; then
52223 eval "$as_ac_var=yes"
52224 else
52225 echo "$as_me: failed program was:" >&5
52226 sed 's/^/| /' conftest.$ac_ext >&5
52227
52228 eval "$as_ac_var=no"
52229 fi
52230 rm -f conftest.err conftest.$ac_objext \
52231 conftest$ac_exeext conftest.$ac_ext
52232 fi
52233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52235 if test `eval echo '${'$as_ac_var'}'` = yes; then
52236 cat >>confdefs.h <<_ACEOF
52237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52238 _ACEOF
52239
52240 fi
52241 done
52242
52243 fi
52244 fi
52245
52246
52247
52248 echo "$as_me:$LINENO: checking for isnan declaration" >&5
52249 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
52250 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52251 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
52252 echo $ECHO_N "(cached) $ECHO_C" >&6
52253 else
52254
52255
52256
52257 ac_ext=cc
52258 ac_cpp='$CXXCPP $CPPFLAGS'
52259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52262
52263 cat >conftest.$ac_ext <<_ACEOF
52264 /* confdefs.h. */
52265 _ACEOF
52266 cat confdefs.h >>conftest.$ac_ext
52267 cat >>conftest.$ac_ext <<_ACEOF
52268 /* end confdefs.h. */
52269 #include <math.h>
52270 #ifdef HAVE_IEEEFP_H
52271 #include <ieeefp.h>
52272 #endif
52273
52274 int
52275 main ()
52276 {
52277 isnan(0);
52278 ;
52279 return 0;
52280 }
52281 _ACEOF
52282 rm -f conftest.$ac_objext
52283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52284 (eval $ac_compile) 2>conftest.er1
52285 ac_status=$?
52286 grep -v '^ *+' conftest.er1 >conftest.err
52287 rm -f conftest.er1
52288 cat conftest.err >&5
52289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52290 (exit $ac_status); } &&
52291 { ac_try='test -z "$ac_cxx_werror_flag"
52292 || test ! -s conftest.err'
52293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52294 (eval $ac_try) 2>&5
52295 ac_status=$?
52296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52297 (exit $ac_status); }; } &&
52298 { ac_try='test -s conftest.$ac_objext'
52299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52300 (eval $ac_try) 2>&5
52301 ac_status=$?
52302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52303 (exit $ac_status); }; }; then
52304 glibcxx_cv_func_isnan_use=yes
52305 else
52306 echo "$as_me: failed program was:" >&5
52307 sed 's/^/| /' conftest.$ac_ext >&5
52308
52309 glibcxx_cv_func_isnan_use=no
52310 fi
52311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52312 ac_ext=c
52313 ac_cpp='$CPP $CPPFLAGS'
52314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52317
52318
52319 fi
52320
52321 fi
52322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
52323 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
52324
52325 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52326
52327 for ac_func in isnan
52328 do
52329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52330 echo "$as_me:$LINENO: checking for $ac_func" >&5
52331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52332 if eval "test \"\${$as_ac_var+set}\" = set"; then
52333 echo $ECHO_N "(cached) $ECHO_C" >&6
52334 else
52335 if test x$gcc_no_link = xyes; then
52336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52338 { (exit 1); exit 1; }; }
52339 fi
52340 cat >conftest.$ac_ext <<_ACEOF
52341 /* confdefs.h. */
52342 _ACEOF
52343 cat confdefs.h >>conftest.$ac_ext
52344 cat >>conftest.$ac_ext <<_ACEOF
52345 /* end confdefs.h. */
52346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52348 #define $ac_func innocuous_$ac_func
52349
52350 /* System header to define __stub macros and hopefully few prototypes,
52351 which can conflict with char $ac_func (); below.
52352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52353 <limits.h> exists even on freestanding compilers. */
52354
52355 #ifdef __STDC__
52356 # include <limits.h>
52357 #else
52358 # include <assert.h>
52359 #endif
52360
52361 #undef $ac_func
52362
52363 /* Override any gcc2 internal prototype to avoid an error. */
52364 #ifdef __cplusplus
52365 extern "C"
52366 {
52367 #endif
52368 /* We use char because int might match the return type of a gcc2
52369 builtin and then its argument prototype would still apply. */
52370 char $ac_func ();
52371 /* The GNU C library defines this for functions which it implements
52372 to always fail with ENOSYS. Some functions are actually named
52373 something starting with __ and the normal name is an alias. */
52374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52375 choke me
52376 #else
52377 char (*f) () = $ac_func;
52378 #endif
52379 #ifdef __cplusplus
52380 }
52381 #endif
52382
52383 int
52384 main ()
52385 {
52386 return f != $ac_func;
52387 ;
52388 return 0;
52389 }
52390 _ACEOF
52391 rm -f conftest.$ac_objext conftest$ac_exeext
52392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52393 (eval $ac_link) 2>conftest.er1
52394 ac_status=$?
52395 grep -v '^ *+' conftest.er1 >conftest.err
52396 rm -f conftest.er1
52397 cat conftest.err >&5
52398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52399 (exit $ac_status); } &&
52400 { ac_try='test -z "$ac_c_werror_flag"
52401 || test ! -s conftest.err'
52402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403 (eval $ac_try) 2>&5
52404 ac_status=$?
52405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406 (exit $ac_status); }; } &&
52407 { ac_try='test -s conftest$ac_exeext'
52408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52409 (eval $ac_try) 2>&5
52410 ac_status=$?
52411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52412 (exit $ac_status); }; }; then
52413 eval "$as_ac_var=yes"
52414 else
52415 echo "$as_me: failed program was:" >&5
52416 sed 's/^/| /' conftest.$ac_ext >&5
52417
52418 eval "$as_ac_var=no"
52419 fi
52420 rm -f conftest.err conftest.$ac_objext \
52421 conftest$ac_exeext conftest.$ac_ext
52422 fi
52423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52425 if test `eval echo '${'$as_ac_var'}'` = yes; then
52426 cat >>confdefs.h <<_ACEOF
52427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52428 _ACEOF
52429
52430 fi
52431 done
52432
52433 else
52434
52435 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
52436 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
52437 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52438 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
52439 echo $ECHO_N "(cached) $ECHO_C" >&6
52440 else
52441
52442
52443
52444 ac_ext=cc
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450 cat >conftest.$ac_ext <<_ACEOF
52451 /* confdefs.h. */
52452 _ACEOF
52453 cat confdefs.h >>conftest.$ac_ext
52454 cat >>conftest.$ac_ext <<_ACEOF
52455 /* end confdefs.h. */
52456 #include <math.h>
52457 #ifdef HAVE_IEEEFP_H
52458 #include <ieeefp.h>
52459 #endif
52460
52461 int
52462 main ()
52463 {
52464 _isnan(0);
52465 ;
52466 return 0;
52467 }
52468 _ACEOF
52469 rm -f conftest.$ac_objext
52470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52471 (eval $ac_compile) 2>conftest.er1
52472 ac_status=$?
52473 grep -v '^ *+' conftest.er1 >conftest.err
52474 rm -f conftest.er1
52475 cat conftest.err >&5
52476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52477 (exit $ac_status); } &&
52478 { ac_try='test -z "$ac_cxx_werror_flag"
52479 || test ! -s conftest.err'
52480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52481 (eval $ac_try) 2>&5
52482 ac_status=$?
52483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52484 (exit $ac_status); }; } &&
52485 { ac_try='test -s conftest.$ac_objext'
52486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52487 (eval $ac_try) 2>&5
52488 ac_status=$?
52489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52490 (exit $ac_status); }; }; then
52491 glibcxx_cv_func__isnan_use=yes
52492 else
52493 echo "$as_me: failed program was:" >&5
52494 sed 's/^/| /' conftest.$ac_ext >&5
52495
52496 glibcxx_cv_func__isnan_use=no
52497 fi
52498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52499 ac_ext=c
52500 ac_cpp='$CPP $CPPFLAGS'
52501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52504
52505
52506 fi
52507
52508 fi
52509 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
52510 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
52511
52512 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52513
52514 for ac_func in _isnan
52515 do
52516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52517 echo "$as_me:$LINENO: checking for $ac_func" >&5
52518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52519 if eval "test \"\${$as_ac_var+set}\" = set"; then
52520 echo $ECHO_N "(cached) $ECHO_C" >&6
52521 else
52522 if test x$gcc_no_link = xyes; then
52523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52525 { (exit 1); exit 1; }; }
52526 fi
52527 cat >conftest.$ac_ext <<_ACEOF
52528 /* confdefs.h. */
52529 _ACEOF
52530 cat confdefs.h >>conftest.$ac_ext
52531 cat >>conftest.$ac_ext <<_ACEOF
52532 /* end confdefs.h. */
52533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52535 #define $ac_func innocuous_$ac_func
52536
52537 /* System header to define __stub macros and hopefully few prototypes,
52538 which can conflict with char $ac_func (); below.
52539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52540 <limits.h> exists even on freestanding compilers. */
52541
52542 #ifdef __STDC__
52543 # include <limits.h>
52544 #else
52545 # include <assert.h>
52546 #endif
52547
52548 #undef $ac_func
52549
52550 /* Override any gcc2 internal prototype to avoid an error. */
52551 #ifdef __cplusplus
52552 extern "C"
52553 {
52554 #endif
52555 /* We use char because int might match the return type of a gcc2
52556 builtin and then its argument prototype would still apply. */
52557 char $ac_func ();
52558 /* The GNU C library defines this for functions which it implements
52559 to always fail with ENOSYS. Some functions are actually named
52560 something starting with __ and the normal name is an alias. */
52561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52562 choke me
52563 #else
52564 char (*f) () = $ac_func;
52565 #endif
52566 #ifdef __cplusplus
52567 }
52568 #endif
52569
52570 int
52571 main ()
52572 {
52573 return f != $ac_func;
52574 ;
52575 return 0;
52576 }
52577 _ACEOF
52578 rm -f conftest.$ac_objext conftest$ac_exeext
52579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52580 (eval $ac_link) 2>conftest.er1
52581 ac_status=$?
52582 grep -v '^ *+' conftest.er1 >conftest.err
52583 rm -f conftest.er1
52584 cat conftest.err >&5
52585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52586 (exit $ac_status); } &&
52587 { ac_try='test -z "$ac_c_werror_flag"
52588 || test ! -s conftest.err'
52589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52590 (eval $ac_try) 2>&5
52591 ac_status=$?
52592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593 (exit $ac_status); }; } &&
52594 { ac_try='test -s conftest$ac_exeext'
52595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52596 (eval $ac_try) 2>&5
52597 ac_status=$?
52598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52599 (exit $ac_status); }; }; then
52600 eval "$as_ac_var=yes"
52601 else
52602 echo "$as_me: failed program was:" >&5
52603 sed 's/^/| /' conftest.$ac_ext >&5
52604
52605 eval "$as_ac_var=no"
52606 fi
52607 rm -f conftest.err conftest.$ac_objext \
52608 conftest$ac_exeext conftest.$ac_ext
52609 fi
52610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52612 if test `eval echo '${'$as_ac_var'}'` = yes; then
52613 cat >>confdefs.h <<_ACEOF
52614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52615 _ACEOF
52616
52617 fi
52618 done
52619
52620 fi
52621 fi
52622
52623
52624
52625 echo "$as_me:$LINENO: checking for finite declaration" >&5
52626 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
52627 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52628 if test "${glibcxx_cv_func_finite_use+set}" = set; then
52629 echo $ECHO_N "(cached) $ECHO_C" >&6
52630 else
52631
52632
52633
52634 ac_ext=cc
52635 ac_cpp='$CXXCPP $CPPFLAGS'
52636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52639
52640 cat >conftest.$ac_ext <<_ACEOF
52641 /* confdefs.h. */
52642 _ACEOF
52643 cat confdefs.h >>conftest.$ac_ext
52644 cat >>conftest.$ac_ext <<_ACEOF
52645 /* end confdefs.h. */
52646 #include <math.h>
52647 #ifdef HAVE_IEEEFP_H
52648 #include <ieeefp.h>
52649 #endif
52650
52651 int
52652 main ()
52653 {
52654 finite(0);
52655 ;
52656 return 0;
52657 }
52658 _ACEOF
52659 rm -f conftest.$ac_objext
52660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52661 (eval $ac_compile) 2>conftest.er1
52662 ac_status=$?
52663 grep -v '^ *+' conftest.er1 >conftest.err
52664 rm -f conftest.er1
52665 cat conftest.err >&5
52666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52667 (exit $ac_status); } &&
52668 { ac_try='test -z "$ac_cxx_werror_flag"
52669 || test ! -s conftest.err'
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); }; } &&
52675 { ac_try='test -s conftest.$ac_objext'
52676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52677 (eval $ac_try) 2>&5
52678 ac_status=$?
52679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52680 (exit $ac_status); }; }; then
52681 glibcxx_cv_func_finite_use=yes
52682 else
52683 echo "$as_me: failed program was:" >&5
52684 sed 's/^/| /' conftest.$ac_ext >&5
52685
52686 glibcxx_cv_func_finite_use=no
52687 fi
52688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52689 ac_ext=c
52690 ac_cpp='$CPP $CPPFLAGS'
52691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52694
52695
52696 fi
52697
52698 fi
52699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
52700 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
52701
52702 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52703
52704 for ac_func in finite
52705 do
52706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52707 echo "$as_me:$LINENO: checking for $ac_func" >&5
52708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52709 if eval "test \"\${$as_ac_var+set}\" = set"; then
52710 echo $ECHO_N "(cached) $ECHO_C" >&6
52711 else
52712 if test x$gcc_no_link = xyes; then
52713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52715 { (exit 1); exit 1; }; }
52716 fi
52717 cat >conftest.$ac_ext <<_ACEOF
52718 /* confdefs.h. */
52719 _ACEOF
52720 cat confdefs.h >>conftest.$ac_ext
52721 cat >>conftest.$ac_ext <<_ACEOF
52722 /* end confdefs.h. */
52723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52725 #define $ac_func innocuous_$ac_func
52726
52727 /* System header to define __stub macros and hopefully few prototypes,
52728 which can conflict with char $ac_func (); below.
52729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52730 <limits.h> exists even on freestanding compilers. */
52731
52732 #ifdef __STDC__
52733 # include <limits.h>
52734 #else
52735 # include <assert.h>
52736 #endif
52737
52738 #undef $ac_func
52739
52740 /* Override any gcc2 internal prototype to avoid an error. */
52741 #ifdef __cplusplus
52742 extern "C"
52743 {
52744 #endif
52745 /* We use char because int might match the return type of a gcc2
52746 builtin and then its argument prototype would still apply. */
52747 char $ac_func ();
52748 /* The GNU C library defines this for functions which it implements
52749 to always fail with ENOSYS. Some functions are actually named
52750 something starting with __ and the normal name is an alias. */
52751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52752 choke me
52753 #else
52754 char (*f) () = $ac_func;
52755 #endif
52756 #ifdef __cplusplus
52757 }
52758 #endif
52759
52760 int
52761 main ()
52762 {
52763 return f != $ac_func;
52764 ;
52765 return 0;
52766 }
52767 _ACEOF
52768 rm -f conftest.$ac_objext conftest$ac_exeext
52769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52770 (eval $ac_link) 2>conftest.er1
52771 ac_status=$?
52772 grep -v '^ *+' conftest.er1 >conftest.err
52773 rm -f conftest.er1
52774 cat conftest.err >&5
52775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52776 (exit $ac_status); } &&
52777 { ac_try='test -z "$ac_c_werror_flag"
52778 || test ! -s conftest.err'
52779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52780 (eval $ac_try) 2>&5
52781 ac_status=$?
52782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52783 (exit $ac_status); }; } &&
52784 { ac_try='test -s conftest$ac_exeext'
52785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52786 (eval $ac_try) 2>&5
52787 ac_status=$?
52788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52789 (exit $ac_status); }; }; then
52790 eval "$as_ac_var=yes"
52791 else
52792 echo "$as_me: failed program was:" >&5
52793 sed 's/^/| /' conftest.$ac_ext >&5
52794
52795 eval "$as_ac_var=no"
52796 fi
52797 rm -f conftest.err conftest.$ac_objext \
52798 conftest$ac_exeext conftest.$ac_ext
52799 fi
52800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52802 if test `eval echo '${'$as_ac_var'}'` = yes; then
52803 cat >>confdefs.h <<_ACEOF
52804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52805 _ACEOF
52806
52807 fi
52808 done
52809
52810 else
52811
52812 echo "$as_me:$LINENO: checking for _finite declaration" >&5
52813 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
52814 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52815 if test "${glibcxx_cv_func__finite_use+set}" = set; then
52816 echo $ECHO_N "(cached) $ECHO_C" >&6
52817 else
52818
52819
52820
52821 ac_ext=cc
52822 ac_cpp='$CXXCPP $CPPFLAGS'
52823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52826
52827 cat >conftest.$ac_ext <<_ACEOF
52828 /* confdefs.h. */
52829 _ACEOF
52830 cat confdefs.h >>conftest.$ac_ext
52831 cat >>conftest.$ac_ext <<_ACEOF
52832 /* end confdefs.h. */
52833 #include <math.h>
52834 #ifdef HAVE_IEEEFP_H
52835 #include <ieeefp.h>
52836 #endif
52837
52838 int
52839 main ()
52840 {
52841 _finite(0);
52842 ;
52843 return 0;
52844 }
52845 _ACEOF
52846 rm -f conftest.$ac_objext
52847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52848 (eval $ac_compile) 2>conftest.er1
52849 ac_status=$?
52850 grep -v '^ *+' conftest.er1 >conftest.err
52851 rm -f conftest.er1
52852 cat conftest.err >&5
52853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52854 (exit $ac_status); } &&
52855 { ac_try='test -z "$ac_cxx_werror_flag"
52856 || test ! -s conftest.err'
52857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52858 (eval $ac_try) 2>&5
52859 ac_status=$?
52860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52861 (exit $ac_status); }; } &&
52862 { ac_try='test -s conftest.$ac_objext'
52863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52864 (eval $ac_try) 2>&5
52865 ac_status=$?
52866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52867 (exit $ac_status); }; }; then
52868 glibcxx_cv_func__finite_use=yes
52869 else
52870 echo "$as_me: failed program was:" >&5
52871 sed 's/^/| /' conftest.$ac_ext >&5
52872
52873 glibcxx_cv_func__finite_use=no
52874 fi
52875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52876 ac_ext=c
52877 ac_cpp='$CPP $CPPFLAGS'
52878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52881
52882
52883 fi
52884
52885 fi
52886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
52887 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
52888
52889 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52890
52891 for ac_func in _finite
52892 do
52893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52894 echo "$as_me:$LINENO: checking for $ac_func" >&5
52895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52896 if eval "test \"\${$as_ac_var+set}\" = set"; then
52897 echo $ECHO_N "(cached) $ECHO_C" >&6
52898 else
52899 if test x$gcc_no_link = xyes; then
52900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52902 { (exit 1); exit 1; }; }
52903 fi
52904 cat >conftest.$ac_ext <<_ACEOF
52905 /* confdefs.h. */
52906 _ACEOF
52907 cat confdefs.h >>conftest.$ac_ext
52908 cat >>conftest.$ac_ext <<_ACEOF
52909 /* end confdefs.h. */
52910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52912 #define $ac_func innocuous_$ac_func
52913
52914 /* System header to define __stub macros and hopefully few prototypes,
52915 which can conflict with char $ac_func (); below.
52916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52917 <limits.h> exists even on freestanding compilers. */
52918
52919 #ifdef __STDC__
52920 # include <limits.h>
52921 #else
52922 # include <assert.h>
52923 #endif
52924
52925 #undef $ac_func
52926
52927 /* Override any gcc2 internal prototype to avoid an error. */
52928 #ifdef __cplusplus
52929 extern "C"
52930 {
52931 #endif
52932 /* We use char because int might match the return type of a gcc2
52933 builtin and then its argument prototype would still apply. */
52934 char $ac_func ();
52935 /* The GNU C library defines this for functions which it implements
52936 to always fail with ENOSYS. Some functions are actually named
52937 something starting with __ and the normal name is an alias. */
52938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52939 choke me
52940 #else
52941 char (*f) () = $ac_func;
52942 #endif
52943 #ifdef __cplusplus
52944 }
52945 #endif
52946
52947 int
52948 main ()
52949 {
52950 return f != $ac_func;
52951 ;
52952 return 0;
52953 }
52954 _ACEOF
52955 rm -f conftest.$ac_objext conftest$ac_exeext
52956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52957 (eval $ac_link) 2>conftest.er1
52958 ac_status=$?
52959 grep -v '^ *+' conftest.er1 >conftest.err
52960 rm -f conftest.er1
52961 cat conftest.err >&5
52962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52963 (exit $ac_status); } &&
52964 { ac_try='test -z "$ac_c_werror_flag"
52965 || test ! -s conftest.err'
52966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52967 (eval $ac_try) 2>&5
52968 ac_status=$?
52969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52970 (exit $ac_status); }; } &&
52971 { ac_try='test -s conftest$ac_exeext'
52972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973 (eval $ac_try) 2>&5
52974 ac_status=$?
52975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976 (exit $ac_status); }; }; then
52977 eval "$as_ac_var=yes"
52978 else
52979 echo "$as_me: failed program was:" >&5
52980 sed 's/^/| /' conftest.$ac_ext >&5
52981
52982 eval "$as_ac_var=no"
52983 fi
52984 rm -f conftest.err conftest.$ac_objext \
52985 conftest$ac_exeext conftest.$ac_ext
52986 fi
52987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52989 if test `eval echo '${'$as_ac_var'}'` = yes; then
52990 cat >>confdefs.h <<_ACEOF
52991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52992 _ACEOF
52993
52994 fi
52995 done
52996
52997 fi
52998 fi
52999
53000
53001
53002 echo "$as_me:$LINENO: checking for copysign declaration" >&5
53003 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
53004 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
53005 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
53006 echo $ECHO_N "(cached) $ECHO_C" >&6
53007 else
53008
53009
53010
53011 ac_ext=cc
53012 ac_cpp='$CXXCPP $CPPFLAGS'
53013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53016
53017 cat >conftest.$ac_ext <<_ACEOF
53018 /* confdefs.h. */
53019 _ACEOF
53020 cat confdefs.h >>conftest.$ac_ext
53021 cat >>conftest.$ac_ext <<_ACEOF
53022 /* end confdefs.h. */
53023 #include <math.h>
53024 int
53025 main ()
53026 {
53027 copysign(0, 0);
53028 ;
53029 return 0;
53030 }
53031 _ACEOF
53032 rm -f conftest.$ac_objext
53033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53034 (eval $ac_compile) 2>conftest.er1
53035 ac_status=$?
53036 grep -v '^ *+' conftest.er1 >conftest.err
53037 rm -f conftest.er1
53038 cat conftest.err >&5
53039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53040 (exit $ac_status); } &&
53041 { ac_try='test -z "$ac_cxx_werror_flag"
53042 || test ! -s conftest.err'
53043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53044 (eval $ac_try) 2>&5
53045 ac_status=$?
53046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53047 (exit $ac_status); }; } &&
53048 { ac_try='test -s conftest.$ac_objext'
53049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53050 (eval $ac_try) 2>&5
53051 ac_status=$?
53052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53053 (exit $ac_status); }; }; then
53054 glibcxx_cv_func_copysign_use=yes
53055 else
53056 echo "$as_me: failed program was:" >&5
53057 sed 's/^/| /' conftest.$ac_ext >&5
53058
53059 glibcxx_cv_func_copysign_use=no
53060 fi
53061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53062 ac_ext=c
53063 ac_cpp='$CPP $CPPFLAGS'
53064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53067
53068
53069 fi
53070
53071 fi
53072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
53073 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
53074
53075 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
53076
53077 for ac_func in copysign
53078 do
53079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53080 echo "$as_me:$LINENO: checking for $ac_func" >&5
53081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53082 if eval "test \"\${$as_ac_var+set}\" = set"; then
53083 echo $ECHO_N "(cached) $ECHO_C" >&6
53084 else
53085 if test x$gcc_no_link = xyes; then
53086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53088 { (exit 1); exit 1; }; }
53089 fi
53090 cat >conftest.$ac_ext <<_ACEOF
53091 /* confdefs.h. */
53092 _ACEOF
53093 cat confdefs.h >>conftest.$ac_ext
53094 cat >>conftest.$ac_ext <<_ACEOF
53095 /* end confdefs.h. */
53096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53098 #define $ac_func innocuous_$ac_func
53099
53100 /* System header to define __stub macros and hopefully few prototypes,
53101 which can conflict with char $ac_func (); below.
53102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53103 <limits.h> exists even on freestanding compilers. */
53104
53105 #ifdef __STDC__
53106 # include <limits.h>
53107 #else
53108 # include <assert.h>
53109 #endif
53110
53111 #undef $ac_func
53112
53113 /* Override any gcc2 internal prototype to avoid an error. */
53114 #ifdef __cplusplus
53115 extern "C"
53116 {
53117 #endif
53118 /* We use char because int might match the return type of a gcc2
53119 builtin and then its argument prototype would still apply. */
53120 char $ac_func ();
53121 /* The GNU C library defines this for functions which it implements
53122 to always fail with ENOSYS. Some functions are actually named
53123 something starting with __ and the normal name is an alias. */
53124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53125 choke me
53126 #else
53127 char (*f) () = $ac_func;
53128 #endif
53129 #ifdef __cplusplus
53130 }
53131 #endif
53132
53133 int
53134 main ()
53135 {
53136 return f != $ac_func;
53137 ;
53138 return 0;
53139 }
53140 _ACEOF
53141 rm -f conftest.$ac_objext conftest$ac_exeext
53142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53143 (eval $ac_link) 2>conftest.er1
53144 ac_status=$?
53145 grep -v '^ *+' conftest.er1 >conftest.err
53146 rm -f conftest.er1
53147 cat conftest.err >&5
53148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53149 (exit $ac_status); } &&
53150 { ac_try='test -z "$ac_c_werror_flag"
53151 || test ! -s conftest.err'
53152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53153 (eval $ac_try) 2>&5
53154 ac_status=$?
53155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53156 (exit $ac_status); }; } &&
53157 { ac_try='test -s conftest$ac_exeext'
53158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53159 (eval $ac_try) 2>&5
53160 ac_status=$?
53161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53162 (exit $ac_status); }; }; then
53163 eval "$as_ac_var=yes"
53164 else
53165 echo "$as_me: failed program was:" >&5
53166 sed 's/^/| /' conftest.$ac_ext >&5
53167
53168 eval "$as_ac_var=no"
53169 fi
53170 rm -f conftest.err conftest.$ac_objext \
53171 conftest$ac_exeext conftest.$ac_ext
53172 fi
53173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53175 if test `eval echo '${'$as_ac_var'}'` = yes; then
53176 cat >>confdefs.h <<_ACEOF
53177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53178 _ACEOF
53179
53180 fi
53181 done
53182
53183 else
53184
53185 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
53186 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
53187 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
53188 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
53189 echo $ECHO_N "(cached) $ECHO_C" >&6
53190 else
53191
53192
53193
53194 ac_ext=cc
53195 ac_cpp='$CXXCPP $CPPFLAGS'
53196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53199
53200 cat >conftest.$ac_ext <<_ACEOF
53201 /* confdefs.h. */
53202 _ACEOF
53203 cat confdefs.h >>conftest.$ac_ext
53204 cat >>conftest.$ac_ext <<_ACEOF
53205 /* end confdefs.h. */
53206 #include <math.h>
53207 int
53208 main ()
53209 {
53210 _copysign(0, 0);
53211 ;
53212 return 0;
53213 }
53214 _ACEOF
53215 rm -f conftest.$ac_objext
53216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53217 (eval $ac_compile) 2>conftest.er1
53218 ac_status=$?
53219 grep -v '^ *+' conftest.er1 >conftest.err
53220 rm -f conftest.er1
53221 cat conftest.err >&5
53222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53223 (exit $ac_status); } &&
53224 { ac_try='test -z "$ac_cxx_werror_flag"
53225 || test ! -s conftest.err'
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); }; } &&
53231 { ac_try='test -s conftest.$ac_objext'
53232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53233 (eval $ac_try) 2>&5
53234 ac_status=$?
53235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53236 (exit $ac_status); }; }; then
53237 glibcxx_cv_func__copysign_use=yes
53238 else
53239 echo "$as_me: failed program was:" >&5
53240 sed 's/^/| /' conftest.$ac_ext >&5
53241
53242 glibcxx_cv_func__copysign_use=no
53243 fi
53244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53245 ac_ext=c
53246 ac_cpp='$CPP $CPPFLAGS'
53247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53250
53251
53252 fi
53253
53254 fi
53255 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
53256 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
53257
53258 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
53259
53260 for ac_func in _copysign
53261 do
53262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53263 echo "$as_me:$LINENO: checking for $ac_func" >&5
53264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53265 if eval "test \"\${$as_ac_var+set}\" = set"; then
53266 echo $ECHO_N "(cached) $ECHO_C" >&6
53267 else
53268 if test x$gcc_no_link = xyes; then
53269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53271 { (exit 1); exit 1; }; }
53272 fi
53273 cat >conftest.$ac_ext <<_ACEOF
53274 /* confdefs.h. */
53275 _ACEOF
53276 cat confdefs.h >>conftest.$ac_ext
53277 cat >>conftest.$ac_ext <<_ACEOF
53278 /* end confdefs.h. */
53279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53281 #define $ac_func innocuous_$ac_func
53282
53283 /* System header to define __stub macros and hopefully few prototypes,
53284 which can conflict with char $ac_func (); below.
53285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53286 <limits.h> exists even on freestanding compilers. */
53287
53288 #ifdef __STDC__
53289 # include <limits.h>
53290 #else
53291 # include <assert.h>
53292 #endif
53293
53294 #undef $ac_func
53295
53296 /* Override any gcc2 internal prototype to avoid an error. */
53297 #ifdef __cplusplus
53298 extern "C"
53299 {
53300 #endif
53301 /* We use char because int might match the return type of a gcc2
53302 builtin and then its argument prototype would still apply. */
53303 char $ac_func ();
53304 /* The GNU C library defines this for functions which it implements
53305 to always fail with ENOSYS. Some functions are actually named
53306 something starting with __ and the normal name is an alias. */
53307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53308 choke me
53309 #else
53310 char (*f) () = $ac_func;
53311 #endif
53312 #ifdef __cplusplus
53313 }
53314 #endif
53315
53316 int
53317 main ()
53318 {
53319 return f != $ac_func;
53320 ;
53321 return 0;
53322 }
53323 _ACEOF
53324 rm -f conftest.$ac_objext conftest$ac_exeext
53325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53326 (eval $ac_link) 2>conftest.er1
53327 ac_status=$?
53328 grep -v '^ *+' conftest.er1 >conftest.err
53329 rm -f conftest.er1
53330 cat conftest.err >&5
53331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53332 (exit $ac_status); } &&
53333 { ac_try='test -z "$ac_c_werror_flag"
53334 || test ! -s conftest.err'
53335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53336 (eval $ac_try) 2>&5
53337 ac_status=$?
53338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53339 (exit $ac_status); }; } &&
53340 { ac_try='test -s conftest$ac_exeext'
53341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53342 (eval $ac_try) 2>&5
53343 ac_status=$?
53344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53345 (exit $ac_status); }; }; then
53346 eval "$as_ac_var=yes"
53347 else
53348 echo "$as_me: failed program was:" >&5
53349 sed 's/^/| /' conftest.$ac_ext >&5
53350
53351 eval "$as_ac_var=no"
53352 fi
53353 rm -f conftest.err conftest.$ac_objext \
53354 conftest$ac_exeext conftest.$ac_ext
53355 fi
53356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53358 if test `eval echo '${'$as_ac_var'}'` = yes; then
53359 cat >>confdefs.h <<_ACEOF
53360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53361 _ACEOF
53362
53363 fi
53364 done
53365
53366 fi
53367 fi
53368
53369
53370
53371 echo "$as_me:$LINENO: checking for sincos declaration" >&5
53372 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
53373 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53374 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
53375 echo $ECHO_N "(cached) $ECHO_C" >&6
53376 else
53377
53378
53379
53380 ac_ext=cc
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53385
53386 cat >conftest.$ac_ext <<_ACEOF
53387 /* confdefs.h. */
53388 _ACEOF
53389 cat confdefs.h >>conftest.$ac_ext
53390 cat >>conftest.$ac_ext <<_ACEOF
53391 /* end confdefs.h. */
53392 #include <math.h>
53393 int
53394 main ()
53395 {
53396 sincos(0, 0, 0);
53397 ;
53398 return 0;
53399 }
53400 _ACEOF
53401 rm -f conftest.$ac_objext
53402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53403 (eval $ac_compile) 2>conftest.er1
53404 ac_status=$?
53405 grep -v '^ *+' conftest.er1 >conftest.err
53406 rm -f conftest.er1
53407 cat conftest.err >&5
53408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53409 (exit $ac_status); } &&
53410 { ac_try='test -z "$ac_cxx_werror_flag"
53411 || test ! -s conftest.err'
53412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53413 (eval $ac_try) 2>&5
53414 ac_status=$?
53415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53416 (exit $ac_status); }; } &&
53417 { ac_try='test -s conftest.$ac_objext'
53418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53419 (eval $ac_try) 2>&5
53420 ac_status=$?
53421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53422 (exit $ac_status); }; }; then
53423 glibcxx_cv_func_sincos_use=yes
53424 else
53425 echo "$as_me: failed program was:" >&5
53426 sed 's/^/| /' conftest.$ac_ext >&5
53427
53428 glibcxx_cv_func_sincos_use=no
53429 fi
53430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53431 ac_ext=c
53432 ac_cpp='$CPP $CPPFLAGS'
53433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53436
53437
53438 fi
53439
53440 fi
53441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
53442 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
53443
53444 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53445
53446 for ac_func in sincos
53447 do
53448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53449 echo "$as_me:$LINENO: checking for $ac_func" >&5
53450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53451 if eval "test \"\${$as_ac_var+set}\" = set"; then
53452 echo $ECHO_N "(cached) $ECHO_C" >&6
53453 else
53454 if test x$gcc_no_link = xyes; then
53455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53457 { (exit 1); exit 1; }; }
53458 fi
53459 cat >conftest.$ac_ext <<_ACEOF
53460 /* confdefs.h. */
53461 _ACEOF
53462 cat confdefs.h >>conftest.$ac_ext
53463 cat >>conftest.$ac_ext <<_ACEOF
53464 /* end confdefs.h. */
53465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53467 #define $ac_func innocuous_$ac_func
53468
53469 /* System header to define __stub macros and hopefully few prototypes,
53470 which can conflict with char $ac_func (); below.
53471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53472 <limits.h> exists even on freestanding compilers. */
53473
53474 #ifdef __STDC__
53475 # include <limits.h>
53476 #else
53477 # include <assert.h>
53478 #endif
53479
53480 #undef $ac_func
53481
53482 /* Override any gcc2 internal prototype to avoid an error. */
53483 #ifdef __cplusplus
53484 extern "C"
53485 {
53486 #endif
53487 /* We use char because int might match the return type of a gcc2
53488 builtin and then its argument prototype would still apply. */
53489 char $ac_func ();
53490 /* The GNU C library defines this for functions which it implements
53491 to always fail with ENOSYS. Some functions are actually named
53492 something starting with __ and the normal name is an alias. */
53493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53494 choke me
53495 #else
53496 char (*f) () = $ac_func;
53497 #endif
53498 #ifdef __cplusplus
53499 }
53500 #endif
53501
53502 int
53503 main ()
53504 {
53505 return f != $ac_func;
53506 ;
53507 return 0;
53508 }
53509 _ACEOF
53510 rm -f conftest.$ac_objext conftest$ac_exeext
53511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53512 (eval $ac_link) 2>conftest.er1
53513 ac_status=$?
53514 grep -v '^ *+' conftest.er1 >conftest.err
53515 rm -f conftest.er1
53516 cat conftest.err >&5
53517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53518 (exit $ac_status); } &&
53519 { ac_try='test -z "$ac_c_werror_flag"
53520 || test ! -s conftest.err'
53521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53522 (eval $ac_try) 2>&5
53523 ac_status=$?
53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53525 (exit $ac_status); }; } &&
53526 { ac_try='test -s conftest$ac_exeext'
53527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53528 (eval $ac_try) 2>&5
53529 ac_status=$?
53530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53531 (exit $ac_status); }; }; then
53532 eval "$as_ac_var=yes"
53533 else
53534 echo "$as_me: failed program was:" >&5
53535 sed 's/^/| /' conftest.$ac_ext >&5
53536
53537 eval "$as_ac_var=no"
53538 fi
53539 rm -f conftest.err conftest.$ac_objext \
53540 conftest$ac_exeext conftest.$ac_ext
53541 fi
53542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53544 if test `eval echo '${'$as_ac_var'}'` = yes; then
53545 cat >>confdefs.h <<_ACEOF
53546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53547 _ACEOF
53548
53549 fi
53550 done
53551
53552 else
53553
53554 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
53555 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
53556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
53558 echo $ECHO_N "(cached) $ECHO_C" >&6
53559 else
53560
53561
53562
53563 ac_ext=cc
53564 ac_cpp='$CXXCPP $CPPFLAGS'
53565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53568
53569 cat >conftest.$ac_ext <<_ACEOF
53570 /* confdefs.h. */
53571 _ACEOF
53572 cat confdefs.h >>conftest.$ac_ext
53573 cat >>conftest.$ac_ext <<_ACEOF
53574 /* end confdefs.h. */
53575 #include <math.h>
53576 int
53577 main ()
53578 {
53579 _sincos(0, 0, 0);
53580 ;
53581 return 0;
53582 }
53583 _ACEOF
53584 rm -f conftest.$ac_objext
53585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53586 (eval $ac_compile) 2>conftest.er1
53587 ac_status=$?
53588 grep -v '^ *+' conftest.er1 >conftest.err
53589 rm -f conftest.er1
53590 cat conftest.err >&5
53591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53592 (exit $ac_status); } &&
53593 { ac_try='test -z "$ac_cxx_werror_flag"
53594 || test ! -s conftest.err'
53595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53596 (eval $ac_try) 2>&5
53597 ac_status=$?
53598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53599 (exit $ac_status); }; } &&
53600 { ac_try='test -s conftest.$ac_objext'
53601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53602 (eval $ac_try) 2>&5
53603 ac_status=$?
53604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53605 (exit $ac_status); }; }; then
53606 glibcxx_cv_func__sincos_use=yes
53607 else
53608 echo "$as_me: failed program was:" >&5
53609 sed 's/^/| /' conftest.$ac_ext >&5
53610
53611 glibcxx_cv_func__sincos_use=no
53612 fi
53613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53614 ac_ext=c
53615 ac_cpp='$CPP $CPPFLAGS'
53616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53619
53620
53621 fi
53622
53623 fi
53624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
53625 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
53626
53627 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53628
53629 for ac_func in _sincos
53630 do
53631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53632 echo "$as_me:$LINENO: checking for $ac_func" >&5
53633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53634 if eval "test \"\${$as_ac_var+set}\" = set"; then
53635 echo $ECHO_N "(cached) $ECHO_C" >&6
53636 else
53637 if test x$gcc_no_link = xyes; then
53638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53640 { (exit 1); exit 1; }; }
53641 fi
53642 cat >conftest.$ac_ext <<_ACEOF
53643 /* confdefs.h. */
53644 _ACEOF
53645 cat confdefs.h >>conftest.$ac_ext
53646 cat >>conftest.$ac_ext <<_ACEOF
53647 /* end confdefs.h. */
53648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53650 #define $ac_func innocuous_$ac_func
53651
53652 /* System header to define __stub macros and hopefully few prototypes,
53653 which can conflict with char $ac_func (); below.
53654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53655 <limits.h> exists even on freestanding compilers. */
53656
53657 #ifdef __STDC__
53658 # include <limits.h>
53659 #else
53660 # include <assert.h>
53661 #endif
53662
53663 #undef $ac_func
53664
53665 /* Override any gcc2 internal prototype to avoid an error. */
53666 #ifdef __cplusplus
53667 extern "C"
53668 {
53669 #endif
53670 /* We use char because int might match the return type of a gcc2
53671 builtin and then its argument prototype would still apply. */
53672 char $ac_func ();
53673 /* The GNU C library defines this for functions which it implements
53674 to always fail with ENOSYS. Some functions are actually named
53675 something starting with __ and the normal name is an alias. */
53676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53677 choke me
53678 #else
53679 char (*f) () = $ac_func;
53680 #endif
53681 #ifdef __cplusplus
53682 }
53683 #endif
53684
53685 int
53686 main ()
53687 {
53688 return f != $ac_func;
53689 ;
53690 return 0;
53691 }
53692 _ACEOF
53693 rm -f conftest.$ac_objext conftest$ac_exeext
53694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53695 (eval $ac_link) 2>conftest.er1
53696 ac_status=$?
53697 grep -v '^ *+' conftest.er1 >conftest.err
53698 rm -f conftest.er1
53699 cat conftest.err >&5
53700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53701 (exit $ac_status); } &&
53702 { ac_try='test -z "$ac_c_werror_flag"
53703 || test ! -s conftest.err'
53704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53705 (eval $ac_try) 2>&5
53706 ac_status=$?
53707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53708 (exit $ac_status); }; } &&
53709 { ac_try='test -s conftest$ac_exeext'
53710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53711 (eval $ac_try) 2>&5
53712 ac_status=$?
53713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53714 (exit $ac_status); }; }; then
53715 eval "$as_ac_var=yes"
53716 else
53717 echo "$as_me: failed program was:" >&5
53718 sed 's/^/| /' conftest.$ac_ext >&5
53719
53720 eval "$as_ac_var=no"
53721 fi
53722 rm -f conftest.err conftest.$ac_objext \
53723 conftest$ac_exeext conftest.$ac_ext
53724 fi
53725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53727 if test `eval echo '${'$as_ac_var'}'` = yes; then
53728 cat >>confdefs.h <<_ACEOF
53729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53730 _ACEOF
53731
53732 fi
53733 done
53734
53735 fi
53736 fi
53737
53738
53739
53740 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
53741 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
53742 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53743 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
53744 echo $ECHO_N "(cached) $ECHO_C" >&6
53745 else
53746
53747
53748
53749 ac_ext=cc
53750 ac_cpp='$CXXCPP $CPPFLAGS'
53751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53754
53755 cat >conftest.$ac_ext <<_ACEOF
53756 /* confdefs.h. */
53757 _ACEOF
53758 cat confdefs.h >>conftest.$ac_ext
53759 cat >>conftest.$ac_ext <<_ACEOF
53760 /* end confdefs.h. */
53761 #include <math.h>
53762 #ifdef HAVE_IEEEFP_H
53763 #include <ieeefp.h>
53764 #endif
53765
53766 int
53767 main ()
53768 {
53769 fpclass(0);
53770 ;
53771 return 0;
53772 }
53773 _ACEOF
53774 rm -f conftest.$ac_objext
53775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53776 (eval $ac_compile) 2>conftest.er1
53777 ac_status=$?
53778 grep -v '^ *+' conftest.er1 >conftest.err
53779 rm -f conftest.er1
53780 cat conftest.err >&5
53781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782 (exit $ac_status); } &&
53783 { ac_try='test -z "$ac_cxx_werror_flag"
53784 || test ! -s conftest.err'
53785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53786 (eval $ac_try) 2>&5
53787 ac_status=$?
53788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53789 (exit $ac_status); }; } &&
53790 { ac_try='test -s conftest.$ac_objext'
53791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53792 (eval $ac_try) 2>&5
53793 ac_status=$?
53794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53795 (exit $ac_status); }; }; then
53796 glibcxx_cv_func_fpclass_use=yes
53797 else
53798 echo "$as_me: failed program was:" >&5
53799 sed 's/^/| /' conftest.$ac_ext >&5
53800
53801 glibcxx_cv_func_fpclass_use=no
53802 fi
53803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53804 ac_ext=c
53805 ac_cpp='$CPP $CPPFLAGS'
53806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53809
53810
53811 fi
53812
53813 fi
53814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
53815 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
53816
53817 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53818
53819 for ac_func in fpclass
53820 do
53821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53822 echo "$as_me:$LINENO: checking for $ac_func" >&5
53823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53824 if eval "test \"\${$as_ac_var+set}\" = set"; then
53825 echo $ECHO_N "(cached) $ECHO_C" >&6
53826 else
53827 if test x$gcc_no_link = xyes; then
53828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53830 { (exit 1); exit 1; }; }
53831 fi
53832 cat >conftest.$ac_ext <<_ACEOF
53833 /* confdefs.h. */
53834 _ACEOF
53835 cat confdefs.h >>conftest.$ac_ext
53836 cat >>conftest.$ac_ext <<_ACEOF
53837 /* end confdefs.h. */
53838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53840 #define $ac_func innocuous_$ac_func
53841
53842 /* System header to define __stub macros and hopefully few prototypes,
53843 which can conflict with char $ac_func (); below.
53844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53845 <limits.h> exists even on freestanding compilers. */
53846
53847 #ifdef __STDC__
53848 # include <limits.h>
53849 #else
53850 # include <assert.h>
53851 #endif
53852
53853 #undef $ac_func
53854
53855 /* Override any gcc2 internal prototype to avoid an error. */
53856 #ifdef __cplusplus
53857 extern "C"
53858 {
53859 #endif
53860 /* We use char because int might match the return type of a gcc2
53861 builtin and then its argument prototype would still apply. */
53862 char $ac_func ();
53863 /* The GNU C library defines this for functions which it implements
53864 to always fail with ENOSYS. Some functions are actually named
53865 something starting with __ and the normal name is an alias. */
53866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53867 choke me
53868 #else
53869 char (*f) () = $ac_func;
53870 #endif
53871 #ifdef __cplusplus
53872 }
53873 #endif
53874
53875 int
53876 main ()
53877 {
53878 return f != $ac_func;
53879 ;
53880 return 0;
53881 }
53882 _ACEOF
53883 rm -f conftest.$ac_objext conftest$ac_exeext
53884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53885 (eval $ac_link) 2>conftest.er1
53886 ac_status=$?
53887 grep -v '^ *+' conftest.er1 >conftest.err
53888 rm -f conftest.er1
53889 cat conftest.err >&5
53890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891 (exit $ac_status); } &&
53892 { ac_try='test -z "$ac_c_werror_flag"
53893 || test ! -s conftest.err'
53894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53895 (eval $ac_try) 2>&5
53896 ac_status=$?
53897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53898 (exit $ac_status); }; } &&
53899 { ac_try='test -s conftest$ac_exeext'
53900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53901 (eval $ac_try) 2>&5
53902 ac_status=$?
53903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53904 (exit $ac_status); }; }; then
53905 eval "$as_ac_var=yes"
53906 else
53907 echo "$as_me: failed program was:" >&5
53908 sed 's/^/| /' conftest.$ac_ext >&5
53909
53910 eval "$as_ac_var=no"
53911 fi
53912 rm -f conftest.err conftest.$ac_objext \
53913 conftest$ac_exeext conftest.$ac_ext
53914 fi
53915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53917 if test `eval echo '${'$as_ac_var'}'` = yes; then
53918 cat >>confdefs.h <<_ACEOF
53919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53920 _ACEOF
53921
53922 fi
53923 done
53924
53925 else
53926
53927 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
53928 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
53929 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53930 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
53931 echo $ECHO_N "(cached) $ECHO_C" >&6
53932 else
53933
53934
53935
53936 ac_ext=cc
53937 ac_cpp='$CXXCPP $CPPFLAGS'
53938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53941
53942 cat >conftest.$ac_ext <<_ACEOF
53943 /* confdefs.h. */
53944 _ACEOF
53945 cat confdefs.h >>conftest.$ac_ext
53946 cat >>conftest.$ac_ext <<_ACEOF
53947 /* end confdefs.h. */
53948 #include <math.h>
53949 #ifdef HAVE_IEEEFP_H
53950 #include <ieeefp.h>
53951 #endif
53952
53953 int
53954 main ()
53955 {
53956 _fpclass(0);
53957 ;
53958 return 0;
53959 }
53960 _ACEOF
53961 rm -f conftest.$ac_objext
53962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53963 (eval $ac_compile) 2>conftest.er1
53964 ac_status=$?
53965 grep -v '^ *+' conftest.er1 >conftest.err
53966 rm -f conftest.er1
53967 cat conftest.err >&5
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); } &&
53970 { ac_try='test -z "$ac_cxx_werror_flag"
53971 || test ! -s conftest.err'
53972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53973 (eval $ac_try) 2>&5
53974 ac_status=$?
53975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53976 (exit $ac_status); }; } &&
53977 { ac_try='test -s conftest.$ac_objext'
53978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53979 (eval $ac_try) 2>&5
53980 ac_status=$?
53981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53982 (exit $ac_status); }; }; then
53983 glibcxx_cv_func__fpclass_use=yes
53984 else
53985 echo "$as_me: failed program was:" >&5
53986 sed 's/^/| /' conftest.$ac_ext >&5
53987
53988 glibcxx_cv_func__fpclass_use=no
53989 fi
53990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53991 ac_ext=c
53992 ac_cpp='$CPP $CPPFLAGS'
53993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53996
53997
53998 fi
53999
54000 fi
54001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
54002 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
54003
54004 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54005
54006 for ac_func in _fpclass
54007 do
54008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54009 echo "$as_me:$LINENO: checking for $ac_func" >&5
54010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54011 if eval "test \"\${$as_ac_var+set}\" = set"; then
54012 echo $ECHO_N "(cached) $ECHO_C" >&6
54013 else
54014 if test x$gcc_no_link = xyes; then
54015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54017 { (exit 1); exit 1; }; }
54018 fi
54019 cat >conftest.$ac_ext <<_ACEOF
54020 /* confdefs.h. */
54021 _ACEOF
54022 cat confdefs.h >>conftest.$ac_ext
54023 cat >>conftest.$ac_ext <<_ACEOF
54024 /* end confdefs.h. */
54025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54027 #define $ac_func innocuous_$ac_func
54028
54029 /* System header to define __stub macros and hopefully few prototypes,
54030 which can conflict with char $ac_func (); below.
54031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54032 <limits.h> exists even on freestanding compilers. */
54033
54034 #ifdef __STDC__
54035 # include <limits.h>
54036 #else
54037 # include <assert.h>
54038 #endif
54039
54040 #undef $ac_func
54041
54042 /* Override any gcc2 internal prototype to avoid an error. */
54043 #ifdef __cplusplus
54044 extern "C"
54045 {
54046 #endif
54047 /* We use char because int might match the return type of a gcc2
54048 builtin and then its argument prototype would still apply. */
54049 char $ac_func ();
54050 /* The GNU C library defines this for functions which it implements
54051 to always fail with ENOSYS. Some functions are actually named
54052 something starting with __ and the normal name is an alias. */
54053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54054 choke me
54055 #else
54056 char (*f) () = $ac_func;
54057 #endif
54058 #ifdef __cplusplus
54059 }
54060 #endif
54061
54062 int
54063 main ()
54064 {
54065 return f != $ac_func;
54066 ;
54067 return 0;
54068 }
54069 _ACEOF
54070 rm -f conftest.$ac_objext conftest$ac_exeext
54071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54072 (eval $ac_link) 2>conftest.er1
54073 ac_status=$?
54074 grep -v '^ *+' conftest.er1 >conftest.err
54075 rm -f conftest.er1
54076 cat conftest.err >&5
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); } &&
54079 { ac_try='test -z "$ac_c_werror_flag"
54080 || test ! -s conftest.err'
54081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54082 (eval $ac_try) 2>&5
54083 ac_status=$?
54084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54085 (exit $ac_status); }; } &&
54086 { ac_try='test -s conftest$ac_exeext'
54087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54088 (eval $ac_try) 2>&5
54089 ac_status=$?
54090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54091 (exit $ac_status); }; }; then
54092 eval "$as_ac_var=yes"
54093 else
54094 echo "$as_me: failed program was:" >&5
54095 sed 's/^/| /' conftest.$ac_ext >&5
54096
54097 eval "$as_ac_var=no"
54098 fi
54099 rm -f conftest.err conftest.$ac_objext \
54100 conftest$ac_exeext conftest.$ac_ext
54101 fi
54102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54104 if test `eval echo '${'$as_ac_var'}'` = yes; then
54105 cat >>confdefs.h <<_ACEOF
54106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54107 _ACEOF
54108
54109 fi
54110 done
54111
54112 fi
54113 fi
54114
54115
54116
54117 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
54118 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
54119 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54120 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
54121 echo $ECHO_N "(cached) $ECHO_C" >&6
54122 else
54123
54124
54125
54126 ac_ext=cc
54127 ac_cpp='$CXXCPP $CPPFLAGS'
54128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54131
54132 cat >conftest.$ac_ext <<_ACEOF
54133 /* confdefs.h. */
54134 _ACEOF
54135 cat confdefs.h >>conftest.$ac_ext
54136 cat >>conftest.$ac_ext <<_ACEOF
54137 /* end confdefs.h. */
54138 #include <math.h>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54142
54143 int
54144 main ()
54145 {
54146 qfpclass(0);
54147 ;
54148 return 0;
54149 }
54150 _ACEOF
54151 rm -f conftest.$ac_objext
54152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54153 (eval $ac_compile) 2>conftest.er1
54154 ac_status=$?
54155 grep -v '^ *+' conftest.er1 >conftest.err
54156 rm -f conftest.er1
54157 cat conftest.err >&5
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); } &&
54160 { ac_try='test -z "$ac_cxx_werror_flag"
54161 || test ! -s conftest.err'
54162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54163 (eval $ac_try) 2>&5
54164 ac_status=$?
54165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54166 (exit $ac_status); }; } &&
54167 { ac_try='test -s conftest.$ac_objext'
54168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54169 (eval $ac_try) 2>&5
54170 ac_status=$?
54171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172 (exit $ac_status); }; }; then
54173 glibcxx_cv_func_qfpclass_use=yes
54174 else
54175 echo "$as_me: failed program was:" >&5
54176 sed 's/^/| /' conftest.$ac_ext >&5
54177
54178 glibcxx_cv_func_qfpclass_use=no
54179 fi
54180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54186
54187
54188 fi
54189
54190 fi
54191 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
54192 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
54193
54194 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54195
54196 for ac_func in qfpclass
54197 do
54198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54199 echo "$as_me:$LINENO: checking for $ac_func" >&5
54200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54201 if eval "test \"\${$as_ac_var+set}\" = set"; then
54202 echo $ECHO_N "(cached) $ECHO_C" >&6
54203 else
54204 if test x$gcc_no_link = xyes; then
54205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54207 { (exit 1); exit 1; }; }
54208 fi
54209 cat >conftest.$ac_ext <<_ACEOF
54210 /* confdefs.h. */
54211 _ACEOF
54212 cat confdefs.h >>conftest.$ac_ext
54213 cat >>conftest.$ac_ext <<_ACEOF
54214 /* end confdefs.h. */
54215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54217 #define $ac_func innocuous_$ac_func
54218
54219 /* System header to define __stub macros and hopefully few prototypes,
54220 which can conflict with char $ac_func (); below.
54221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54222 <limits.h> exists even on freestanding compilers. */
54223
54224 #ifdef __STDC__
54225 # include <limits.h>
54226 #else
54227 # include <assert.h>
54228 #endif
54229
54230 #undef $ac_func
54231
54232 /* Override any gcc2 internal prototype to avoid an error. */
54233 #ifdef __cplusplus
54234 extern "C"
54235 {
54236 #endif
54237 /* We use char because int might match the return type of a gcc2
54238 builtin and then its argument prototype would still apply. */
54239 char $ac_func ();
54240 /* The GNU C library defines this for functions which it implements
54241 to always fail with ENOSYS. Some functions are actually named
54242 something starting with __ and the normal name is an alias. */
54243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54244 choke me
54245 #else
54246 char (*f) () = $ac_func;
54247 #endif
54248 #ifdef __cplusplus
54249 }
54250 #endif
54251
54252 int
54253 main ()
54254 {
54255 return f != $ac_func;
54256 ;
54257 return 0;
54258 }
54259 _ACEOF
54260 rm -f conftest.$ac_objext conftest$ac_exeext
54261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54262 (eval $ac_link) 2>conftest.er1
54263 ac_status=$?
54264 grep -v '^ *+' conftest.er1 >conftest.err
54265 rm -f conftest.er1
54266 cat conftest.err >&5
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); } &&
54269 { ac_try='test -z "$ac_c_werror_flag"
54270 || test ! -s conftest.err'
54271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54272 (eval $ac_try) 2>&5
54273 ac_status=$?
54274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54275 (exit $ac_status); }; } &&
54276 { ac_try='test -s conftest$ac_exeext'
54277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54278 (eval $ac_try) 2>&5
54279 ac_status=$?
54280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54281 (exit $ac_status); }; }; then
54282 eval "$as_ac_var=yes"
54283 else
54284 echo "$as_me: failed program was:" >&5
54285 sed 's/^/| /' conftest.$ac_ext >&5
54286
54287 eval "$as_ac_var=no"
54288 fi
54289 rm -f conftest.err conftest.$ac_objext \
54290 conftest$ac_exeext conftest.$ac_ext
54291 fi
54292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54294 if test `eval echo '${'$as_ac_var'}'` = yes; then
54295 cat >>confdefs.h <<_ACEOF
54296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54297 _ACEOF
54298
54299 fi
54300 done
54301
54302 else
54303
54304 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
54305 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
54306 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54307 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
54308 echo $ECHO_N "(cached) $ECHO_C" >&6
54309 else
54310
54311
54312
54313 ac_ext=cc
54314 ac_cpp='$CXXCPP $CPPFLAGS'
54315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54318
54319 cat >conftest.$ac_ext <<_ACEOF
54320 /* confdefs.h. */
54321 _ACEOF
54322 cat confdefs.h >>conftest.$ac_ext
54323 cat >>conftest.$ac_ext <<_ACEOF
54324 /* end confdefs.h. */
54325 #include <math.h>
54326 #ifdef HAVE_IEEEFP_H
54327 #include <ieeefp.h>
54328 #endif
54329
54330 int
54331 main ()
54332 {
54333 _qfpclass(0);
54334 ;
54335 return 0;
54336 }
54337 _ACEOF
54338 rm -f conftest.$ac_objext
54339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54340 (eval $ac_compile) 2>conftest.er1
54341 ac_status=$?
54342 grep -v '^ *+' conftest.er1 >conftest.err
54343 rm -f conftest.er1
54344 cat conftest.err >&5
54345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54346 (exit $ac_status); } &&
54347 { ac_try='test -z "$ac_cxx_werror_flag"
54348 || test ! -s conftest.err'
54349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54350 (eval $ac_try) 2>&5
54351 ac_status=$?
54352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54353 (exit $ac_status); }; } &&
54354 { ac_try='test -s conftest.$ac_objext'
54355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54356 (eval $ac_try) 2>&5
54357 ac_status=$?
54358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54359 (exit $ac_status); }; }; then
54360 glibcxx_cv_func__qfpclass_use=yes
54361 else
54362 echo "$as_me: failed program was:" >&5
54363 sed 's/^/| /' conftest.$ac_ext >&5
54364
54365 glibcxx_cv_func__qfpclass_use=no
54366 fi
54367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54368 ac_ext=c
54369 ac_cpp='$CPP $CPPFLAGS'
54370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54373
54374
54375 fi
54376
54377 fi
54378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
54379 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
54380
54381 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54382
54383 for ac_func in _qfpclass
54384 do
54385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54386 echo "$as_me:$LINENO: checking for $ac_func" >&5
54387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54388 if eval "test \"\${$as_ac_var+set}\" = set"; then
54389 echo $ECHO_N "(cached) $ECHO_C" >&6
54390 else
54391 if test x$gcc_no_link = xyes; then
54392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54394 { (exit 1); exit 1; }; }
54395 fi
54396 cat >conftest.$ac_ext <<_ACEOF
54397 /* confdefs.h. */
54398 _ACEOF
54399 cat confdefs.h >>conftest.$ac_ext
54400 cat >>conftest.$ac_ext <<_ACEOF
54401 /* end confdefs.h. */
54402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54404 #define $ac_func innocuous_$ac_func
54405
54406 /* System header to define __stub macros and hopefully few prototypes,
54407 which can conflict with char $ac_func (); below.
54408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54409 <limits.h> exists even on freestanding compilers. */
54410
54411 #ifdef __STDC__
54412 # include <limits.h>
54413 #else
54414 # include <assert.h>
54415 #endif
54416
54417 #undef $ac_func
54418
54419 /* Override any gcc2 internal prototype to avoid an error. */
54420 #ifdef __cplusplus
54421 extern "C"
54422 {
54423 #endif
54424 /* We use char because int might match the return type of a gcc2
54425 builtin and then its argument prototype would still apply. */
54426 char $ac_func ();
54427 /* The GNU C library defines this for functions which it implements
54428 to always fail with ENOSYS. Some functions are actually named
54429 something starting with __ and the normal name is an alias. */
54430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54431 choke me
54432 #else
54433 char (*f) () = $ac_func;
54434 #endif
54435 #ifdef __cplusplus
54436 }
54437 #endif
54438
54439 int
54440 main ()
54441 {
54442 return f != $ac_func;
54443 ;
54444 return 0;
54445 }
54446 _ACEOF
54447 rm -f conftest.$ac_objext conftest$ac_exeext
54448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54449 (eval $ac_link) 2>conftest.er1
54450 ac_status=$?
54451 grep -v '^ *+' conftest.er1 >conftest.err
54452 rm -f conftest.er1
54453 cat conftest.err >&5
54454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54455 (exit $ac_status); } &&
54456 { ac_try='test -z "$ac_c_werror_flag"
54457 || test ! -s conftest.err'
54458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54459 (eval $ac_try) 2>&5
54460 ac_status=$?
54461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54462 (exit $ac_status); }; } &&
54463 { ac_try='test -s conftest$ac_exeext'
54464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54465 (eval $ac_try) 2>&5
54466 ac_status=$?
54467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54468 (exit $ac_status); }; }; then
54469 eval "$as_ac_var=yes"
54470 else
54471 echo "$as_me: failed program was:" >&5
54472 sed 's/^/| /' conftest.$ac_ext >&5
54473
54474 eval "$as_ac_var=no"
54475 fi
54476 rm -f conftest.err conftest.$ac_objext \
54477 conftest$ac_exeext conftest.$ac_ext
54478 fi
54479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54481 if test `eval echo '${'$as_ac_var'}'` = yes; then
54482 cat >>confdefs.h <<_ACEOF
54483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54484 _ACEOF
54485
54486 fi
54487 done
54488
54489 fi
54490 fi
54491
54492
54493
54494 echo "$as_me:$LINENO: checking for hypot declaration" >&5
54495 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
54496 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54497 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
54498 echo $ECHO_N "(cached) $ECHO_C" >&6
54499 else
54500
54501
54502
54503 ac_ext=cc
54504 ac_cpp='$CXXCPP $CPPFLAGS'
54505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54508
54509 cat >conftest.$ac_ext <<_ACEOF
54510 /* confdefs.h. */
54511 _ACEOF
54512 cat confdefs.h >>conftest.$ac_ext
54513 cat >>conftest.$ac_ext <<_ACEOF
54514 /* end confdefs.h. */
54515 #include <math.h>
54516 int
54517 main ()
54518 {
54519 hypot(0, 0);
54520 ;
54521 return 0;
54522 }
54523 _ACEOF
54524 rm -f conftest.$ac_objext
54525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54526 (eval $ac_compile) 2>conftest.er1
54527 ac_status=$?
54528 grep -v '^ *+' conftest.er1 >conftest.err
54529 rm -f conftest.er1
54530 cat conftest.err >&5
54531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54532 (exit $ac_status); } &&
54533 { ac_try='test -z "$ac_cxx_werror_flag"
54534 || test ! -s conftest.err'
54535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54536 (eval $ac_try) 2>&5
54537 ac_status=$?
54538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54539 (exit $ac_status); }; } &&
54540 { ac_try='test -s conftest.$ac_objext'
54541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54542 (eval $ac_try) 2>&5
54543 ac_status=$?
54544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54545 (exit $ac_status); }; }; then
54546 glibcxx_cv_func_hypot_use=yes
54547 else
54548 echo "$as_me: failed program was:" >&5
54549 sed 's/^/| /' conftest.$ac_ext >&5
54550
54551 glibcxx_cv_func_hypot_use=no
54552 fi
54553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54554 ac_ext=c
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54559
54560
54561 fi
54562
54563 fi
54564 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
54565 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
54566
54567 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54568
54569 for ac_func in hypot
54570 do
54571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54572 echo "$as_me:$LINENO: checking for $ac_func" >&5
54573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54574 if eval "test \"\${$as_ac_var+set}\" = set"; then
54575 echo $ECHO_N "(cached) $ECHO_C" >&6
54576 else
54577 if test x$gcc_no_link = xyes; then
54578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54580 { (exit 1); exit 1; }; }
54581 fi
54582 cat >conftest.$ac_ext <<_ACEOF
54583 /* confdefs.h. */
54584 _ACEOF
54585 cat confdefs.h >>conftest.$ac_ext
54586 cat >>conftest.$ac_ext <<_ACEOF
54587 /* end confdefs.h. */
54588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54590 #define $ac_func innocuous_$ac_func
54591
54592 /* System header to define __stub macros and hopefully few prototypes,
54593 which can conflict with char $ac_func (); below.
54594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54595 <limits.h> exists even on freestanding compilers. */
54596
54597 #ifdef __STDC__
54598 # include <limits.h>
54599 #else
54600 # include <assert.h>
54601 #endif
54602
54603 #undef $ac_func
54604
54605 /* Override any gcc2 internal prototype to avoid an error. */
54606 #ifdef __cplusplus
54607 extern "C"
54608 {
54609 #endif
54610 /* We use char because int might match the return type of a gcc2
54611 builtin and then its argument prototype would still apply. */
54612 char $ac_func ();
54613 /* The GNU C library defines this for functions which it implements
54614 to always fail with ENOSYS. Some functions are actually named
54615 something starting with __ and the normal name is an alias. */
54616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54617 choke me
54618 #else
54619 char (*f) () = $ac_func;
54620 #endif
54621 #ifdef __cplusplus
54622 }
54623 #endif
54624
54625 int
54626 main ()
54627 {
54628 return f != $ac_func;
54629 ;
54630 return 0;
54631 }
54632 _ACEOF
54633 rm -f conftest.$ac_objext conftest$ac_exeext
54634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54635 (eval $ac_link) 2>conftest.er1
54636 ac_status=$?
54637 grep -v '^ *+' conftest.er1 >conftest.err
54638 rm -f conftest.er1
54639 cat conftest.err >&5
54640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54641 (exit $ac_status); } &&
54642 { ac_try='test -z "$ac_c_werror_flag"
54643 || test ! -s conftest.err'
54644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54645 (eval $ac_try) 2>&5
54646 ac_status=$?
54647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54648 (exit $ac_status); }; } &&
54649 { ac_try='test -s conftest$ac_exeext'
54650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54651 (eval $ac_try) 2>&5
54652 ac_status=$?
54653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54654 (exit $ac_status); }; }; then
54655 eval "$as_ac_var=yes"
54656 else
54657 echo "$as_me: failed program was:" >&5
54658 sed 's/^/| /' conftest.$ac_ext >&5
54659
54660 eval "$as_ac_var=no"
54661 fi
54662 rm -f conftest.err conftest.$ac_objext \
54663 conftest$ac_exeext conftest.$ac_ext
54664 fi
54665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54667 if test `eval echo '${'$as_ac_var'}'` = yes; then
54668 cat >>confdefs.h <<_ACEOF
54669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54670 _ACEOF
54671
54672 fi
54673 done
54674
54675 else
54676
54677 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
54678 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
54679 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54680 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
54681 echo $ECHO_N "(cached) $ECHO_C" >&6
54682 else
54683
54684
54685
54686 ac_ext=cc
54687 ac_cpp='$CXXCPP $CPPFLAGS'
54688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54691
54692 cat >conftest.$ac_ext <<_ACEOF
54693 /* confdefs.h. */
54694 _ACEOF
54695 cat confdefs.h >>conftest.$ac_ext
54696 cat >>conftest.$ac_ext <<_ACEOF
54697 /* end confdefs.h. */
54698 #include <math.h>
54699 int
54700 main ()
54701 {
54702 _hypot(0, 0);
54703 ;
54704 return 0;
54705 }
54706 _ACEOF
54707 rm -f conftest.$ac_objext
54708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54709 (eval $ac_compile) 2>conftest.er1
54710 ac_status=$?
54711 grep -v '^ *+' conftest.er1 >conftest.err
54712 rm -f conftest.er1
54713 cat conftest.err >&5
54714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715 (exit $ac_status); } &&
54716 { ac_try='test -z "$ac_cxx_werror_flag"
54717 || test ! -s conftest.err'
54718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54719 (eval $ac_try) 2>&5
54720 ac_status=$?
54721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54722 (exit $ac_status); }; } &&
54723 { ac_try='test -s conftest.$ac_objext'
54724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54725 (eval $ac_try) 2>&5
54726 ac_status=$?
54727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54728 (exit $ac_status); }; }; then
54729 glibcxx_cv_func__hypot_use=yes
54730 else
54731 echo "$as_me: failed program was:" >&5
54732 sed 's/^/| /' conftest.$ac_ext >&5
54733
54734 glibcxx_cv_func__hypot_use=no
54735 fi
54736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54737 ac_ext=c
54738 ac_cpp='$CPP $CPPFLAGS'
54739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54742
54743
54744 fi
54745
54746 fi
54747 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
54748 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
54749
54750 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54751
54752 for ac_func in _hypot
54753 do
54754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54755 echo "$as_me:$LINENO: checking for $ac_func" >&5
54756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54757 if eval "test \"\${$as_ac_var+set}\" = set"; then
54758 echo $ECHO_N "(cached) $ECHO_C" >&6
54759 else
54760 if test x$gcc_no_link = xyes; then
54761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54763 { (exit 1); exit 1; }; }
54764 fi
54765 cat >conftest.$ac_ext <<_ACEOF
54766 /* confdefs.h. */
54767 _ACEOF
54768 cat confdefs.h >>conftest.$ac_ext
54769 cat >>conftest.$ac_ext <<_ACEOF
54770 /* end confdefs.h. */
54771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54773 #define $ac_func innocuous_$ac_func
54774
54775 /* System header to define __stub macros and hopefully few prototypes,
54776 which can conflict with char $ac_func (); below.
54777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54778 <limits.h> exists even on freestanding compilers. */
54779
54780 #ifdef __STDC__
54781 # include <limits.h>
54782 #else
54783 # include <assert.h>
54784 #endif
54785
54786 #undef $ac_func
54787
54788 /* Override any gcc2 internal prototype to avoid an error. */
54789 #ifdef __cplusplus
54790 extern "C"
54791 {
54792 #endif
54793 /* We use char because int might match the return type of a gcc2
54794 builtin and then its argument prototype would still apply. */
54795 char $ac_func ();
54796 /* The GNU C library defines this for functions which it implements
54797 to always fail with ENOSYS. Some functions are actually named
54798 something starting with __ and the normal name is an alias. */
54799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54800 choke me
54801 #else
54802 char (*f) () = $ac_func;
54803 #endif
54804 #ifdef __cplusplus
54805 }
54806 #endif
54807
54808 int
54809 main ()
54810 {
54811 return f != $ac_func;
54812 ;
54813 return 0;
54814 }
54815 _ACEOF
54816 rm -f conftest.$ac_objext conftest$ac_exeext
54817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54818 (eval $ac_link) 2>conftest.er1
54819 ac_status=$?
54820 grep -v '^ *+' conftest.er1 >conftest.err
54821 rm -f conftest.er1
54822 cat conftest.err >&5
54823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54824 (exit $ac_status); } &&
54825 { ac_try='test -z "$ac_c_werror_flag"
54826 || test ! -s conftest.err'
54827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54828 (eval $ac_try) 2>&5
54829 ac_status=$?
54830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54831 (exit $ac_status); }; } &&
54832 { ac_try='test -s conftest$ac_exeext'
54833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54834 (eval $ac_try) 2>&5
54835 ac_status=$?
54836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54837 (exit $ac_status); }; }; then
54838 eval "$as_ac_var=yes"
54839 else
54840 echo "$as_me: failed program was:" >&5
54841 sed 's/^/| /' conftest.$ac_ext >&5
54842
54843 eval "$as_ac_var=no"
54844 fi
54845 rm -f conftest.err conftest.$ac_objext \
54846 conftest$ac_exeext conftest.$ac_ext
54847 fi
54848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54850 if test `eval echo '${'$as_ac_var'}'` = yes; then
54851 cat >>confdefs.h <<_ACEOF
54852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54853 _ACEOF
54854
54855 fi
54856 done
54857
54858 fi
54859 fi
54860
54861
54862
54863 echo "$as_me:$LINENO: checking for float trig functions" >&5
54864 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
54865 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
54866 echo $ECHO_N "(cached) $ECHO_C" >&6
54867 else
54868
54869
54870
54871 ac_ext=cc
54872 ac_cpp='$CXXCPP $CPPFLAGS'
54873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54876
54877 cat >conftest.$ac_ext <<_ACEOF
54878 /* confdefs.h. */
54879 _ACEOF
54880 cat confdefs.h >>conftest.$ac_ext
54881 cat >>conftest.$ac_ext <<_ACEOF
54882 /* end confdefs.h. */
54883 #include <math.h>
54884 int
54885 main ()
54886 {
54887 `for x in acosf asinf atanf \
54888 cosf sinf tanf \
54889 coshf sinhf tanhf; do echo "$x (0);"; done`
54890 ;
54891 return 0;
54892 }
54893 _ACEOF
54894 rm -f conftest.$ac_objext
54895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54896 (eval $ac_compile) 2>conftest.er1
54897 ac_status=$?
54898 grep -v '^ *+' conftest.er1 >conftest.err
54899 rm -f conftest.er1
54900 cat conftest.err >&5
54901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54902 (exit $ac_status); } &&
54903 { ac_try='test -z "$ac_cxx_werror_flag"
54904 || test ! -s conftest.err'
54905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54906 (eval $ac_try) 2>&5
54907 ac_status=$?
54908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54909 (exit $ac_status); }; } &&
54910 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
54916 glibcxx_cv_func_float_trig_use=yes
54917 else
54918 echo "$as_me: failed program was:" >&5
54919 sed 's/^/| /' conftest.$ac_ext >&5
54920
54921 glibcxx_cv_func_float_trig_use=no
54922 fi
54923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54924 ac_ext=c
54925 ac_cpp='$CPP $CPPFLAGS'
54926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54929
54930 fi
54931
54932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
54933 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
54934 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54935
54936
54937
54938
54939
54940
54941
54942
54943
54944 for ac_func in acosf asinf atanf \
54945 cosf sinf tanf \
54946 coshf sinhf tanhf
54947 do
54948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54949 echo "$as_me:$LINENO: checking for $ac_func" >&5
54950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54951 if eval "test \"\${$as_ac_var+set}\" = set"; then
54952 echo $ECHO_N "(cached) $ECHO_C" >&6
54953 else
54954 if test x$gcc_no_link = xyes; then
54955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54957 { (exit 1); exit 1; }; }
54958 fi
54959 cat >conftest.$ac_ext <<_ACEOF
54960 /* confdefs.h. */
54961 _ACEOF
54962 cat confdefs.h >>conftest.$ac_ext
54963 cat >>conftest.$ac_ext <<_ACEOF
54964 /* end confdefs.h. */
54965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54967 #define $ac_func innocuous_$ac_func
54968
54969 /* System header to define __stub macros and hopefully few prototypes,
54970 which can conflict with char $ac_func (); below.
54971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54972 <limits.h> exists even on freestanding compilers. */
54973
54974 #ifdef __STDC__
54975 # include <limits.h>
54976 #else
54977 # include <assert.h>
54978 #endif
54979
54980 #undef $ac_func
54981
54982 /* Override any gcc2 internal prototype to avoid an error. */
54983 #ifdef __cplusplus
54984 extern "C"
54985 {
54986 #endif
54987 /* We use char because int might match the return type of a gcc2
54988 builtin and then its argument prototype would still apply. */
54989 char $ac_func ();
54990 /* The GNU C library defines this for functions which it implements
54991 to always fail with ENOSYS. Some functions are actually named
54992 something starting with __ and the normal name is an alias. */
54993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54994 choke me
54995 #else
54996 char (*f) () = $ac_func;
54997 #endif
54998 #ifdef __cplusplus
54999 }
55000 #endif
55001
55002 int
55003 main ()
55004 {
55005 return f != $ac_func;
55006 ;
55007 return 0;
55008 }
55009 _ACEOF
55010 rm -f conftest.$ac_objext conftest$ac_exeext
55011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55012 (eval $ac_link) 2>conftest.er1
55013 ac_status=$?
55014 grep -v '^ *+' conftest.er1 >conftest.err
55015 rm -f conftest.er1
55016 cat conftest.err >&5
55017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55018 (exit $ac_status); } &&
55019 { ac_try='test -z "$ac_c_werror_flag"
55020 || test ! -s conftest.err'
55021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022 (eval $ac_try) 2>&5
55023 ac_status=$?
55024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025 (exit $ac_status); }; } &&
55026 { ac_try='test -s conftest$ac_exeext'
55027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55028 (eval $ac_try) 2>&5
55029 ac_status=$?
55030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031 (exit $ac_status); }; }; then
55032 eval "$as_ac_var=yes"
55033 else
55034 echo "$as_me: failed program was:" >&5
55035 sed 's/^/| /' conftest.$ac_ext >&5
55036
55037 eval "$as_ac_var=no"
55038 fi
55039 rm -f conftest.err conftest.$ac_objext \
55040 conftest$ac_exeext conftest.$ac_ext
55041 fi
55042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55044 if test `eval echo '${'$as_ac_var'}'` = yes; then
55045 cat >>confdefs.h <<_ACEOF
55046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55047 _ACEOF
55048
55049 fi
55050 done
55051
55052 fi
55053
55054
55055 echo "$as_me:$LINENO: checking for float round functions" >&5
55056 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
55057 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
55058 echo $ECHO_N "(cached) $ECHO_C" >&6
55059 else
55060
55061
55062
55063 ac_ext=cc
55064 ac_cpp='$CXXCPP $CPPFLAGS'
55065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55068
55069 cat >conftest.$ac_ext <<_ACEOF
55070 /* confdefs.h. */
55071 _ACEOF
55072 cat confdefs.h >>conftest.$ac_ext
55073 cat >>conftest.$ac_ext <<_ACEOF
55074 /* end confdefs.h. */
55075 #include <math.h>
55076 int
55077 main ()
55078 {
55079 `for x in ceilf floorf; do echo "$x (0);"; done`
55080 ;
55081 return 0;
55082 }
55083 _ACEOF
55084 rm -f conftest.$ac_objext
55085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55086 (eval $ac_compile) 2>conftest.er1
55087 ac_status=$?
55088 grep -v '^ *+' conftest.er1 >conftest.err
55089 rm -f conftest.er1
55090 cat conftest.err >&5
55091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092 (exit $ac_status); } &&
55093 { ac_try='test -z "$ac_cxx_werror_flag"
55094 || test ! -s conftest.err'
55095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55096 (eval $ac_try) 2>&5
55097 ac_status=$?
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); }; } &&
55100 { ac_try='test -s conftest.$ac_objext'
55101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55102 (eval $ac_try) 2>&5
55103 ac_status=$?
55104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55105 (exit $ac_status); }; }; then
55106 glibcxx_cv_func_float_round_use=yes
55107 else
55108 echo "$as_me: failed program was:" >&5
55109 sed 's/^/| /' conftest.$ac_ext >&5
55110
55111 glibcxx_cv_func_float_round_use=no
55112 fi
55113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119
55120 fi
55121
55122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
55123 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
55124 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55125
55126
55127 for ac_func in ceilf floorf
55128 do
55129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55130 echo "$as_me:$LINENO: checking for $ac_func" >&5
55131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55132 if eval "test \"\${$as_ac_var+set}\" = set"; then
55133 echo $ECHO_N "(cached) $ECHO_C" >&6
55134 else
55135 if test x$gcc_no_link = xyes; then
55136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55138 { (exit 1); exit 1; }; }
55139 fi
55140 cat >conftest.$ac_ext <<_ACEOF
55141 /* confdefs.h. */
55142 _ACEOF
55143 cat confdefs.h >>conftest.$ac_ext
55144 cat >>conftest.$ac_ext <<_ACEOF
55145 /* end confdefs.h. */
55146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55148 #define $ac_func innocuous_$ac_func
55149
55150 /* System header to define __stub macros and hopefully few prototypes,
55151 which can conflict with char $ac_func (); below.
55152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55153 <limits.h> exists even on freestanding compilers. */
55154
55155 #ifdef __STDC__
55156 # include <limits.h>
55157 #else
55158 # include <assert.h>
55159 #endif
55160
55161 #undef $ac_func
55162
55163 /* Override any gcc2 internal prototype to avoid an error. */
55164 #ifdef __cplusplus
55165 extern "C"
55166 {
55167 #endif
55168 /* We use char because int might match the return type of a gcc2
55169 builtin and then its argument prototype would still apply. */
55170 char $ac_func ();
55171 /* The GNU C library defines this for functions which it implements
55172 to always fail with ENOSYS. Some functions are actually named
55173 something starting with __ and the normal name is an alias. */
55174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55175 choke me
55176 #else
55177 char (*f) () = $ac_func;
55178 #endif
55179 #ifdef __cplusplus
55180 }
55181 #endif
55182
55183 int
55184 main ()
55185 {
55186 return f != $ac_func;
55187 ;
55188 return 0;
55189 }
55190 _ACEOF
55191 rm -f conftest.$ac_objext conftest$ac_exeext
55192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55193 (eval $ac_link) 2>conftest.er1
55194 ac_status=$?
55195 grep -v '^ *+' conftest.er1 >conftest.err
55196 rm -f conftest.er1
55197 cat conftest.err >&5
55198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55199 (exit $ac_status); } &&
55200 { ac_try='test -z "$ac_c_werror_flag"
55201 || test ! -s conftest.err'
55202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55203 (eval $ac_try) 2>&5
55204 ac_status=$?
55205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55206 (exit $ac_status); }; } &&
55207 { ac_try='test -s conftest$ac_exeext'
55208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55209 (eval $ac_try) 2>&5
55210 ac_status=$?
55211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55212 (exit $ac_status); }; }; then
55213 eval "$as_ac_var=yes"
55214 else
55215 echo "$as_me: failed program was:" >&5
55216 sed 's/^/| /' conftest.$ac_ext >&5
55217
55218 eval "$as_ac_var=no"
55219 fi
55220 rm -f conftest.err conftest.$ac_objext \
55221 conftest$ac_exeext conftest.$ac_ext
55222 fi
55223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55225 if test `eval echo '${'$as_ac_var'}'` = yes; then
55226 cat >>confdefs.h <<_ACEOF
55227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55228 _ACEOF
55229
55230 fi
55231 done
55232
55233 fi
55234
55235
55236
55237 echo "$as_me:$LINENO: checking for expf declaration" >&5
55238 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
55239 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55240 if test "${glibcxx_cv_func_expf_use+set}" = set; then
55241 echo $ECHO_N "(cached) $ECHO_C" >&6
55242 else
55243
55244
55245
55246 ac_ext=cc
55247 ac_cpp='$CXXCPP $CPPFLAGS'
55248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55251
55252 cat >conftest.$ac_ext <<_ACEOF
55253 /* confdefs.h. */
55254 _ACEOF
55255 cat confdefs.h >>conftest.$ac_ext
55256 cat >>conftest.$ac_ext <<_ACEOF
55257 /* end confdefs.h. */
55258 #include <math.h>
55259 #ifdef HAVE_IEEEFP_H
55260 #include <ieeefp.h>
55261 #endif
55262
55263 int
55264 main ()
55265 {
55266 expf(0);
55267 ;
55268 return 0;
55269 }
55270 _ACEOF
55271 rm -f conftest.$ac_objext
55272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55273 (eval $ac_compile) 2>conftest.er1
55274 ac_status=$?
55275 grep -v '^ *+' conftest.er1 >conftest.err
55276 rm -f conftest.er1
55277 cat conftest.err >&5
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); } &&
55280 { ac_try='test -z "$ac_cxx_werror_flag"
55281 || test ! -s conftest.err'
55282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55283 (eval $ac_try) 2>&5
55284 ac_status=$?
55285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55286 (exit $ac_status); }; } &&
55287 { ac_try='test -s conftest.$ac_objext'
55288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55289 (eval $ac_try) 2>&5
55290 ac_status=$?
55291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55292 (exit $ac_status); }; }; then
55293 glibcxx_cv_func_expf_use=yes
55294 else
55295 echo "$as_me: failed program was:" >&5
55296 sed 's/^/| /' conftest.$ac_ext >&5
55297
55298 glibcxx_cv_func_expf_use=no
55299 fi
55300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307
55308 fi
55309
55310 fi
55311 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
55312 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
55313
55314 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55315
55316 for ac_func in expf
55317 do
55318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55319 echo "$as_me:$LINENO: checking for $ac_func" >&5
55320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55321 if eval "test \"\${$as_ac_var+set}\" = set"; then
55322 echo $ECHO_N "(cached) $ECHO_C" >&6
55323 else
55324 if test x$gcc_no_link = xyes; then
55325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55327 { (exit 1); exit 1; }; }
55328 fi
55329 cat >conftest.$ac_ext <<_ACEOF
55330 /* confdefs.h. */
55331 _ACEOF
55332 cat confdefs.h >>conftest.$ac_ext
55333 cat >>conftest.$ac_ext <<_ACEOF
55334 /* end confdefs.h. */
55335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55337 #define $ac_func innocuous_$ac_func
55338
55339 /* System header to define __stub macros and hopefully few prototypes,
55340 which can conflict with char $ac_func (); below.
55341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55342 <limits.h> exists even on freestanding compilers. */
55343
55344 #ifdef __STDC__
55345 # include <limits.h>
55346 #else
55347 # include <assert.h>
55348 #endif
55349
55350 #undef $ac_func
55351
55352 /* Override any gcc2 internal prototype to avoid an error. */
55353 #ifdef __cplusplus
55354 extern "C"
55355 {
55356 #endif
55357 /* We use char because int might match the return type of a gcc2
55358 builtin and then its argument prototype would still apply. */
55359 char $ac_func ();
55360 /* The GNU C library defines this for functions which it implements
55361 to always fail with ENOSYS. Some functions are actually named
55362 something starting with __ and the normal name is an alias. */
55363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55364 choke me
55365 #else
55366 char (*f) () = $ac_func;
55367 #endif
55368 #ifdef __cplusplus
55369 }
55370 #endif
55371
55372 int
55373 main ()
55374 {
55375 return f != $ac_func;
55376 ;
55377 return 0;
55378 }
55379 _ACEOF
55380 rm -f conftest.$ac_objext conftest$ac_exeext
55381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55382 (eval $ac_link) 2>conftest.er1
55383 ac_status=$?
55384 grep -v '^ *+' conftest.er1 >conftest.err
55385 rm -f conftest.er1
55386 cat conftest.err >&5
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); } &&
55389 { ac_try='test -z "$ac_c_werror_flag"
55390 || test ! -s conftest.err'
55391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55392 (eval $ac_try) 2>&5
55393 ac_status=$?
55394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55395 (exit $ac_status); }; } &&
55396 { ac_try='test -s conftest$ac_exeext'
55397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55398 (eval $ac_try) 2>&5
55399 ac_status=$?
55400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55401 (exit $ac_status); }; }; then
55402 eval "$as_ac_var=yes"
55403 else
55404 echo "$as_me: failed program was:" >&5
55405 sed 's/^/| /' conftest.$ac_ext >&5
55406
55407 eval "$as_ac_var=no"
55408 fi
55409 rm -f conftest.err conftest.$ac_objext \
55410 conftest$ac_exeext conftest.$ac_ext
55411 fi
55412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55414 if test `eval echo '${'$as_ac_var'}'` = yes; then
55415 cat >>confdefs.h <<_ACEOF
55416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55417 _ACEOF
55418
55419 fi
55420 done
55421
55422 else
55423
55424 echo "$as_me:$LINENO: checking for _expf declaration" >&5
55425 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
55426 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55427 if test "${glibcxx_cv_func__expf_use+set}" = set; then
55428 echo $ECHO_N "(cached) $ECHO_C" >&6
55429 else
55430
55431
55432
55433 ac_ext=cc
55434 ac_cpp='$CXXCPP $CPPFLAGS'
55435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55438
55439 cat >conftest.$ac_ext <<_ACEOF
55440 /* confdefs.h. */
55441 _ACEOF
55442 cat confdefs.h >>conftest.$ac_ext
55443 cat >>conftest.$ac_ext <<_ACEOF
55444 /* end confdefs.h. */
55445 #include <math.h>
55446 #ifdef HAVE_IEEEFP_H
55447 #include <ieeefp.h>
55448 #endif
55449
55450 int
55451 main ()
55452 {
55453 _expf(0);
55454 ;
55455 return 0;
55456 }
55457 _ACEOF
55458 rm -f conftest.$ac_objext
55459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55460 (eval $ac_compile) 2>conftest.er1
55461 ac_status=$?
55462 grep -v '^ *+' conftest.er1 >conftest.err
55463 rm -f conftest.er1
55464 cat conftest.err >&5
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); } &&
55467 { ac_try='test -z "$ac_cxx_werror_flag"
55468 || test ! -s conftest.err'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; } &&
55474 { ac_try='test -s conftest.$ac_objext'
55475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55476 (eval $ac_try) 2>&5
55477 ac_status=$?
55478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55479 (exit $ac_status); }; }; then
55480 glibcxx_cv_func__expf_use=yes
55481 else
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55484
55485 glibcxx_cv_func__expf_use=no
55486 fi
55487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493
55494
55495 fi
55496
55497 fi
55498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
55499 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
55500
55501 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55502
55503 for ac_func in _expf
55504 do
55505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55506 echo "$as_me:$LINENO: checking for $ac_func" >&5
55507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55508 if eval "test \"\${$as_ac_var+set}\" = set"; then
55509 echo $ECHO_N "(cached) $ECHO_C" >&6
55510 else
55511 if test x$gcc_no_link = xyes; then
55512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55514 { (exit 1); exit 1; }; }
55515 fi
55516 cat >conftest.$ac_ext <<_ACEOF
55517 /* confdefs.h. */
55518 _ACEOF
55519 cat confdefs.h >>conftest.$ac_ext
55520 cat >>conftest.$ac_ext <<_ACEOF
55521 /* end confdefs.h. */
55522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55524 #define $ac_func innocuous_$ac_func
55525
55526 /* System header to define __stub macros and hopefully few prototypes,
55527 which can conflict with char $ac_func (); below.
55528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55529 <limits.h> exists even on freestanding compilers. */
55530
55531 #ifdef __STDC__
55532 # include <limits.h>
55533 #else
55534 # include <assert.h>
55535 #endif
55536
55537 #undef $ac_func
55538
55539 /* Override any gcc2 internal prototype to avoid an error. */
55540 #ifdef __cplusplus
55541 extern "C"
55542 {
55543 #endif
55544 /* We use char because int might match the return type of a gcc2
55545 builtin and then its argument prototype would still apply. */
55546 char $ac_func ();
55547 /* The GNU C library defines this for functions which it implements
55548 to always fail with ENOSYS. Some functions are actually named
55549 something starting with __ and the normal name is an alias. */
55550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55551 choke me
55552 #else
55553 char (*f) () = $ac_func;
55554 #endif
55555 #ifdef __cplusplus
55556 }
55557 #endif
55558
55559 int
55560 main ()
55561 {
55562 return f != $ac_func;
55563 ;
55564 return 0;
55565 }
55566 _ACEOF
55567 rm -f conftest.$ac_objext conftest$ac_exeext
55568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55569 (eval $ac_link) 2>conftest.er1
55570 ac_status=$?
55571 grep -v '^ *+' conftest.er1 >conftest.err
55572 rm -f conftest.er1
55573 cat conftest.err >&5
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); } &&
55576 { ac_try='test -z "$ac_c_werror_flag"
55577 || test ! -s conftest.err'
55578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55579 (eval $ac_try) 2>&5
55580 ac_status=$?
55581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55582 (exit $ac_status); }; } &&
55583 { ac_try='test -s conftest$ac_exeext'
55584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55585 (eval $ac_try) 2>&5
55586 ac_status=$?
55587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55588 (exit $ac_status); }; }; then
55589 eval "$as_ac_var=yes"
55590 else
55591 echo "$as_me: failed program was:" >&5
55592 sed 's/^/| /' conftest.$ac_ext >&5
55593
55594 eval "$as_ac_var=no"
55595 fi
55596 rm -f conftest.err conftest.$ac_objext \
55597 conftest$ac_exeext conftest.$ac_ext
55598 fi
55599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55601 if test `eval echo '${'$as_ac_var'}'` = yes; then
55602 cat >>confdefs.h <<_ACEOF
55603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55604 _ACEOF
55605
55606 fi
55607 done
55608
55609 fi
55610 fi
55611
55612
55613
55614 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
55615 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
55616 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55617 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
55618 echo $ECHO_N "(cached) $ECHO_C" >&6
55619 else
55620
55621
55622
55623 ac_ext=cc
55624 ac_cpp='$CXXCPP $CPPFLAGS'
55625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55628
55629 cat >conftest.$ac_ext <<_ACEOF
55630 /* confdefs.h. */
55631 _ACEOF
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h. */
55635 #include <math.h>
55636 #ifdef HAVE_IEEEFP_H
55637 #include <ieeefp.h>
55638 #endif
55639
55640 int
55641 main ()
55642 {
55643 isnanf(0);
55644 ;
55645 return 0;
55646 }
55647 _ACEOF
55648 rm -f conftest.$ac_objext
55649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55650 (eval $ac_compile) 2>conftest.er1
55651 ac_status=$?
55652 grep -v '^ *+' conftest.er1 >conftest.err
55653 rm -f conftest.er1
55654 cat conftest.err >&5
55655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55656 (exit $ac_status); } &&
55657 { ac_try='test -z "$ac_cxx_werror_flag"
55658 || test ! -s conftest.err'
55659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55660 (eval $ac_try) 2>&5
55661 ac_status=$?
55662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55663 (exit $ac_status); }; } &&
55664 { ac_try='test -s conftest.$ac_objext'
55665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55666 (eval $ac_try) 2>&5
55667 ac_status=$?
55668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55669 (exit $ac_status); }; }; then
55670 glibcxx_cv_func_isnanf_use=yes
55671 else
55672 echo "$as_me: failed program was:" >&5
55673 sed 's/^/| /' conftest.$ac_ext >&5
55674
55675 glibcxx_cv_func_isnanf_use=no
55676 fi
55677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55678 ac_ext=c
55679 ac_cpp='$CPP $CPPFLAGS'
55680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55683
55684
55685 fi
55686
55687 fi
55688 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
55689 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
55690
55691 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55692
55693 for ac_func in isnanf
55694 do
55695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55696 echo "$as_me:$LINENO: checking for $ac_func" >&5
55697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55698 if eval "test \"\${$as_ac_var+set}\" = set"; then
55699 echo $ECHO_N "(cached) $ECHO_C" >&6
55700 else
55701 if test x$gcc_no_link = xyes; then
55702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55704 { (exit 1); exit 1; }; }
55705 fi
55706 cat >conftest.$ac_ext <<_ACEOF
55707 /* confdefs.h. */
55708 _ACEOF
55709 cat confdefs.h >>conftest.$ac_ext
55710 cat >>conftest.$ac_ext <<_ACEOF
55711 /* end confdefs.h. */
55712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55713 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55714 #define $ac_func innocuous_$ac_func
55715
55716 /* System header to define __stub macros and hopefully few prototypes,
55717 which can conflict with char $ac_func (); below.
55718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55719 <limits.h> exists even on freestanding compilers. */
55720
55721 #ifdef __STDC__
55722 # include <limits.h>
55723 #else
55724 # include <assert.h>
55725 #endif
55726
55727 #undef $ac_func
55728
55729 /* Override any gcc2 internal prototype to avoid an error. */
55730 #ifdef __cplusplus
55731 extern "C"
55732 {
55733 #endif
55734 /* We use char because int might match the return type of a gcc2
55735 builtin and then its argument prototype would still apply. */
55736 char $ac_func ();
55737 /* The GNU C library defines this for functions which it implements
55738 to always fail with ENOSYS. Some functions are actually named
55739 something starting with __ and the normal name is an alias. */
55740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55741 choke me
55742 #else
55743 char (*f) () = $ac_func;
55744 #endif
55745 #ifdef __cplusplus
55746 }
55747 #endif
55748
55749 int
55750 main ()
55751 {
55752 return f != $ac_func;
55753 ;
55754 return 0;
55755 }
55756 _ACEOF
55757 rm -f conftest.$ac_objext conftest$ac_exeext
55758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55759 (eval $ac_link) 2>conftest.er1
55760 ac_status=$?
55761 grep -v '^ *+' conftest.er1 >conftest.err
55762 rm -f conftest.er1
55763 cat conftest.err >&5
55764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55765 (exit $ac_status); } &&
55766 { ac_try='test -z "$ac_c_werror_flag"
55767 || test ! -s conftest.err'
55768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55769 (eval $ac_try) 2>&5
55770 ac_status=$?
55771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55772 (exit $ac_status); }; } &&
55773 { ac_try='test -s conftest$ac_exeext'
55774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55775 (eval $ac_try) 2>&5
55776 ac_status=$?
55777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55778 (exit $ac_status); }; }; then
55779 eval "$as_ac_var=yes"
55780 else
55781 echo "$as_me: failed program was:" >&5
55782 sed 's/^/| /' conftest.$ac_ext >&5
55783
55784 eval "$as_ac_var=no"
55785 fi
55786 rm -f conftest.err conftest.$ac_objext \
55787 conftest$ac_exeext conftest.$ac_ext
55788 fi
55789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55791 if test `eval echo '${'$as_ac_var'}'` = yes; then
55792 cat >>confdefs.h <<_ACEOF
55793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55794 _ACEOF
55795
55796 fi
55797 done
55798
55799 else
55800
55801 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
55802 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
55803 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55804 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
55805 echo $ECHO_N "(cached) $ECHO_C" >&6
55806 else
55807
55808
55809
55810 ac_ext=cc
55811 ac_cpp='$CXXCPP $CPPFLAGS'
55812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55815
55816 cat >conftest.$ac_ext <<_ACEOF
55817 /* confdefs.h. */
55818 _ACEOF
55819 cat confdefs.h >>conftest.$ac_ext
55820 cat >>conftest.$ac_ext <<_ACEOF
55821 /* end confdefs.h. */
55822 #include <math.h>
55823 #ifdef HAVE_IEEEFP_H
55824 #include <ieeefp.h>
55825 #endif
55826
55827 int
55828 main ()
55829 {
55830 _isnanf(0);
55831 ;
55832 return 0;
55833 }
55834 _ACEOF
55835 rm -f conftest.$ac_objext
55836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55837 (eval $ac_compile) 2>conftest.er1
55838 ac_status=$?
55839 grep -v '^ *+' conftest.er1 >conftest.err
55840 rm -f conftest.er1
55841 cat conftest.err >&5
55842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55843 (exit $ac_status); } &&
55844 { ac_try='test -z "$ac_cxx_werror_flag"
55845 || test ! -s conftest.err'
55846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55847 (eval $ac_try) 2>&5
55848 ac_status=$?
55849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55850 (exit $ac_status); }; } &&
55851 { ac_try='test -s conftest.$ac_objext'
55852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55853 (eval $ac_try) 2>&5
55854 ac_status=$?
55855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55856 (exit $ac_status); }; }; then
55857 glibcxx_cv_func__isnanf_use=yes
55858 else
55859 echo "$as_me: failed program was:" >&5
55860 sed 's/^/| /' conftest.$ac_ext >&5
55861
55862 glibcxx_cv_func__isnanf_use=no
55863 fi
55864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55865 ac_ext=c
55866 ac_cpp='$CPP $CPPFLAGS'
55867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55870
55871
55872 fi
55873
55874 fi
55875 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
55876 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
55877
55878 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55879
55880 for ac_func in _isnanf
55881 do
55882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55883 echo "$as_me:$LINENO: checking for $ac_func" >&5
55884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55885 if eval "test \"\${$as_ac_var+set}\" = set"; then
55886 echo $ECHO_N "(cached) $ECHO_C" >&6
55887 else
55888 if test x$gcc_no_link = xyes; then
55889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55891 { (exit 1); exit 1; }; }
55892 fi
55893 cat >conftest.$ac_ext <<_ACEOF
55894 /* confdefs.h. */
55895 _ACEOF
55896 cat confdefs.h >>conftest.$ac_ext
55897 cat >>conftest.$ac_ext <<_ACEOF
55898 /* end confdefs.h. */
55899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55901 #define $ac_func innocuous_$ac_func
55902
55903 /* System header to define __stub macros and hopefully few prototypes,
55904 which can conflict with char $ac_func (); below.
55905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55906 <limits.h> exists even on freestanding compilers. */
55907
55908 #ifdef __STDC__
55909 # include <limits.h>
55910 #else
55911 # include <assert.h>
55912 #endif
55913
55914 #undef $ac_func
55915
55916 /* Override any gcc2 internal prototype to avoid an error. */
55917 #ifdef __cplusplus
55918 extern "C"
55919 {
55920 #endif
55921 /* We use char because int might match the return type of a gcc2
55922 builtin and then its argument prototype would still apply. */
55923 char $ac_func ();
55924 /* The GNU C library defines this for functions which it implements
55925 to always fail with ENOSYS. Some functions are actually named
55926 something starting with __ and the normal name is an alias. */
55927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55928 choke me
55929 #else
55930 char (*f) () = $ac_func;
55931 #endif
55932 #ifdef __cplusplus
55933 }
55934 #endif
55935
55936 int
55937 main ()
55938 {
55939 return f != $ac_func;
55940 ;
55941 return 0;
55942 }
55943 _ACEOF
55944 rm -f conftest.$ac_objext conftest$ac_exeext
55945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55946 (eval $ac_link) 2>conftest.er1
55947 ac_status=$?
55948 grep -v '^ *+' conftest.er1 >conftest.err
55949 rm -f conftest.er1
55950 cat conftest.err >&5
55951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55952 (exit $ac_status); } &&
55953 { ac_try='test -z "$ac_c_werror_flag"
55954 || test ! -s conftest.err'
55955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55956 (eval $ac_try) 2>&5
55957 ac_status=$?
55958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55959 (exit $ac_status); }; } &&
55960 { ac_try='test -s conftest$ac_exeext'
55961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55962 (eval $ac_try) 2>&5
55963 ac_status=$?
55964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55965 (exit $ac_status); }; }; then
55966 eval "$as_ac_var=yes"
55967 else
55968 echo "$as_me: failed program was:" >&5
55969 sed 's/^/| /' conftest.$ac_ext >&5
55970
55971 eval "$as_ac_var=no"
55972 fi
55973 rm -f conftest.err conftest.$ac_objext \
55974 conftest$ac_exeext conftest.$ac_ext
55975 fi
55976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55978 if test `eval echo '${'$as_ac_var'}'` = yes; then
55979 cat >>confdefs.h <<_ACEOF
55980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55981 _ACEOF
55982
55983 fi
55984 done
55985
55986 fi
55987 fi
55988
55989
55990
55991 echo "$as_me:$LINENO: checking for isinff declaration" >&5
55992 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
55993 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55994 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
55995 echo $ECHO_N "(cached) $ECHO_C" >&6
55996 else
55997
55998
55999
56000 ac_ext=cc
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56005
56006 cat >conftest.$ac_ext <<_ACEOF
56007 /* confdefs.h. */
56008 _ACEOF
56009 cat confdefs.h >>conftest.$ac_ext
56010 cat >>conftest.$ac_ext <<_ACEOF
56011 /* end confdefs.h. */
56012 #include <math.h>
56013 #ifdef HAVE_IEEEFP_H
56014 #include <ieeefp.h>
56015 #endif
56016
56017 int
56018 main ()
56019 {
56020 isinff(0);
56021 ;
56022 return 0;
56023 }
56024 _ACEOF
56025 rm -f conftest.$ac_objext
56026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56027 (eval $ac_compile) 2>conftest.er1
56028 ac_status=$?
56029 grep -v '^ *+' conftest.er1 >conftest.err
56030 rm -f conftest.er1
56031 cat conftest.err >&5
56032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56033 (exit $ac_status); } &&
56034 { ac_try='test -z "$ac_cxx_werror_flag"
56035 || test ! -s conftest.err'
56036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037 (eval $ac_try) 2>&5
56038 ac_status=$?
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); }; } &&
56041 { ac_try='test -s conftest.$ac_objext'
56042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56043 (eval $ac_try) 2>&5
56044 ac_status=$?
56045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56046 (exit $ac_status); }; }; then
56047 glibcxx_cv_func_isinff_use=yes
56048 else
56049 echo "$as_me: failed program was:" >&5
56050 sed 's/^/| /' conftest.$ac_ext >&5
56051
56052 glibcxx_cv_func_isinff_use=no
56053 fi
56054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56060
56061
56062 fi
56063
56064 fi
56065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
56066 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
56067
56068 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56069
56070 for ac_func in isinff
56071 do
56072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56073 echo "$as_me:$LINENO: checking for $ac_func" >&5
56074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56075 if eval "test \"\${$as_ac_var+set}\" = set"; then
56076 echo $ECHO_N "(cached) $ECHO_C" >&6
56077 else
56078 if test x$gcc_no_link = xyes; then
56079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56081 { (exit 1); exit 1; }; }
56082 fi
56083 cat >conftest.$ac_ext <<_ACEOF
56084 /* confdefs.h. */
56085 _ACEOF
56086 cat confdefs.h >>conftest.$ac_ext
56087 cat >>conftest.$ac_ext <<_ACEOF
56088 /* end confdefs.h. */
56089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56091 #define $ac_func innocuous_$ac_func
56092
56093 /* System header to define __stub macros and hopefully few prototypes,
56094 which can conflict with char $ac_func (); below.
56095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56096 <limits.h> exists even on freestanding compilers. */
56097
56098 #ifdef __STDC__
56099 # include <limits.h>
56100 #else
56101 # include <assert.h>
56102 #endif
56103
56104 #undef $ac_func
56105
56106 /* Override any gcc2 internal prototype to avoid an error. */
56107 #ifdef __cplusplus
56108 extern "C"
56109 {
56110 #endif
56111 /* We use char because int might match the return type of a gcc2
56112 builtin and then its argument prototype would still apply. */
56113 char $ac_func ();
56114 /* The GNU C library defines this for functions which it implements
56115 to always fail with ENOSYS. Some functions are actually named
56116 something starting with __ and the normal name is an alias. */
56117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56118 choke me
56119 #else
56120 char (*f) () = $ac_func;
56121 #endif
56122 #ifdef __cplusplus
56123 }
56124 #endif
56125
56126 int
56127 main ()
56128 {
56129 return f != $ac_func;
56130 ;
56131 return 0;
56132 }
56133 _ACEOF
56134 rm -f conftest.$ac_objext conftest$ac_exeext
56135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56136 (eval $ac_link) 2>conftest.er1
56137 ac_status=$?
56138 grep -v '^ *+' conftest.er1 >conftest.err
56139 rm -f conftest.er1
56140 cat conftest.err >&5
56141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56142 (exit $ac_status); } &&
56143 { ac_try='test -z "$ac_c_werror_flag"
56144 || test ! -s conftest.err'
56145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56146 (eval $ac_try) 2>&5
56147 ac_status=$?
56148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56149 (exit $ac_status); }; } &&
56150 { ac_try='test -s conftest$ac_exeext'
56151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56152 (eval $ac_try) 2>&5
56153 ac_status=$?
56154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56155 (exit $ac_status); }; }; then
56156 eval "$as_ac_var=yes"
56157 else
56158 echo "$as_me: failed program was:" >&5
56159 sed 's/^/| /' conftest.$ac_ext >&5
56160
56161 eval "$as_ac_var=no"
56162 fi
56163 rm -f conftest.err conftest.$ac_objext \
56164 conftest$ac_exeext conftest.$ac_ext
56165 fi
56166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56168 if test `eval echo '${'$as_ac_var'}'` = yes; then
56169 cat >>confdefs.h <<_ACEOF
56170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56171 _ACEOF
56172
56173 fi
56174 done
56175
56176 else
56177
56178 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
56179 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
56180 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56181 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
56182 echo $ECHO_N "(cached) $ECHO_C" >&6
56183 else
56184
56185
56186
56187 ac_ext=cc
56188 ac_cpp='$CXXCPP $CPPFLAGS'
56189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56192
56193 cat >conftest.$ac_ext <<_ACEOF
56194 /* confdefs.h. */
56195 _ACEOF
56196 cat confdefs.h >>conftest.$ac_ext
56197 cat >>conftest.$ac_ext <<_ACEOF
56198 /* end confdefs.h. */
56199 #include <math.h>
56200 #ifdef HAVE_IEEEFP_H
56201 #include <ieeefp.h>
56202 #endif
56203
56204 int
56205 main ()
56206 {
56207 _isinff(0);
56208 ;
56209 return 0;
56210 }
56211 _ACEOF
56212 rm -f conftest.$ac_objext
56213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56214 (eval $ac_compile) 2>conftest.er1
56215 ac_status=$?
56216 grep -v '^ *+' conftest.er1 >conftest.err
56217 rm -f conftest.er1
56218 cat conftest.err >&5
56219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220 (exit $ac_status); } &&
56221 { ac_try='test -z "$ac_cxx_werror_flag"
56222 || test ! -s conftest.err'
56223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56224 (eval $ac_try) 2>&5
56225 ac_status=$?
56226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56227 (exit $ac_status); }; } &&
56228 { ac_try='test -s conftest.$ac_objext'
56229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56230 (eval $ac_try) 2>&5
56231 ac_status=$?
56232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56233 (exit $ac_status); }; }; then
56234 glibcxx_cv_func__isinff_use=yes
56235 else
56236 echo "$as_me: failed program was:" >&5
56237 sed 's/^/| /' conftest.$ac_ext >&5
56238
56239 glibcxx_cv_func__isinff_use=no
56240 fi
56241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56242 ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56247
56248
56249 fi
56250
56251 fi
56252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
56253 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
56254
56255 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56256
56257 for ac_func in _isinff
56258 do
56259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56260 echo "$as_me:$LINENO: checking for $ac_func" >&5
56261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56262 if eval "test \"\${$as_ac_var+set}\" = set"; then
56263 echo $ECHO_N "(cached) $ECHO_C" >&6
56264 else
56265 if test x$gcc_no_link = xyes; then
56266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56268 { (exit 1); exit 1; }; }
56269 fi
56270 cat >conftest.$ac_ext <<_ACEOF
56271 /* confdefs.h. */
56272 _ACEOF
56273 cat confdefs.h >>conftest.$ac_ext
56274 cat >>conftest.$ac_ext <<_ACEOF
56275 /* end confdefs.h. */
56276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56278 #define $ac_func innocuous_$ac_func
56279
56280 /* System header to define __stub macros and hopefully few prototypes,
56281 which can conflict with char $ac_func (); below.
56282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56283 <limits.h> exists even on freestanding compilers. */
56284
56285 #ifdef __STDC__
56286 # include <limits.h>
56287 #else
56288 # include <assert.h>
56289 #endif
56290
56291 #undef $ac_func
56292
56293 /* Override any gcc2 internal prototype to avoid an error. */
56294 #ifdef __cplusplus
56295 extern "C"
56296 {
56297 #endif
56298 /* We use char because int might match the return type of a gcc2
56299 builtin and then its argument prototype would still apply. */
56300 char $ac_func ();
56301 /* The GNU C library defines this for functions which it implements
56302 to always fail with ENOSYS. Some functions are actually named
56303 something starting with __ and the normal name is an alias. */
56304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56305 choke me
56306 #else
56307 char (*f) () = $ac_func;
56308 #endif
56309 #ifdef __cplusplus
56310 }
56311 #endif
56312
56313 int
56314 main ()
56315 {
56316 return f != $ac_func;
56317 ;
56318 return 0;
56319 }
56320 _ACEOF
56321 rm -f conftest.$ac_objext conftest$ac_exeext
56322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56323 (eval $ac_link) 2>conftest.er1
56324 ac_status=$?
56325 grep -v '^ *+' conftest.er1 >conftest.err
56326 rm -f conftest.er1
56327 cat conftest.err >&5
56328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329 (exit $ac_status); } &&
56330 { ac_try='test -z "$ac_c_werror_flag"
56331 || test ! -s conftest.err'
56332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56333 (eval $ac_try) 2>&5
56334 ac_status=$?
56335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56336 (exit $ac_status); }; } &&
56337 { ac_try='test -s conftest$ac_exeext'
56338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56339 (eval $ac_try) 2>&5
56340 ac_status=$?
56341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56342 (exit $ac_status); }; }; then
56343 eval "$as_ac_var=yes"
56344 else
56345 echo "$as_me: failed program was:" >&5
56346 sed 's/^/| /' conftest.$ac_ext >&5
56347
56348 eval "$as_ac_var=no"
56349 fi
56350 rm -f conftest.err conftest.$ac_objext \
56351 conftest$ac_exeext conftest.$ac_ext
56352 fi
56353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56355 if test `eval echo '${'$as_ac_var'}'` = yes; then
56356 cat >>confdefs.h <<_ACEOF
56357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56358 _ACEOF
56359
56360 fi
56361 done
56362
56363 fi
56364 fi
56365
56366
56367
56368 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
56369 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
56370 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56371 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
56372 echo $ECHO_N "(cached) $ECHO_C" >&6
56373 else
56374
56375
56376
56377 ac_ext=cc
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56382
56383 cat >conftest.$ac_ext <<_ACEOF
56384 /* confdefs.h. */
56385 _ACEOF
56386 cat confdefs.h >>conftest.$ac_ext
56387 cat >>conftest.$ac_ext <<_ACEOF
56388 /* end confdefs.h. */
56389 #include <math.h>
56390 int
56391 main ()
56392 {
56393 atan2f(0, 0);
56394 ;
56395 return 0;
56396 }
56397 _ACEOF
56398 rm -f conftest.$ac_objext
56399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56400 (eval $ac_compile) 2>conftest.er1
56401 ac_status=$?
56402 grep -v '^ *+' conftest.er1 >conftest.err
56403 rm -f conftest.er1
56404 cat conftest.err >&5
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); } &&
56407 { ac_try='test -z "$ac_cxx_werror_flag"
56408 || test ! -s conftest.err'
56409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56410 (eval $ac_try) 2>&5
56411 ac_status=$?
56412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56413 (exit $ac_status); }; } &&
56414 { ac_try='test -s conftest.$ac_objext'
56415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56416 (eval $ac_try) 2>&5
56417 ac_status=$?
56418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56419 (exit $ac_status); }; }; then
56420 glibcxx_cv_func_atan2f_use=yes
56421 else
56422 echo "$as_me: failed program was:" >&5
56423 sed 's/^/| /' conftest.$ac_ext >&5
56424
56425 glibcxx_cv_func_atan2f_use=no
56426 fi
56427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56428 ac_ext=c
56429 ac_cpp='$CPP $CPPFLAGS'
56430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56433
56434
56435 fi
56436
56437 fi
56438 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
56439 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
56440
56441 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56442
56443 for ac_func in atan2f
56444 do
56445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56446 echo "$as_me:$LINENO: checking for $ac_func" >&5
56447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56448 if eval "test \"\${$as_ac_var+set}\" = set"; then
56449 echo $ECHO_N "(cached) $ECHO_C" >&6
56450 else
56451 if test x$gcc_no_link = xyes; then
56452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56454 { (exit 1); exit 1; }; }
56455 fi
56456 cat >conftest.$ac_ext <<_ACEOF
56457 /* confdefs.h. */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h. */
56462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56464 #define $ac_func innocuous_$ac_func
56465
56466 /* System header to define __stub macros and hopefully few prototypes,
56467 which can conflict with char $ac_func (); below.
56468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56469 <limits.h> exists even on freestanding compilers. */
56470
56471 #ifdef __STDC__
56472 # include <limits.h>
56473 #else
56474 # include <assert.h>
56475 #endif
56476
56477 #undef $ac_func
56478
56479 /* Override any gcc2 internal prototype to avoid an error. */
56480 #ifdef __cplusplus
56481 extern "C"
56482 {
56483 #endif
56484 /* We use char because int might match the return type of a gcc2
56485 builtin and then its argument prototype would still apply. */
56486 char $ac_func ();
56487 /* The GNU C library defines this for functions which it implements
56488 to always fail with ENOSYS. Some functions are actually named
56489 something starting with __ and the normal name is an alias. */
56490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56491 choke me
56492 #else
56493 char (*f) () = $ac_func;
56494 #endif
56495 #ifdef __cplusplus
56496 }
56497 #endif
56498
56499 int
56500 main ()
56501 {
56502 return f != $ac_func;
56503 ;
56504 return 0;
56505 }
56506 _ACEOF
56507 rm -f conftest.$ac_objext conftest$ac_exeext
56508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56509 (eval $ac_link) 2>conftest.er1
56510 ac_status=$?
56511 grep -v '^ *+' conftest.er1 >conftest.err
56512 rm -f conftest.er1
56513 cat conftest.err >&5
56514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56515 (exit $ac_status); } &&
56516 { ac_try='test -z "$ac_c_werror_flag"
56517 || test ! -s conftest.err'
56518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519 (eval $ac_try) 2>&5
56520 ac_status=$?
56521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522 (exit $ac_status); }; } &&
56523 { ac_try='test -s conftest$ac_exeext'
56524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56525 (eval $ac_try) 2>&5
56526 ac_status=$?
56527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56528 (exit $ac_status); }; }; then
56529 eval "$as_ac_var=yes"
56530 else
56531 echo "$as_me: failed program was:" >&5
56532 sed 's/^/| /' conftest.$ac_ext >&5
56533
56534 eval "$as_ac_var=no"
56535 fi
56536 rm -f conftest.err conftest.$ac_objext \
56537 conftest$ac_exeext conftest.$ac_ext
56538 fi
56539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56541 if test `eval echo '${'$as_ac_var'}'` = yes; then
56542 cat >>confdefs.h <<_ACEOF
56543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56544 _ACEOF
56545
56546 fi
56547 done
56548
56549 else
56550
56551 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
56552 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
56553 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56554 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
56555 echo $ECHO_N "(cached) $ECHO_C" >&6
56556 else
56557
56558
56559
56560 ac_ext=cc
56561 ac_cpp='$CXXCPP $CPPFLAGS'
56562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56565
56566 cat >conftest.$ac_ext <<_ACEOF
56567 /* confdefs.h. */
56568 _ACEOF
56569 cat confdefs.h >>conftest.$ac_ext
56570 cat >>conftest.$ac_ext <<_ACEOF
56571 /* end confdefs.h. */
56572 #include <math.h>
56573 int
56574 main ()
56575 {
56576 _atan2f(0, 0);
56577 ;
56578 return 0;
56579 }
56580 _ACEOF
56581 rm -f conftest.$ac_objext
56582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56583 (eval $ac_compile) 2>conftest.er1
56584 ac_status=$?
56585 grep -v '^ *+' conftest.er1 >conftest.err
56586 rm -f conftest.er1
56587 cat conftest.err >&5
56588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56589 (exit $ac_status); } &&
56590 { ac_try='test -z "$ac_cxx_werror_flag"
56591 || test ! -s conftest.err'
56592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56593 (eval $ac_try) 2>&5
56594 ac_status=$?
56595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56596 (exit $ac_status); }; } &&
56597 { ac_try='test -s conftest.$ac_objext'
56598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56599 (eval $ac_try) 2>&5
56600 ac_status=$?
56601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602 (exit $ac_status); }; }; then
56603 glibcxx_cv_func__atan2f_use=yes
56604 else
56605 echo "$as_me: failed program was:" >&5
56606 sed 's/^/| /' conftest.$ac_ext >&5
56607
56608 glibcxx_cv_func__atan2f_use=no
56609 fi
56610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56611 ac_ext=c
56612 ac_cpp='$CPP $CPPFLAGS'
56613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56616
56617
56618 fi
56619
56620 fi
56621 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
56622 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
56623
56624 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56625
56626 for ac_func in _atan2f
56627 do
56628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56629 echo "$as_me:$LINENO: checking for $ac_func" >&5
56630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56631 if eval "test \"\${$as_ac_var+set}\" = set"; then
56632 echo $ECHO_N "(cached) $ECHO_C" >&6
56633 else
56634 if test x$gcc_no_link = xyes; then
56635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56637 { (exit 1); exit 1; }; }
56638 fi
56639 cat >conftest.$ac_ext <<_ACEOF
56640 /* confdefs.h. */
56641 _ACEOF
56642 cat confdefs.h >>conftest.$ac_ext
56643 cat >>conftest.$ac_ext <<_ACEOF
56644 /* end confdefs.h. */
56645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56647 #define $ac_func innocuous_$ac_func
56648
56649 /* System header to define __stub macros and hopefully few prototypes,
56650 which can conflict with char $ac_func (); below.
56651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56652 <limits.h> exists even on freestanding compilers. */
56653
56654 #ifdef __STDC__
56655 # include <limits.h>
56656 #else
56657 # include <assert.h>
56658 #endif
56659
56660 #undef $ac_func
56661
56662 /* Override any gcc2 internal prototype to avoid an error. */
56663 #ifdef __cplusplus
56664 extern "C"
56665 {
56666 #endif
56667 /* We use char because int might match the return type of a gcc2
56668 builtin and then its argument prototype would still apply. */
56669 char $ac_func ();
56670 /* The GNU C library defines this for functions which it implements
56671 to always fail with ENOSYS. Some functions are actually named
56672 something starting with __ and the normal name is an alias. */
56673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56674 choke me
56675 #else
56676 char (*f) () = $ac_func;
56677 #endif
56678 #ifdef __cplusplus
56679 }
56680 #endif
56681
56682 int
56683 main ()
56684 {
56685 return f != $ac_func;
56686 ;
56687 return 0;
56688 }
56689 _ACEOF
56690 rm -f conftest.$ac_objext conftest$ac_exeext
56691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56692 (eval $ac_link) 2>conftest.er1
56693 ac_status=$?
56694 grep -v '^ *+' conftest.er1 >conftest.err
56695 rm -f conftest.er1
56696 cat conftest.err >&5
56697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56698 (exit $ac_status); } &&
56699 { ac_try='test -z "$ac_c_werror_flag"
56700 || test ! -s conftest.err'
56701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56702 (eval $ac_try) 2>&5
56703 ac_status=$?
56704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56705 (exit $ac_status); }; } &&
56706 { ac_try='test -s conftest$ac_exeext'
56707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56708 (eval $ac_try) 2>&5
56709 ac_status=$?
56710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711 (exit $ac_status); }; }; then
56712 eval "$as_ac_var=yes"
56713 else
56714 echo "$as_me: failed program was:" >&5
56715 sed 's/^/| /' conftest.$ac_ext >&5
56716
56717 eval "$as_ac_var=no"
56718 fi
56719 rm -f conftest.err conftest.$ac_objext \
56720 conftest$ac_exeext conftest.$ac_ext
56721 fi
56722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56724 if test `eval echo '${'$as_ac_var'}'` = yes; then
56725 cat >>confdefs.h <<_ACEOF
56726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56727 _ACEOF
56728
56729 fi
56730 done
56731
56732 fi
56733 fi
56734
56735
56736
56737 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
56738 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
56739 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56740 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
56741 echo $ECHO_N "(cached) $ECHO_C" >&6
56742 else
56743
56744
56745
56746 ac_ext=cc
56747 ac_cpp='$CXXCPP $CPPFLAGS'
56748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56751
56752 cat >conftest.$ac_ext <<_ACEOF
56753 /* confdefs.h. */
56754 _ACEOF
56755 cat confdefs.h >>conftest.$ac_ext
56756 cat >>conftest.$ac_ext <<_ACEOF
56757 /* end confdefs.h. */
56758 #include <math.h>
56759 #ifdef HAVE_IEEEFP_H
56760 #include <ieeefp.h>
56761 #endif
56762
56763 int
56764 main ()
56765 {
56766 fabsf(0);
56767 ;
56768 return 0;
56769 }
56770 _ACEOF
56771 rm -f conftest.$ac_objext
56772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56773 (eval $ac_compile) 2>conftest.er1
56774 ac_status=$?
56775 grep -v '^ *+' conftest.er1 >conftest.err
56776 rm -f conftest.er1
56777 cat conftest.err >&5
56778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56779 (exit $ac_status); } &&
56780 { ac_try='test -z "$ac_cxx_werror_flag"
56781 || test ! -s conftest.err'
56782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56783 (eval $ac_try) 2>&5
56784 ac_status=$?
56785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56786 (exit $ac_status); }; } &&
56787 { ac_try='test -s conftest.$ac_objext'
56788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56789 (eval $ac_try) 2>&5
56790 ac_status=$?
56791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56792 (exit $ac_status); }; }; then
56793 glibcxx_cv_func_fabsf_use=yes
56794 else
56795 echo "$as_me: failed program was:" >&5
56796 sed 's/^/| /' conftest.$ac_ext >&5
56797
56798 glibcxx_cv_func_fabsf_use=no
56799 fi
56800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56801 ac_ext=c
56802 ac_cpp='$CPP $CPPFLAGS'
56803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56806
56807
56808 fi
56809
56810 fi
56811 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
56812 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
56813
56814 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56815
56816 for ac_func in fabsf
56817 do
56818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56819 echo "$as_me:$LINENO: checking for $ac_func" >&5
56820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56821 if eval "test \"\${$as_ac_var+set}\" = set"; then
56822 echo $ECHO_N "(cached) $ECHO_C" >&6
56823 else
56824 if test x$gcc_no_link = xyes; then
56825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56827 { (exit 1); exit 1; }; }
56828 fi
56829 cat >conftest.$ac_ext <<_ACEOF
56830 /* confdefs.h. */
56831 _ACEOF
56832 cat confdefs.h >>conftest.$ac_ext
56833 cat >>conftest.$ac_ext <<_ACEOF
56834 /* end confdefs.h. */
56835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56837 #define $ac_func innocuous_$ac_func
56838
56839 /* System header to define __stub macros and hopefully few prototypes,
56840 which can conflict with char $ac_func (); below.
56841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56842 <limits.h> exists even on freestanding compilers. */
56843
56844 #ifdef __STDC__
56845 # include <limits.h>
56846 #else
56847 # include <assert.h>
56848 #endif
56849
56850 #undef $ac_func
56851
56852 /* Override any gcc2 internal prototype to avoid an error. */
56853 #ifdef __cplusplus
56854 extern "C"
56855 {
56856 #endif
56857 /* We use char because int might match the return type of a gcc2
56858 builtin and then its argument prototype would still apply. */
56859 char $ac_func ();
56860 /* The GNU C library defines this for functions which it implements
56861 to always fail with ENOSYS. Some functions are actually named
56862 something starting with __ and the normal name is an alias. */
56863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56864 choke me
56865 #else
56866 char (*f) () = $ac_func;
56867 #endif
56868 #ifdef __cplusplus
56869 }
56870 #endif
56871
56872 int
56873 main ()
56874 {
56875 return f != $ac_func;
56876 ;
56877 return 0;
56878 }
56879 _ACEOF
56880 rm -f conftest.$ac_objext conftest$ac_exeext
56881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56882 (eval $ac_link) 2>conftest.er1
56883 ac_status=$?
56884 grep -v '^ *+' conftest.er1 >conftest.err
56885 rm -f conftest.er1
56886 cat conftest.err >&5
56887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56888 (exit $ac_status); } &&
56889 { ac_try='test -z "$ac_c_werror_flag"
56890 || test ! -s conftest.err'
56891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56892 (eval $ac_try) 2>&5
56893 ac_status=$?
56894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56895 (exit $ac_status); }; } &&
56896 { ac_try='test -s conftest$ac_exeext'
56897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56898 (eval $ac_try) 2>&5
56899 ac_status=$?
56900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56901 (exit $ac_status); }; }; then
56902 eval "$as_ac_var=yes"
56903 else
56904 echo "$as_me: failed program was:" >&5
56905 sed 's/^/| /' conftest.$ac_ext >&5
56906
56907 eval "$as_ac_var=no"
56908 fi
56909 rm -f conftest.err conftest.$ac_objext \
56910 conftest$ac_exeext conftest.$ac_ext
56911 fi
56912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56914 if test `eval echo '${'$as_ac_var'}'` = yes; then
56915 cat >>confdefs.h <<_ACEOF
56916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56917 _ACEOF
56918
56919 fi
56920 done
56921
56922 else
56923
56924 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
56925 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
56926 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56927 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
56928 echo $ECHO_N "(cached) $ECHO_C" >&6
56929 else
56930
56931
56932
56933 ac_ext=cc
56934 ac_cpp='$CXXCPP $CPPFLAGS'
56935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56938
56939 cat >conftest.$ac_ext <<_ACEOF
56940 /* confdefs.h. */
56941 _ACEOF
56942 cat confdefs.h >>conftest.$ac_ext
56943 cat >>conftest.$ac_ext <<_ACEOF
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 #ifdef HAVE_IEEEFP_H
56947 #include <ieeefp.h>
56948 #endif
56949
56950 int
56951 main ()
56952 {
56953 _fabsf(0);
56954 ;
56955 return 0;
56956 }
56957 _ACEOF
56958 rm -f conftest.$ac_objext
56959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56960 (eval $ac_compile) 2>conftest.er1
56961 ac_status=$?
56962 grep -v '^ *+' conftest.er1 >conftest.err
56963 rm -f conftest.er1
56964 cat conftest.err >&5
56965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56966 (exit $ac_status); } &&
56967 { ac_try='test -z "$ac_cxx_werror_flag"
56968 || test ! -s conftest.err'
56969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56970 (eval $ac_try) 2>&5
56971 ac_status=$?
56972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56973 (exit $ac_status); }; } &&
56974 { ac_try='test -s conftest.$ac_objext'
56975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56976 (eval $ac_try) 2>&5
56977 ac_status=$?
56978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56979 (exit $ac_status); }; }; then
56980 glibcxx_cv_func__fabsf_use=yes
56981 else
56982 echo "$as_me: failed program was:" >&5
56983 sed 's/^/| /' conftest.$ac_ext >&5
56984
56985 glibcxx_cv_func__fabsf_use=no
56986 fi
56987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56988 ac_ext=c
56989 ac_cpp='$CPP $CPPFLAGS'
56990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56993
56994
56995 fi
56996
56997 fi
56998 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
56999 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
57000
57001 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
57002
57003 for ac_func in _fabsf
57004 do
57005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57006 echo "$as_me:$LINENO: checking for $ac_func" >&5
57007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57008 if eval "test \"\${$as_ac_var+set}\" = set"; then
57009 echo $ECHO_N "(cached) $ECHO_C" >&6
57010 else
57011 if test x$gcc_no_link = xyes; then
57012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57014 { (exit 1); exit 1; }; }
57015 fi
57016 cat >conftest.$ac_ext <<_ACEOF
57017 /* confdefs.h. */
57018 _ACEOF
57019 cat confdefs.h >>conftest.$ac_ext
57020 cat >>conftest.$ac_ext <<_ACEOF
57021 /* end confdefs.h. */
57022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57024 #define $ac_func innocuous_$ac_func
57025
57026 /* System header to define __stub macros and hopefully few prototypes,
57027 which can conflict with char $ac_func (); below.
57028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57029 <limits.h> exists even on freestanding compilers. */
57030
57031 #ifdef __STDC__
57032 # include <limits.h>
57033 #else
57034 # include <assert.h>
57035 #endif
57036
57037 #undef $ac_func
57038
57039 /* Override any gcc2 internal prototype to avoid an error. */
57040 #ifdef __cplusplus
57041 extern "C"
57042 {
57043 #endif
57044 /* We use char because int might match the return type of a gcc2
57045 builtin and then its argument prototype would still apply. */
57046 char $ac_func ();
57047 /* The GNU C library defines this for functions which it implements
57048 to always fail with ENOSYS. Some functions are actually named
57049 something starting with __ and the normal name is an alias. */
57050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57051 choke me
57052 #else
57053 char (*f) () = $ac_func;
57054 #endif
57055 #ifdef __cplusplus
57056 }
57057 #endif
57058
57059 int
57060 main ()
57061 {
57062 return f != $ac_func;
57063 ;
57064 return 0;
57065 }
57066 _ACEOF
57067 rm -f conftest.$ac_objext conftest$ac_exeext
57068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57069 (eval $ac_link) 2>conftest.er1
57070 ac_status=$?
57071 grep -v '^ *+' conftest.er1 >conftest.err
57072 rm -f conftest.er1
57073 cat conftest.err >&5
57074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57075 (exit $ac_status); } &&
57076 { ac_try='test -z "$ac_c_werror_flag"
57077 || test ! -s conftest.err'
57078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57079 (eval $ac_try) 2>&5
57080 ac_status=$?
57081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57082 (exit $ac_status); }; } &&
57083 { ac_try='test -s conftest$ac_exeext'
57084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57085 (eval $ac_try) 2>&5
57086 ac_status=$?
57087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57088 (exit $ac_status); }; }; then
57089 eval "$as_ac_var=yes"
57090 else
57091 echo "$as_me: failed program was:" >&5
57092 sed 's/^/| /' conftest.$ac_ext >&5
57093
57094 eval "$as_ac_var=no"
57095 fi
57096 rm -f conftest.err conftest.$ac_objext \
57097 conftest$ac_exeext conftest.$ac_ext
57098 fi
57099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57101 if test `eval echo '${'$as_ac_var'}'` = yes; then
57102 cat >>confdefs.h <<_ACEOF
57103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57104 _ACEOF
57105
57106 fi
57107 done
57108
57109 fi
57110 fi
57111
57112
57113
57114 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
57115 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
57116 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
57117 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
57118 echo $ECHO_N "(cached) $ECHO_C" >&6
57119 else
57120
57121
57122
57123 ac_ext=cc
57124 ac_cpp='$CXXCPP $CPPFLAGS'
57125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57128
57129 cat >conftest.$ac_ext <<_ACEOF
57130 /* confdefs.h. */
57131 _ACEOF
57132 cat confdefs.h >>conftest.$ac_ext
57133 cat >>conftest.$ac_ext <<_ACEOF
57134 /* end confdefs.h. */
57135 #include <math.h>
57136 int
57137 main ()
57138 {
57139 fmodf(0, 0);
57140 ;
57141 return 0;
57142 }
57143 _ACEOF
57144 rm -f conftest.$ac_objext
57145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57146 (eval $ac_compile) 2>conftest.er1
57147 ac_status=$?
57148 grep -v '^ *+' conftest.er1 >conftest.err
57149 rm -f conftest.er1
57150 cat conftest.err >&5
57151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57152 (exit $ac_status); } &&
57153 { ac_try='test -z "$ac_cxx_werror_flag"
57154 || test ! -s conftest.err'
57155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57156 (eval $ac_try) 2>&5
57157 ac_status=$?
57158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57159 (exit $ac_status); }; } &&
57160 { ac_try='test -s conftest.$ac_objext'
57161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57162 (eval $ac_try) 2>&5
57163 ac_status=$?
57164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57165 (exit $ac_status); }; }; then
57166 glibcxx_cv_func_fmodf_use=yes
57167 else
57168 echo "$as_me: failed program was:" >&5
57169 sed 's/^/| /' conftest.$ac_ext >&5
57170
57171 glibcxx_cv_func_fmodf_use=no
57172 fi
57173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57174 ac_ext=c
57175 ac_cpp='$CPP $CPPFLAGS'
57176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57179
57180
57181 fi
57182
57183 fi
57184 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
57185 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
57186
57187 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
57188
57189 for ac_func in fmodf
57190 do
57191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57192 echo "$as_me:$LINENO: checking for $ac_func" >&5
57193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57194 if eval "test \"\${$as_ac_var+set}\" = set"; then
57195 echo $ECHO_N "(cached) $ECHO_C" >&6
57196 else
57197 if test x$gcc_no_link = xyes; then
57198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57200 { (exit 1); exit 1; }; }
57201 fi
57202 cat >conftest.$ac_ext <<_ACEOF
57203 /* confdefs.h. */
57204 _ACEOF
57205 cat confdefs.h >>conftest.$ac_ext
57206 cat >>conftest.$ac_ext <<_ACEOF
57207 /* end confdefs.h. */
57208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57210 #define $ac_func innocuous_$ac_func
57211
57212 /* System header to define __stub macros and hopefully few prototypes,
57213 which can conflict with char $ac_func (); below.
57214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57215 <limits.h> exists even on freestanding compilers. */
57216
57217 #ifdef __STDC__
57218 # include <limits.h>
57219 #else
57220 # include <assert.h>
57221 #endif
57222
57223 #undef $ac_func
57224
57225 /* Override any gcc2 internal prototype to avoid an error. */
57226 #ifdef __cplusplus
57227 extern "C"
57228 {
57229 #endif
57230 /* We use char because int might match the return type of a gcc2
57231 builtin and then its argument prototype would still apply. */
57232 char $ac_func ();
57233 /* The GNU C library defines this for functions which it implements
57234 to always fail with ENOSYS. Some functions are actually named
57235 something starting with __ and the normal name is an alias. */
57236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57237 choke me
57238 #else
57239 char (*f) () = $ac_func;
57240 #endif
57241 #ifdef __cplusplus
57242 }
57243 #endif
57244
57245 int
57246 main ()
57247 {
57248 return f != $ac_func;
57249 ;
57250 return 0;
57251 }
57252 _ACEOF
57253 rm -f conftest.$ac_objext conftest$ac_exeext
57254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57255 (eval $ac_link) 2>conftest.er1
57256 ac_status=$?
57257 grep -v '^ *+' conftest.er1 >conftest.err
57258 rm -f conftest.er1
57259 cat conftest.err >&5
57260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57261 (exit $ac_status); } &&
57262 { ac_try='test -z "$ac_c_werror_flag"
57263 || test ! -s conftest.err'
57264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57265 (eval $ac_try) 2>&5
57266 ac_status=$?
57267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57268 (exit $ac_status); }; } &&
57269 { ac_try='test -s conftest$ac_exeext'
57270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57271 (eval $ac_try) 2>&5
57272 ac_status=$?
57273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57274 (exit $ac_status); }; }; then
57275 eval "$as_ac_var=yes"
57276 else
57277 echo "$as_me: failed program was:" >&5
57278 sed 's/^/| /' conftest.$ac_ext >&5
57279
57280 eval "$as_ac_var=no"
57281 fi
57282 rm -f conftest.err conftest.$ac_objext \
57283 conftest$ac_exeext conftest.$ac_ext
57284 fi
57285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57287 if test `eval echo '${'$as_ac_var'}'` = yes; then
57288 cat >>confdefs.h <<_ACEOF
57289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57290 _ACEOF
57291
57292 fi
57293 done
57294
57295 else
57296
57297 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
57298 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
57299 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
57300 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
57301 echo $ECHO_N "(cached) $ECHO_C" >&6
57302 else
57303
57304
57305
57306 ac_ext=cc
57307 ac_cpp='$CXXCPP $CPPFLAGS'
57308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57311
57312 cat >conftest.$ac_ext <<_ACEOF
57313 /* confdefs.h. */
57314 _ACEOF
57315 cat confdefs.h >>conftest.$ac_ext
57316 cat >>conftest.$ac_ext <<_ACEOF
57317 /* end confdefs.h. */
57318 #include <math.h>
57319 int
57320 main ()
57321 {
57322 _fmodf(0, 0);
57323 ;
57324 return 0;
57325 }
57326 _ACEOF
57327 rm -f conftest.$ac_objext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57329 (eval $ac_compile) 2>conftest.er1
57330 ac_status=$?
57331 grep -v '^ *+' conftest.er1 >conftest.err
57332 rm -f conftest.er1
57333 cat conftest.err >&5
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); } &&
57336 { ac_try='test -z "$ac_cxx_werror_flag"
57337 || test ! -s conftest.err'
57338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57339 (eval $ac_try) 2>&5
57340 ac_status=$?
57341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57342 (exit $ac_status); }; } &&
57343 { ac_try='test -s conftest.$ac_objext'
57344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57345 (eval $ac_try) 2>&5
57346 ac_status=$?
57347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57348 (exit $ac_status); }; }; then
57349 glibcxx_cv_func__fmodf_use=yes
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57353
57354 glibcxx_cv_func__fmodf_use=no
57355 fi
57356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57357 ac_ext=c
57358 ac_cpp='$CPP $CPPFLAGS'
57359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57362
57363
57364 fi
57365
57366 fi
57367 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
57368 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
57369
57370 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57371
57372 for ac_func in _fmodf
57373 do
57374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57375 echo "$as_me:$LINENO: checking for $ac_func" >&5
57376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57377 if eval "test \"\${$as_ac_var+set}\" = set"; then
57378 echo $ECHO_N "(cached) $ECHO_C" >&6
57379 else
57380 if test x$gcc_no_link = xyes; then
57381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57383 { (exit 1); exit 1; }; }
57384 fi
57385 cat >conftest.$ac_ext <<_ACEOF
57386 /* confdefs.h. */
57387 _ACEOF
57388 cat confdefs.h >>conftest.$ac_ext
57389 cat >>conftest.$ac_ext <<_ACEOF
57390 /* end confdefs.h. */
57391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57393 #define $ac_func innocuous_$ac_func
57394
57395 /* System header to define __stub macros and hopefully few prototypes,
57396 which can conflict with char $ac_func (); below.
57397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57398 <limits.h> exists even on freestanding compilers. */
57399
57400 #ifdef __STDC__
57401 # include <limits.h>
57402 #else
57403 # include <assert.h>
57404 #endif
57405
57406 #undef $ac_func
57407
57408 /* Override any gcc2 internal prototype to avoid an error. */
57409 #ifdef __cplusplus
57410 extern "C"
57411 {
57412 #endif
57413 /* We use char because int might match the return type of a gcc2
57414 builtin and then its argument prototype would still apply. */
57415 char $ac_func ();
57416 /* The GNU C library defines this for functions which it implements
57417 to always fail with ENOSYS. Some functions are actually named
57418 something starting with __ and the normal name is an alias. */
57419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57420 choke me
57421 #else
57422 char (*f) () = $ac_func;
57423 #endif
57424 #ifdef __cplusplus
57425 }
57426 #endif
57427
57428 int
57429 main ()
57430 {
57431 return f != $ac_func;
57432 ;
57433 return 0;
57434 }
57435 _ACEOF
57436 rm -f conftest.$ac_objext conftest$ac_exeext
57437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57438 (eval $ac_link) 2>conftest.er1
57439 ac_status=$?
57440 grep -v '^ *+' conftest.er1 >conftest.err
57441 rm -f conftest.er1
57442 cat conftest.err >&5
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); } &&
57445 { ac_try='test -z "$ac_c_werror_flag"
57446 || test ! -s conftest.err'
57447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57448 (eval $ac_try) 2>&5
57449 ac_status=$?
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); }; } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57455 ac_status=$?
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57459 else
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57462
57463 eval "$as_ac_var=no"
57464 fi
57465 rm -f conftest.err conftest.$ac_objext \
57466 conftest$ac_exeext conftest.$ac_ext
57467 fi
57468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57470 if test `eval echo '${'$as_ac_var'}'` = yes; then
57471 cat >>confdefs.h <<_ACEOF
57472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57473 _ACEOF
57474
57475 fi
57476 done
57477
57478 fi
57479 fi
57480
57481
57482
57483 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
57484 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
57485 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57486 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
57487 echo $ECHO_N "(cached) $ECHO_C" >&6
57488 else
57489
57490
57491
57492 ac_ext=cc
57493 ac_cpp='$CXXCPP $CPPFLAGS'
57494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57497
57498 cat >conftest.$ac_ext <<_ACEOF
57499 /* confdefs.h. */
57500 _ACEOF
57501 cat confdefs.h >>conftest.$ac_ext
57502 cat >>conftest.$ac_ext <<_ACEOF
57503 /* end confdefs.h. */
57504 #include <math.h>
57505 int
57506 main ()
57507 {
57508 frexpf(0, 0);
57509 ;
57510 return 0;
57511 }
57512 _ACEOF
57513 rm -f conftest.$ac_objext
57514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57515 (eval $ac_compile) 2>conftest.er1
57516 ac_status=$?
57517 grep -v '^ *+' conftest.er1 >conftest.err
57518 rm -f conftest.er1
57519 cat conftest.err >&5
57520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57521 (exit $ac_status); } &&
57522 { ac_try='test -z "$ac_cxx_werror_flag"
57523 || test ! -s conftest.err'
57524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57525 (eval $ac_try) 2>&5
57526 ac_status=$?
57527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528 (exit $ac_status); }; } &&
57529 { ac_try='test -s conftest.$ac_objext'
57530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57531 (eval $ac_try) 2>&5
57532 ac_status=$?
57533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57534 (exit $ac_status); }; }; then
57535 glibcxx_cv_func_frexpf_use=yes
57536 else
57537 echo "$as_me: failed program was:" >&5
57538 sed 's/^/| /' conftest.$ac_ext >&5
57539
57540 glibcxx_cv_func_frexpf_use=no
57541 fi
57542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57543 ac_ext=c
57544 ac_cpp='$CPP $CPPFLAGS'
57545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57548
57549
57550 fi
57551
57552 fi
57553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
57554 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
57555
57556 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57557
57558 for ac_func in frexpf
57559 do
57560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57561 echo "$as_me:$LINENO: checking for $ac_func" >&5
57562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57563 if eval "test \"\${$as_ac_var+set}\" = set"; then
57564 echo $ECHO_N "(cached) $ECHO_C" >&6
57565 else
57566 if test x$gcc_no_link = xyes; then
57567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57569 { (exit 1); exit 1; }; }
57570 fi
57571 cat >conftest.$ac_ext <<_ACEOF
57572 /* confdefs.h. */
57573 _ACEOF
57574 cat confdefs.h >>conftest.$ac_ext
57575 cat >>conftest.$ac_ext <<_ACEOF
57576 /* end confdefs.h. */
57577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57579 #define $ac_func innocuous_$ac_func
57580
57581 /* System header to define __stub macros and hopefully few prototypes,
57582 which can conflict with char $ac_func (); below.
57583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57584 <limits.h> exists even on freestanding compilers. */
57585
57586 #ifdef __STDC__
57587 # include <limits.h>
57588 #else
57589 # include <assert.h>
57590 #endif
57591
57592 #undef $ac_func
57593
57594 /* Override any gcc2 internal prototype to avoid an error. */
57595 #ifdef __cplusplus
57596 extern "C"
57597 {
57598 #endif
57599 /* We use char because int might match the return type of a gcc2
57600 builtin and then its argument prototype would still apply. */
57601 char $ac_func ();
57602 /* The GNU C library defines this for functions which it implements
57603 to always fail with ENOSYS. Some functions are actually named
57604 something starting with __ and the normal name is an alias. */
57605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57606 choke me
57607 #else
57608 char (*f) () = $ac_func;
57609 #endif
57610 #ifdef __cplusplus
57611 }
57612 #endif
57613
57614 int
57615 main ()
57616 {
57617 return f != $ac_func;
57618 ;
57619 return 0;
57620 }
57621 _ACEOF
57622 rm -f conftest.$ac_objext conftest$ac_exeext
57623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57624 (eval $ac_link) 2>conftest.er1
57625 ac_status=$?
57626 grep -v '^ *+' conftest.er1 >conftest.err
57627 rm -f conftest.er1
57628 cat conftest.err >&5
57629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630 (exit $ac_status); } &&
57631 { ac_try='test -z "$ac_c_werror_flag"
57632 || test ! -s conftest.err'
57633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57634 (eval $ac_try) 2>&5
57635 ac_status=$?
57636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637 (exit $ac_status); }; } &&
57638 { ac_try='test -s conftest$ac_exeext'
57639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57640 (eval $ac_try) 2>&5
57641 ac_status=$?
57642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57643 (exit $ac_status); }; }; then
57644 eval "$as_ac_var=yes"
57645 else
57646 echo "$as_me: failed program was:" >&5
57647 sed 's/^/| /' conftest.$ac_ext >&5
57648
57649 eval "$as_ac_var=no"
57650 fi
57651 rm -f conftest.err conftest.$ac_objext \
57652 conftest$ac_exeext conftest.$ac_ext
57653 fi
57654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57656 if test `eval echo '${'$as_ac_var'}'` = yes; then
57657 cat >>confdefs.h <<_ACEOF
57658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57659 _ACEOF
57660
57661 fi
57662 done
57663
57664 else
57665
57666 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
57667 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
57668 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57669 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
57670 echo $ECHO_N "(cached) $ECHO_C" >&6
57671 else
57672
57673
57674
57675 ac_ext=cc
57676 ac_cpp='$CXXCPP $CPPFLAGS'
57677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57680
57681 cat >conftest.$ac_ext <<_ACEOF
57682 /* confdefs.h. */
57683 _ACEOF
57684 cat confdefs.h >>conftest.$ac_ext
57685 cat >>conftest.$ac_ext <<_ACEOF
57686 /* end confdefs.h. */
57687 #include <math.h>
57688 int
57689 main ()
57690 {
57691 _frexpf(0, 0);
57692 ;
57693 return 0;
57694 }
57695 _ACEOF
57696 rm -f conftest.$ac_objext
57697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57698 (eval $ac_compile) 2>conftest.er1
57699 ac_status=$?
57700 grep -v '^ *+' conftest.er1 >conftest.err
57701 rm -f conftest.er1
57702 cat conftest.err >&5
57703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57704 (exit $ac_status); } &&
57705 { ac_try='test -z "$ac_cxx_werror_flag"
57706 || test ! -s conftest.err'
57707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57708 (eval $ac_try) 2>&5
57709 ac_status=$?
57710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57711 (exit $ac_status); }; } &&
57712 { ac_try='test -s conftest.$ac_objext'
57713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57714 (eval $ac_try) 2>&5
57715 ac_status=$?
57716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57717 (exit $ac_status); }; }; then
57718 glibcxx_cv_func__frexpf_use=yes
57719 else
57720 echo "$as_me: failed program was:" >&5
57721 sed 's/^/| /' conftest.$ac_ext >&5
57722
57723 glibcxx_cv_func__frexpf_use=no
57724 fi
57725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57726 ac_ext=c
57727 ac_cpp='$CPP $CPPFLAGS'
57728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731
57732
57733 fi
57734
57735 fi
57736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
57737 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
57738
57739 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57740
57741 for ac_func in _frexpf
57742 do
57743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57744 echo "$as_me:$LINENO: checking for $ac_func" >&5
57745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57746 if eval "test \"\${$as_ac_var+set}\" = set"; then
57747 echo $ECHO_N "(cached) $ECHO_C" >&6
57748 else
57749 if test x$gcc_no_link = xyes; then
57750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57752 { (exit 1); exit 1; }; }
57753 fi
57754 cat >conftest.$ac_ext <<_ACEOF
57755 /* confdefs.h. */
57756 _ACEOF
57757 cat confdefs.h >>conftest.$ac_ext
57758 cat >>conftest.$ac_ext <<_ACEOF
57759 /* end confdefs.h. */
57760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57762 #define $ac_func innocuous_$ac_func
57763
57764 /* System header to define __stub macros and hopefully few prototypes,
57765 which can conflict with char $ac_func (); below.
57766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57767 <limits.h> exists even on freestanding compilers. */
57768
57769 #ifdef __STDC__
57770 # include <limits.h>
57771 #else
57772 # include <assert.h>
57773 #endif
57774
57775 #undef $ac_func
57776
57777 /* Override any gcc2 internal prototype to avoid an error. */
57778 #ifdef __cplusplus
57779 extern "C"
57780 {
57781 #endif
57782 /* We use char because int might match the return type of a gcc2
57783 builtin and then its argument prototype would still apply. */
57784 char $ac_func ();
57785 /* The GNU C library defines this for functions which it implements
57786 to always fail with ENOSYS. Some functions are actually named
57787 something starting with __ and the normal name is an alias. */
57788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57789 choke me
57790 #else
57791 char (*f) () = $ac_func;
57792 #endif
57793 #ifdef __cplusplus
57794 }
57795 #endif
57796
57797 int
57798 main ()
57799 {
57800 return f != $ac_func;
57801 ;
57802 return 0;
57803 }
57804 _ACEOF
57805 rm -f conftest.$ac_objext conftest$ac_exeext
57806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57807 (eval $ac_link) 2>conftest.er1
57808 ac_status=$?
57809 grep -v '^ *+' conftest.er1 >conftest.err
57810 rm -f conftest.er1
57811 cat conftest.err >&5
57812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57813 (exit $ac_status); } &&
57814 { ac_try='test -z "$ac_c_werror_flag"
57815 || test ! -s conftest.err'
57816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57817 (eval $ac_try) 2>&5
57818 ac_status=$?
57819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57820 (exit $ac_status); }; } &&
57821 { ac_try='test -s conftest$ac_exeext'
57822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57823 (eval $ac_try) 2>&5
57824 ac_status=$?
57825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57826 (exit $ac_status); }; }; then
57827 eval "$as_ac_var=yes"
57828 else
57829 echo "$as_me: failed program was:" >&5
57830 sed 's/^/| /' conftest.$ac_ext >&5
57831
57832 eval "$as_ac_var=no"
57833 fi
57834 rm -f conftest.err conftest.$ac_objext \
57835 conftest$ac_exeext conftest.$ac_ext
57836 fi
57837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57839 if test `eval echo '${'$as_ac_var'}'` = yes; then
57840 cat >>confdefs.h <<_ACEOF
57841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57842 _ACEOF
57843
57844 fi
57845 done
57846
57847 fi
57848 fi
57849
57850
57851
57852 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
57853 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
57854 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57855 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
57856 echo $ECHO_N "(cached) $ECHO_C" >&6
57857 else
57858
57859
57860
57861 ac_ext=cc
57862 ac_cpp='$CXXCPP $CPPFLAGS'
57863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57866
57867 cat >conftest.$ac_ext <<_ACEOF
57868 /* confdefs.h. */
57869 _ACEOF
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h. */
57873 #include <math.h>
57874 int
57875 main ()
57876 {
57877 hypotf(0, 0);
57878 ;
57879 return 0;
57880 }
57881 _ACEOF
57882 rm -f conftest.$ac_objext
57883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57884 (eval $ac_compile) 2>conftest.er1
57885 ac_status=$?
57886 grep -v '^ *+' conftest.er1 >conftest.err
57887 rm -f conftest.er1
57888 cat conftest.err >&5
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); } &&
57891 { ac_try='test -z "$ac_cxx_werror_flag"
57892 || test ! -s conftest.err'
57893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57894 (eval $ac_try) 2>&5
57895 ac_status=$?
57896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57897 (exit $ac_status); }; } &&
57898 { ac_try='test -s conftest.$ac_objext'
57899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57900 (eval $ac_try) 2>&5
57901 ac_status=$?
57902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57903 (exit $ac_status); }; }; then
57904 glibcxx_cv_func_hypotf_use=yes
57905 else
57906 echo "$as_me: failed program was:" >&5
57907 sed 's/^/| /' conftest.$ac_ext >&5
57908
57909 glibcxx_cv_func_hypotf_use=no
57910 fi
57911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57912 ac_ext=c
57913 ac_cpp='$CPP $CPPFLAGS'
57914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57917
57918
57919 fi
57920
57921 fi
57922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
57923 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
57924
57925 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57926
57927 for ac_func in hypotf
57928 do
57929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57930 echo "$as_me:$LINENO: checking for $ac_func" >&5
57931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57932 if eval "test \"\${$as_ac_var+set}\" = set"; then
57933 echo $ECHO_N "(cached) $ECHO_C" >&6
57934 else
57935 if test x$gcc_no_link = xyes; then
57936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57938 { (exit 1); exit 1; }; }
57939 fi
57940 cat >conftest.$ac_ext <<_ACEOF
57941 /* confdefs.h. */
57942 _ACEOF
57943 cat confdefs.h >>conftest.$ac_ext
57944 cat >>conftest.$ac_ext <<_ACEOF
57945 /* end confdefs.h. */
57946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57948 #define $ac_func innocuous_$ac_func
57949
57950 /* System header to define __stub macros and hopefully few prototypes,
57951 which can conflict with char $ac_func (); below.
57952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57953 <limits.h> exists even on freestanding compilers. */
57954
57955 #ifdef __STDC__
57956 # include <limits.h>
57957 #else
57958 # include <assert.h>
57959 #endif
57960
57961 #undef $ac_func
57962
57963 /* Override any gcc2 internal prototype to avoid an error. */
57964 #ifdef __cplusplus
57965 extern "C"
57966 {
57967 #endif
57968 /* We use char because int might match the return type of a gcc2
57969 builtin and then its argument prototype would still apply. */
57970 char $ac_func ();
57971 /* The GNU C library defines this for functions which it implements
57972 to always fail with ENOSYS. Some functions are actually named
57973 something starting with __ and the normal name is an alias. */
57974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57975 choke me
57976 #else
57977 char (*f) () = $ac_func;
57978 #endif
57979 #ifdef __cplusplus
57980 }
57981 #endif
57982
57983 int
57984 main ()
57985 {
57986 return f != $ac_func;
57987 ;
57988 return 0;
57989 }
57990 _ACEOF
57991 rm -f conftest.$ac_objext conftest$ac_exeext
57992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57993 (eval $ac_link) 2>conftest.er1
57994 ac_status=$?
57995 grep -v '^ *+' conftest.er1 >conftest.err
57996 rm -f conftest.er1
57997 cat conftest.err >&5
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); } &&
58000 { ac_try='test -z "$ac_c_werror_flag"
58001 || test ! -s conftest.err'
58002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58003 (eval $ac_try) 2>&5
58004 ac_status=$?
58005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58006 (exit $ac_status); }; } &&
58007 { ac_try='test -s conftest$ac_exeext'
58008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58009 (eval $ac_try) 2>&5
58010 ac_status=$?
58011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58012 (exit $ac_status); }; }; then
58013 eval "$as_ac_var=yes"
58014 else
58015 echo "$as_me: failed program was:" >&5
58016 sed 's/^/| /' conftest.$ac_ext >&5
58017
58018 eval "$as_ac_var=no"
58019 fi
58020 rm -f conftest.err conftest.$ac_objext \
58021 conftest$ac_exeext conftest.$ac_ext
58022 fi
58023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58025 if test `eval echo '${'$as_ac_var'}'` = yes; then
58026 cat >>confdefs.h <<_ACEOF
58027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58028 _ACEOF
58029
58030 fi
58031 done
58032
58033 else
58034
58035 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
58036 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
58037 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
58038 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
58039 echo $ECHO_N "(cached) $ECHO_C" >&6
58040 else
58041
58042
58043
58044 ac_ext=cc
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049
58050 cat >conftest.$ac_ext <<_ACEOF
58051 /* confdefs.h. */
58052 _ACEOF
58053 cat confdefs.h >>conftest.$ac_ext
58054 cat >>conftest.$ac_ext <<_ACEOF
58055 /* end confdefs.h. */
58056 #include <math.h>
58057 int
58058 main ()
58059 {
58060 _hypotf(0, 0);
58061 ;
58062 return 0;
58063 }
58064 _ACEOF
58065 rm -f conftest.$ac_objext
58066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58067 (eval $ac_compile) 2>conftest.er1
58068 ac_status=$?
58069 grep -v '^ *+' conftest.er1 >conftest.err
58070 rm -f conftest.er1
58071 cat conftest.err >&5
58072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58073 (exit $ac_status); } &&
58074 { ac_try='test -z "$ac_cxx_werror_flag"
58075 || test ! -s conftest.err'
58076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58077 (eval $ac_try) 2>&5
58078 ac_status=$?
58079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58080 (exit $ac_status); }; } &&
58081 { ac_try='test -s conftest.$ac_objext'
58082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58083 (eval $ac_try) 2>&5
58084 ac_status=$?
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); }; }; then
58087 glibcxx_cv_func__hypotf_use=yes
58088 else
58089 echo "$as_me: failed program was:" >&5
58090 sed 's/^/| /' conftest.$ac_ext >&5
58091
58092 glibcxx_cv_func__hypotf_use=no
58093 fi
58094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58095 ac_ext=c
58096 ac_cpp='$CPP $CPPFLAGS'
58097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58100
58101
58102 fi
58103
58104 fi
58105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
58106 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
58107
58108 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
58109
58110 for ac_func in _hypotf
58111 do
58112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58113 echo "$as_me:$LINENO: checking for $ac_func" >&5
58114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58115 if eval "test \"\${$as_ac_var+set}\" = set"; then
58116 echo $ECHO_N "(cached) $ECHO_C" >&6
58117 else
58118 if test x$gcc_no_link = xyes; then
58119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58121 { (exit 1); exit 1; }; }
58122 fi
58123 cat >conftest.$ac_ext <<_ACEOF
58124 /* confdefs.h. */
58125 _ACEOF
58126 cat confdefs.h >>conftest.$ac_ext
58127 cat >>conftest.$ac_ext <<_ACEOF
58128 /* end confdefs.h. */
58129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58131 #define $ac_func innocuous_$ac_func
58132
58133 /* System header to define __stub macros and hopefully few prototypes,
58134 which can conflict with char $ac_func (); below.
58135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58136 <limits.h> exists even on freestanding compilers. */
58137
58138 #ifdef __STDC__
58139 # include <limits.h>
58140 #else
58141 # include <assert.h>
58142 #endif
58143
58144 #undef $ac_func
58145
58146 /* Override any gcc2 internal prototype to avoid an error. */
58147 #ifdef __cplusplus
58148 extern "C"
58149 {
58150 #endif
58151 /* We use char because int might match the return type of a gcc2
58152 builtin and then its argument prototype would still apply. */
58153 char $ac_func ();
58154 /* The GNU C library defines this for functions which it implements
58155 to always fail with ENOSYS. Some functions are actually named
58156 something starting with __ and the normal name is an alias. */
58157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58158 choke me
58159 #else
58160 char (*f) () = $ac_func;
58161 #endif
58162 #ifdef __cplusplus
58163 }
58164 #endif
58165
58166 int
58167 main ()
58168 {
58169 return f != $ac_func;
58170 ;
58171 return 0;
58172 }
58173 _ACEOF
58174 rm -f conftest.$ac_objext conftest$ac_exeext
58175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58176 (eval $ac_link) 2>conftest.er1
58177 ac_status=$?
58178 grep -v '^ *+' conftest.er1 >conftest.err
58179 rm -f conftest.er1
58180 cat conftest.err >&5
58181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58182 (exit $ac_status); } &&
58183 { ac_try='test -z "$ac_c_werror_flag"
58184 || test ! -s conftest.err'
58185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58186 (eval $ac_try) 2>&5
58187 ac_status=$?
58188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189 (exit $ac_status); }; } &&
58190 { ac_try='test -s conftest$ac_exeext'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; }; then
58196 eval "$as_ac_var=yes"
58197 else
58198 echo "$as_me: failed program was:" >&5
58199 sed 's/^/| /' conftest.$ac_ext >&5
58200
58201 eval "$as_ac_var=no"
58202 fi
58203 rm -f conftest.err conftest.$ac_objext \
58204 conftest$ac_exeext conftest.$ac_ext
58205 fi
58206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58208 if test `eval echo '${'$as_ac_var'}'` = yes; then
58209 cat >>confdefs.h <<_ACEOF
58210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58211 _ACEOF
58212
58213 fi
58214 done
58215
58216 fi
58217 fi
58218
58219
58220
58221 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
58222 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
58223 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
58224 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
58225 echo $ECHO_N "(cached) $ECHO_C" >&6
58226 else
58227
58228
58229
58230 ac_ext=cc
58231 ac_cpp='$CXXCPP $CPPFLAGS'
58232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58235
58236 cat >conftest.$ac_ext <<_ACEOF
58237 /* confdefs.h. */
58238 _ACEOF
58239 cat confdefs.h >>conftest.$ac_ext
58240 cat >>conftest.$ac_ext <<_ACEOF
58241 /* end confdefs.h. */
58242 #include <math.h>
58243 int
58244 main ()
58245 {
58246 ldexpf(0, 0);
58247 ;
58248 return 0;
58249 }
58250 _ACEOF
58251 rm -f conftest.$ac_objext
58252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58253 (eval $ac_compile) 2>conftest.er1
58254 ac_status=$?
58255 grep -v '^ *+' conftest.er1 >conftest.err
58256 rm -f conftest.er1
58257 cat conftest.err >&5
58258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58259 (exit $ac_status); } &&
58260 { ac_try='test -z "$ac_cxx_werror_flag"
58261 || test ! -s conftest.err'
58262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58263 (eval $ac_try) 2>&5
58264 ac_status=$?
58265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266 (exit $ac_status); }; } &&
58267 { ac_try='test -s conftest.$ac_objext'
58268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269 (eval $ac_try) 2>&5
58270 ac_status=$?
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); }; }; then
58273 glibcxx_cv_func_ldexpf_use=yes
58274 else
58275 echo "$as_me: failed program was:" >&5
58276 sed 's/^/| /' conftest.$ac_ext >&5
58277
58278 glibcxx_cv_func_ldexpf_use=no
58279 fi
58280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58281 ac_ext=c
58282 ac_cpp='$CPP $CPPFLAGS'
58283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58286
58287
58288 fi
58289
58290 fi
58291 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
58292 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
58293
58294 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
58295
58296 for ac_func in ldexpf
58297 do
58298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58299 echo "$as_me:$LINENO: checking for $ac_func" >&5
58300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58301 if eval "test \"\${$as_ac_var+set}\" = set"; then
58302 echo $ECHO_N "(cached) $ECHO_C" >&6
58303 else
58304 if test x$gcc_no_link = xyes; then
58305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58307 { (exit 1); exit 1; }; }
58308 fi
58309 cat >conftest.$ac_ext <<_ACEOF
58310 /* confdefs.h. */
58311 _ACEOF
58312 cat confdefs.h >>conftest.$ac_ext
58313 cat >>conftest.$ac_ext <<_ACEOF
58314 /* end confdefs.h. */
58315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58317 #define $ac_func innocuous_$ac_func
58318
58319 /* System header to define __stub macros and hopefully few prototypes,
58320 which can conflict with char $ac_func (); below.
58321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58322 <limits.h> exists even on freestanding compilers. */
58323
58324 #ifdef __STDC__
58325 # include <limits.h>
58326 #else
58327 # include <assert.h>
58328 #endif
58329
58330 #undef $ac_func
58331
58332 /* Override any gcc2 internal prototype to avoid an error. */
58333 #ifdef __cplusplus
58334 extern "C"
58335 {
58336 #endif
58337 /* We use char because int might match the return type of a gcc2
58338 builtin and then its argument prototype would still apply. */
58339 char $ac_func ();
58340 /* The GNU C library defines this for functions which it implements
58341 to always fail with ENOSYS. Some functions are actually named
58342 something starting with __ and the normal name is an alias. */
58343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58344 choke me
58345 #else
58346 char (*f) () = $ac_func;
58347 #endif
58348 #ifdef __cplusplus
58349 }
58350 #endif
58351
58352 int
58353 main ()
58354 {
58355 return f != $ac_func;
58356 ;
58357 return 0;
58358 }
58359 _ACEOF
58360 rm -f conftest.$ac_objext conftest$ac_exeext
58361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58362 (eval $ac_link) 2>conftest.er1
58363 ac_status=$?
58364 grep -v '^ *+' conftest.er1 >conftest.err
58365 rm -f conftest.er1
58366 cat conftest.err >&5
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); } &&
58369 { ac_try='test -z "$ac_c_werror_flag"
58370 || test ! -s conftest.err'
58371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58372 (eval $ac_try) 2>&5
58373 ac_status=$?
58374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58375 (exit $ac_status); }; } &&
58376 { ac_try='test -s conftest$ac_exeext'
58377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58378 (eval $ac_try) 2>&5
58379 ac_status=$?
58380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58381 (exit $ac_status); }; }; then
58382 eval "$as_ac_var=yes"
58383 else
58384 echo "$as_me: failed program was:" >&5
58385 sed 's/^/| /' conftest.$ac_ext >&5
58386
58387 eval "$as_ac_var=no"
58388 fi
58389 rm -f conftest.err conftest.$ac_objext \
58390 conftest$ac_exeext conftest.$ac_ext
58391 fi
58392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58394 if test `eval echo '${'$as_ac_var'}'` = yes; then
58395 cat >>confdefs.h <<_ACEOF
58396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58397 _ACEOF
58398
58399 fi
58400 done
58401
58402 else
58403
58404 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
58405 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
58406 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
58407 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
58408 echo $ECHO_N "(cached) $ECHO_C" >&6
58409 else
58410
58411
58412
58413 ac_ext=cc
58414 ac_cpp='$CXXCPP $CPPFLAGS'
58415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58418
58419 cat >conftest.$ac_ext <<_ACEOF
58420 /* confdefs.h. */
58421 _ACEOF
58422 cat confdefs.h >>conftest.$ac_ext
58423 cat >>conftest.$ac_ext <<_ACEOF
58424 /* end confdefs.h. */
58425 #include <math.h>
58426 int
58427 main ()
58428 {
58429 _ldexpf(0, 0);
58430 ;
58431 return 0;
58432 }
58433 _ACEOF
58434 rm -f conftest.$ac_objext
58435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58436 (eval $ac_compile) 2>conftest.er1
58437 ac_status=$?
58438 grep -v '^ *+' conftest.er1 >conftest.err
58439 rm -f conftest.er1
58440 cat conftest.err >&5
58441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58442 (exit $ac_status); } &&
58443 { ac_try='test -z "$ac_cxx_werror_flag"
58444 || test ! -s conftest.err'
58445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58446 (eval $ac_try) 2>&5
58447 ac_status=$?
58448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58449 (exit $ac_status); }; } &&
58450 { ac_try='test -s conftest.$ac_objext'
58451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58452 (eval $ac_try) 2>&5
58453 ac_status=$?
58454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455 (exit $ac_status); }; }; then
58456 glibcxx_cv_func__ldexpf_use=yes
58457 else
58458 echo "$as_me: failed program was:" >&5
58459 sed 's/^/| /' conftest.$ac_ext >&5
58460
58461 glibcxx_cv_func__ldexpf_use=no
58462 fi
58463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58469
58470
58471 fi
58472
58473 fi
58474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
58475 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
58476
58477 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
58478
58479 for ac_func in _ldexpf
58480 do
58481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58482 echo "$as_me:$LINENO: checking for $ac_func" >&5
58483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58484 if eval "test \"\${$as_ac_var+set}\" = set"; then
58485 echo $ECHO_N "(cached) $ECHO_C" >&6
58486 else
58487 if test x$gcc_no_link = xyes; then
58488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58490 { (exit 1); exit 1; }; }
58491 fi
58492 cat >conftest.$ac_ext <<_ACEOF
58493 /* confdefs.h. */
58494 _ACEOF
58495 cat confdefs.h >>conftest.$ac_ext
58496 cat >>conftest.$ac_ext <<_ACEOF
58497 /* end confdefs.h. */
58498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58500 #define $ac_func innocuous_$ac_func
58501
58502 /* System header to define __stub macros and hopefully few prototypes,
58503 which can conflict with char $ac_func (); below.
58504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58505 <limits.h> exists even on freestanding compilers. */
58506
58507 #ifdef __STDC__
58508 # include <limits.h>
58509 #else
58510 # include <assert.h>
58511 #endif
58512
58513 #undef $ac_func
58514
58515 /* Override any gcc2 internal prototype to avoid an error. */
58516 #ifdef __cplusplus
58517 extern "C"
58518 {
58519 #endif
58520 /* We use char because int might match the return type of a gcc2
58521 builtin and then its argument prototype would still apply. */
58522 char $ac_func ();
58523 /* The GNU C library defines this for functions which it implements
58524 to always fail with ENOSYS. Some functions are actually named
58525 something starting with __ and the normal name is an alias. */
58526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58527 choke me
58528 #else
58529 char (*f) () = $ac_func;
58530 #endif
58531 #ifdef __cplusplus
58532 }
58533 #endif
58534
58535 int
58536 main ()
58537 {
58538 return f != $ac_func;
58539 ;
58540 return 0;
58541 }
58542 _ACEOF
58543 rm -f conftest.$ac_objext conftest$ac_exeext
58544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58545 (eval $ac_link) 2>conftest.er1
58546 ac_status=$?
58547 grep -v '^ *+' conftest.er1 >conftest.err
58548 rm -f conftest.er1
58549 cat conftest.err >&5
58550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58551 (exit $ac_status); } &&
58552 { ac_try='test -z "$ac_c_werror_flag"
58553 || test ! -s conftest.err'
58554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58555 (eval $ac_try) 2>&5
58556 ac_status=$?
58557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58558 (exit $ac_status); }; } &&
58559 { ac_try='test -s conftest$ac_exeext'
58560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58561 (eval $ac_try) 2>&5
58562 ac_status=$?
58563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58564 (exit $ac_status); }; }; then
58565 eval "$as_ac_var=yes"
58566 else
58567 echo "$as_me: failed program was:" >&5
58568 sed 's/^/| /' conftest.$ac_ext >&5
58569
58570 eval "$as_ac_var=no"
58571 fi
58572 rm -f conftest.err conftest.$ac_objext \
58573 conftest$ac_exeext conftest.$ac_ext
58574 fi
58575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58577 if test `eval echo '${'$as_ac_var'}'` = yes; then
58578 cat >>confdefs.h <<_ACEOF
58579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58580 _ACEOF
58581
58582 fi
58583 done
58584
58585 fi
58586 fi
58587
58588
58589
58590 echo "$as_me:$LINENO: checking for logf declaration" >&5
58591 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
58592 if test x${glibcxx_cv_func_logf_use+set} != xset; then
58593 if test "${glibcxx_cv_func_logf_use+set}" = set; then
58594 echo $ECHO_N "(cached) $ECHO_C" >&6
58595 else
58596
58597
58598
58599 ac_ext=cc
58600 ac_cpp='$CXXCPP $CPPFLAGS'
58601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58604
58605 cat >conftest.$ac_ext <<_ACEOF
58606 /* confdefs.h. */
58607 _ACEOF
58608 cat confdefs.h >>conftest.$ac_ext
58609 cat >>conftest.$ac_ext <<_ACEOF
58610 /* end confdefs.h. */
58611 #include <math.h>
58612 #ifdef HAVE_IEEEFP_H
58613 #include <ieeefp.h>
58614 #endif
58615
58616 int
58617 main ()
58618 {
58619 logf(0);
58620 ;
58621 return 0;
58622 }
58623 _ACEOF
58624 rm -f conftest.$ac_objext
58625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58626 (eval $ac_compile) 2>conftest.er1
58627 ac_status=$?
58628 grep -v '^ *+' conftest.er1 >conftest.err
58629 rm -f conftest.er1
58630 cat conftest.err >&5
58631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58632 (exit $ac_status); } &&
58633 { ac_try='test -z "$ac_cxx_werror_flag"
58634 || test ! -s conftest.err'
58635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58636 (eval $ac_try) 2>&5
58637 ac_status=$?
58638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58639 (exit $ac_status); }; } &&
58640 { ac_try='test -s conftest.$ac_objext'
58641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58642 (eval $ac_try) 2>&5
58643 ac_status=$?
58644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645 (exit $ac_status); }; }; then
58646 glibcxx_cv_func_logf_use=yes
58647 else
58648 echo "$as_me: failed program was:" >&5
58649 sed 's/^/| /' conftest.$ac_ext >&5
58650
58651 glibcxx_cv_func_logf_use=no
58652 fi
58653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58654 ac_ext=c
58655 ac_cpp='$CPP $CPPFLAGS'
58656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58659
58660
58661 fi
58662
58663 fi
58664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
58665 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
58666
58667 if test x$glibcxx_cv_func_logf_use = x"yes"; then
58668
58669 for ac_func in logf
58670 do
58671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58672 echo "$as_me:$LINENO: checking for $ac_func" >&5
58673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58674 if eval "test \"\${$as_ac_var+set}\" = set"; then
58675 echo $ECHO_N "(cached) $ECHO_C" >&6
58676 else
58677 if test x$gcc_no_link = xyes; then
58678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58680 { (exit 1); exit 1; }; }
58681 fi
58682 cat >conftest.$ac_ext <<_ACEOF
58683 /* confdefs.h. */
58684 _ACEOF
58685 cat confdefs.h >>conftest.$ac_ext
58686 cat >>conftest.$ac_ext <<_ACEOF
58687 /* end confdefs.h. */
58688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58690 #define $ac_func innocuous_$ac_func
58691
58692 /* System header to define __stub macros and hopefully few prototypes,
58693 which can conflict with char $ac_func (); below.
58694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58695 <limits.h> exists even on freestanding compilers. */
58696
58697 #ifdef __STDC__
58698 # include <limits.h>
58699 #else
58700 # include <assert.h>
58701 #endif
58702
58703 #undef $ac_func
58704
58705 /* Override any gcc2 internal prototype to avoid an error. */
58706 #ifdef __cplusplus
58707 extern "C"
58708 {
58709 #endif
58710 /* We use char because int might match the return type of a gcc2
58711 builtin and then its argument prototype would still apply. */
58712 char $ac_func ();
58713 /* The GNU C library defines this for functions which it implements
58714 to always fail with ENOSYS. Some functions are actually named
58715 something starting with __ and the normal name is an alias. */
58716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58717 choke me
58718 #else
58719 char (*f) () = $ac_func;
58720 #endif
58721 #ifdef __cplusplus
58722 }
58723 #endif
58724
58725 int
58726 main ()
58727 {
58728 return f != $ac_func;
58729 ;
58730 return 0;
58731 }
58732 _ACEOF
58733 rm -f conftest.$ac_objext conftest$ac_exeext
58734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58735 (eval $ac_link) 2>conftest.er1
58736 ac_status=$?
58737 grep -v '^ *+' conftest.er1 >conftest.err
58738 rm -f conftest.er1
58739 cat conftest.err >&5
58740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58741 (exit $ac_status); } &&
58742 { ac_try='test -z "$ac_c_werror_flag"
58743 || test ! -s conftest.err'
58744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58745 (eval $ac_try) 2>&5
58746 ac_status=$?
58747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58748 (exit $ac_status); }; } &&
58749 { ac_try='test -s conftest$ac_exeext'
58750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58751 (eval $ac_try) 2>&5
58752 ac_status=$?
58753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754 (exit $ac_status); }; }; then
58755 eval "$as_ac_var=yes"
58756 else
58757 echo "$as_me: failed program was:" >&5
58758 sed 's/^/| /' conftest.$ac_ext >&5
58759
58760 eval "$as_ac_var=no"
58761 fi
58762 rm -f conftest.err conftest.$ac_objext \
58763 conftest$ac_exeext conftest.$ac_ext
58764 fi
58765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58767 if test `eval echo '${'$as_ac_var'}'` = yes; then
58768 cat >>confdefs.h <<_ACEOF
58769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58770 _ACEOF
58771
58772 fi
58773 done
58774
58775 else
58776
58777 echo "$as_me:$LINENO: checking for _logf declaration" >&5
58778 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
58779 if test x${glibcxx_cv_func__logf_use+set} != xset; then
58780 if test "${glibcxx_cv_func__logf_use+set}" = set; then
58781 echo $ECHO_N "(cached) $ECHO_C" >&6
58782 else
58783
58784
58785
58786 ac_ext=cc
58787 ac_cpp='$CXXCPP $CPPFLAGS'
58788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58791
58792 cat >conftest.$ac_ext <<_ACEOF
58793 /* confdefs.h. */
58794 _ACEOF
58795 cat confdefs.h >>conftest.$ac_ext
58796 cat >>conftest.$ac_ext <<_ACEOF
58797 /* end confdefs.h. */
58798 #include <math.h>
58799 #ifdef HAVE_IEEEFP_H
58800 #include <ieeefp.h>
58801 #endif
58802
58803 int
58804 main ()
58805 {
58806 _logf(0);
58807 ;
58808 return 0;
58809 }
58810 _ACEOF
58811 rm -f conftest.$ac_objext
58812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58813 (eval $ac_compile) 2>conftest.er1
58814 ac_status=$?
58815 grep -v '^ *+' conftest.er1 >conftest.err
58816 rm -f conftest.er1
58817 cat conftest.err >&5
58818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58819 (exit $ac_status); } &&
58820 { ac_try='test -z "$ac_cxx_werror_flag"
58821 || test ! -s conftest.err'
58822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58823 (eval $ac_try) 2>&5
58824 ac_status=$?
58825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58826 (exit $ac_status); }; } &&
58827 { ac_try='test -s conftest.$ac_objext'
58828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58829 (eval $ac_try) 2>&5
58830 ac_status=$?
58831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832 (exit $ac_status); }; }; then
58833 glibcxx_cv_func__logf_use=yes
58834 else
58835 echo "$as_me: failed program was:" >&5
58836 sed 's/^/| /' conftest.$ac_ext >&5
58837
58838 glibcxx_cv_func__logf_use=no
58839 fi
58840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58841 ac_ext=c
58842 ac_cpp='$CPP $CPPFLAGS'
58843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58846
58847
58848 fi
58849
58850 fi
58851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
58852 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
58853
58854 if test x$glibcxx_cv_func__logf_use = x"yes"; then
58855
58856 for ac_func in _logf
58857 do
58858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58859 echo "$as_me:$LINENO: checking for $ac_func" >&5
58860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58861 if eval "test \"\${$as_ac_var+set}\" = set"; then
58862 echo $ECHO_N "(cached) $ECHO_C" >&6
58863 else
58864 if test x$gcc_no_link = xyes; then
58865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58867 { (exit 1); exit 1; }; }
58868 fi
58869 cat >conftest.$ac_ext <<_ACEOF
58870 /* confdefs.h. */
58871 _ACEOF
58872 cat confdefs.h >>conftest.$ac_ext
58873 cat >>conftest.$ac_ext <<_ACEOF
58874 /* end confdefs.h. */
58875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58877 #define $ac_func innocuous_$ac_func
58878
58879 /* System header to define __stub macros and hopefully few prototypes,
58880 which can conflict with char $ac_func (); below.
58881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58882 <limits.h> exists even on freestanding compilers. */
58883
58884 #ifdef __STDC__
58885 # include <limits.h>
58886 #else
58887 # include <assert.h>
58888 #endif
58889
58890 #undef $ac_func
58891
58892 /* Override any gcc2 internal prototype to avoid an error. */
58893 #ifdef __cplusplus
58894 extern "C"
58895 {
58896 #endif
58897 /* We use char because int might match the return type of a gcc2
58898 builtin and then its argument prototype would still apply. */
58899 char $ac_func ();
58900 /* The GNU C library defines this for functions which it implements
58901 to always fail with ENOSYS. Some functions are actually named
58902 something starting with __ and the normal name is an alias. */
58903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58904 choke me
58905 #else
58906 char (*f) () = $ac_func;
58907 #endif
58908 #ifdef __cplusplus
58909 }
58910 #endif
58911
58912 int
58913 main ()
58914 {
58915 return f != $ac_func;
58916 ;
58917 return 0;
58918 }
58919 _ACEOF
58920 rm -f conftest.$ac_objext conftest$ac_exeext
58921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58922 (eval $ac_link) 2>conftest.er1
58923 ac_status=$?
58924 grep -v '^ *+' conftest.er1 >conftest.err
58925 rm -f conftest.er1
58926 cat conftest.err >&5
58927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58928 (exit $ac_status); } &&
58929 { ac_try='test -z "$ac_c_werror_flag"
58930 || test ! -s conftest.err'
58931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58932 (eval $ac_try) 2>&5
58933 ac_status=$?
58934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58935 (exit $ac_status); }; } &&
58936 { ac_try='test -s conftest$ac_exeext'
58937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58938 (eval $ac_try) 2>&5
58939 ac_status=$?
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); }; }; then
58942 eval "$as_ac_var=yes"
58943 else
58944 echo "$as_me: failed program was:" >&5
58945 sed 's/^/| /' conftest.$ac_ext >&5
58946
58947 eval "$as_ac_var=no"
58948 fi
58949 rm -f conftest.err conftest.$ac_objext \
58950 conftest$ac_exeext conftest.$ac_ext
58951 fi
58952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58954 if test `eval echo '${'$as_ac_var'}'` = yes; then
58955 cat >>confdefs.h <<_ACEOF
58956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58957 _ACEOF
58958
58959 fi
58960 done
58961
58962 fi
58963 fi
58964
58965
58966
58967 echo "$as_me:$LINENO: checking for log10f declaration" >&5
58968 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
58969 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
58970 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
58971 echo $ECHO_N "(cached) $ECHO_C" >&6
58972 else
58973
58974
58975
58976 ac_ext=cc
58977 ac_cpp='$CXXCPP $CPPFLAGS'
58978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58981
58982 cat >conftest.$ac_ext <<_ACEOF
58983 /* confdefs.h. */
58984 _ACEOF
58985 cat confdefs.h >>conftest.$ac_ext
58986 cat >>conftest.$ac_ext <<_ACEOF
58987 /* end confdefs.h. */
58988 #include <math.h>
58989 #ifdef HAVE_IEEEFP_H
58990 #include <ieeefp.h>
58991 #endif
58992
58993 int
58994 main ()
58995 {
58996 log10f(0);
58997 ;
58998 return 0;
58999 }
59000 _ACEOF
59001 rm -f conftest.$ac_objext
59002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59003 (eval $ac_compile) 2>conftest.er1
59004 ac_status=$?
59005 grep -v '^ *+' conftest.er1 >conftest.err
59006 rm -f conftest.er1
59007 cat conftest.err >&5
59008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59009 (exit $ac_status); } &&
59010 { ac_try='test -z "$ac_cxx_werror_flag"
59011 || test ! -s conftest.err'
59012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59013 (eval $ac_try) 2>&5
59014 ac_status=$?
59015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59016 (exit $ac_status); }; } &&
59017 { ac_try='test -s conftest.$ac_objext'
59018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59019 (eval $ac_try) 2>&5
59020 ac_status=$?
59021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59022 (exit $ac_status); }; }; then
59023 glibcxx_cv_func_log10f_use=yes
59024 else
59025 echo "$as_me: failed program was:" >&5
59026 sed 's/^/| /' conftest.$ac_ext >&5
59027
59028 glibcxx_cv_func_log10f_use=no
59029 fi
59030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59031 ac_ext=c
59032 ac_cpp='$CPP $CPPFLAGS'
59033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036
59037
59038 fi
59039
59040 fi
59041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
59042 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
59043
59044 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
59045
59046 for ac_func in log10f
59047 do
59048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59049 echo "$as_me:$LINENO: checking for $ac_func" >&5
59050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59051 if eval "test \"\${$as_ac_var+set}\" = set"; then
59052 echo $ECHO_N "(cached) $ECHO_C" >&6
59053 else
59054 if test x$gcc_no_link = xyes; then
59055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59057 { (exit 1); exit 1; }; }
59058 fi
59059 cat >conftest.$ac_ext <<_ACEOF
59060 /* confdefs.h. */
59061 _ACEOF
59062 cat confdefs.h >>conftest.$ac_ext
59063 cat >>conftest.$ac_ext <<_ACEOF
59064 /* end confdefs.h. */
59065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59067 #define $ac_func innocuous_$ac_func
59068
59069 /* System header to define __stub macros and hopefully few prototypes,
59070 which can conflict with char $ac_func (); below.
59071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59072 <limits.h> exists even on freestanding compilers. */
59073
59074 #ifdef __STDC__
59075 # include <limits.h>
59076 #else
59077 # include <assert.h>
59078 #endif
59079
59080 #undef $ac_func
59081
59082 /* Override any gcc2 internal prototype to avoid an error. */
59083 #ifdef __cplusplus
59084 extern "C"
59085 {
59086 #endif
59087 /* We use char because int might match the return type of a gcc2
59088 builtin and then its argument prototype would still apply. */
59089 char $ac_func ();
59090 /* The GNU C library defines this for functions which it implements
59091 to always fail with ENOSYS. Some functions are actually named
59092 something starting with __ and the normal name is an alias. */
59093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59094 choke me
59095 #else
59096 char (*f) () = $ac_func;
59097 #endif
59098 #ifdef __cplusplus
59099 }
59100 #endif
59101
59102 int
59103 main ()
59104 {
59105 return f != $ac_func;
59106 ;
59107 return 0;
59108 }
59109 _ACEOF
59110 rm -f conftest.$ac_objext conftest$ac_exeext
59111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59112 (eval $ac_link) 2>conftest.er1
59113 ac_status=$?
59114 grep -v '^ *+' conftest.er1 >conftest.err
59115 rm -f conftest.er1
59116 cat conftest.err >&5
59117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59118 (exit $ac_status); } &&
59119 { ac_try='test -z "$ac_c_werror_flag"
59120 || test ! -s conftest.err'
59121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59122 (eval $ac_try) 2>&5
59123 ac_status=$?
59124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59125 (exit $ac_status); }; } &&
59126 { ac_try='test -s conftest$ac_exeext'
59127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59128 (eval $ac_try) 2>&5
59129 ac_status=$?
59130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59131 (exit $ac_status); }; }; then
59132 eval "$as_ac_var=yes"
59133 else
59134 echo "$as_me: failed program was:" >&5
59135 sed 's/^/| /' conftest.$ac_ext >&5
59136
59137 eval "$as_ac_var=no"
59138 fi
59139 rm -f conftest.err conftest.$ac_objext \
59140 conftest$ac_exeext conftest.$ac_ext
59141 fi
59142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59144 if test `eval echo '${'$as_ac_var'}'` = yes; then
59145 cat >>confdefs.h <<_ACEOF
59146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59147 _ACEOF
59148
59149 fi
59150 done
59151
59152 else
59153
59154 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
59155 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
59156 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
59157 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
59158 echo $ECHO_N "(cached) $ECHO_C" >&6
59159 else
59160
59161
59162
59163 ac_ext=cc
59164 ac_cpp='$CXXCPP $CPPFLAGS'
59165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59168
59169 cat >conftest.$ac_ext <<_ACEOF
59170 /* confdefs.h. */
59171 _ACEOF
59172 cat confdefs.h >>conftest.$ac_ext
59173 cat >>conftest.$ac_ext <<_ACEOF
59174 /* end confdefs.h. */
59175 #include <math.h>
59176 #ifdef HAVE_IEEEFP_H
59177 #include <ieeefp.h>
59178 #endif
59179
59180 int
59181 main ()
59182 {
59183 _log10f(0);
59184 ;
59185 return 0;
59186 }
59187 _ACEOF
59188 rm -f conftest.$ac_objext
59189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59190 (eval $ac_compile) 2>conftest.er1
59191 ac_status=$?
59192 grep -v '^ *+' conftest.er1 >conftest.err
59193 rm -f conftest.er1
59194 cat conftest.err >&5
59195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59196 (exit $ac_status); } &&
59197 { ac_try='test -z "$ac_cxx_werror_flag"
59198 || test ! -s conftest.err'
59199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59200 (eval $ac_try) 2>&5
59201 ac_status=$?
59202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59203 (exit $ac_status); }; } &&
59204 { ac_try='test -s conftest.$ac_objext'
59205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59206 (eval $ac_try) 2>&5
59207 ac_status=$?
59208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59209 (exit $ac_status); }; }; then
59210 glibcxx_cv_func__log10f_use=yes
59211 else
59212 echo "$as_me: failed program was:" >&5
59213 sed 's/^/| /' conftest.$ac_ext >&5
59214
59215 glibcxx_cv_func__log10f_use=no
59216 fi
59217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59218 ac_ext=c
59219 ac_cpp='$CPP $CPPFLAGS'
59220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59223
59224
59225 fi
59226
59227 fi
59228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
59229 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
59230
59231 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
59232
59233 for ac_func in _log10f
59234 do
59235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59236 echo "$as_me:$LINENO: checking for $ac_func" >&5
59237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59238 if eval "test \"\${$as_ac_var+set}\" = set"; then
59239 echo $ECHO_N "(cached) $ECHO_C" >&6
59240 else
59241 if test x$gcc_no_link = xyes; then
59242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59244 { (exit 1); exit 1; }; }
59245 fi
59246 cat >conftest.$ac_ext <<_ACEOF
59247 /* confdefs.h. */
59248 _ACEOF
59249 cat confdefs.h >>conftest.$ac_ext
59250 cat >>conftest.$ac_ext <<_ACEOF
59251 /* end confdefs.h. */
59252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59254 #define $ac_func innocuous_$ac_func
59255
59256 /* System header to define __stub macros and hopefully few prototypes,
59257 which can conflict with char $ac_func (); below.
59258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59259 <limits.h> exists even on freestanding compilers. */
59260
59261 #ifdef __STDC__
59262 # include <limits.h>
59263 #else
59264 # include <assert.h>
59265 #endif
59266
59267 #undef $ac_func
59268
59269 /* Override any gcc2 internal prototype to avoid an error. */
59270 #ifdef __cplusplus
59271 extern "C"
59272 {
59273 #endif
59274 /* We use char because int might match the return type of a gcc2
59275 builtin and then its argument prototype would still apply. */
59276 char $ac_func ();
59277 /* The GNU C library defines this for functions which it implements
59278 to always fail with ENOSYS. Some functions are actually named
59279 something starting with __ and the normal name is an alias. */
59280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59281 choke me
59282 #else
59283 char (*f) () = $ac_func;
59284 #endif
59285 #ifdef __cplusplus
59286 }
59287 #endif
59288
59289 int
59290 main ()
59291 {
59292 return f != $ac_func;
59293 ;
59294 return 0;
59295 }
59296 _ACEOF
59297 rm -f conftest.$ac_objext conftest$ac_exeext
59298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59299 (eval $ac_link) 2>conftest.er1
59300 ac_status=$?
59301 grep -v '^ *+' conftest.er1 >conftest.err
59302 rm -f conftest.er1
59303 cat conftest.err >&5
59304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59305 (exit $ac_status); } &&
59306 { ac_try='test -z "$ac_c_werror_flag"
59307 || test ! -s conftest.err'
59308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59309 (eval $ac_try) 2>&5
59310 ac_status=$?
59311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59312 (exit $ac_status); }; } &&
59313 { ac_try='test -s conftest$ac_exeext'
59314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59315 (eval $ac_try) 2>&5
59316 ac_status=$?
59317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59318 (exit $ac_status); }; }; then
59319 eval "$as_ac_var=yes"
59320 else
59321 echo "$as_me: failed program was:" >&5
59322 sed 's/^/| /' conftest.$ac_ext >&5
59323
59324 eval "$as_ac_var=no"
59325 fi
59326 rm -f conftest.err conftest.$ac_objext \
59327 conftest$ac_exeext conftest.$ac_ext
59328 fi
59329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59331 if test `eval echo '${'$as_ac_var'}'` = yes; then
59332 cat >>confdefs.h <<_ACEOF
59333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59334 _ACEOF
59335
59336 fi
59337 done
59338
59339 fi
59340 fi
59341
59342
59343
59344 echo "$as_me:$LINENO: checking for modff declaration" >&5
59345 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
59346 if test x${glibcxx_cv_func_modff_use+set} != xset; then
59347 if test "${glibcxx_cv_func_modff_use+set}" = set; then
59348 echo $ECHO_N "(cached) $ECHO_C" >&6
59349 else
59350
59351
59352
59353 ac_ext=cc
59354 ac_cpp='$CXXCPP $CPPFLAGS'
59355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59358
59359 cat >conftest.$ac_ext <<_ACEOF
59360 /* confdefs.h. */
59361 _ACEOF
59362 cat confdefs.h >>conftest.$ac_ext
59363 cat >>conftest.$ac_ext <<_ACEOF
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 int
59367 main ()
59368 {
59369 modff(0, 0);
59370 ;
59371 return 0;
59372 }
59373 _ACEOF
59374 rm -f conftest.$ac_objext
59375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59376 (eval $ac_compile) 2>conftest.er1
59377 ac_status=$?
59378 grep -v '^ *+' conftest.er1 >conftest.err
59379 rm -f conftest.er1
59380 cat conftest.err >&5
59381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59382 (exit $ac_status); } &&
59383 { ac_try='test -z "$ac_cxx_werror_flag"
59384 || test ! -s conftest.err'
59385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59386 (eval $ac_try) 2>&5
59387 ac_status=$?
59388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59389 (exit $ac_status); }; } &&
59390 { ac_try='test -s conftest.$ac_objext'
59391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59392 (eval $ac_try) 2>&5
59393 ac_status=$?
59394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59395 (exit $ac_status); }; }; then
59396 glibcxx_cv_func_modff_use=yes
59397 else
59398 echo "$as_me: failed program was:" >&5
59399 sed 's/^/| /' conftest.$ac_ext >&5
59400
59401 glibcxx_cv_func_modff_use=no
59402 fi
59403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59404 ac_ext=c
59405 ac_cpp='$CPP $CPPFLAGS'
59406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59409
59410
59411 fi
59412
59413 fi
59414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
59415 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
59416
59417 if test x$glibcxx_cv_func_modff_use = x"yes"; then
59418
59419 for ac_func in modff
59420 do
59421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59422 echo "$as_me:$LINENO: checking for $ac_func" >&5
59423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59424 if eval "test \"\${$as_ac_var+set}\" = set"; then
59425 echo $ECHO_N "(cached) $ECHO_C" >&6
59426 else
59427 if test x$gcc_no_link = xyes; then
59428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59430 { (exit 1); exit 1; }; }
59431 fi
59432 cat >conftest.$ac_ext <<_ACEOF
59433 /* confdefs.h. */
59434 _ACEOF
59435 cat confdefs.h >>conftest.$ac_ext
59436 cat >>conftest.$ac_ext <<_ACEOF
59437 /* end confdefs.h. */
59438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59440 #define $ac_func innocuous_$ac_func
59441
59442 /* System header to define __stub macros and hopefully few prototypes,
59443 which can conflict with char $ac_func (); below.
59444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59445 <limits.h> exists even on freestanding compilers. */
59446
59447 #ifdef __STDC__
59448 # include <limits.h>
59449 #else
59450 # include <assert.h>
59451 #endif
59452
59453 #undef $ac_func
59454
59455 /* Override any gcc2 internal prototype to avoid an error. */
59456 #ifdef __cplusplus
59457 extern "C"
59458 {
59459 #endif
59460 /* We use char because int might match the return type of a gcc2
59461 builtin and then its argument prototype would still apply. */
59462 char $ac_func ();
59463 /* The GNU C library defines this for functions which it implements
59464 to always fail with ENOSYS. Some functions are actually named
59465 something starting with __ and the normal name is an alias. */
59466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59467 choke me
59468 #else
59469 char (*f) () = $ac_func;
59470 #endif
59471 #ifdef __cplusplus
59472 }
59473 #endif
59474
59475 int
59476 main ()
59477 {
59478 return f != $ac_func;
59479 ;
59480 return 0;
59481 }
59482 _ACEOF
59483 rm -f conftest.$ac_objext conftest$ac_exeext
59484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59485 (eval $ac_link) 2>conftest.er1
59486 ac_status=$?
59487 grep -v '^ *+' conftest.er1 >conftest.err
59488 rm -f conftest.er1
59489 cat conftest.err >&5
59490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59491 (exit $ac_status); } &&
59492 { ac_try='test -z "$ac_c_werror_flag"
59493 || test ! -s conftest.err'
59494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59495 (eval $ac_try) 2>&5
59496 ac_status=$?
59497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498 (exit $ac_status); }; } &&
59499 { ac_try='test -s conftest$ac_exeext'
59500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59501 (eval $ac_try) 2>&5
59502 ac_status=$?
59503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59504 (exit $ac_status); }; }; then
59505 eval "$as_ac_var=yes"
59506 else
59507 echo "$as_me: failed program was:" >&5
59508 sed 's/^/| /' conftest.$ac_ext >&5
59509
59510 eval "$as_ac_var=no"
59511 fi
59512 rm -f conftest.err conftest.$ac_objext \
59513 conftest$ac_exeext conftest.$ac_ext
59514 fi
59515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59517 if test `eval echo '${'$as_ac_var'}'` = yes; then
59518 cat >>confdefs.h <<_ACEOF
59519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59520 _ACEOF
59521
59522 fi
59523 done
59524
59525 else
59526
59527 echo "$as_me:$LINENO: checking for _modff declaration" >&5
59528 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
59529 if test x${glibcxx_cv_func__modff_use+set} != xset; then
59530 if test "${glibcxx_cv_func__modff_use+set}" = set; then
59531 echo $ECHO_N "(cached) $ECHO_C" >&6
59532 else
59533
59534
59535
59536 ac_ext=cc
59537 ac_cpp='$CXXCPP $CPPFLAGS'
59538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59541
59542 cat >conftest.$ac_ext <<_ACEOF
59543 /* confdefs.h. */
59544 _ACEOF
59545 cat confdefs.h >>conftest.$ac_ext
59546 cat >>conftest.$ac_ext <<_ACEOF
59547 /* end confdefs.h. */
59548 #include <math.h>
59549 int
59550 main ()
59551 {
59552 _modff(0, 0);
59553 ;
59554 return 0;
59555 }
59556 _ACEOF
59557 rm -f conftest.$ac_objext
59558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59559 (eval $ac_compile) 2>conftest.er1
59560 ac_status=$?
59561 grep -v '^ *+' conftest.er1 >conftest.err
59562 rm -f conftest.er1
59563 cat conftest.err >&5
59564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59565 (exit $ac_status); } &&
59566 { ac_try='test -z "$ac_cxx_werror_flag"
59567 || test ! -s conftest.err'
59568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59569 (eval $ac_try) 2>&5
59570 ac_status=$?
59571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59572 (exit $ac_status); }; } &&
59573 { ac_try='test -s conftest.$ac_objext'
59574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59575 (eval $ac_try) 2>&5
59576 ac_status=$?
59577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59578 (exit $ac_status); }; }; then
59579 glibcxx_cv_func__modff_use=yes
59580 else
59581 echo "$as_me: failed program was:" >&5
59582 sed 's/^/| /' conftest.$ac_ext >&5
59583
59584 glibcxx_cv_func__modff_use=no
59585 fi
59586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59587 ac_ext=c
59588 ac_cpp='$CPP $CPPFLAGS'
59589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592
59593
59594 fi
59595
59596 fi
59597 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
59598 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
59599
59600 if test x$glibcxx_cv_func__modff_use = x"yes"; then
59601
59602 for ac_func in _modff
59603 do
59604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59605 echo "$as_me:$LINENO: checking for $ac_func" >&5
59606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59607 if eval "test \"\${$as_ac_var+set}\" = set"; then
59608 echo $ECHO_N "(cached) $ECHO_C" >&6
59609 else
59610 if test x$gcc_no_link = xyes; then
59611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59613 { (exit 1); exit 1; }; }
59614 fi
59615 cat >conftest.$ac_ext <<_ACEOF
59616 /* confdefs.h. */
59617 _ACEOF
59618 cat confdefs.h >>conftest.$ac_ext
59619 cat >>conftest.$ac_ext <<_ACEOF
59620 /* end confdefs.h. */
59621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59623 #define $ac_func innocuous_$ac_func
59624
59625 /* System header to define __stub macros and hopefully few prototypes,
59626 which can conflict with char $ac_func (); below.
59627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59628 <limits.h> exists even on freestanding compilers. */
59629
59630 #ifdef __STDC__
59631 # include <limits.h>
59632 #else
59633 # include <assert.h>
59634 #endif
59635
59636 #undef $ac_func
59637
59638 /* Override any gcc2 internal prototype to avoid an error. */
59639 #ifdef __cplusplus
59640 extern "C"
59641 {
59642 #endif
59643 /* We use char because int might match the return type of a gcc2
59644 builtin and then its argument prototype would still apply. */
59645 char $ac_func ();
59646 /* The GNU C library defines this for functions which it implements
59647 to always fail with ENOSYS. Some functions are actually named
59648 something starting with __ and the normal name is an alias. */
59649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59650 choke me
59651 #else
59652 char (*f) () = $ac_func;
59653 #endif
59654 #ifdef __cplusplus
59655 }
59656 #endif
59657
59658 int
59659 main ()
59660 {
59661 return f != $ac_func;
59662 ;
59663 return 0;
59664 }
59665 _ACEOF
59666 rm -f conftest.$ac_objext conftest$ac_exeext
59667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59668 (eval $ac_link) 2>conftest.er1
59669 ac_status=$?
59670 grep -v '^ *+' conftest.er1 >conftest.err
59671 rm -f conftest.er1
59672 cat conftest.err >&5
59673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59674 (exit $ac_status); } &&
59675 { ac_try='test -z "$ac_c_werror_flag"
59676 || test ! -s conftest.err'
59677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59678 (eval $ac_try) 2>&5
59679 ac_status=$?
59680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59681 (exit $ac_status); }; } &&
59682 { ac_try='test -s conftest$ac_exeext'
59683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59684 (eval $ac_try) 2>&5
59685 ac_status=$?
59686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59687 (exit $ac_status); }; }; then
59688 eval "$as_ac_var=yes"
59689 else
59690 echo "$as_me: failed program was:" >&5
59691 sed 's/^/| /' conftest.$ac_ext >&5
59692
59693 eval "$as_ac_var=no"
59694 fi
59695 rm -f conftest.err conftest.$ac_objext \
59696 conftest$ac_exeext conftest.$ac_ext
59697 fi
59698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59700 if test `eval echo '${'$as_ac_var'}'` = yes; then
59701 cat >>confdefs.h <<_ACEOF
59702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59703 _ACEOF
59704
59705 fi
59706 done
59707
59708 fi
59709 fi
59710
59711
59712
59713 echo "$as_me:$LINENO: checking for powf declaration" >&5
59714 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
59715 if test x${glibcxx_cv_func_powf_use+set} != xset; then
59716 if test "${glibcxx_cv_func_powf_use+set}" = set; then
59717 echo $ECHO_N "(cached) $ECHO_C" >&6
59718 else
59719
59720
59721
59722 ac_ext=cc
59723 ac_cpp='$CXXCPP $CPPFLAGS'
59724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59727
59728 cat >conftest.$ac_ext <<_ACEOF
59729 /* confdefs.h. */
59730 _ACEOF
59731 cat confdefs.h >>conftest.$ac_ext
59732 cat >>conftest.$ac_ext <<_ACEOF
59733 /* end confdefs.h. */
59734 #include <math.h>
59735 int
59736 main ()
59737 {
59738 powf(0, 0);
59739 ;
59740 return 0;
59741 }
59742 _ACEOF
59743 rm -f conftest.$ac_objext
59744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59745 (eval $ac_compile) 2>conftest.er1
59746 ac_status=$?
59747 grep -v '^ *+' conftest.er1 >conftest.err
59748 rm -f conftest.er1
59749 cat conftest.err >&5
59750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59751 (exit $ac_status); } &&
59752 { ac_try='test -z "$ac_cxx_werror_flag"
59753 || test ! -s conftest.err'
59754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59755 (eval $ac_try) 2>&5
59756 ac_status=$?
59757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59758 (exit $ac_status); }; } &&
59759 { ac_try='test -s conftest.$ac_objext'
59760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59761 (eval $ac_try) 2>&5
59762 ac_status=$?
59763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59764 (exit $ac_status); }; }; then
59765 glibcxx_cv_func_powf_use=yes
59766 else
59767 echo "$as_me: failed program was:" >&5
59768 sed 's/^/| /' conftest.$ac_ext >&5
59769
59770 glibcxx_cv_func_powf_use=no
59771 fi
59772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778
59779
59780 fi
59781
59782 fi
59783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
59784 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
59785
59786 if test x$glibcxx_cv_func_powf_use = x"yes"; then
59787
59788 for ac_func in powf
59789 do
59790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59791 echo "$as_me:$LINENO: checking for $ac_func" >&5
59792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59793 if eval "test \"\${$as_ac_var+set}\" = set"; then
59794 echo $ECHO_N "(cached) $ECHO_C" >&6
59795 else
59796 if test x$gcc_no_link = xyes; then
59797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59799 { (exit 1); exit 1; }; }
59800 fi
59801 cat >conftest.$ac_ext <<_ACEOF
59802 /* confdefs.h. */
59803 _ACEOF
59804 cat confdefs.h >>conftest.$ac_ext
59805 cat >>conftest.$ac_ext <<_ACEOF
59806 /* end confdefs.h. */
59807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59809 #define $ac_func innocuous_$ac_func
59810
59811 /* System header to define __stub macros and hopefully few prototypes,
59812 which can conflict with char $ac_func (); below.
59813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59814 <limits.h> exists even on freestanding compilers. */
59815
59816 #ifdef __STDC__
59817 # include <limits.h>
59818 #else
59819 # include <assert.h>
59820 #endif
59821
59822 #undef $ac_func
59823
59824 /* Override any gcc2 internal prototype to avoid an error. */
59825 #ifdef __cplusplus
59826 extern "C"
59827 {
59828 #endif
59829 /* We use char because int might match the return type of a gcc2
59830 builtin and then its argument prototype would still apply. */
59831 char $ac_func ();
59832 /* The GNU C library defines this for functions which it implements
59833 to always fail with ENOSYS. Some functions are actually named
59834 something starting with __ and the normal name is an alias. */
59835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59836 choke me
59837 #else
59838 char (*f) () = $ac_func;
59839 #endif
59840 #ifdef __cplusplus
59841 }
59842 #endif
59843
59844 int
59845 main ()
59846 {
59847 return f != $ac_func;
59848 ;
59849 return 0;
59850 }
59851 _ACEOF
59852 rm -f conftest.$ac_objext conftest$ac_exeext
59853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59854 (eval $ac_link) 2>conftest.er1
59855 ac_status=$?
59856 grep -v '^ *+' conftest.er1 >conftest.err
59857 rm -f conftest.er1
59858 cat conftest.err >&5
59859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59860 (exit $ac_status); } &&
59861 { ac_try='test -z "$ac_c_werror_flag"
59862 || test ! -s conftest.err'
59863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59864 (eval $ac_try) 2>&5
59865 ac_status=$?
59866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59867 (exit $ac_status); }; } &&
59868 { ac_try='test -s conftest$ac_exeext'
59869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59870 (eval $ac_try) 2>&5
59871 ac_status=$?
59872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59873 (exit $ac_status); }; }; then
59874 eval "$as_ac_var=yes"
59875 else
59876 echo "$as_me: failed program was:" >&5
59877 sed 's/^/| /' conftest.$ac_ext >&5
59878
59879 eval "$as_ac_var=no"
59880 fi
59881 rm -f conftest.err conftest.$ac_objext \
59882 conftest$ac_exeext conftest.$ac_ext
59883 fi
59884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59886 if test `eval echo '${'$as_ac_var'}'` = yes; then
59887 cat >>confdefs.h <<_ACEOF
59888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59889 _ACEOF
59890
59891 fi
59892 done
59893
59894 else
59895
59896 echo "$as_me:$LINENO: checking for _powf declaration" >&5
59897 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
59898 if test x${glibcxx_cv_func__powf_use+set} != xset; then
59899 if test "${glibcxx_cv_func__powf_use+set}" = set; then
59900 echo $ECHO_N "(cached) $ECHO_C" >&6
59901 else
59902
59903
59904
59905 ac_ext=cc
59906 ac_cpp='$CXXCPP $CPPFLAGS'
59907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59910
59911 cat >conftest.$ac_ext <<_ACEOF
59912 /* confdefs.h. */
59913 _ACEOF
59914 cat confdefs.h >>conftest.$ac_ext
59915 cat >>conftest.$ac_ext <<_ACEOF
59916 /* end confdefs.h. */
59917 #include <math.h>
59918 int
59919 main ()
59920 {
59921 _powf(0, 0);
59922 ;
59923 return 0;
59924 }
59925 _ACEOF
59926 rm -f conftest.$ac_objext
59927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59928 (eval $ac_compile) 2>conftest.er1
59929 ac_status=$?
59930 grep -v '^ *+' conftest.er1 >conftest.err
59931 rm -f conftest.er1
59932 cat conftest.err >&5
59933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59934 (exit $ac_status); } &&
59935 { ac_try='test -z "$ac_cxx_werror_flag"
59936 || test ! -s conftest.err'
59937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59938 (eval $ac_try) 2>&5
59939 ac_status=$?
59940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59941 (exit $ac_status); }; } &&
59942 { ac_try='test -s conftest.$ac_objext'
59943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59944 (eval $ac_try) 2>&5
59945 ac_status=$?
59946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59947 (exit $ac_status); }; }; then
59948 glibcxx_cv_func__powf_use=yes
59949 else
59950 echo "$as_me: failed program was:" >&5
59951 sed 's/^/| /' conftest.$ac_ext >&5
59952
59953 glibcxx_cv_func__powf_use=no
59954 fi
59955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59956 ac_ext=c
59957 ac_cpp='$CPP $CPPFLAGS'
59958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961
59962
59963 fi
59964
59965 fi
59966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
59967 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
59968
59969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
59970
59971 for ac_func in _powf
59972 do
59973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59974 echo "$as_me:$LINENO: checking for $ac_func" >&5
59975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59976 if eval "test \"\${$as_ac_var+set}\" = set"; then
59977 echo $ECHO_N "(cached) $ECHO_C" >&6
59978 else
59979 if test x$gcc_no_link = xyes; then
59980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59982 { (exit 1); exit 1; }; }
59983 fi
59984 cat >conftest.$ac_ext <<_ACEOF
59985 /* confdefs.h. */
59986 _ACEOF
59987 cat confdefs.h >>conftest.$ac_ext
59988 cat >>conftest.$ac_ext <<_ACEOF
59989 /* end confdefs.h. */
59990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59992 #define $ac_func innocuous_$ac_func
59993
59994 /* System header to define __stub macros and hopefully few prototypes,
59995 which can conflict with char $ac_func (); below.
59996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59997 <limits.h> exists even on freestanding compilers. */
59998
59999 #ifdef __STDC__
60000 # include <limits.h>
60001 #else
60002 # include <assert.h>
60003 #endif
60004
60005 #undef $ac_func
60006
60007 /* Override any gcc2 internal prototype to avoid an error. */
60008 #ifdef __cplusplus
60009 extern "C"
60010 {
60011 #endif
60012 /* We use char because int might match the return type of a gcc2
60013 builtin and then its argument prototype would still apply. */
60014 char $ac_func ();
60015 /* The GNU C library defines this for functions which it implements
60016 to always fail with ENOSYS. Some functions are actually named
60017 something starting with __ and the normal name is an alias. */
60018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60019 choke me
60020 #else
60021 char (*f) () = $ac_func;
60022 #endif
60023 #ifdef __cplusplus
60024 }
60025 #endif
60026
60027 int
60028 main ()
60029 {
60030 return f != $ac_func;
60031 ;
60032 return 0;
60033 }
60034 _ACEOF
60035 rm -f conftest.$ac_objext conftest$ac_exeext
60036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60037 (eval $ac_link) 2>conftest.er1
60038 ac_status=$?
60039 grep -v '^ *+' conftest.er1 >conftest.err
60040 rm -f conftest.er1
60041 cat conftest.err >&5
60042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60043 (exit $ac_status); } &&
60044 { ac_try='test -z "$ac_c_werror_flag"
60045 || test ! -s conftest.err'
60046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60047 (eval $ac_try) 2>&5
60048 ac_status=$?
60049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60050 (exit $ac_status); }; } &&
60051 { ac_try='test -s conftest$ac_exeext'
60052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60053 (eval $ac_try) 2>&5
60054 ac_status=$?
60055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60056 (exit $ac_status); }; }; then
60057 eval "$as_ac_var=yes"
60058 else
60059 echo "$as_me: failed program was:" >&5
60060 sed 's/^/| /' conftest.$ac_ext >&5
60061
60062 eval "$as_ac_var=no"
60063 fi
60064 rm -f conftest.err conftest.$ac_objext \
60065 conftest$ac_exeext conftest.$ac_ext
60066 fi
60067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60069 if test `eval echo '${'$as_ac_var'}'` = yes; then
60070 cat >>confdefs.h <<_ACEOF
60071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60072 _ACEOF
60073
60074 fi
60075 done
60076
60077 fi
60078 fi
60079
60080
60081
60082 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
60083 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
60084 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60085 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
60086 echo $ECHO_N "(cached) $ECHO_C" >&6
60087 else
60088
60089
60090
60091 ac_ext=cc
60092 ac_cpp='$CXXCPP $CPPFLAGS'
60093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60096
60097 cat >conftest.$ac_ext <<_ACEOF
60098 /* confdefs.h. */
60099 _ACEOF
60100 cat confdefs.h >>conftest.$ac_ext
60101 cat >>conftest.$ac_ext <<_ACEOF
60102 /* end confdefs.h. */
60103 #include <math.h>
60104 #ifdef HAVE_IEEEFP_H
60105 #include <ieeefp.h>
60106 #endif
60107
60108 int
60109 main ()
60110 {
60111 sqrtf(0);
60112 ;
60113 return 0;
60114 }
60115 _ACEOF
60116 rm -f conftest.$ac_objext
60117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60118 (eval $ac_compile) 2>conftest.er1
60119 ac_status=$?
60120 grep -v '^ *+' conftest.er1 >conftest.err
60121 rm -f conftest.er1
60122 cat conftest.err >&5
60123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124 (exit $ac_status); } &&
60125 { ac_try='test -z "$ac_cxx_werror_flag"
60126 || test ! -s conftest.err'
60127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60128 (eval $ac_try) 2>&5
60129 ac_status=$?
60130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60131 (exit $ac_status); }; } &&
60132 { ac_try='test -s conftest.$ac_objext'
60133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60134 (eval $ac_try) 2>&5
60135 ac_status=$?
60136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60137 (exit $ac_status); }; }; then
60138 glibcxx_cv_func_sqrtf_use=yes
60139 else
60140 echo "$as_me: failed program was:" >&5
60141 sed 's/^/| /' conftest.$ac_ext >&5
60142
60143 glibcxx_cv_func_sqrtf_use=no
60144 fi
60145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60146 ac_ext=c
60147 ac_cpp='$CPP $CPPFLAGS'
60148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60151
60152
60153 fi
60154
60155 fi
60156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
60157 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
60158
60159 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60160
60161 for ac_func in sqrtf
60162 do
60163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60164 echo "$as_me:$LINENO: checking for $ac_func" >&5
60165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60166 if eval "test \"\${$as_ac_var+set}\" = set"; then
60167 echo $ECHO_N "(cached) $ECHO_C" >&6
60168 else
60169 if test x$gcc_no_link = xyes; then
60170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60172 { (exit 1); exit 1; }; }
60173 fi
60174 cat >conftest.$ac_ext <<_ACEOF
60175 /* confdefs.h. */
60176 _ACEOF
60177 cat confdefs.h >>conftest.$ac_ext
60178 cat >>conftest.$ac_ext <<_ACEOF
60179 /* end confdefs.h. */
60180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60182 #define $ac_func innocuous_$ac_func
60183
60184 /* System header to define __stub macros and hopefully few prototypes,
60185 which can conflict with char $ac_func (); below.
60186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60187 <limits.h> exists even on freestanding compilers. */
60188
60189 #ifdef __STDC__
60190 # include <limits.h>
60191 #else
60192 # include <assert.h>
60193 #endif
60194
60195 #undef $ac_func
60196
60197 /* Override any gcc2 internal prototype to avoid an error. */
60198 #ifdef __cplusplus
60199 extern "C"
60200 {
60201 #endif
60202 /* We use char because int might match the return type of a gcc2
60203 builtin and then its argument prototype would still apply. */
60204 char $ac_func ();
60205 /* The GNU C library defines this for functions which it implements
60206 to always fail with ENOSYS. Some functions are actually named
60207 something starting with __ and the normal name is an alias. */
60208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60209 choke me
60210 #else
60211 char (*f) () = $ac_func;
60212 #endif
60213 #ifdef __cplusplus
60214 }
60215 #endif
60216
60217 int
60218 main ()
60219 {
60220 return f != $ac_func;
60221 ;
60222 return 0;
60223 }
60224 _ACEOF
60225 rm -f conftest.$ac_objext conftest$ac_exeext
60226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60227 (eval $ac_link) 2>conftest.er1
60228 ac_status=$?
60229 grep -v '^ *+' conftest.er1 >conftest.err
60230 rm -f conftest.er1
60231 cat conftest.err >&5
60232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233 (exit $ac_status); } &&
60234 { ac_try='test -z "$ac_c_werror_flag"
60235 || test ! -s conftest.err'
60236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60237 (eval $ac_try) 2>&5
60238 ac_status=$?
60239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60240 (exit $ac_status); }; } &&
60241 { ac_try='test -s conftest$ac_exeext'
60242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60243 (eval $ac_try) 2>&5
60244 ac_status=$?
60245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60246 (exit $ac_status); }; }; then
60247 eval "$as_ac_var=yes"
60248 else
60249 echo "$as_me: failed program was:" >&5
60250 sed 's/^/| /' conftest.$ac_ext >&5
60251
60252 eval "$as_ac_var=no"
60253 fi
60254 rm -f conftest.err conftest.$ac_objext \
60255 conftest$ac_exeext conftest.$ac_ext
60256 fi
60257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60259 if test `eval echo '${'$as_ac_var'}'` = yes; then
60260 cat >>confdefs.h <<_ACEOF
60261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60262 _ACEOF
60263
60264 fi
60265 done
60266
60267 else
60268
60269 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
60270 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
60271 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60272 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
60273 echo $ECHO_N "(cached) $ECHO_C" >&6
60274 else
60275
60276
60277
60278 ac_ext=cc
60279 ac_cpp='$CXXCPP $CPPFLAGS'
60280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60283
60284 cat >conftest.$ac_ext <<_ACEOF
60285 /* confdefs.h. */
60286 _ACEOF
60287 cat confdefs.h >>conftest.$ac_ext
60288 cat >>conftest.$ac_ext <<_ACEOF
60289 /* end confdefs.h. */
60290 #include <math.h>
60291 #ifdef HAVE_IEEEFP_H
60292 #include <ieeefp.h>
60293 #endif
60294
60295 int
60296 main ()
60297 {
60298 _sqrtf(0);
60299 ;
60300 return 0;
60301 }
60302 _ACEOF
60303 rm -f conftest.$ac_objext
60304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60305 (eval $ac_compile) 2>conftest.er1
60306 ac_status=$?
60307 grep -v '^ *+' conftest.er1 >conftest.err
60308 rm -f conftest.er1
60309 cat conftest.err >&5
60310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60311 (exit $ac_status); } &&
60312 { ac_try='test -z "$ac_cxx_werror_flag"
60313 || test ! -s conftest.err'
60314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60315 (eval $ac_try) 2>&5
60316 ac_status=$?
60317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60318 (exit $ac_status); }; } &&
60319 { ac_try='test -s conftest.$ac_objext'
60320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60321 (eval $ac_try) 2>&5
60322 ac_status=$?
60323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60324 (exit $ac_status); }; }; then
60325 glibcxx_cv_func__sqrtf_use=yes
60326 else
60327 echo "$as_me: failed program was:" >&5
60328 sed 's/^/| /' conftest.$ac_ext >&5
60329
60330 glibcxx_cv_func__sqrtf_use=no
60331 fi
60332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60333 ac_ext=c
60334 ac_cpp='$CPP $CPPFLAGS'
60335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60338
60339
60340 fi
60341
60342 fi
60343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
60344 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
60345
60346 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60347
60348 for ac_func in _sqrtf
60349 do
60350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60351 echo "$as_me:$LINENO: checking for $ac_func" >&5
60352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60353 if eval "test \"\${$as_ac_var+set}\" = set"; then
60354 echo $ECHO_N "(cached) $ECHO_C" >&6
60355 else
60356 if test x$gcc_no_link = xyes; then
60357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60359 { (exit 1); exit 1; }; }
60360 fi
60361 cat >conftest.$ac_ext <<_ACEOF
60362 /* confdefs.h. */
60363 _ACEOF
60364 cat confdefs.h >>conftest.$ac_ext
60365 cat >>conftest.$ac_ext <<_ACEOF
60366 /* end confdefs.h. */
60367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60369 #define $ac_func innocuous_$ac_func
60370
60371 /* System header to define __stub macros and hopefully few prototypes,
60372 which can conflict with char $ac_func (); below.
60373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60374 <limits.h> exists even on freestanding compilers. */
60375
60376 #ifdef __STDC__
60377 # include <limits.h>
60378 #else
60379 # include <assert.h>
60380 #endif
60381
60382 #undef $ac_func
60383
60384 /* Override any gcc2 internal prototype to avoid an error. */
60385 #ifdef __cplusplus
60386 extern "C"
60387 {
60388 #endif
60389 /* We use char because int might match the return type of a gcc2
60390 builtin and then its argument prototype would still apply. */
60391 char $ac_func ();
60392 /* The GNU C library defines this for functions which it implements
60393 to always fail with ENOSYS. Some functions are actually named
60394 something starting with __ and the normal name is an alias. */
60395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60396 choke me
60397 #else
60398 char (*f) () = $ac_func;
60399 #endif
60400 #ifdef __cplusplus
60401 }
60402 #endif
60403
60404 int
60405 main ()
60406 {
60407 return f != $ac_func;
60408 ;
60409 return 0;
60410 }
60411 _ACEOF
60412 rm -f conftest.$ac_objext conftest$ac_exeext
60413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60414 (eval $ac_link) 2>conftest.er1
60415 ac_status=$?
60416 grep -v '^ *+' conftest.er1 >conftest.err
60417 rm -f conftest.er1
60418 cat conftest.err >&5
60419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60420 (exit $ac_status); } &&
60421 { ac_try='test -z "$ac_c_werror_flag"
60422 || test ! -s conftest.err'
60423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60424 (eval $ac_try) 2>&5
60425 ac_status=$?
60426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427 (exit $ac_status); }; } &&
60428 { ac_try='test -s conftest$ac_exeext'
60429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60430 (eval $ac_try) 2>&5
60431 ac_status=$?
60432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60433 (exit $ac_status); }; }; then
60434 eval "$as_ac_var=yes"
60435 else
60436 echo "$as_me: failed program was:" >&5
60437 sed 's/^/| /' conftest.$ac_ext >&5
60438
60439 eval "$as_ac_var=no"
60440 fi
60441 rm -f conftest.err conftest.$ac_objext \
60442 conftest$ac_exeext conftest.$ac_ext
60443 fi
60444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60446 if test `eval echo '${'$as_ac_var'}'` = yes; then
60447 cat >>confdefs.h <<_ACEOF
60448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60449 _ACEOF
60450
60451 fi
60452 done
60453
60454 fi
60455 fi
60456
60457
60458
60459 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
60460 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
60461 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60462 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
60463 echo $ECHO_N "(cached) $ECHO_C" >&6
60464 else
60465
60466
60467
60468 ac_ext=cc
60469 ac_cpp='$CXXCPP $CPPFLAGS'
60470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60473
60474 cat >conftest.$ac_ext <<_ACEOF
60475 /* confdefs.h. */
60476 _ACEOF
60477 cat confdefs.h >>conftest.$ac_ext
60478 cat >>conftest.$ac_ext <<_ACEOF
60479 /* end confdefs.h. */
60480 #include <math.h>
60481 int
60482 main ()
60483 {
60484 sincosf(0, 0, 0);
60485 ;
60486 return 0;
60487 }
60488 _ACEOF
60489 rm -f conftest.$ac_objext
60490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60491 (eval $ac_compile) 2>conftest.er1
60492 ac_status=$?
60493 grep -v '^ *+' conftest.er1 >conftest.err
60494 rm -f conftest.er1
60495 cat conftest.err >&5
60496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60497 (exit $ac_status); } &&
60498 { ac_try='test -z "$ac_cxx_werror_flag"
60499 || test ! -s conftest.err'
60500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60501 (eval $ac_try) 2>&5
60502 ac_status=$?
60503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60504 (exit $ac_status); }; } &&
60505 { ac_try='test -s conftest.$ac_objext'
60506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60507 (eval $ac_try) 2>&5
60508 ac_status=$?
60509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60510 (exit $ac_status); }; }; then
60511 glibcxx_cv_func_sincosf_use=yes
60512 else
60513 echo "$as_me: failed program was:" >&5
60514 sed 's/^/| /' conftest.$ac_ext >&5
60515
60516 glibcxx_cv_func_sincosf_use=no
60517 fi
60518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60519 ac_ext=c
60520 ac_cpp='$CPP $CPPFLAGS'
60521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60524
60525
60526 fi
60527
60528 fi
60529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
60530 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
60531
60532 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60533
60534 for ac_func in sincosf
60535 do
60536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60537 echo "$as_me:$LINENO: checking for $ac_func" >&5
60538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60539 if eval "test \"\${$as_ac_var+set}\" = set"; then
60540 echo $ECHO_N "(cached) $ECHO_C" >&6
60541 else
60542 if test x$gcc_no_link = xyes; then
60543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60545 { (exit 1); exit 1; }; }
60546 fi
60547 cat >conftest.$ac_ext <<_ACEOF
60548 /* confdefs.h. */
60549 _ACEOF
60550 cat confdefs.h >>conftest.$ac_ext
60551 cat >>conftest.$ac_ext <<_ACEOF
60552 /* end confdefs.h. */
60553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60554 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60555 #define $ac_func innocuous_$ac_func
60556
60557 /* System header to define __stub macros and hopefully few prototypes,
60558 which can conflict with char $ac_func (); below.
60559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60560 <limits.h> exists even on freestanding compilers. */
60561
60562 #ifdef __STDC__
60563 # include <limits.h>
60564 #else
60565 # include <assert.h>
60566 #endif
60567
60568 #undef $ac_func
60569
60570 /* Override any gcc2 internal prototype to avoid an error. */
60571 #ifdef __cplusplus
60572 extern "C"
60573 {
60574 #endif
60575 /* We use char because int might match the return type of a gcc2
60576 builtin and then its argument prototype would still apply. */
60577 char $ac_func ();
60578 /* The GNU C library defines this for functions which it implements
60579 to always fail with ENOSYS. Some functions are actually named
60580 something starting with __ and the normal name is an alias. */
60581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60582 choke me
60583 #else
60584 char (*f) () = $ac_func;
60585 #endif
60586 #ifdef __cplusplus
60587 }
60588 #endif
60589
60590 int
60591 main ()
60592 {
60593 return f != $ac_func;
60594 ;
60595 return 0;
60596 }
60597 _ACEOF
60598 rm -f conftest.$ac_objext conftest$ac_exeext
60599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60600 (eval $ac_link) 2>conftest.er1
60601 ac_status=$?
60602 grep -v '^ *+' conftest.er1 >conftest.err
60603 rm -f conftest.er1
60604 cat conftest.err >&5
60605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60606 (exit $ac_status); } &&
60607 { ac_try='test -z "$ac_c_werror_flag"
60608 || test ! -s conftest.err'
60609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60610 (eval $ac_try) 2>&5
60611 ac_status=$?
60612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60613 (exit $ac_status); }; } &&
60614 { ac_try='test -s conftest$ac_exeext'
60615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60616 (eval $ac_try) 2>&5
60617 ac_status=$?
60618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60619 (exit $ac_status); }; }; then
60620 eval "$as_ac_var=yes"
60621 else
60622 echo "$as_me: failed program was:" >&5
60623 sed 's/^/| /' conftest.$ac_ext >&5
60624
60625 eval "$as_ac_var=no"
60626 fi
60627 rm -f conftest.err conftest.$ac_objext \
60628 conftest$ac_exeext conftest.$ac_ext
60629 fi
60630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60632 if test `eval echo '${'$as_ac_var'}'` = yes; then
60633 cat >>confdefs.h <<_ACEOF
60634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60635 _ACEOF
60636
60637 fi
60638 done
60639
60640 else
60641
60642 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
60643 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
60644 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60645 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
60646 echo $ECHO_N "(cached) $ECHO_C" >&6
60647 else
60648
60649
60650
60651 ac_ext=cc
60652 ac_cpp='$CXXCPP $CPPFLAGS'
60653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60656
60657 cat >conftest.$ac_ext <<_ACEOF
60658 /* confdefs.h. */
60659 _ACEOF
60660 cat confdefs.h >>conftest.$ac_ext
60661 cat >>conftest.$ac_ext <<_ACEOF
60662 /* end confdefs.h. */
60663 #include <math.h>
60664 int
60665 main ()
60666 {
60667 _sincosf(0, 0, 0);
60668 ;
60669 return 0;
60670 }
60671 _ACEOF
60672 rm -f conftest.$ac_objext
60673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60674 (eval $ac_compile) 2>conftest.er1
60675 ac_status=$?
60676 grep -v '^ *+' conftest.er1 >conftest.err
60677 rm -f conftest.er1
60678 cat conftest.err >&5
60679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60680 (exit $ac_status); } &&
60681 { ac_try='test -z "$ac_cxx_werror_flag"
60682 || test ! -s conftest.err'
60683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684 (eval $ac_try) 2>&5
60685 ac_status=$?
60686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687 (exit $ac_status); }; } &&
60688 { ac_try='test -s conftest.$ac_objext'
60689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60690 (eval $ac_try) 2>&5
60691 ac_status=$?
60692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60693 (exit $ac_status); }; }; then
60694 glibcxx_cv_func__sincosf_use=yes
60695 else
60696 echo "$as_me: failed program was:" >&5
60697 sed 's/^/| /' conftest.$ac_ext >&5
60698
60699 glibcxx_cv_func__sincosf_use=no
60700 fi
60701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60702 ac_ext=c
60703 ac_cpp='$CPP $CPPFLAGS'
60704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60707
60708
60709 fi
60710
60711 fi
60712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
60713 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
60714
60715 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60716
60717 for ac_func in _sincosf
60718 do
60719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60720 echo "$as_me:$LINENO: checking for $ac_func" >&5
60721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60722 if eval "test \"\${$as_ac_var+set}\" = set"; then
60723 echo $ECHO_N "(cached) $ECHO_C" >&6
60724 else
60725 if test x$gcc_no_link = xyes; then
60726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60728 { (exit 1); exit 1; }; }
60729 fi
60730 cat >conftest.$ac_ext <<_ACEOF
60731 /* confdefs.h. */
60732 _ACEOF
60733 cat confdefs.h >>conftest.$ac_ext
60734 cat >>conftest.$ac_ext <<_ACEOF
60735 /* end confdefs.h. */
60736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60738 #define $ac_func innocuous_$ac_func
60739
60740 /* System header to define __stub macros and hopefully few prototypes,
60741 which can conflict with char $ac_func (); below.
60742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60743 <limits.h> exists even on freestanding compilers. */
60744
60745 #ifdef __STDC__
60746 # include <limits.h>
60747 #else
60748 # include <assert.h>
60749 #endif
60750
60751 #undef $ac_func
60752
60753 /* Override any gcc2 internal prototype to avoid an error. */
60754 #ifdef __cplusplus
60755 extern "C"
60756 {
60757 #endif
60758 /* We use char because int might match the return type of a gcc2
60759 builtin and then its argument prototype would still apply. */
60760 char $ac_func ();
60761 /* The GNU C library defines this for functions which it implements
60762 to always fail with ENOSYS. Some functions are actually named
60763 something starting with __ and the normal name is an alias. */
60764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60765 choke me
60766 #else
60767 char (*f) () = $ac_func;
60768 #endif
60769 #ifdef __cplusplus
60770 }
60771 #endif
60772
60773 int
60774 main ()
60775 {
60776 return f != $ac_func;
60777 ;
60778 return 0;
60779 }
60780 _ACEOF
60781 rm -f conftest.$ac_objext conftest$ac_exeext
60782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60783 (eval $ac_link) 2>conftest.er1
60784 ac_status=$?
60785 grep -v '^ *+' conftest.er1 >conftest.err
60786 rm -f conftest.er1
60787 cat conftest.err >&5
60788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60789 (exit $ac_status); } &&
60790 { ac_try='test -z "$ac_c_werror_flag"
60791 || test ! -s conftest.err'
60792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60793 (eval $ac_try) 2>&5
60794 ac_status=$?
60795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60796 (exit $ac_status); }; } &&
60797 { ac_try='test -s conftest$ac_exeext'
60798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60799 (eval $ac_try) 2>&5
60800 ac_status=$?
60801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60802 (exit $ac_status); }; }; then
60803 eval "$as_ac_var=yes"
60804 else
60805 echo "$as_me: failed program was:" >&5
60806 sed 's/^/| /' conftest.$ac_ext >&5
60807
60808 eval "$as_ac_var=no"
60809 fi
60810 rm -f conftest.err conftest.$ac_objext \
60811 conftest$ac_exeext conftest.$ac_ext
60812 fi
60813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60815 if test `eval echo '${'$as_ac_var'}'` = yes; then
60816 cat >>confdefs.h <<_ACEOF
60817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60818 _ACEOF
60819
60820 fi
60821 done
60822
60823 fi
60824 fi
60825
60826
60827
60828 echo "$as_me:$LINENO: checking for finitef declaration" >&5
60829 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
60830 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
60831 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
60832 echo $ECHO_N "(cached) $ECHO_C" >&6
60833 else
60834
60835
60836
60837 ac_ext=cc
60838 ac_cpp='$CXXCPP $CPPFLAGS'
60839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60842
60843 cat >conftest.$ac_ext <<_ACEOF
60844 /* confdefs.h. */
60845 _ACEOF
60846 cat confdefs.h >>conftest.$ac_ext
60847 cat >>conftest.$ac_ext <<_ACEOF
60848 /* end confdefs.h. */
60849 #include <math.h>
60850 #ifdef HAVE_IEEEFP_H
60851 #include <ieeefp.h>
60852 #endif
60853
60854 int
60855 main ()
60856 {
60857 finitef(0);
60858 ;
60859 return 0;
60860 }
60861 _ACEOF
60862 rm -f conftest.$ac_objext
60863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60864 (eval $ac_compile) 2>conftest.er1
60865 ac_status=$?
60866 grep -v '^ *+' conftest.er1 >conftest.err
60867 rm -f conftest.er1
60868 cat conftest.err >&5
60869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60870 (exit $ac_status); } &&
60871 { ac_try='test -z "$ac_cxx_werror_flag"
60872 || test ! -s conftest.err'
60873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60874 (eval $ac_try) 2>&5
60875 ac_status=$?
60876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60877 (exit $ac_status); }; } &&
60878 { ac_try='test -s conftest.$ac_objext'
60879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60880 (eval $ac_try) 2>&5
60881 ac_status=$?
60882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60883 (exit $ac_status); }; }; then
60884 glibcxx_cv_func_finitef_use=yes
60885 else
60886 echo "$as_me: failed program was:" >&5
60887 sed 's/^/| /' conftest.$ac_ext >&5
60888
60889 glibcxx_cv_func_finitef_use=no
60890 fi
60891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60892 ac_ext=c
60893 ac_cpp='$CPP $CPPFLAGS'
60894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60897
60898
60899 fi
60900
60901 fi
60902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
60903 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
60904
60905 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
60906
60907 for ac_func in finitef
60908 do
60909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60910 echo "$as_me:$LINENO: checking for $ac_func" >&5
60911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60912 if eval "test \"\${$as_ac_var+set}\" = set"; then
60913 echo $ECHO_N "(cached) $ECHO_C" >&6
60914 else
60915 if test x$gcc_no_link = xyes; then
60916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60918 { (exit 1); exit 1; }; }
60919 fi
60920 cat >conftest.$ac_ext <<_ACEOF
60921 /* confdefs.h. */
60922 _ACEOF
60923 cat confdefs.h >>conftest.$ac_ext
60924 cat >>conftest.$ac_ext <<_ACEOF
60925 /* end confdefs.h. */
60926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60928 #define $ac_func innocuous_$ac_func
60929
60930 /* System header to define __stub macros and hopefully few prototypes,
60931 which can conflict with char $ac_func (); below.
60932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60933 <limits.h> exists even on freestanding compilers. */
60934
60935 #ifdef __STDC__
60936 # include <limits.h>
60937 #else
60938 # include <assert.h>
60939 #endif
60940
60941 #undef $ac_func
60942
60943 /* Override any gcc2 internal prototype to avoid an error. */
60944 #ifdef __cplusplus
60945 extern "C"
60946 {
60947 #endif
60948 /* We use char because int might match the return type of a gcc2
60949 builtin and then its argument prototype would still apply. */
60950 char $ac_func ();
60951 /* The GNU C library defines this for functions which it implements
60952 to always fail with ENOSYS. Some functions are actually named
60953 something starting with __ and the normal name is an alias. */
60954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60955 choke me
60956 #else
60957 char (*f) () = $ac_func;
60958 #endif
60959 #ifdef __cplusplus
60960 }
60961 #endif
60962
60963 int
60964 main ()
60965 {
60966 return f != $ac_func;
60967 ;
60968 return 0;
60969 }
60970 _ACEOF
60971 rm -f conftest.$ac_objext conftest$ac_exeext
60972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60973 (eval $ac_link) 2>conftest.er1
60974 ac_status=$?
60975 grep -v '^ *+' conftest.er1 >conftest.err
60976 rm -f conftest.er1
60977 cat conftest.err >&5
60978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60979 (exit $ac_status); } &&
60980 { ac_try='test -z "$ac_c_werror_flag"
60981 || test ! -s conftest.err'
60982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60983 (eval $ac_try) 2>&5
60984 ac_status=$?
60985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 (exit $ac_status); }; } &&
60987 { ac_try='test -s conftest$ac_exeext'
60988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60989 (eval $ac_try) 2>&5
60990 ac_status=$?
60991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60992 (exit $ac_status); }; }; then
60993 eval "$as_ac_var=yes"
60994 else
60995 echo "$as_me: failed program was:" >&5
60996 sed 's/^/| /' conftest.$ac_ext >&5
60997
60998 eval "$as_ac_var=no"
60999 fi
61000 rm -f conftest.err conftest.$ac_objext \
61001 conftest$ac_exeext conftest.$ac_ext
61002 fi
61003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61005 if test `eval echo '${'$as_ac_var'}'` = yes; then
61006 cat >>confdefs.h <<_ACEOF
61007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61008 _ACEOF
61009
61010 fi
61011 done
61012
61013 else
61014
61015 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
61016 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
61017 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61018 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
61019 echo $ECHO_N "(cached) $ECHO_C" >&6
61020 else
61021
61022
61023
61024 ac_ext=cc
61025 ac_cpp='$CXXCPP $CPPFLAGS'
61026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61029
61030 cat >conftest.$ac_ext <<_ACEOF
61031 /* confdefs.h. */
61032 _ACEOF
61033 cat confdefs.h >>conftest.$ac_ext
61034 cat >>conftest.$ac_ext <<_ACEOF
61035 /* end confdefs.h. */
61036 #include <math.h>
61037 #ifdef HAVE_IEEEFP_H
61038 #include <ieeefp.h>
61039 #endif
61040
61041 int
61042 main ()
61043 {
61044 _finitef(0);
61045 ;
61046 return 0;
61047 }
61048 _ACEOF
61049 rm -f conftest.$ac_objext
61050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61051 (eval $ac_compile) 2>conftest.er1
61052 ac_status=$?
61053 grep -v '^ *+' conftest.er1 >conftest.err
61054 rm -f conftest.er1
61055 cat conftest.err >&5
61056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61057 (exit $ac_status); } &&
61058 { ac_try='test -z "$ac_cxx_werror_flag"
61059 || test ! -s conftest.err'
61060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61061 (eval $ac_try) 2>&5
61062 ac_status=$?
61063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61064 (exit $ac_status); }; } &&
61065 { ac_try='test -s conftest.$ac_objext'
61066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61067 (eval $ac_try) 2>&5
61068 ac_status=$?
61069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61070 (exit $ac_status); }; }; then
61071 glibcxx_cv_func__finitef_use=yes
61072 else
61073 echo "$as_me: failed program was:" >&5
61074 sed 's/^/| /' conftest.$ac_ext >&5
61075
61076 glibcxx_cv_func__finitef_use=no
61077 fi
61078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61079 ac_ext=c
61080 ac_cpp='$CPP $CPPFLAGS'
61081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61084
61085
61086 fi
61087
61088 fi
61089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
61090 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
61091
61092 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61093
61094 for ac_func in _finitef
61095 do
61096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61097 echo "$as_me:$LINENO: checking for $ac_func" >&5
61098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61099 if eval "test \"\${$as_ac_var+set}\" = set"; then
61100 echo $ECHO_N "(cached) $ECHO_C" >&6
61101 else
61102 if test x$gcc_no_link = xyes; then
61103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61105 { (exit 1); exit 1; }; }
61106 fi
61107 cat >conftest.$ac_ext <<_ACEOF
61108 /* confdefs.h. */
61109 _ACEOF
61110 cat confdefs.h >>conftest.$ac_ext
61111 cat >>conftest.$ac_ext <<_ACEOF
61112 /* end confdefs.h. */
61113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61115 #define $ac_func innocuous_$ac_func
61116
61117 /* System header to define __stub macros and hopefully few prototypes,
61118 which can conflict with char $ac_func (); below.
61119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61120 <limits.h> exists even on freestanding compilers. */
61121
61122 #ifdef __STDC__
61123 # include <limits.h>
61124 #else
61125 # include <assert.h>
61126 #endif
61127
61128 #undef $ac_func
61129
61130 /* Override any gcc2 internal prototype to avoid an error. */
61131 #ifdef __cplusplus
61132 extern "C"
61133 {
61134 #endif
61135 /* We use char because int might match the return type of a gcc2
61136 builtin and then its argument prototype would still apply. */
61137 char $ac_func ();
61138 /* The GNU C library defines this for functions which it implements
61139 to always fail with ENOSYS. Some functions are actually named
61140 something starting with __ and the normal name is an alias. */
61141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61142 choke me
61143 #else
61144 char (*f) () = $ac_func;
61145 #endif
61146 #ifdef __cplusplus
61147 }
61148 #endif
61149
61150 int
61151 main ()
61152 {
61153 return f != $ac_func;
61154 ;
61155 return 0;
61156 }
61157 _ACEOF
61158 rm -f conftest.$ac_objext conftest$ac_exeext
61159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61160 (eval $ac_link) 2>conftest.er1
61161 ac_status=$?
61162 grep -v '^ *+' conftest.er1 >conftest.err
61163 rm -f conftest.er1
61164 cat conftest.err >&5
61165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61166 (exit $ac_status); } &&
61167 { ac_try='test -z "$ac_c_werror_flag"
61168 || test ! -s conftest.err'
61169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61170 (eval $ac_try) 2>&5
61171 ac_status=$?
61172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61173 (exit $ac_status); }; } &&
61174 { ac_try='test -s conftest$ac_exeext'
61175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61176 (eval $ac_try) 2>&5
61177 ac_status=$?
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); }; }; then
61180 eval "$as_ac_var=yes"
61181 else
61182 echo "$as_me: failed program was:" >&5
61183 sed 's/^/| /' conftest.$ac_ext >&5
61184
61185 eval "$as_ac_var=no"
61186 fi
61187 rm -f conftest.err conftest.$ac_objext \
61188 conftest$ac_exeext conftest.$ac_ext
61189 fi
61190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61192 if test `eval echo '${'$as_ac_var'}'` = yes; then
61193 cat >>confdefs.h <<_ACEOF
61194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61195 _ACEOF
61196
61197 fi
61198 done
61199
61200 fi
61201 fi
61202
61203
61204
61205 echo "$as_me:$LINENO: checking for long double trig functions" >&5
61206 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
61207 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
61208 echo $ECHO_N "(cached) $ECHO_C" >&6
61209 else
61210
61211
61212
61213 ac_ext=cc
61214 ac_cpp='$CXXCPP $CPPFLAGS'
61215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61218
61219 cat >conftest.$ac_ext <<_ACEOF
61220 /* confdefs.h. */
61221 _ACEOF
61222 cat confdefs.h >>conftest.$ac_ext
61223 cat >>conftest.$ac_ext <<_ACEOF
61224 /* end confdefs.h. */
61225 #include <math.h>
61226 int
61227 main ()
61228 {
61229 `for x in acosl asinl atanl \
61230 cosl sinl tanl \
61231 coshl sinhl tanhl; do echo "$x (0);"; done`
61232 ;
61233 return 0;
61234 }
61235 _ACEOF
61236 rm -f conftest.$ac_objext
61237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61238 (eval $ac_compile) 2>conftest.er1
61239 ac_status=$?
61240 grep -v '^ *+' conftest.er1 >conftest.err
61241 rm -f conftest.er1
61242 cat conftest.err >&5
61243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61244 (exit $ac_status); } &&
61245 { ac_try='test -z "$ac_cxx_werror_flag"
61246 || test ! -s conftest.err'
61247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61248 (eval $ac_try) 2>&5
61249 ac_status=$?
61250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61251 (exit $ac_status); }; } &&
61252 { ac_try='test -s conftest.$ac_objext'
61253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61254 (eval $ac_try) 2>&5
61255 ac_status=$?
61256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257 (exit $ac_status); }; }; then
61258 glibcxx_cv_func_long_double_trig_use=yes
61259 else
61260 echo "$as_me: failed program was:" >&5
61261 sed 's/^/| /' conftest.$ac_ext >&5
61262
61263 glibcxx_cv_func_long_double_trig_use=no
61264 fi
61265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61266 ac_ext=c
61267 ac_cpp='$CPP $CPPFLAGS'
61268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61271
61272 fi
61273
61274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
61275 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
61276 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61277
61278
61279
61280
61281
61282
61283
61284
61285
61286 for ac_func in acosl asinl atanl \
61287 cosl sinl tanl \
61288 coshl sinhl tanhl
61289 do
61290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61291 echo "$as_me:$LINENO: checking for $ac_func" >&5
61292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61293 if eval "test \"\${$as_ac_var+set}\" = set"; then
61294 echo $ECHO_N "(cached) $ECHO_C" >&6
61295 else
61296 if test x$gcc_no_link = xyes; then
61297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61299 { (exit 1); exit 1; }; }
61300 fi
61301 cat >conftest.$ac_ext <<_ACEOF
61302 /* confdefs.h. */
61303 _ACEOF
61304 cat confdefs.h >>conftest.$ac_ext
61305 cat >>conftest.$ac_ext <<_ACEOF
61306 /* end confdefs.h. */
61307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61309 #define $ac_func innocuous_$ac_func
61310
61311 /* System header to define __stub macros and hopefully few prototypes,
61312 which can conflict with char $ac_func (); below.
61313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61314 <limits.h> exists even on freestanding compilers. */
61315
61316 #ifdef __STDC__
61317 # include <limits.h>
61318 #else
61319 # include <assert.h>
61320 #endif
61321
61322 #undef $ac_func
61323
61324 /* Override any gcc2 internal prototype to avoid an error. */
61325 #ifdef __cplusplus
61326 extern "C"
61327 {
61328 #endif
61329 /* We use char because int might match the return type of a gcc2
61330 builtin and then its argument prototype would still apply. */
61331 char $ac_func ();
61332 /* The GNU C library defines this for functions which it implements
61333 to always fail with ENOSYS. Some functions are actually named
61334 something starting with __ and the normal name is an alias. */
61335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61336 choke me
61337 #else
61338 char (*f) () = $ac_func;
61339 #endif
61340 #ifdef __cplusplus
61341 }
61342 #endif
61343
61344 int
61345 main ()
61346 {
61347 return f != $ac_func;
61348 ;
61349 return 0;
61350 }
61351 _ACEOF
61352 rm -f conftest.$ac_objext conftest$ac_exeext
61353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61354 (eval $ac_link) 2>conftest.er1
61355 ac_status=$?
61356 grep -v '^ *+' conftest.er1 >conftest.err
61357 rm -f conftest.er1
61358 cat conftest.err >&5
61359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61360 (exit $ac_status); } &&
61361 { ac_try='test -z "$ac_c_werror_flag"
61362 || test ! -s conftest.err'
61363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61364 (eval $ac_try) 2>&5
61365 ac_status=$?
61366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61367 (exit $ac_status); }; } &&
61368 { ac_try='test -s conftest$ac_exeext'
61369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61370 (eval $ac_try) 2>&5
61371 ac_status=$?
61372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61373 (exit $ac_status); }; }; then
61374 eval "$as_ac_var=yes"
61375 else
61376 echo "$as_me: failed program was:" >&5
61377 sed 's/^/| /' conftest.$ac_ext >&5
61378
61379 eval "$as_ac_var=no"
61380 fi
61381 rm -f conftest.err conftest.$ac_objext \
61382 conftest$ac_exeext conftest.$ac_ext
61383 fi
61384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61386 if test `eval echo '${'$as_ac_var'}'` = yes; then
61387 cat >>confdefs.h <<_ACEOF
61388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61389 _ACEOF
61390
61391 fi
61392 done
61393
61394 fi
61395
61396
61397 echo "$as_me:$LINENO: checking for long double round functions" >&5
61398 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
61399 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
61400 echo $ECHO_N "(cached) $ECHO_C" >&6
61401 else
61402
61403
61404
61405 ac_ext=cc
61406 ac_cpp='$CXXCPP $CPPFLAGS'
61407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61410
61411 cat >conftest.$ac_ext <<_ACEOF
61412 /* confdefs.h. */
61413 _ACEOF
61414 cat confdefs.h >>conftest.$ac_ext
61415 cat >>conftest.$ac_ext <<_ACEOF
61416 /* end confdefs.h. */
61417 #include <math.h>
61418 int
61419 main ()
61420 {
61421 `for x in ceill floorl; do echo "$x (0);"; done`
61422 ;
61423 return 0;
61424 }
61425 _ACEOF
61426 rm -f conftest.$ac_objext
61427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61428 (eval $ac_compile) 2>conftest.er1
61429 ac_status=$?
61430 grep -v '^ *+' conftest.er1 >conftest.err
61431 rm -f conftest.er1
61432 cat conftest.err >&5
61433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61434 (exit $ac_status); } &&
61435 { ac_try='test -z "$ac_cxx_werror_flag"
61436 || test ! -s conftest.err'
61437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61438 (eval $ac_try) 2>&5
61439 ac_status=$?
61440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61441 (exit $ac_status); }; } &&
61442 { ac_try='test -s conftest.$ac_objext'
61443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61444 (eval $ac_try) 2>&5
61445 ac_status=$?
61446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61447 (exit $ac_status); }; }; then
61448 glibcxx_cv_func_long_double_round_use=yes
61449 else
61450 echo "$as_me: failed program was:" >&5
61451 sed 's/^/| /' conftest.$ac_ext >&5
61452
61453 glibcxx_cv_func_long_double_round_use=no
61454 fi
61455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462 fi
61463
61464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
61465 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
61466 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61467
61468
61469 for ac_func in ceill floorl
61470 do
61471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61472 echo "$as_me:$LINENO: checking for $ac_func" >&5
61473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61474 if eval "test \"\${$as_ac_var+set}\" = set"; then
61475 echo $ECHO_N "(cached) $ECHO_C" >&6
61476 else
61477 if test x$gcc_no_link = xyes; then
61478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61480 { (exit 1); exit 1; }; }
61481 fi
61482 cat >conftest.$ac_ext <<_ACEOF
61483 /* confdefs.h. */
61484 _ACEOF
61485 cat confdefs.h >>conftest.$ac_ext
61486 cat >>conftest.$ac_ext <<_ACEOF
61487 /* end confdefs.h. */
61488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61490 #define $ac_func innocuous_$ac_func
61491
61492 /* System header to define __stub macros and hopefully few prototypes,
61493 which can conflict with char $ac_func (); below.
61494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61495 <limits.h> exists even on freestanding compilers. */
61496
61497 #ifdef __STDC__
61498 # include <limits.h>
61499 #else
61500 # include <assert.h>
61501 #endif
61502
61503 #undef $ac_func
61504
61505 /* Override any gcc2 internal prototype to avoid an error. */
61506 #ifdef __cplusplus
61507 extern "C"
61508 {
61509 #endif
61510 /* We use char because int might match the return type of a gcc2
61511 builtin and then its argument prototype would still apply. */
61512 char $ac_func ();
61513 /* The GNU C library defines this for functions which it implements
61514 to always fail with ENOSYS. Some functions are actually named
61515 something starting with __ and the normal name is an alias. */
61516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61517 choke me
61518 #else
61519 char (*f) () = $ac_func;
61520 #endif
61521 #ifdef __cplusplus
61522 }
61523 #endif
61524
61525 int
61526 main ()
61527 {
61528 return f != $ac_func;
61529 ;
61530 return 0;
61531 }
61532 _ACEOF
61533 rm -f conftest.$ac_objext conftest$ac_exeext
61534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61535 (eval $ac_link) 2>conftest.er1
61536 ac_status=$?
61537 grep -v '^ *+' conftest.er1 >conftest.err
61538 rm -f conftest.er1
61539 cat conftest.err >&5
61540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61541 (exit $ac_status); } &&
61542 { ac_try='test -z "$ac_c_werror_flag"
61543 || test ! -s conftest.err'
61544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61545 (eval $ac_try) 2>&5
61546 ac_status=$?
61547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61548 (exit $ac_status); }; } &&
61549 { ac_try='test -s conftest$ac_exeext'
61550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61551 (eval $ac_try) 2>&5
61552 ac_status=$?
61553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61554 (exit $ac_status); }; }; then
61555 eval "$as_ac_var=yes"
61556 else
61557 echo "$as_me: failed program was:" >&5
61558 sed 's/^/| /' conftest.$ac_ext >&5
61559
61560 eval "$as_ac_var=no"
61561 fi
61562 rm -f conftest.err conftest.$ac_objext \
61563 conftest$ac_exeext conftest.$ac_ext
61564 fi
61565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61567 if test `eval echo '${'$as_ac_var'}'` = yes; then
61568 cat >>confdefs.h <<_ACEOF
61569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61570 _ACEOF
61571
61572 fi
61573 done
61574
61575 fi
61576
61577
61578
61579 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
61580 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
61581 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61582 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
61583 echo $ECHO_N "(cached) $ECHO_C" >&6
61584 else
61585
61586
61587
61588 ac_ext=cc
61589 ac_cpp='$CXXCPP $CPPFLAGS'
61590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61593
61594 cat >conftest.$ac_ext <<_ACEOF
61595 /* confdefs.h. */
61596 _ACEOF
61597 cat confdefs.h >>conftest.$ac_ext
61598 cat >>conftest.$ac_ext <<_ACEOF
61599 /* end confdefs.h. */
61600 #include <math.h>
61601 #ifdef HAVE_IEEEFP_H
61602 #include <ieeefp.h>
61603 #endif
61604
61605 int
61606 main ()
61607 {
61608 isnanl(0);
61609 ;
61610 return 0;
61611 }
61612 _ACEOF
61613 rm -f conftest.$ac_objext
61614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61615 (eval $ac_compile) 2>conftest.er1
61616 ac_status=$?
61617 grep -v '^ *+' conftest.er1 >conftest.err
61618 rm -f conftest.er1
61619 cat conftest.err >&5
61620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61621 (exit $ac_status); } &&
61622 { ac_try='test -z "$ac_cxx_werror_flag"
61623 || test ! -s conftest.err'
61624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61625 (eval $ac_try) 2>&5
61626 ac_status=$?
61627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61628 (exit $ac_status); }; } &&
61629 { ac_try='test -s conftest.$ac_objext'
61630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61631 (eval $ac_try) 2>&5
61632 ac_status=$?
61633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61634 (exit $ac_status); }; }; then
61635 glibcxx_cv_func_isnanl_use=yes
61636 else
61637 echo "$as_me: failed program was:" >&5
61638 sed 's/^/| /' conftest.$ac_ext >&5
61639
61640 glibcxx_cv_func_isnanl_use=no
61641 fi
61642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61643 ac_ext=c
61644 ac_cpp='$CPP $CPPFLAGS'
61645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61648
61649
61650 fi
61651
61652 fi
61653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
61654 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
61655
61656 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61657
61658 for ac_func in isnanl
61659 do
61660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61661 echo "$as_me:$LINENO: checking for $ac_func" >&5
61662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61663 if eval "test \"\${$as_ac_var+set}\" = set"; then
61664 echo $ECHO_N "(cached) $ECHO_C" >&6
61665 else
61666 if test x$gcc_no_link = xyes; then
61667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61669 { (exit 1); exit 1; }; }
61670 fi
61671 cat >conftest.$ac_ext <<_ACEOF
61672 /* confdefs.h. */
61673 _ACEOF
61674 cat confdefs.h >>conftest.$ac_ext
61675 cat >>conftest.$ac_ext <<_ACEOF
61676 /* end confdefs.h. */
61677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61679 #define $ac_func innocuous_$ac_func
61680
61681 /* System header to define __stub macros and hopefully few prototypes,
61682 which can conflict with char $ac_func (); below.
61683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61684 <limits.h> exists even on freestanding compilers. */
61685
61686 #ifdef __STDC__
61687 # include <limits.h>
61688 #else
61689 # include <assert.h>
61690 #endif
61691
61692 #undef $ac_func
61693
61694 /* Override any gcc2 internal prototype to avoid an error. */
61695 #ifdef __cplusplus
61696 extern "C"
61697 {
61698 #endif
61699 /* We use char because int might match the return type of a gcc2
61700 builtin and then its argument prototype would still apply. */
61701 char $ac_func ();
61702 /* The GNU C library defines this for functions which it implements
61703 to always fail with ENOSYS. Some functions are actually named
61704 something starting with __ and the normal name is an alias. */
61705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61706 choke me
61707 #else
61708 char (*f) () = $ac_func;
61709 #endif
61710 #ifdef __cplusplus
61711 }
61712 #endif
61713
61714 int
61715 main ()
61716 {
61717 return f != $ac_func;
61718 ;
61719 return 0;
61720 }
61721 _ACEOF
61722 rm -f conftest.$ac_objext conftest$ac_exeext
61723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61724 (eval $ac_link) 2>conftest.er1
61725 ac_status=$?
61726 grep -v '^ *+' conftest.er1 >conftest.err
61727 rm -f conftest.er1
61728 cat conftest.err >&5
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); } &&
61731 { ac_try='test -z "$ac_c_werror_flag"
61732 || test ! -s conftest.err'
61733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61734 (eval $ac_try) 2>&5
61735 ac_status=$?
61736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61737 (exit $ac_status); }; } &&
61738 { ac_try='test -s conftest$ac_exeext'
61739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61740 (eval $ac_try) 2>&5
61741 ac_status=$?
61742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61743 (exit $ac_status); }; }; then
61744 eval "$as_ac_var=yes"
61745 else
61746 echo "$as_me: failed program was:" >&5
61747 sed 's/^/| /' conftest.$ac_ext >&5
61748
61749 eval "$as_ac_var=no"
61750 fi
61751 rm -f conftest.err conftest.$ac_objext \
61752 conftest$ac_exeext conftest.$ac_ext
61753 fi
61754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61756 if test `eval echo '${'$as_ac_var'}'` = yes; then
61757 cat >>confdefs.h <<_ACEOF
61758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61759 _ACEOF
61760
61761 fi
61762 done
61763
61764 else
61765
61766 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
61767 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
61768 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61769 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
61770 echo $ECHO_N "(cached) $ECHO_C" >&6
61771 else
61772
61773
61774
61775 ac_ext=cc
61776 ac_cpp='$CXXCPP $CPPFLAGS'
61777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61780
61781 cat >conftest.$ac_ext <<_ACEOF
61782 /* confdefs.h. */
61783 _ACEOF
61784 cat confdefs.h >>conftest.$ac_ext
61785 cat >>conftest.$ac_ext <<_ACEOF
61786 /* end confdefs.h. */
61787 #include <math.h>
61788 #ifdef HAVE_IEEEFP_H
61789 #include <ieeefp.h>
61790 #endif
61791
61792 int
61793 main ()
61794 {
61795 _isnanl(0);
61796 ;
61797 return 0;
61798 }
61799 _ACEOF
61800 rm -f conftest.$ac_objext
61801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61802 (eval $ac_compile) 2>conftest.er1
61803 ac_status=$?
61804 grep -v '^ *+' conftest.er1 >conftest.err
61805 rm -f conftest.er1
61806 cat conftest.err >&5
61807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61808 (exit $ac_status); } &&
61809 { ac_try='test -z "$ac_cxx_werror_flag"
61810 || test ! -s conftest.err'
61811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61812 (eval $ac_try) 2>&5
61813 ac_status=$?
61814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61815 (exit $ac_status); }; } &&
61816 { ac_try='test -s conftest.$ac_objext'
61817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61818 (eval $ac_try) 2>&5
61819 ac_status=$?
61820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61821 (exit $ac_status); }; }; then
61822 glibcxx_cv_func__isnanl_use=yes
61823 else
61824 echo "$as_me: failed program was:" >&5
61825 sed 's/^/| /' conftest.$ac_ext >&5
61826
61827 glibcxx_cv_func__isnanl_use=no
61828 fi
61829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61830 ac_ext=c
61831 ac_cpp='$CPP $CPPFLAGS'
61832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61835
61836
61837 fi
61838
61839 fi
61840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
61841 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
61842
61843 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61844
61845 for ac_func in _isnanl
61846 do
61847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61848 echo "$as_me:$LINENO: checking for $ac_func" >&5
61849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61850 if eval "test \"\${$as_ac_var+set}\" = set"; then
61851 echo $ECHO_N "(cached) $ECHO_C" >&6
61852 else
61853 if test x$gcc_no_link = xyes; then
61854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61856 { (exit 1); exit 1; }; }
61857 fi
61858 cat >conftest.$ac_ext <<_ACEOF
61859 /* confdefs.h. */
61860 _ACEOF
61861 cat confdefs.h >>conftest.$ac_ext
61862 cat >>conftest.$ac_ext <<_ACEOF
61863 /* end confdefs.h. */
61864 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61866 #define $ac_func innocuous_$ac_func
61867
61868 /* System header to define __stub macros and hopefully few prototypes,
61869 which can conflict with char $ac_func (); below.
61870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61871 <limits.h> exists even on freestanding compilers. */
61872
61873 #ifdef __STDC__
61874 # include <limits.h>
61875 #else
61876 # include <assert.h>
61877 #endif
61878
61879 #undef $ac_func
61880
61881 /* Override any gcc2 internal prototype to avoid an error. */
61882 #ifdef __cplusplus
61883 extern "C"
61884 {
61885 #endif
61886 /* We use char because int might match the return type of a gcc2
61887 builtin and then its argument prototype would still apply. */
61888 char $ac_func ();
61889 /* The GNU C library defines this for functions which it implements
61890 to always fail with ENOSYS. Some functions are actually named
61891 something starting with __ and the normal name is an alias. */
61892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61893 choke me
61894 #else
61895 char (*f) () = $ac_func;
61896 #endif
61897 #ifdef __cplusplus
61898 }
61899 #endif
61900
61901 int
61902 main ()
61903 {
61904 return f != $ac_func;
61905 ;
61906 return 0;
61907 }
61908 _ACEOF
61909 rm -f conftest.$ac_objext conftest$ac_exeext
61910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61911 (eval $ac_link) 2>conftest.er1
61912 ac_status=$?
61913 grep -v '^ *+' conftest.er1 >conftest.err
61914 rm -f conftest.er1
61915 cat conftest.err >&5
61916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61917 (exit $ac_status); } &&
61918 { ac_try='test -z "$ac_c_werror_flag"
61919 || test ! -s conftest.err'
61920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921 (eval $ac_try) 2>&5
61922 ac_status=$?
61923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924 (exit $ac_status); }; } &&
61925 { ac_try='test -s conftest$ac_exeext'
61926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61927 (eval $ac_try) 2>&5
61928 ac_status=$?
61929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61930 (exit $ac_status); }; }; then
61931 eval "$as_ac_var=yes"
61932 else
61933 echo "$as_me: failed program was:" >&5
61934 sed 's/^/| /' conftest.$ac_ext >&5
61935
61936 eval "$as_ac_var=no"
61937 fi
61938 rm -f conftest.err conftest.$ac_objext \
61939 conftest$ac_exeext conftest.$ac_ext
61940 fi
61941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61943 if test `eval echo '${'$as_ac_var'}'` = yes; then
61944 cat >>confdefs.h <<_ACEOF
61945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61946 _ACEOF
61947
61948 fi
61949 done
61950
61951 fi
61952 fi
61953
61954
61955
61956 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
61957 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
61958 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61959 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
61960 echo $ECHO_N "(cached) $ECHO_C" >&6
61961 else
61962
61963
61964
61965 ac_ext=cc
61966 ac_cpp='$CXXCPP $CPPFLAGS'
61967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61970
61971 cat >conftest.$ac_ext <<_ACEOF
61972 /* confdefs.h. */
61973 _ACEOF
61974 cat confdefs.h >>conftest.$ac_ext
61975 cat >>conftest.$ac_ext <<_ACEOF
61976 /* end confdefs.h. */
61977 #include <math.h>
61978 #ifdef HAVE_IEEEFP_H
61979 #include <ieeefp.h>
61980 #endif
61981
61982 int
61983 main ()
61984 {
61985 isinfl(0);
61986 ;
61987 return 0;
61988 }
61989 _ACEOF
61990 rm -f conftest.$ac_objext
61991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61992 (eval $ac_compile) 2>conftest.er1
61993 ac_status=$?
61994 grep -v '^ *+' conftest.er1 >conftest.err
61995 rm -f conftest.er1
61996 cat conftest.err >&5
61997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61998 (exit $ac_status); } &&
61999 { ac_try='test -z "$ac_cxx_werror_flag"
62000 || test ! -s conftest.err'
62001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62002 (eval $ac_try) 2>&5
62003 ac_status=$?
62004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62005 (exit $ac_status); }; } &&
62006 { ac_try='test -s conftest.$ac_objext'
62007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62008 (eval $ac_try) 2>&5
62009 ac_status=$?
62010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62011 (exit $ac_status); }; }; then
62012 glibcxx_cv_func_isinfl_use=yes
62013 else
62014 echo "$as_me: failed program was:" >&5
62015 sed 's/^/| /' conftest.$ac_ext >&5
62016
62017 glibcxx_cv_func_isinfl_use=no
62018 fi
62019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62020 ac_ext=c
62021 ac_cpp='$CPP $CPPFLAGS'
62022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62025
62026
62027 fi
62028
62029 fi
62030 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
62031 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
62032
62033 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62034
62035 for ac_func in isinfl
62036 do
62037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62038 echo "$as_me:$LINENO: checking for $ac_func" >&5
62039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62040 if eval "test \"\${$as_ac_var+set}\" = set"; then
62041 echo $ECHO_N "(cached) $ECHO_C" >&6
62042 else
62043 if test x$gcc_no_link = xyes; then
62044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62046 { (exit 1); exit 1; }; }
62047 fi
62048 cat >conftest.$ac_ext <<_ACEOF
62049 /* confdefs.h. */
62050 _ACEOF
62051 cat confdefs.h >>conftest.$ac_ext
62052 cat >>conftest.$ac_ext <<_ACEOF
62053 /* end confdefs.h. */
62054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62056 #define $ac_func innocuous_$ac_func
62057
62058 /* System header to define __stub macros and hopefully few prototypes,
62059 which can conflict with char $ac_func (); below.
62060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62061 <limits.h> exists even on freestanding compilers. */
62062
62063 #ifdef __STDC__
62064 # include <limits.h>
62065 #else
62066 # include <assert.h>
62067 #endif
62068
62069 #undef $ac_func
62070
62071 /* Override any gcc2 internal prototype to avoid an error. */
62072 #ifdef __cplusplus
62073 extern "C"
62074 {
62075 #endif
62076 /* We use char because int might match the return type of a gcc2
62077 builtin and then its argument prototype would still apply. */
62078 char $ac_func ();
62079 /* The GNU C library defines this for functions which it implements
62080 to always fail with ENOSYS. Some functions are actually named
62081 something starting with __ and the normal name is an alias. */
62082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62083 choke me
62084 #else
62085 char (*f) () = $ac_func;
62086 #endif
62087 #ifdef __cplusplus
62088 }
62089 #endif
62090
62091 int
62092 main ()
62093 {
62094 return f != $ac_func;
62095 ;
62096 return 0;
62097 }
62098 _ACEOF
62099 rm -f conftest.$ac_objext conftest$ac_exeext
62100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62101 (eval $ac_link) 2>conftest.er1
62102 ac_status=$?
62103 grep -v '^ *+' conftest.er1 >conftest.err
62104 rm -f conftest.er1
62105 cat conftest.err >&5
62106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62107 (exit $ac_status); } &&
62108 { ac_try='test -z "$ac_c_werror_flag"
62109 || test ! -s conftest.err'
62110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62111 (eval $ac_try) 2>&5
62112 ac_status=$?
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); }; } &&
62115 { ac_try='test -s conftest$ac_exeext'
62116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62117 (eval $ac_try) 2>&5
62118 ac_status=$?
62119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62120 (exit $ac_status); }; }; then
62121 eval "$as_ac_var=yes"
62122 else
62123 echo "$as_me: failed program was:" >&5
62124 sed 's/^/| /' conftest.$ac_ext >&5
62125
62126 eval "$as_ac_var=no"
62127 fi
62128 rm -f conftest.err conftest.$ac_objext \
62129 conftest$ac_exeext conftest.$ac_ext
62130 fi
62131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62133 if test `eval echo '${'$as_ac_var'}'` = yes; then
62134 cat >>confdefs.h <<_ACEOF
62135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62136 _ACEOF
62137
62138 fi
62139 done
62140
62141 else
62142
62143 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
62144 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
62145 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62146 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
62147 echo $ECHO_N "(cached) $ECHO_C" >&6
62148 else
62149
62150
62151
62152 ac_ext=cc
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62157
62158 cat >conftest.$ac_ext <<_ACEOF
62159 /* confdefs.h. */
62160 _ACEOF
62161 cat confdefs.h >>conftest.$ac_ext
62162 cat >>conftest.$ac_ext <<_ACEOF
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62168
62169 int
62170 main ()
62171 {
62172 _isinfl(0);
62173 ;
62174 return 0;
62175 }
62176 _ACEOF
62177 rm -f conftest.$ac_objext
62178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62179 (eval $ac_compile) 2>conftest.er1
62180 ac_status=$?
62181 grep -v '^ *+' conftest.er1 >conftest.err
62182 rm -f conftest.er1
62183 cat conftest.err >&5
62184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185 (exit $ac_status); } &&
62186 { ac_try='test -z "$ac_cxx_werror_flag"
62187 || test ! -s conftest.err'
62188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62189 (eval $ac_try) 2>&5
62190 ac_status=$?
62191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62192 (exit $ac_status); }; } &&
62193 { ac_try='test -s conftest.$ac_objext'
62194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62195 (eval $ac_try) 2>&5
62196 ac_status=$?
62197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62198 (exit $ac_status); }; }; then
62199 glibcxx_cv_func__isinfl_use=yes
62200 else
62201 echo "$as_me: failed program was:" >&5
62202 sed 's/^/| /' conftest.$ac_ext >&5
62203
62204 glibcxx_cv_func__isinfl_use=no
62205 fi
62206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62207 ac_ext=c
62208 ac_cpp='$CPP $CPPFLAGS'
62209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62212
62213
62214 fi
62215
62216 fi
62217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
62218 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
62219
62220 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62221
62222 for ac_func in _isinfl
62223 do
62224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62225 echo "$as_me:$LINENO: checking for $ac_func" >&5
62226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62227 if eval "test \"\${$as_ac_var+set}\" = set"; then
62228 echo $ECHO_N "(cached) $ECHO_C" >&6
62229 else
62230 if test x$gcc_no_link = xyes; then
62231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62233 { (exit 1); exit 1; }; }
62234 fi
62235 cat >conftest.$ac_ext <<_ACEOF
62236 /* confdefs.h. */
62237 _ACEOF
62238 cat confdefs.h >>conftest.$ac_ext
62239 cat >>conftest.$ac_ext <<_ACEOF
62240 /* end confdefs.h. */
62241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62243 #define $ac_func innocuous_$ac_func
62244
62245 /* System header to define __stub macros and hopefully few prototypes,
62246 which can conflict with char $ac_func (); below.
62247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62248 <limits.h> exists even on freestanding compilers. */
62249
62250 #ifdef __STDC__
62251 # include <limits.h>
62252 #else
62253 # include <assert.h>
62254 #endif
62255
62256 #undef $ac_func
62257
62258 /* Override any gcc2 internal prototype to avoid an error. */
62259 #ifdef __cplusplus
62260 extern "C"
62261 {
62262 #endif
62263 /* We use char because int might match the return type of a gcc2
62264 builtin and then its argument prototype would still apply. */
62265 char $ac_func ();
62266 /* The GNU C library defines this for functions which it implements
62267 to always fail with ENOSYS. Some functions are actually named
62268 something starting with __ and the normal name is an alias. */
62269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62270 choke me
62271 #else
62272 char (*f) () = $ac_func;
62273 #endif
62274 #ifdef __cplusplus
62275 }
62276 #endif
62277
62278 int
62279 main ()
62280 {
62281 return f != $ac_func;
62282 ;
62283 return 0;
62284 }
62285 _ACEOF
62286 rm -f conftest.$ac_objext conftest$ac_exeext
62287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62288 (eval $ac_link) 2>conftest.er1
62289 ac_status=$?
62290 grep -v '^ *+' conftest.er1 >conftest.err
62291 rm -f conftest.er1
62292 cat conftest.err >&5
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); } &&
62295 { ac_try='test -z "$ac_c_werror_flag"
62296 || test ! -s conftest.err'
62297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62298 (eval $ac_try) 2>&5
62299 ac_status=$?
62300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62301 (exit $ac_status); }; } &&
62302 { ac_try='test -s conftest$ac_exeext'
62303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62304 (eval $ac_try) 2>&5
62305 ac_status=$?
62306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62307 (exit $ac_status); }; }; then
62308 eval "$as_ac_var=yes"
62309 else
62310 echo "$as_me: failed program was:" >&5
62311 sed 's/^/| /' conftest.$ac_ext >&5
62312
62313 eval "$as_ac_var=no"
62314 fi
62315 rm -f conftest.err conftest.$ac_objext \
62316 conftest$ac_exeext conftest.$ac_ext
62317 fi
62318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62320 if test `eval echo '${'$as_ac_var'}'` = yes; then
62321 cat >>confdefs.h <<_ACEOF
62322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62324
62325 fi
62326 done
62327
62328 fi
62329 fi
62330
62331
62332
62333 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
62334 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
62335 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
62336 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
62337 echo $ECHO_N "(cached) $ECHO_C" >&6
62338 else
62339
62340
62341
62342 ac_ext=cc
62343 ac_cpp='$CXXCPP $CPPFLAGS'
62344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62347
62348 cat >conftest.$ac_ext <<_ACEOF
62349 /* confdefs.h. */
62350 _ACEOF
62351 cat confdefs.h >>conftest.$ac_ext
62352 cat >>conftest.$ac_ext <<_ACEOF
62353 /* end confdefs.h. */
62354 #include <math.h>
62355 int
62356 main ()
62357 {
62358 copysignl(0, 0);
62359 ;
62360 return 0;
62361 }
62362 _ACEOF
62363 rm -f conftest.$ac_objext
62364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62365 (eval $ac_compile) 2>conftest.er1
62366 ac_status=$?
62367 grep -v '^ *+' conftest.er1 >conftest.err
62368 rm -f conftest.er1
62369 cat conftest.err >&5
62370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62371 (exit $ac_status); } &&
62372 { ac_try='test -z "$ac_cxx_werror_flag"
62373 || test ! -s conftest.err'
62374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375 (eval $ac_try) 2>&5
62376 ac_status=$?
62377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378 (exit $ac_status); }; } &&
62379 { ac_try='test -s conftest.$ac_objext'
62380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62381 (eval $ac_try) 2>&5
62382 ac_status=$?
62383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62384 (exit $ac_status); }; }; then
62385 glibcxx_cv_func_copysignl_use=yes
62386 else
62387 echo "$as_me: failed program was:" >&5
62388 sed 's/^/| /' conftest.$ac_ext >&5
62389
62390 glibcxx_cv_func_copysignl_use=no
62391 fi
62392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62393 ac_ext=c
62394 ac_cpp='$CPP $CPPFLAGS'
62395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62398
62399
62400 fi
62401
62402 fi
62403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
62404 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
62405
62406 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
62407
62408 for ac_func in copysignl
62409 do
62410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62411 echo "$as_me:$LINENO: checking for $ac_func" >&5
62412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62413 if eval "test \"\${$as_ac_var+set}\" = set"; then
62414 echo $ECHO_N "(cached) $ECHO_C" >&6
62415 else
62416 if test x$gcc_no_link = xyes; then
62417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62419 { (exit 1); exit 1; }; }
62420 fi
62421 cat >conftest.$ac_ext <<_ACEOF
62422 /* confdefs.h. */
62423 _ACEOF
62424 cat confdefs.h >>conftest.$ac_ext
62425 cat >>conftest.$ac_ext <<_ACEOF
62426 /* end confdefs.h. */
62427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62429 #define $ac_func innocuous_$ac_func
62430
62431 /* System header to define __stub macros and hopefully few prototypes,
62432 which can conflict with char $ac_func (); below.
62433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62434 <limits.h> exists even on freestanding compilers. */
62435
62436 #ifdef __STDC__
62437 # include <limits.h>
62438 #else
62439 # include <assert.h>
62440 #endif
62441
62442 #undef $ac_func
62443
62444 /* Override any gcc2 internal prototype to avoid an error. */
62445 #ifdef __cplusplus
62446 extern "C"
62447 {
62448 #endif
62449 /* We use char because int might match the return type of a gcc2
62450 builtin and then its argument prototype would still apply. */
62451 char $ac_func ();
62452 /* The GNU C library defines this for functions which it implements
62453 to always fail with ENOSYS. Some functions are actually named
62454 something starting with __ and the normal name is an alias. */
62455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62456 choke me
62457 #else
62458 char (*f) () = $ac_func;
62459 #endif
62460 #ifdef __cplusplus
62461 }
62462 #endif
62463
62464 int
62465 main ()
62466 {
62467 return f != $ac_func;
62468 ;
62469 return 0;
62470 }
62471 _ACEOF
62472 rm -f conftest.$ac_objext conftest$ac_exeext
62473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62474 (eval $ac_link) 2>conftest.er1
62475 ac_status=$?
62476 grep -v '^ *+' conftest.er1 >conftest.err
62477 rm -f conftest.er1
62478 cat conftest.err >&5
62479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62480 (exit $ac_status); } &&
62481 { ac_try='test -z "$ac_c_werror_flag"
62482 || test ! -s conftest.err'
62483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62484 (eval $ac_try) 2>&5
62485 ac_status=$?
62486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62487 (exit $ac_status); }; } &&
62488 { ac_try='test -s conftest$ac_exeext'
62489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62490 (eval $ac_try) 2>&5
62491 ac_status=$?
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); }; }; then
62494 eval "$as_ac_var=yes"
62495 else
62496 echo "$as_me: failed program was:" >&5
62497 sed 's/^/| /' conftest.$ac_ext >&5
62498
62499 eval "$as_ac_var=no"
62500 fi
62501 rm -f conftest.err conftest.$ac_objext \
62502 conftest$ac_exeext conftest.$ac_ext
62503 fi
62504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62506 if test `eval echo '${'$as_ac_var'}'` = yes; then
62507 cat >>confdefs.h <<_ACEOF
62508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62509 _ACEOF
62510
62511 fi
62512 done
62513
62514 else
62515
62516 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
62517 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
62518 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
62519 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
62520 echo $ECHO_N "(cached) $ECHO_C" >&6
62521 else
62522
62523
62524
62525 ac_ext=cc
62526 ac_cpp='$CXXCPP $CPPFLAGS'
62527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62530
62531 cat >conftest.$ac_ext <<_ACEOF
62532 /* confdefs.h. */
62533 _ACEOF
62534 cat confdefs.h >>conftest.$ac_ext
62535 cat >>conftest.$ac_ext <<_ACEOF
62536 /* end confdefs.h. */
62537 #include <math.h>
62538 int
62539 main ()
62540 {
62541 _copysignl(0, 0);
62542 ;
62543 return 0;
62544 }
62545 _ACEOF
62546 rm -f conftest.$ac_objext
62547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62548 (eval $ac_compile) 2>conftest.er1
62549 ac_status=$?
62550 grep -v '^ *+' conftest.er1 >conftest.err
62551 rm -f conftest.er1
62552 cat conftest.err >&5
62553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62554 (exit $ac_status); } &&
62555 { ac_try='test -z "$ac_cxx_werror_flag"
62556 || test ! -s conftest.err'
62557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62558 (eval $ac_try) 2>&5
62559 ac_status=$?
62560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62561 (exit $ac_status); }; } &&
62562 { ac_try='test -s conftest.$ac_objext'
62563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62564 (eval $ac_try) 2>&5
62565 ac_status=$?
62566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62567 (exit $ac_status); }; }; then
62568 glibcxx_cv_func__copysignl_use=yes
62569 else
62570 echo "$as_me: failed program was:" >&5
62571 sed 's/^/| /' conftest.$ac_ext >&5
62572
62573 glibcxx_cv_func__copysignl_use=no
62574 fi
62575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62576 ac_ext=c
62577 ac_cpp='$CPP $CPPFLAGS'
62578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62581
62582
62583 fi
62584
62585 fi
62586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
62587 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
62588
62589 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
62590
62591 for ac_func in _copysignl
62592 do
62593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62594 echo "$as_me:$LINENO: checking for $ac_func" >&5
62595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62596 if eval "test \"\${$as_ac_var+set}\" = set"; then
62597 echo $ECHO_N "(cached) $ECHO_C" >&6
62598 else
62599 if test x$gcc_no_link = xyes; then
62600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62602 { (exit 1); exit 1; }; }
62603 fi
62604 cat >conftest.$ac_ext <<_ACEOF
62605 /* confdefs.h. */
62606 _ACEOF
62607 cat confdefs.h >>conftest.$ac_ext
62608 cat >>conftest.$ac_ext <<_ACEOF
62609 /* end confdefs.h. */
62610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62612 #define $ac_func innocuous_$ac_func
62613
62614 /* System header to define __stub macros and hopefully few prototypes,
62615 which can conflict with char $ac_func (); below.
62616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62617 <limits.h> exists even on freestanding compilers. */
62618
62619 #ifdef __STDC__
62620 # include <limits.h>
62621 #else
62622 # include <assert.h>
62623 #endif
62624
62625 #undef $ac_func
62626
62627 /* Override any gcc2 internal prototype to avoid an error. */
62628 #ifdef __cplusplus
62629 extern "C"
62630 {
62631 #endif
62632 /* We use char because int might match the return type of a gcc2
62633 builtin and then its argument prototype would still apply. */
62634 char $ac_func ();
62635 /* The GNU C library defines this for functions which it implements
62636 to always fail with ENOSYS. Some functions are actually named
62637 something starting with __ and the normal name is an alias. */
62638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62639 choke me
62640 #else
62641 char (*f) () = $ac_func;
62642 #endif
62643 #ifdef __cplusplus
62644 }
62645 #endif
62646
62647 int
62648 main ()
62649 {
62650 return f != $ac_func;
62651 ;
62652 return 0;
62653 }
62654 _ACEOF
62655 rm -f conftest.$ac_objext conftest$ac_exeext
62656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62657 (eval $ac_link) 2>conftest.er1
62658 ac_status=$?
62659 grep -v '^ *+' conftest.er1 >conftest.err
62660 rm -f conftest.er1
62661 cat conftest.err >&5
62662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62663 (exit $ac_status); } &&
62664 { ac_try='test -z "$ac_c_werror_flag"
62665 || test ! -s conftest.err'
62666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62667 (eval $ac_try) 2>&5
62668 ac_status=$?
62669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62670 (exit $ac_status); }; } &&
62671 { ac_try='test -s conftest$ac_exeext'
62672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62673 (eval $ac_try) 2>&5
62674 ac_status=$?
62675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62676 (exit $ac_status); }; }; then
62677 eval "$as_ac_var=yes"
62678 else
62679 echo "$as_me: failed program was:" >&5
62680 sed 's/^/| /' conftest.$ac_ext >&5
62681
62682 eval "$as_ac_var=no"
62683 fi
62684 rm -f conftest.err conftest.$ac_objext \
62685 conftest$ac_exeext conftest.$ac_ext
62686 fi
62687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62689 if test `eval echo '${'$as_ac_var'}'` = yes; then
62690 cat >>confdefs.h <<_ACEOF
62691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62692 _ACEOF
62693
62694 fi
62695 done
62696
62697 fi
62698 fi
62699
62700
62701
62702 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
62703 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
62704 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62705 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
62706 echo $ECHO_N "(cached) $ECHO_C" >&6
62707 else
62708
62709
62710
62711 ac_ext=cc
62712 ac_cpp='$CXXCPP $CPPFLAGS'
62713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62716
62717 cat >conftest.$ac_ext <<_ACEOF
62718 /* confdefs.h. */
62719 _ACEOF
62720 cat confdefs.h >>conftest.$ac_ext
62721 cat >>conftest.$ac_ext <<_ACEOF
62722 /* end confdefs.h. */
62723 #include <math.h>
62724 int
62725 main ()
62726 {
62727 atan2l(0, 0);
62728 ;
62729 return 0;
62730 }
62731 _ACEOF
62732 rm -f conftest.$ac_objext
62733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62734 (eval $ac_compile) 2>conftest.er1
62735 ac_status=$?
62736 grep -v '^ *+' conftest.er1 >conftest.err
62737 rm -f conftest.er1
62738 cat conftest.err >&5
62739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62740 (exit $ac_status); } &&
62741 { ac_try='test -z "$ac_cxx_werror_flag"
62742 || test ! -s conftest.err'
62743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62744 (eval $ac_try) 2>&5
62745 ac_status=$?
62746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62747 (exit $ac_status); }; } &&
62748 { ac_try='test -s conftest.$ac_objext'
62749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62750 (eval $ac_try) 2>&5
62751 ac_status=$?
62752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62753 (exit $ac_status); }; }; then
62754 glibcxx_cv_func_atan2l_use=yes
62755 else
62756 echo "$as_me: failed program was:" >&5
62757 sed 's/^/| /' conftest.$ac_ext >&5
62758
62759 glibcxx_cv_func_atan2l_use=no
62760 fi
62761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62762 ac_ext=c
62763 ac_cpp='$CPP $CPPFLAGS'
62764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62767
62768
62769 fi
62770
62771 fi
62772 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
62773 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
62774
62775 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62776
62777 for ac_func in atan2l
62778 do
62779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62780 echo "$as_me:$LINENO: checking for $ac_func" >&5
62781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62782 if eval "test \"\${$as_ac_var+set}\" = set"; then
62783 echo $ECHO_N "(cached) $ECHO_C" >&6
62784 else
62785 if test x$gcc_no_link = xyes; then
62786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62788 { (exit 1); exit 1; }; }
62789 fi
62790 cat >conftest.$ac_ext <<_ACEOF
62791 /* confdefs.h. */
62792 _ACEOF
62793 cat confdefs.h >>conftest.$ac_ext
62794 cat >>conftest.$ac_ext <<_ACEOF
62795 /* end confdefs.h. */
62796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62798 #define $ac_func innocuous_$ac_func
62799
62800 /* System header to define __stub macros and hopefully few prototypes,
62801 which can conflict with char $ac_func (); below.
62802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62803 <limits.h> exists even on freestanding compilers. */
62804
62805 #ifdef __STDC__
62806 # include <limits.h>
62807 #else
62808 # include <assert.h>
62809 #endif
62810
62811 #undef $ac_func
62812
62813 /* Override any gcc2 internal prototype to avoid an error. */
62814 #ifdef __cplusplus
62815 extern "C"
62816 {
62817 #endif
62818 /* We use char because int might match the return type of a gcc2
62819 builtin and then its argument prototype would still apply. */
62820 char $ac_func ();
62821 /* The GNU C library defines this for functions which it implements
62822 to always fail with ENOSYS. Some functions are actually named
62823 something starting with __ and the normal name is an alias. */
62824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62825 choke me
62826 #else
62827 char (*f) () = $ac_func;
62828 #endif
62829 #ifdef __cplusplus
62830 }
62831 #endif
62832
62833 int
62834 main ()
62835 {
62836 return f != $ac_func;
62837 ;
62838 return 0;
62839 }
62840 _ACEOF
62841 rm -f conftest.$ac_objext conftest$ac_exeext
62842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62843 (eval $ac_link) 2>conftest.er1
62844 ac_status=$?
62845 grep -v '^ *+' conftest.er1 >conftest.err
62846 rm -f conftest.er1
62847 cat conftest.err >&5
62848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62849 (exit $ac_status); } &&
62850 { ac_try='test -z "$ac_c_werror_flag"
62851 || test ! -s conftest.err'
62852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62853 (eval $ac_try) 2>&5
62854 ac_status=$?
62855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62856 (exit $ac_status); }; } &&
62857 { ac_try='test -s conftest$ac_exeext'
62858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62859 (eval $ac_try) 2>&5
62860 ac_status=$?
62861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62862 (exit $ac_status); }; }; then
62863 eval "$as_ac_var=yes"
62864 else
62865 echo "$as_me: failed program was:" >&5
62866 sed 's/^/| /' conftest.$ac_ext >&5
62867
62868 eval "$as_ac_var=no"
62869 fi
62870 rm -f conftest.err conftest.$ac_objext \
62871 conftest$ac_exeext conftest.$ac_ext
62872 fi
62873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62875 if test `eval echo '${'$as_ac_var'}'` = yes; then
62876 cat >>confdefs.h <<_ACEOF
62877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62878 _ACEOF
62879
62880 fi
62881 done
62882
62883 else
62884
62885 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
62886 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
62887 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62888 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
62889 echo $ECHO_N "(cached) $ECHO_C" >&6
62890 else
62891
62892
62893
62894 ac_ext=cc
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62899
62900 cat >conftest.$ac_ext <<_ACEOF
62901 /* confdefs.h. */
62902 _ACEOF
62903 cat confdefs.h >>conftest.$ac_ext
62904 cat >>conftest.$ac_ext <<_ACEOF
62905 /* end confdefs.h. */
62906 #include <math.h>
62907 int
62908 main ()
62909 {
62910 _atan2l(0, 0);
62911 ;
62912 return 0;
62913 }
62914 _ACEOF
62915 rm -f conftest.$ac_objext
62916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62917 (eval $ac_compile) 2>conftest.er1
62918 ac_status=$?
62919 grep -v '^ *+' conftest.er1 >conftest.err
62920 rm -f conftest.er1
62921 cat conftest.err >&5
62922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62923 (exit $ac_status); } &&
62924 { ac_try='test -z "$ac_cxx_werror_flag"
62925 || test ! -s conftest.err'
62926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62927 (eval $ac_try) 2>&5
62928 ac_status=$?
62929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62930 (exit $ac_status); }; } &&
62931 { ac_try='test -s conftest.$ac_objext'
62932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62933 (eval $ac_try) 2>&5
62934 ac_status=$?
62935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62936 (exit $ac_status); }; }; then
62937 glibcxx_cv_func__atan2l_use=yes
62938 else
62939 echo "$as_me: failed program was:" >&5
62940 sed 's/^/| /' conftest.$ac_ext >&5
62941
62942 glibcxx_cv_func__atan2l_use=no
62943 fi
62944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62945 ac_ext=c
62946 ac_cpp='$CPP $CPPFLAGS'
62947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62950
62951
62952 fi
62953
62954 fi
62955 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
62956 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
62957
62958 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62959
62960 for ac_func in _atan2l
62961 do
62962 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62963 echo "$as_me:$LINENO: checking for $ac_func" >&5
62964 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62965 if eval "test \"\${$as_ac_var+set}\" = set"; then
62966 echo $ECHO_N "(cached) $ECHO_C" >&6
62967 else
62968 if test x$gcc_no_link = xyes; then
62969 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62971 { (exit 1); exit 1; }; }
62972 fi
62973 cat >conftest.$ac_ext <<_ACEOF
62974 /* confdefs.h. */
62975 _ACEOF
62976 cat confdefs.h >>conftest.$ac_ext
62977 cat >>conftest.$ac_ext <<_ACEOF
62978 /* end confdefs.h. */
62979 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62980 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62981 #define $ac_func innocuous_$ac_func
62982
62983 /* System header to define __stub macros and hopefully few prototypes,
62984 which can conflict with char $ac_func (); below.
62985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62986 <limits.h> exists even on freestanding compilers. */
62987
62988 #ifdef __STDC__
62989 # include <limits.h>
62990 #else
62991 # include <assert.h>
62992 #endif
62993
62994 #undef $ac_func
62995
62996 /* Override any gcc2 internal prototype to avoid an error. */
62997 #ifdef __cplusplus
62998 extern "C"
62999 {
63000 #endif
63001 /* We use char because int might match the return type of a gcc2
63002 builtin and then its argument prototype would still apply. */
63003 char $ac_func ();
63004 /* The GNU C library defines this for functions which it implements
63005 to always fail with ENOSYS. Some functions are actually named
63006 something starting with __ and the normal name is an alias. */
63007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63008 choke me
63009 #else
63010 char (*f) () = $ac_func;
63011 #endif
63012 #ifdef __cplusplus
63013 }
63014 #endif
63015
63016 int
63017 main ()
63018 {
63019 return f != $ac_func;
63020 ;
63021 return 0;
63022 }
63023 _ACEOF
63024 rm -f conftest.$ac_objext conftest$ac_exeext
63025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63026 (eval $ac_link) 2>conftest.er1
63027 ac_status=$?
63028 grep -v '^ *+' conftest.er1 >conftest.err
63029 rm -f conftest.er1
63030 cat conftest.err >&5
63031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63032 (exit $ac_status); } &&
63033 { ac_try='test -z "$ac_c_werror_flag"
63034 || test ! -s conftest.err'
63035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63036 (eval $ac_try) 2>&5
63037 ac_status=$?
63038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63039 (exit $ac_status); }; } &&
63040 { ac_try='test -s conftest$ac_exeext'
63041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63042 (eval $ac_try) 2>&5
63043 ac_status=$?
63044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63045 (exit $ac_status); }; }; then
63046 eval "$as_ac_var=yes"
63047 else
63048 echo "$as_me: failed program was:" >&5
63049 sed 's/^/| /' conftest.$ac_ext >&5
63050
63051 eval "$as_ac_var=no"
63052 fi
63053 rm -f conftest.err conftest.$ac_objext \
63054 conftest$ac_exeext conftest.$ac_ext
63055 fi
63056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63058 if test `eval echo '${'$as_ac_var'}'` = yes; then
63059 cat >>confdefs.h <<_ACEOF
63060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63061 _ACEOF
63062
63063 fi
63064 done
63065
63066 fi
63067 fi
63068
63069
63070
63071 echo "$as_me:$LINENO: checking for expl declaration" >&5
63072 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
63073 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63074 if test "${glibcxx_cv_func_expl_use+set}" = set; then
63075 echo $ECHO_N "(cached) $ECHO_C" >&6
63076 else
63077
63078
63079
63080 ac_ext=cc
63081 ac_cpp='$CXXCPP $CPPFLAGS'
63082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63085
63086 cat >conftest.$ac_ext <<_ACEOF
63087 /* confdefs.h. */
63088 _ACEOF
63089 cat confdefs.h >>conftest.$ac_ext
63090 cat >>conftest.$ac_ext <<_ACEOF
63091 /* end confdefs.h. */
63092 #include <math.h>
63093 #ifdef HAVE_IEEEFP_H
63094 #include <ieeefp.h>
63095 #endif
63096
63097 int
63098 main ()
63099 {
63100 expl(0);
63101 ;
63102 return 0;
63103 }
63104 _ACEOF
63105 rm -f conftest.$ac_objext
63106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63107 (eval $ac_compile) 2>conftest.er1
63108 ac_status=$?
63109 grep -v '^ *+' conftest.er1 >conftest.err
63110 rm -f conftest.er1
63111 cat conftest.err >&5
63112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63113 (exit $ac_status); } &&
63114 { ac_try='test -z "$ac_cxx_werror_flag"
63115 || test ! -s conftest.err'
63116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63117 (eval $ac_try) 2>&5
63118 ac_status=$?
63119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63120 (exit $ac_status); }; } &&
63121 { ac_try='test -s conftest.$ac_objext'
63122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63123 (eval $ac_try) 2>&5
63124 ac_status=$?
63125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63126 (exit $ac_status); }; }; then
63127 glibcxx_cv_func_expl_use=yes
63128 else
63129 echo "$as_me: failed program was:" >&5
63130 sed 's/^/| /' conftest.$ac_ext >&5
63131
63132 glibcxx_cv_func_expl_use=no
63133 fi
63134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63135 ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140
63141
63142 fi
63143
63144 fi
63145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
63146 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
63147
63148 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63149
63150 for ac_func in expl
63151 do
63152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63153 echo "$as_me:$LINENO: checking for $ac_func" >&5
63154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63155 if eval "test \"\${$as_ac_var+set}\" = set"; then
63156 echo $ECHO_N "(cached) $ECHO_C" >&6
63157 else
63158 if test x$gcc_no_link = xyes; then
63159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63161 { (exit 1); exit 1; }; }
63162 fi
63163 cat >conftest.$ac_ext <<_ACEOF
63164 /* confdefs.h. */
63165 _ACEOF
63166 cat confdefs.h >>conftest.$ac_ext
63167 cat >>conftest.$ac_ext <<_ACEOF
63168 /* end confdefs.h. */
63169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63171 #define $ac_func innocuous_$ac_func
63172
63173 /* System header to define __stub macros and hopefully few prototypes,
63174 which can conflict with char $ac_func (); below.
63175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63176 <limits.h> exists even on freestanding compilers. */
63177
63178 #ifdef __STDC__
63179 # include <limits.h>
63180 #else
63181 # include <assert.h>
63182 #endif
63183
63184 #undef $ac_func
63185
63186 /* Override any gcc2 internal prototype to avoid an error. */
63187 #ifdef __cplusplus
63188 extern "C"
63189 {
63190 #endif
63191 /* We use char because int might match the return type of a gcc2
63192 builtin and then its argument prototype would still apply. */
63193 char $ac_func ();
63194 /* The GNU C library defines this for functions which it implements
63195 to always fail with ENOSYS. Some functions are actually named
63196 something starting with __ and the normal name is an alias. */
63197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63198 choke me
63199 #else
63200 char (*f) () = $ac_func;
63201 #endif
63202 #ifdef __cplusplus
63203 }
63204 #endif
63205
63206 int
63207 main ()
63208 {
63209 return f != $ac_func;
63210 ;
63211 return 0;
63212 }
63213 _ACEOF
63214 rm -f conftest.$ac_objext conftest$ac_exeext
63215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63216 (eval $ac_link) 2>conftest.er1
63217 ac_status=$?
63218 grep -v '^ *+' conftest.er1 >conftest.err
63219 rm -f conftest.er1
63220 cat conftest.err >&5
63221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63222 (exit $ac_status); } &&
63223 { ac_try='test -z "$ac_c_werror_flag"
63224 || test ! -s conftest.err'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; } &&
63230 { ac_try='test -s conftest$ac_exeext'
63231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63232 (eval $ac_try) 2>&5
63233 ac_status=$?
63234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63235 (exit $ac_status); }; }; then
63236 eval "$as_ac_var=yes"
63237 else
63238 echo "$as_me: failed program was:" >&5
63239 sed 's/^/| /' conftest.$ac_ext >&5
63240
63241 eval "$as_ac_var=no"
63242 fi
63243 rm -f conftest.err conftest.$ac_objext \
63244 conftest$ac_exeext conftest.$ac_ext
63245 fi
63246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63248 if test `eval echo '${'$as_ac_var'}'` = yes; then
63249 cat >>confdefs.h <<_ACEOF
63250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63251 _ACEOF
63252
63253 fi
63254 done
63255
63256 else
63257
63258 echo "$as_me:$LINENO: checking for _expl declaration" >&5
63259 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
63260 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63261 if test "${glibcxx_cv_func__expl_use+set}" = set; then
63262 echo $ECHO_N "(cached) $ECHO_C" >&6
63263 else
63264
63265
63266
63267 ac_ext=cc
63268 ac_cpp='$CXXCPP $CPPFLAGS'
63269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63272
63273 cat >conftest.$ac_ext <<_ACEOF
63274 /* confdefs.h. */
63275 _ACEOF
63276 cat confdefs.h >>conftest.$ac_ext
63277 cat >>conftest.$ac_ext <<_ACEOF
63278 /* end confdefs.h. */
63279 #include <math.h>
63280 #ifdef HAVE_IEEEFP_H
63281 #include <ieeefp.h>
63282 #endif
63283
63284 int
63285 main ()
63286 {
63287 _expl(0);
63288 ;
63289 return 0;
63290 }
63291 _ACEOF
63292 rm -f conftest.$ac_objext
63293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63294 (eval $ac_compile) 2>conftest.er1
63295 ac_status=$?
63296 grep -v '^ *+' conftest.er1 >conftest.err
63297 rm -f conftest.er1
63298 cat conftest.err >&5
63299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63300 (exit $ac_status); } &&
63301 { ac_try='test -z "$ac_cxx_werror_flag"
63302 || test ! -s conftest.err'
63303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63304 (eval $ac_try) 2>&5
63305 ac_status=$?
63306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63307 (exit $ac_status); }; } &&
63308 { ac_try='test -s conftest.$ac_objext'
63309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63310 (eval $ac_try) 2>&5
63311 ac_status=$?
63312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63313 (exit $ac_status); }; }; then
63314 glibcxx_cv_func__expl_use=yes
63315 else
63316 echo "$as_me: failed program was:" >&5
63317 sed 's/^/| /' conftest.$ac_ext >&5
63318
63319 glibcxx_cv_func__expl_use=no
63320 fi
63321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63327
63328
63329 fi
63330
63331 fi
63332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
63333 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
63334
63335 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63336
63337 for ac_func in _expl
63338 do
63339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63340 echo "$as_me:$LINENO: checking for $ac_func" >&5
63341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63342 if eval "test \"\${$as_ac_var+set}\" = set"; then
63343 echo $ECHO_N "(cached) $ECHO_C" >&6
63344 else
63345 if test x$gcc_no_link = xyes; then
63346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63348 { (exit 1); exit 1; }; }
63349 fi
63350 cat >conftest.$ac_ext <<_ACEOF
63351 /* confdefs.h. */
63352 _ACEOF
63353 cat confdefs.h >>conftest.$ac_ext
63354 cat >>conftest.$ac_ext <<_ACEOF
63355 /* end confdefs.h. */
63356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63358 #define $ac_func innocuous_$ac_func
63359
63360 /* System header to define __stub macros and hopefully few prototypes,
63361 which can conflict with char $ac_func (); below.
63362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63363 <limits.h> exists even on freestanding compilers. */
63364
63365 #ifdef __STDC__
63366 # include <limits.h>
63367 #else
63368 # include <assert.h>
63369 #endif
63370
63371 #undef $ac_func
63372
63373 /* Override any gcc2 internal prototype to avoid an error. */
63374 #ifdef __cplusplus
63375 extern "C"
63376 {
63377 #endif
63378 /* We use char because int might match the return type of a gcc2
63379 builtin and then its argument prototype would still apply. */
63380 char $ac_func ();
63381 /* The GNU C library defines this for functions which it implements
63382 to always fail with ENOSYS. Some functions are actually named
63383 something starting with __ and the normal name is an alias. */
63384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63385 choke me
63386 #else
63387 char (*f) () = $ac_func;
63388 #endif
63389 #ifdef __cplusplus
63390 }
63391 #endif
63392
63393 int
63394 main ()
63395 {
63396 return f != $ac_func;
63397 ;
63398 return 0;
63399 }
63400 _ACEOF
63401 rm -f conftest.$ac_objext conftest$ac_exeext
63402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63403 (eval $ac_link) 2>conftest.er1
63404 ac_status=$?
63405 grep -v '^ *+' conftest.er1 >conftest.err
63406 rm -f conftest.er1
63407 cat conftest.err >&5
63408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63409 (exit $ac_status); } &&
63410 { ac_try='test -z "$ac_c_werror_flag"
63411 || test ! -s conftest.err'
63412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63413 (eval $ac_try) 2>&5
63414 ac_status=$?
63415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63416 (exit $ac_status); }; } &&
63417 { ac_try='test -s conftest$ac_exeext'
63418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63419 (eval $ac_try) 2>&5
63420 ac_status=$?
63421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63422 (exit $ac_status); }; }; then
63423 eval "$as_ac_var=yes"
63424 else
63425 echo "$as_me: failed program was:" >&5
63426 sed 's/^/| /' conftest.$ac_ext >&5
63427
63428 eval "$as_ac_var=no"
63429 fi
63430 rm -f conftest.err conftest.$ac_objext \
63431 conftest$ac_exeext conftest.$ac_ext
63432 fi
63433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63435 if test `eval echo '${'$as_ac_var'}'` = yes; then
63436 cat >>confdefs.h <<_ACEOF
63437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63438 _ACEOF
63439
63440 fi
63441 done
63442
63443 fi
63444 fi
63445
63446
63447
63448 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
63449 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
63450 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63451 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
63452 echo $ECHO_N "(cached) $ECHO_C" >&6
63453 else
63454
63455
63456
63457 ac_ext=cc
63458 ac_cpp='$CXXCPP $CPPFLAGS'
63459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63462
63463 cat >conftest.$ac_ext <<_ACEOF
63464 /* confdefs.h. */
63465 _ACEOF
63466 cat confdefs.h >>conftest.$ac_ext
63467 cat >>conftest.$ac_ext <<_ACEOF
63468 /* end confdefs.h. */
63469 #include <math.h>
63470 #ifdef HAVE_IEEEFP_H
63471 #include <ieeefp.h>
63472 #endif
63473
63474 int
63475 main ()
63476 {
63477 fabsl(0);
63478 ;
63479 return 0;
63480 }
63481 _ACEOF
63482 rm -f conftest.$ac_objext
63483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63484 (eval $ac_compile) 2>conftest.er1
63485 ac_status=$?
63486 grep -v '^ *+' conftest.er1 >conftest.err
63487 rm -f conftest.er1
63488 cat conftest.err >&5
63489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63490 (exit $ac_status); } &&
63491 { ac_try='test -z "$ac_cxx_werror_flag"
63492 || test ! -s conftest.err'
63493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494 (eval $ac_try) 2>&5
63495 ac_status=$?
63496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497 (exit $ac_status); }; } &&
63498 { ac_try='test -s conftest.$ac_objext'
63499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63500 (eval $ac_try) 2>&5
63501 ac_status=$?
63502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63503 (exit $ac_status); }; }; then
63504 glibcxx_cv_func_fabsl_use=yes
63505 else
63506 echo "$as_me: failed program was:" >&5
63507 sed 's/^/| /' conftest.$ac_ext >&5
63508
63509 glibcxx_cv_func_fabsl_use=no
63510 fi
63511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63512 ac_ext=c
63513 ac_cpp='$CPP $CPPFLAGS'
63514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63517
63518
63519 fi
63520
63521 fi
63522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
63523 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
63524
63525 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63526
63527 for ac_func in fabsl
63528 do
63529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63530 echo "$as_me:$LINENO: checking for $ac_func" >&5
63531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63532 if eval "test \"\${$as_ac_var+set}\" = set"; then
63533 echo $ECHO_N "(cached) $ECHO_C" >&6
63534 else
63535 if test x$gcc_no_link = xyes; then
63536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63538 { (exit 1); exit 1; }; }
63539 fi
63540 cat >conftest.$ac_ext <<_ACEOF
63541 /* confdefs.h. */
63542 _ACEOF
63543 cat confdefs.h >>conftest.$ac_ext
63544 cat >>conftest.$ac_ext <<_ACEOF
63545 /* end confdefs.h. */
63546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63548 #define $ac_func innocuous_$ac_func
63549
63550 /* System header to define __stub macros and hopefully few prototypes,
63551 which can conflict with char $ac_func (); below.
63552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63553 <limits.h> exists even on freestanding compilers. */
63554
63555 #ifdef __STDC__
63556 # include <limits.h>
63557 #else
63558 # include <assert.h>
63559 #endif
63560
63561 #undef $ac_func
63562
63563 /* Override any gcc2 internal prototype to avoid an error. */
63564 #ifdef __cplusplus
63565 extern "C"
63566 {
63567 #endif
63568 /* We use char because int might match the return type of a gcc2
63569 builtin and then its argument prototype would still apply. */
63570 char $ac_func ();
63571 /* The GNU C library defines this for functions which it implements
63572 to always fail with ENOSYS. Some functions are actually named
63573 something starting with __ and the normal name is an alias. */
63574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63575 choke me
63576 #else
63577 char (*f) () = $ac_func;
63578 #endif
63579 #ifdef __cplusplus
63580 }
63581 #endif
63582
63583 int
63584 main ()
63585 {
63586 return f != $ac_func;
63587 ;
63588 return 0;
63589 }
63590 _ACEOF
63591 rm -f conftest.$ac_objext conftest$ac_exeext
63592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63593 (eval $ac_link) 2>conftest.er1
63594 ac_status=$?
63595 grep -v '^ *+' conftest.er1 >conftest.err
63596 rm -f conftest.er1
63597 cat conftest.err >&5
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); } &&
63600 { ac_try='test -z "$ac_c_werror_flag"
63601 || test ! -s conftest.err'
63602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63603 (eval $ac_try) 2>&5
63604 ac_status=$?
63605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63606 (exit $ac_status); }; } &&
63607 { ac_try='test -s conftest$ac_exeext'
63608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63609 (eval $ac_try) 2>&5
63610 ac_status=$?
63611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63612 (exit $ac_status); }; }; then
63613 eval "$as_ac_var=yes"
63614 else
63615 echo "$as_me: failed program was:" >&5
63616 sed 's/^/| /' conftest.$ac_ext >&5
63617
63618 eval "$as_ac_var=no"
63619 fi
63620 rm -f conftest.err conftest.$ac_objext \
63621 conftest$ac_exeext conftest.$ac_ext
63622 fi
63623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63625 if test `eval echo '${'$as_ac_var'}'` = yes; then
63626 cat >>confdefs.h <<_ACEOF
63627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63628 _ACEOF
63629
63630 fi
63631 done
63632
63633 else
63634
63635 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
63636 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
63637 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63638 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
63639 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 else
63641
63642
63643
63644 ac_ext=cc
63645 ac_cpp='$CXXCPP $CPPFLAGS'
63646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63649
63650 cat >conftest.$ac_ext <<_ACEOF
63651 /* confdefs.h. */
63652 _ACEOF
63653 cat confdefs.h >>conftest.$ac_ext
63654 cat >>conftest.$ac_ext <<_ACEOF
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63660
63661 int
63662 main ()
63663 {
63664 _fabsl(0);
63665 ;
63666 return 0;
63667 }
63668 _ACEOF
63669 rm -f conftest.$ac_objext
63670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63671 (eval $ac_compile) 2>conftest.er1
63672 ac_status=$?
63673 grep -v '^ *+' conftest.er1 >conftest.err
63674 rm -f conftest.er1
63675 cat conftest.err >&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -z "$ac_cxx_werror_flag"
63679 || test ! -s conftest.err'
63680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63681 (eval $ac_try) 2>&5
63682 ac_status=$?
63683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63684 (exit $ac_status); }; } &&
63685 { ac_try='test -s conftest.$ac_objext'
63686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63687 (eval $ac_try) 2>&5
63688 ac_status=$?
63689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63690 (exit $ac_status); }; }; then
63691 glibcxx_cv_func__fabsl_use=yes
63692 else
63693 echo "$as_me: failed program was:" >&5
63694 sed 's/^/| /' conftest.$ac_ext >&5
63695
63696 glibcxx_cv_func__fabsl_use=no
63697 fi
63698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63699 ac_ext=c
63700 ac_cpp='$CPP $CPPFLAGS'
63701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63704
63705
63706 fi
63707
63708 fi
63709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
63710 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
63711
63712 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63713
63714 for ac_func in _fabsl
63715 do
63716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63717 echo "$as_me:$LINENO: checking for $ac_func" >&5
63718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63719 if eval "test \"\${$as_ac_var+set}\" = set"; then
63720 echo $ECHO_N "(cached) $ECHO_C" >&6
63721 else
63722 if test x$gcc_no_link = xyes; then
63723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63725 { (exit 1); exit 1; }; }
63726 fi
63727 cat >conftest.$ac_ext <<_ACEOF
63728 /* confdefs.h. */
63729 _ACEOF
63730 cat confdefs.h >>conftest.$ac_ext
63731 cat >>conftest.$ac_ext <<_ACEOF
63732 /* end confdefs.h. */
63733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63735 #define $ac_func innocuous_$ac_func
63736
63737 /* System header to define __stub macros and hopefully few prototypes,
63738 which can conflict with char $ac_func (); below.
63739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63740 <limits.h> exists even on freestanding compilers. */
63741
63742 #ifdef __STDC__
63743 # include <limits.h>
63744 #else
63745 # include <assert.h>
63746 #endif
63747
63748 #undef $ac_func
63749
63750 /* Override any gcc2 internal prototype to avoid an error. */
63751 #ifdef __cplusplus
63752 extern "C"
63753 {
63754 #endif
63755 /* We use char because int might match the return type of a gcc2
63756 builtin and then its argument prototype would still apply. */
63757 char $ac_func ();
63758 /* The GNU C library defines this for functions which it implements
63759 to always fail with ENOSYS. Some functions are actually named
63760 something starting with __ and the normal name is an alias. */
63761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63762 choke me
63763 #else
63764 char (*f) () = $ac_func;
63765 #endif
63766 #ifdef __cplusplus
63767 }
63768 #endif
63769
63770 int
63771 main ()
63772 {
63773 return f != $ac_func;
63774 ;
63775 return 0;
63776 }
63777 _ACEOF
63778 rm -f conftest.$ac_objext conftest$ac_exeext
63779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63780 (eval $ac_link) 2>conftest.er1
63781 ac_status=$?
63782 grep -v '^ *+' conftest.er1 >conftest.err
63783 rm -f conftest.er1
63784 cat conftest.err >&5
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); } &&
63787 { ac_try='test -z "$ac_c_werror_flag"
63788 || test ! -s conftest.err'
63789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63790 (eval $ac_try) 2>&5
63791 ac_status=$?
63792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63793 (exit $ac_status); }; } &&
63794 { ac_try='test -s conftest$ac_exeext'
63795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63796 (eval $ac_try) 2>&5
63797 ac_status=$?
63798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63799 (exit $ac_status); }; }; then
63800 eval "$as_ac_var=yes"
63801 else
63802 echo "$as_me: failed program was:" >&5
63803 sed 's/^/| /' conftest.$ac_ext >&5
63804
63805 eval "$as_ac_var=no"
63806 fi
63807 rm -f conftest.err conftest.$ac_objext \
63808 conftest$ac_exeext conftest.$ac_ext
63809 fi
63810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63812 if test `eval echo '${'$as_ac_var'}'` = yes; then
63813 cat >>confdefs.h <<_ACEOF
63814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63815 _ACEOF
63816
63817 fi
63818 done
63819
63820 fi
63821 fi
63822
63823
63824
63825 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
63826 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
63827 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63828 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
63829 echo $ECHO_N "(cached) $ECHO_C" >&6
63830 else
63831
63832
63833
63834 ac_ext=cc
63835 ac_cpp='$CXXCPP $CPPFLAGS'
63836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63839
63840 cat >conftest.$ac_ext <<_ACEOF
63841 /* confdefs.h. */
63842 _ACEOF
63843 cat confdefs.h >>conftest.$ac_ext
63844 cat >>conftest.$ac_ext <<_ACEOF
63845 /* end confdefs.h. */
63846 #include <math.h>
63847 int
63848 main ()
63849 {
63850 fmodl(0, 0);
63851 ;
63852 return 0;
63853 }
63854 _ACEOF
63855 rm -f conftest.$ac_objext
63856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63857 (eval $ac_compile) 2>conftest.er1
63858 ac_status=$?
63859 grep -v '^ *+' conftest.er1 >conftest.err
63860 rm -f conftest.er1
63861 cat conftest.err >&5
63862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63863 (exit $ac_status); } &&
63864 { ac_try='test -z "$ac_cxx_werror_flag"
63865 || test ! -s conftest.err'
63866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867 (eval $ac_try) 2>&5
63868 ac_status=$?
63869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870 (exit $ac_status); }; } &&
63871 { ac_try='test -s conftest.$ac_objext'
63872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63873 (eval $ac_try) 2>&5
63874 ac_status=$?
63875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63876 (exit $ac_status); }; }; then
63877 glibcxx_cv_func_fmodl_use=yes
63878 else
63879 echo "$as_me: failed program was:" >&5
63880 sed 's/^/| /' conftest.$ac_ext >&5
63881
63882 glibcxx_cv_func_fmodl_use=no
63883 fi
63884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63885 ac_ext=c
63886 ac_cpp='$CPP $CPPFLAGS'
63887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63890
63891
63892 fi
63893
63894 fi
63895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
63896 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
63897
63898 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63899
63900 for ac_func in fmodl
63901 do
63902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63903 echo "$as_me:$LINENO: checking for $ac_func" >&5
63904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63905 if eval "test \"\${$as_ac_var+set}\" = set"; then
63906 echo $ECHO_N "(cached) $ECHO_C" >&6
63907 else
63908 if test x$gcc_no_link = xyes; then
63909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63911 { (exit 1); exit 1; }; }
63912 fi
63913 cat >conftest.$ac_ext <<_ACEOF
63914 /* confdefs.h. */
63915 _ACEOF
63916 cat confdefs.h >>conftest.$ac_ext
63917 cat >>conftest.$ac_ext <<_ACEOF
63918 /* end confdefs.h. */
63919 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63921 #define $ac_func innocuous_$ac_func
63922
63923 /* System header to define __stub macros and hopefully few prototypes,
63924 which can conflict with char $ac_func (); below.
63925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63926 <limits.h> exists even on freestanding compilers. */
63927
63928 #ifdef __STDC__
63929 # include <limits.h>
63930 #else
63931 # include <assert.h>
63932 #endif
63933
63934 #undef $ac_func
63935
63936 /* Override any gcc2 internal prototype to avoid an error. */
63937 #ifdef __cplusplus
63938 extern "C"
63939 {
63940 #endif
63941 /* We use char because int might match the return type of a gcc2
63942 builtin and then its argument prototype would still apply. */
63943 char $ac_func ();
63944 /* The GNU C library defines this for functions which it implements
63945 to always fail with ENOSYS. Some functions are actually named
63946 something starting with __ and the normal name is an alias. */
63947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63948 choke me
63949 #else
63950 char (*f) () = $ac_func;
63951 #endif
63952 #ifdef __cplusplus
63953 }
63954 #endif
63955
63956 int
63957 main ()
63958 {
63959 return f != $ac_func;
63960 ;
63961 return 0;
63962 }
63963 _ACEOF
63964 rm -f conftest.$ac_objext conftest$ac_exeext
63965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63966 (eval $ac_link) 2>conftest.er1
63967 ac_status=$?
63968 grep -v '^ *+' conftest.er1 >conftest.err
63969 rm -f conftest.er1
63970 cat conftest.err >&5
63971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63972 (exit $ac_status); } &&
63973 { ac_try='test -z "$ac_c_werror_flag"
63974 || test ! -s conftest.err'
63975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63976 (eval $ac_try) 2>&5
63977 ac_status=$?
63978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63979 (exit $ac_status); }; } &&
63980 { ac_try='test -s conftest$ac_exeext'
63981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63982 (eval $ac_try) 2>&5
63983 ac_status=$?
63984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63985 (exit $ac_status); }; }; then
63986 eval "$as_ac_var=yes"
63987 else
63988 echo "$as_me: failed program was:" >&5
63989 sed 's/^/| /' conftest.$ac_ext >&5
63990
63991 eval "$as_ac_var=no"
63992 fi
63993 rm -f conftest.err conftest.$ac_objext \
63994 conftest$ac_exeext conftest.$ac_ext
63995 fi
63996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63997 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63998 if test `eval echo '${'$as_ac_var'}'` = yes; then
63999 cat >>confdefs.h <<_ACEOF
64000 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64001 _ACEOF
64002
64003 fi
64004 done
64005
64006 else
64007
64008 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
64009 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
64010 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64011 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
64012 echo $ECHO_N "(cached) $ECHO_C" >&6
64013 else
64014
64015
64016
64017 ac_ext=cc
64018 ac_cpp='$CXXCPP $CPPFLAGS'
64019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64022
64023 cat >conftest.$ac_ext <<_ACEOF
64024 /* confdefs.h. */
64025 _ACEOF
64026 cat confdefs.h >>conftest.$ac_ext
64027 cat >>conftest.$ac_ext <<_ACEOF
64028 /* end confdefs.h. */
64029 #include <math.h>
64030 int
64031 main ()
64032 {
64033 _fmodl(0, 0);
64034 ;
64035 return 0;
64036 }
64037 _ACEOF
64038 rm -f conftest.$ac_objext
64039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64040 (eval $ac_compile) 2>conftest.er1
64041 ac_status=$?
64042 grep -v '^ *+' conftest.er1 >conftest.err
64043 rm -f conftest.er1
64044 cat conftest.err >&5
64045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64046 (exit $ac_status); } &&
64047 { ac_try='test -z "$ac_cxx_werror_flag"
64048 || test ! -s conftest.err'
64049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64050 (eval $ac_try) 2>&5
64051 ac_status=$?
64052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64053 (exit $ac_status); }; } &&
64054 { ac_try='test -s conftest.$ac_objext'
64055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64056 (eval $ac_try) 2>&5
64057 ac_status=$?
64058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64059 (exit $ac_status); }; }; then
64060 glibcxx_cv_func__fmodl_use=yes
64061 else
64062 echo "$as_me: failed program was:" >&5
64063 sed 's/^/| /' conftest.$ac_ext >&5
64064
64065 glibcxx_cv_func__fmodl_use=no
64066 fi
64067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64068 ac_ext=c
64069 ac_cpp='$CPP $CPPFLAGS'
64070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64073
64074
64075 fi
64076
64077 fi
64078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
64079 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
64080
64081 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64082
64083 for ac_func in _fmodl
64084 do
64085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64086 echo "$as_me:$LINENO: checking for $ac_func" >&5
64087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64088 if eval "test \"\${$as_ac_var+set}\" = set"; then
64089 echo $ECHO_N "(cached) $ECHO_C" >&6
64090 else
64091 if test x$gcc_no_link = xyes; then
64092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64094 { (exit 1); exit 1; }; }
64095 fi
64096 cat >conftest.$ac_ext <<_ACEOF
64097 /* confdefs.h. */
64098 _ACEOF
64099 cat confdefs.h >>conftest.$ac_ext
64100 cat >>conftest.$ac_ext <<_ACEOF
64101 /* end confdefs.h. */
64102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64104 #define $ac_func innocuous_$ac_func
64105
64106 /* System header to define __stub macros and hopefully few prototypes,
64107 which can conflict with char $ac_func (); below.
64108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64109 <limits.h> exists even on freestanding compilers. */
64110
64111 #ifdef __STDC__
64112 # include <limits.h>
64113 #else
64114 # include <assert.h>
64115 #endif
64116
64117 #undef $ac_func
64118
64119 /* Override any gcc2 internal prototype to avoid an error. */
64120 #ifdef __cplusplus
64121 extern "C"
64122 {
64123 #endif
64124 /* We use char because int might match the return type of a gcc2
64125 builtin and then its argument prototype would still apply. */
64126 char $ac_func ();
64127 /* The GNU C library defines this for functions which it implements
64128 to always fail with ENOSYS. Some functions are actually named
64129 something starting with __ and the normal name is an alias. */
64130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64131 choke me
64132 #else
64133 char (*f) () = $ac_func;
64134 #endif
64135 #ifdef __cplusplus
64136 }
64137 #endif
64138
64139 int
64140 main ()
64141 {
64142 return f != $ac_func;
64143 ;
64144 return 0;
64145 }
64146 _ACEOF
64147 rm -f conftest.$ac_objext conftest$ac_exeext
64148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64149 (eval $ac_link) 2>conftest.er1
64150 ac_status=$?
64151 grep -v '^ *+' conftest.er1 >conftest.err
64152 rm -f conftest.er1
64153 cat conftest.err >&5
64154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64155 (exit $ac_status); } &&
64156 { ac_try='test -z "$ac_c_werror_flag"
64157 || test ! -s conftest.err'
64158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64159 (eval $ac_try) 2>&5
64160 ac_status=$?
64161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64162 (exit $ac_status); }; } &&
64163 { ac_try='test -s conftest$ac_exeext'
64164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64165 (eval $ac_try) 2>&5
64166 ac_status=$?
64167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64168 (exit $ac_status); }; }; then
64169 eval "$as_ac_var=yes"
64170 else
64171 echo "$as_me: failed program was:" >&5
64172 sed 's/^/| /' conftest.$ac_ext >&5
64173
64174 eval "$as_ac_var=no"
64175 fi
64176 rm -f conftest.err conftest.$ac_objext \
64177 conftest$ac_exeext conftest.$ac_ext
64178 fi
64179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64181 if test `eval echo '${'$as_ac_var'}'` = yes; then
64182 cat >>confdefs.h <<_ACEOF
64183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64184 _ACEOF
64185
64186 fi
64187 done
64188
64189 fi
64190 fi
64191
64192
64193
64194 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
64195 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
64196 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64197 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
64198 echo $ECHO_N "(cached) $ECHO_C" >&6
64199 else
64200
64201
64202
64203 ac_ext=cc
64204 ac_cpp='$CXXCPP $CPPFLAGS'
64205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64208
64209 cat >conftest.$ac_ext <<_ACEOF
64210 /* confdefs.h. */
64211 _ACEOF
64212 cat confdefs.h >>conftest.$ac_ext
64213 cat >>conftest.$ac_ext <<_ACEOF
64214 /* end confdefs.h. */
64215 #include <math.h>
64216 int
64217 main ()
64218 {
64219 frexpl(0, 0);
64220 ;
64221 return 0;
64222 }
64223 _ACEOF
64224 rm -f conftest.$ac_objext
64225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64226 (eval $ac_compile) 2>conftest.er1
64227 ac_status=$?
64228 grep -v '^ *+' conftest.er1 >conftest.err
64229 rm -f conftest.er1
64230 cat conftest.err >&5
64231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64232 (exit $ac_status); } &&
64233 { ac_try='test -z "$ac_cxx_werror_flag"
64234 || test ! -s conftest.err'
64235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64236 (eval $ac_try) 2>&5
64237 ac_status=$?
64238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64239 (exit $ac_status); }; } &&
64240 { ac_try='test -s conftest.$ac_objext'
64241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64242 (eval $ac_try) 2>&5
64243 ac_status=$?
64244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64245 (exit $ac_status); }; }; then
64246 glibcxx_cv_func_frexpl_use=yes
64247 else
64248 echo "$as_me: failed program was:" >&5
64249 sed 's/^/| /' conftest.$ac_ext >&5
64250
64251 glibcxx_cv_func_frexpl_use=no
64252 fi
64253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64254 ac_ext=c
64255 ac_cpp='$CPP $CPPFLAGS'
64256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64259
64260
64261 fi
64262
64263 fi
64264 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
64265 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
64266
64267 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64268
64269 for ac_func in frexpl
64270 do
64271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64272 echo "$as_me:$LINENO: checking for $ac_func" >&5
64273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64274 if eval "test \"\${$as_ac_var+set}\" = set"; then
64275 echo $ECHO_N "(cached) $ECHO_C" >&6
64276 else
64277 if test x$gcc_no_link = xyes; then
64278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64280 { (exit 1); exit 1; }; }
64281 fi
64282 cat >conftest.$ac_ext <<_ACEOF
64283 /* confdefs.h. */
64284 _ACEOF
64285 cat confdefs.h >>conftest.$ac_ext
64286 cat >>conftest.$ac_ext <<_ACEOF
64287 /* end confdefs.h. */
64288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64290 #define $ac_func innocuous_$ac_func
64291
64292 /* System header to define __stub macros and hopefully few prototypes,
64293 which can conflict with char $ac_func (); below.
64294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64295 <limits.h> exists even on freestanding compilers. */
64296
64297 #ifdef __STDC__
64298 # include <limits.h>
64299 #else
64300 # include <assert.h>
64301 #endif
64302
64303 #undef $ac_func
64304
64305 /* Override any gcc2 internal prototype to avoid an error. */
64306 #ifdef __cplusplus
64307 extern "C"
64308 {
64309 #endif
64310 /* We use char because int might match the return type of a gcc2
64311 builtin and then its argument prototype would still apply. */
64312 char $ac_func ();
64313 /* The GNU C library defines this for functions which it implements
64314 to always fail with ENOSYS. Some functions are actually named
64315 something starting with __ and the normal name is an alias. */
64316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64317 choke me
64318 #else
64319 char (*f) () = $ac_func;
64320 #endif
64321 #ifdef __cplusplus
64322 }
64323 #endif
64324
64325 int
64326 main ()
64327 {
64328 return f != $ac_func;
64329 ;
64330 return 0;
64331 }
64332 _ACEOF
64333 rm -f conftest.$ac_objext conftest$ac_exeext
64334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64335 (eval $ac_link) 2>conftest.er1
64336 ac_status=$?
64337 grep -v '^ *+' conftest.er1 >conftest.err
64338 rm -f conftest.er1
64339 cat conftest.err >&5
64340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64341 (exit $ac_status); } &&
64342 { ac_try='test -z "$ac_c_werror_flag"
64343 || test ! -s conftest.err'
64344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64345 (eval $ac_try) 2>&5
64346 ac_status=$?
64347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348 (exit $ac_status); }; } &&
64349 { ac_try='test -s conftest$ac_exeext'
64350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64351 (eval $ac_try) 2>&5
64352 ac_status=$?
64353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64354 (exit $ac_status); }; }; then
64355 eval "$as_ac_var=yes"
64356 else
64357 echo "$as_me: failed program was:" >&5
64358 sed 's/^/| /' conftest.$ac_ext >&5
64359
64360 eval "$as_ac_var=no"
64361 fi
64362 rm -f conftest.err conftest.$ac_objext \
64363 conftest$ac_exeext conftest.$ac_ext
64364 fi
64365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64367 if test `eval echo '${'$as_ac_var'}'` = yes; then
64368 cat >>confdefs.h <<_ACEOF
64369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64370 _ACEOF
64371
64372 fi
64373 done
64374
64375 else
64376
64377 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
64378 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
64379 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64380 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
64381 echo $ECHO_N "(cached) $ECHO_C" >&6
64382 else
64383
64384
64385
64386 ac_ext=cc
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391
64392 cat >conftest.$ac_ext <<_ACEOF
64393 /* confdefs.h. */
64394 _ACEOF
64395 cat confdefs.h >>conftest.$ac_ext
64396 cat >>conftest.$ac_ext <<_ACEOF
64397 /* end confdefs.h. */
64398 #include <math.h>
64399 int
64400 main ()
64401 {
64402 _frexpl(0, 0);
64403 ;
64404 return 0;
64405 }
64406 _ACEOF
64407 rm -f conftest.$ac_objext
64408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64409 (eval $ac_compile) 2>conftest.er1
64410 ac_status=$?
64411 grep -v '^ *+' conftest.er1 >conftest.err
64412 rm -f conftest.er1
64413 cat conftest.err >&5
64414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64415 (exit $ac_status); } &&
64416 { ac_try='test -z "$ac_cxx_werror_flag"
64417 || test ! -s conftest.err'
64418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64419 (eval $ac_try) 2>&5
64420 ac_status=$?
64421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64422 (exit $ac_status); }; } &&
64423 { ac_try='test -s conftest.$ac_objext'
64424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64425 (eval $ac_try) 2>&5
64426 ac_status=$?
64427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64428 (exit $ac_status); }; }; then
64429 glibcxx_cv_func__frexpl_use=yes
64430 else
64431 echo "$as_me: failed program was:" >&5
64432 sed 's/^/| /' conftest.$ac_ext >&5
64433
64434 glibcxx_cv_func__frexpl_use=no
64435 fi
64436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64437 ac_ext=c
64438 ac_cpp='$CPP $CPPFLAGS'
64439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64442
64443
64444 fi
64445
64446 fi
64447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
64448 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
64449
64450 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64451
64452 for ac_func in _frexpl
64453 do
64454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64455 echo "$as_me:$LINENO: checking for $ac_func" >&5
64456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64457 if eval "test \"\${$as_ac_var+set}\" = set"; then
64458 echo $ECHO_N "(cached) $ECHO_C" >&6
64459 else
64460 if test x$gcc_no_link = xyes; then
64461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64463 { (exit 1); exit 1; }; }
64464 fi
64465 cat >conftest.$ac_ext <<_ACEOF
64466 /* confdefs.h. */
64467 _ACEOF
64468 cat confdefs.h >>conftest.$ac_ext
64469 cat >>conftest.$ac_ext <<_ACEOF
64470 /* end confdefs.h. */
64471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64473 #define $ac_func innocuous_$ac_func
64474
64475 /* System header to define __stub macros and hopefully few prototypes,
64476 which can conflict with char $ac_func (); below.
64477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64478 <limits.h> exists even on freestanding compilers. */
64479
64480 #ifdef __STDC__
64481 # include <limits.h>
64482 #else
64483 # include <assert.h>
64484 #endif
64485
64486 #undef $ac_func
64487
64488 /* Override any gcc2 internal prototype to avoid an error. */
64489 #ifdef __cplusplus
64490 extern "C"
64491 {
64492 #endif
64493 /* We use char because int might match the return type of a gcc2
64494 builtin and then its argument prototype would still apply. */
64495 char $ac_func ();
64496 /* The GNU C library defines this for functions which it implements
64497 to always fail with ENOSYS. Some functions are actually named
64498 something starting with __ and the normal name is an alias. */
64499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64500 choke me
64501 #else
64502 char (*f) () = $ac_func;
64503 #endif
64504 #ifdef __cplusplus
64505 }
64506 #endif
64507
64508 int
64509 main ()
64510 {
64511 return f != $ac_func;
64512 ;
64513 return 0;
64514 }
64515 _ACEOF
64516 rm -f conftest.$ac_objext conftest$ac_exeext
64517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64518 (eval $ac_link) 2>conftest.er1
64519 ac_status=$?
64520 grep -v '^ *+' conftest.er1 >conftest.err
64521 rm -f conftest.er1
64522 cat conftest.err >&5
64523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64524 (exit $ac_status); } &&
64525 { ac_try='test -z "$ac_c_werror_flag"
64526 || test ! -s conftest.err'
64527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64528 (eval $ac_try) 2>&5
64529 ac_status=$?
64530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64531 (exit $ac_status); }; } &&
64532 { ac_try='test -s conftest$ac_exeext'
64533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64534 (eval $ac_try) 2>&5
64535 ac_status=$?
64536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64537 (exit $ac_status); }; }; then
64538 eval "$as_ac_var=yes"
64539 else
64540 echo "$as_me: failed program was:" >&5
64541 sed 's/^/| /' conftest.$ac_ext >&5
64542
64543 eval "$as_ac_var=no"
64544 fi
64545 rm -f conftest.err conftest.$ac_objext \
64546 conftest$ac_exeext conftest.$ac_ext
64547 fi
64548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64550 if test `eval echo '${'$as_ac_var'}'` = yes; then
64551 cat >>confdefs.h <<_ACEOF
64552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64553 _ACEOF
64554
64555 fi
64556 done
64557
64558 fi
64559 fi
64560
64561
64562
64563 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
64564 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
64565 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64566 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
64567 echo $ECHO_N "(cached) $ECHO_C" >&6
64568 else
64569
64570
64571
64572 ac_ext=cc
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64577
64578 cat >conftest.$ac_ext <<_ACEOF
64579 /* confdefs.h. */
64580 _ACEOF
64581 cat confdefs.h >>conftest.$ac_ext
64582 cat >>conftest.$ac_ext <<_ACEOF
64583 /* end confdefs.h. */
64584 #include <math.h>
64585 int
64586 main ()
64587 {
64588 hypotl(0, 0);
64589 ;
64590 return 0;
64591 }
64592 _ACEOF
64593 rm -f conftest.$ac_objext
64594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64595 (eval $ac_compile) 2>conftest.er1
64596 ac_status=$?
64597 grep -v '^ *+' conftest.er1 >conftest.err
64598 rm -f conftest.er1
64599 cat conftest.err >&5
64600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64601 (exit $ac_status); } &&
64602 { ac_try='test -z "$ac_cxx_werror_flag"
64603 || test ! -s conftest.err'
64604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64605 (eval $ac_try) 2>&5
64606 ac_status=$?
64607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64608 (exit $ac_status); }; } &&
64609 { ac_try='test -s conftest.$ac_objext'
64610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64611 (eval $ac_try) 2>&5
64612 ac_status=$?
64613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64614 (exit $ac_status); }; }; then
64615 glibcxx_cv_func_hypotl_use=yes
64616 else
64617 echo "$as_me: failed program was:" >&5
64618 sed 's/^/| /' conftest.$ac_ext >&5
64619
64620 glibcxx_cv_func_hypotl_use=no
64621 fi
64622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64623 ac_ext=c
64624 ac_cpp='$CPP $CPPFLAGS'
64625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64628
64629
64630 fi
64631
64632 fi
64633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
64634 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
64635
64636 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64637
64638 for ac_func in hypotl
64639 do
64640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64641 echo "$as_me:$LINENO: checking for $ac_func" >&5
64642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64643 if eval "test \"\${$as_ac_var+set}\" = set"; then
64644 echo $ECHO_N "(cached) $ECHO_C" >&6
64645 else
64646 if test x$gcc_no_link = xyes; then
64647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64649 { (exit 1); exit 1; }; }
64650 fi
64651 cat >conftest.$ac_ext <<_ACEOF
64652 /* confdefs.h. */
64653 _ACEOF
64654 cat confdefs.h >>conftest.$ac_ext
64655 cat >>conftest.$ac_ext <<_ACEOF
64656 /* end confdefs.h. */
64657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64659 #define $ac_func innocuous_$ac_func
64660
64661 /* System header to define __stub macros and hopefully few prototypes,
64662 which can conflict with char $ac_func (); below.
64663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64664 <limits.h> exists even on freestanding compilers. */
64665
64666 #ifdef __STDC__
64667 # include <limits.h>
64668 #else
64669 # include <assert.h>
64670 #endif
64671
64672 #undef $ac_func
64673
64674 /* Override any gcc2 internal prototype to avoid an error. */
64675 #ifdef __cplusplus
64676 extern "C"
64677 {
64678 #endif
64679 /* We use char because int might match the return type of a gcc2
64680 builtin and then its argument prototype would still apply. */
64681 char $ac_func ();
64682 /* The GNU C library defines this for functions which it implements
64683 to always fail with ENOSYS. Some functions are actually named
64684 something starting with __ and the normal name is an alias. */
64685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64686 choke me
64687 #else
64688 char (*f) () = $ac_func;
64689 #endif
64690 #ifdef __cplusplus
64691 }
64692 #endif
64693
64694 int
64695 main ()
64696 {
64697 return f != $ac_func;
64698 ;
64699 return 0;
64700 }
64701 _ACEOF
64702 rm -f conftest.$ac_objext conftest$ac_exeext
64703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64704 (eval $ac_link) 2>conftest.er1
64705 ac_status=$?
64706 grep -v '^ *+' conftest.er1 >conftest.err
64707 rm -f conftest.er1
64708 cat conftest.err >&5
64709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64710 (exit $ac_status); } &&
64711 { ac_try='test -z "$ac_c_werror_flag"
64712 || test ! -s conftest.err'
64713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64714 (eval $ac_try) 2>&5
64715 ac_status=$?
64716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64717 (exit $ac_status); }; } &&
64718 { ac_try='test -s conftest$ac_exeext'
64719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64720 (eval $ac_try) 2>&5
64721 ac_status=$?
64722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64723 (exit $ac_status); }; }; then
64724 eval "$as_ac_var=yes"
64725 else
64726 echo "$as_me: failed program was:" >&5
64727 sed 's/^/| /' conftest.$ac_ext >&5
64728
64729 eval "$as_ac_var=no"
64730 fi
64731 rm -f conftest.err conftest.$ac_objext \
64732 conftest$ac_exeext conftest.$ac_ext
64733 fi
64734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64736 if test `eval echo '${'$as_ac_var'}'` = yes; then
64737 cat >>confdefs.h <<_ACEOF
64738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64739 _ACEOF
64740
64741 fi
64742 done
64743
64744 else
64745
64746 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
64747 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
64748 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64749 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
64750 echo $ECHO_N "(cached) $ECHO_C" >&6
64751 else
64752
64753
64754
64755 ac_ext=cc
64756 ac_cpp='$CXXCPP $CPPFLAGS'
64757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64760
64761 cat >conftest.$ac_ext <<_ACEOF
64762 /* confdefs.h. */
64763 _ACEOF
64764 cat confdefs.h >>conftest.$ac_ext
64765 cat >>conftest.$ac_ext <<_ACEOF
64766 /* end confdefs.h. */
64767 #include <math.h>
64768 int
64769 main ()
64770 {
64771 _hypotl(0, 0);
64772 ;
64773 return 0;
64774 }
64775 _ACEOF
64776 rm -f conftest.$ac_objext
64777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64778 (eval $ac_compile) 2>conftest.er1
64779 ac_status=$?
64780 grep -v '^ *+' conftest.er1 >conftest.err
64781 rm -f conftest.er1
64782 cat conftest.err >&5
64783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64784 (exit $ac_status); } &&
64785 { ac_try='test -z "$ac_cxx_werror_flag"
64786 || test ! -s conftest.err'
64787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64788 (eval $ac_try) 2>&5
64789 ac_status=$?
64790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64791 (exit $ac_status); }; } &&
64792 { ac_try='test -s conftest.$ac_objext'
64793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794 (eval $ac_try) 2>&5
64795 ac_status=$?
64796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797 (exit $ac_status); }; }; then
64798 glibcxx_cv_func__hypotl_use=yes
64799 else
64800 echo "$as_me: failed program was:" >&5
64801 sed 's/^/| /' conftest.$ac_ext >&5
64802
64803 glibcxx_cv_func__hypotl_use=no
64804 fi
64805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64806 ac_ext=c
64807 ac_cpp='$CPP $CPPFLAGS'
64808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64811
64812
64813 fi
64814
64815 fi
64816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
64817 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
64818
64819 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64820
64821 for ac_func in _hypotl
64822 do
64823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64824 echo "$as_me:$LINENO: checking for $ac_func" >&5
64825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64826 if eval "test \"\${$as_ac_var+set}\" = set"; then
64827 echo $ECHO_N "(cached) $ECHO_C" >&6
64828 else
64829 if test x$gcc_no_link = xyes; then
64830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64832 { (exit 1); exit 1; }; }
64833 fi
64834 cat >conftest.$ac_ext <<_ACEOF
64835 /* confdefs.h. */
64836 _ACEOF
64837 cat confdefs.h >>conftest.$ac_ext
64838 cat >>conftest.$ac_ext <<_ACEOF
64839 /* end confdefs.h. */
64840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64842 #define $ac_func innocuous_$ac_func
64843
64844 /* System header to define __stub macros and hopefully few prototypes,
64845 which can conflict with char $ac_func (); below.
64846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64847 <limits.h> exists even on freestanding compilers. */
64848
64849 #ifdef __STDC__
64850 # include <limits.h>
64851 #else
64852 # include <assert.h>
64853 #endif
64854
64855 #undef $ac_func
64856
64857 /* Override any gcc2 internal prototype to avoid an error. */
64858 #ifdef __cplusplus
64859 extern "C"
64860 {
64861 #endif
64862 /* We use char because int might match the return type of a gcc2
64863 builtin and then its argument prototype would still apply. */
64864 char $ac_func ();
64865 /* The GNU C library defines this for functions which it implements
64866 to always fail with ENOSYS. Some functions are actually named
64867 something starting with __ and the normal name is an alias. */
64868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64869 choke me
64870 #else
64871 char (*f) () = $ac_func;
64872 #endif
64873 #ifdef __cplusplus
64874 }
64875 #endif
64876
64877 int
64878 main ()
64879 {
64880 return f != $ac_func;
64881 ;
64882 return 0;
64883 }
64884 _ACEOF
64885 rm -f conftest.$ac_objext conftest$ac_exeext
64886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64887 (eval $ac_link) 2>conftest.er1
64888 ac_status=$?
64889 grep -v '^ *+' conftest.er1 >conftest.err
64890 rm -f conftest.er1
64891 cat conftest.err >&5
64892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893 (exit $ac_status); } &&
64894 { ac_try='test -z "$ac_c_werror_flag"
64895 || test ! -s conftest.err'
64896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64897 (eval $ac_try) 2>&5
64898 ac_status=$?
64899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64900 (exit $ac_status); }; } &&
64901 { ac_try='test -s conftest$ac_exeext'
64902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64903 (eval $ac_try) 2>&5
64904 ac_status=$?
64905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906 (exit $ac_status); }; }; then
64907 eval "$as_ac_var=yes"
64908 else
64909 echo "$as_me: failed program was:" >&5
64910 sed 's/^/| /' conftest.$ac_ext >&5
64911
64912 eval "$as_ac_var=no"
64913 fi
64914 rm -f conftest.err conftest.$ac_objext \
64915 conftest$ac_exeext conftest.$ac_ext
64916 fi
64917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64919 if test `eval echo '${'$as_ac_var'}'` = yes; then
64920 cat >>confdefs.h <<_ACEOF
64921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64922 _ACEOF
64923
64924 fi
64925 done
64926
64927 fi
64928 fi
64929
64930
64931
64932 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
64933 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
64934 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64935 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
64936 echo $ECHO_N "(cached) $ECHO_C" >&6
64937 else
64938
64939
64940
64941 ac_ext=cc
64942 ac_cpp='$CXXCPP $CPPFLAGS'
64943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64946
64947 cat >conftest.$ac_ext <<_ACEOF
64948 /* confdefs.h. */
64949 _ACEOF
64950 cat confdefs.h >>conftest.$ac_ext
64951 cat >>conftest.$ac_ext <<_ACEOF
64952 /* end confdefs.h. */
64953 #include <math.h>
64954 int
64955 main ()
64956 {
64957 ldexpl(0, 0);
64958 ;
64959 return 0;
64960 }
64961 _ACEOF
64962 rm -f conftest.$ac_objext
64963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64964 (eval $ac_compile) 2>conftest.er1
64965 ac_status=$?
64966 grep -v '^ *+' conftest.er1 >conftest.err
64967 rm -f conftest.er1
64968 cat conftest.err >&5
64969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64970 (exit $ac_status); } &&
64971 { ac_try='test -z "$ac_cxx_werror_flag"
64972 || test ! -s conftest.err'
64973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64974 (eval $ac_try) 2>&5
64975 ac_status=$?
64976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64977 (exit $ac_status); }; } &&
64978 { ac_try='test -s conftest.$ac_objext'
64979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64980 (eval $ac_try) 2>&5
64981 ac_status=$?
64982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64983 (exit $ac_status); }; }; then
64984 glibcxx_cv_func_ldexpl_use=yes
64985 else
64986 echo "$as_me: failed program was:" >&5
64987 sed 's/^/| /' conftest.$ac_ext >&5
64988
64989 glibcxx_cv_func_ldexpl_use=no
64990 fi
64991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64992 ac_ext=c
64993 ac_cpp='$CPP $CPPFLAGS'
64994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64997
64998
64999 fi
65000
65001 fi
65002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
65003 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
65004
65005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65006
65007 for ac_func in ldexpl
65008 do
65009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65010 echo "$as_me:$LINENO: checking for $ac_func" >&5
65011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65012 if eval "test \"\${$as_ac_var+set}\" = set"; then
65013 echo $ECHO_N "(cached) $ECHO_C" >&6
65014 else
65015 if test x$gcc_no_link = xyes; then
65016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65018 { (exit 1); exit 1; }; }
65019 fi
65020 cat >conftest.$ac_ext <<_ACEOF
65021 /* confdefs.h. */
65022 _ACEOF
65023 cat confdefs.h >>conftest.$ac_ext
65024 cat >>conftest.$ac_ext <<_ACEOF
65025 /* end confdefs.h. */
65026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65028 #define $ac_func innocuous_$ac_func
65029
65030 /* System header to define __stub macros and hopefully few prototypes,
65031 which can conflict with char $ac_func (); below.
65032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65033 <limits.h> exists even on freestanding compilers. */
65034
65035 #ifdef __STDC__
65036 # include <limits.h>
65037 #else
65038 # include <assert.h>
65039 #endif
65040
65041 #undef $ac_func
65042
65043 /* Override any gcc2 internal prototype to avoid an error. */
65044 #ifdef __cplusplus
65045 extern "C"
65046 {
65047 #endif
65048 /* We use char because int might match the return type of a gcc2
65049 builtin and then its argument prototype would still apply. */
65050 char $ac_func ();
65051 /* The GNU C library defines this for functions which it implements
65052 to always fail with ENOSYS. Some functions are actually named
65053 something starting with __ and the normal name is an alias. */
65054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65055 choke me
65056 #else
65057 char (*f) () = $ac_func;
65058 #endif
65059 #ifdef __cplusplus
65060 }
65061 #endif
65062
65063 int
65064 main ()
65065 {
65066 return f != $ac_func;
65067 ;
65068 return 0;
65069 }
65070 _ACEOF
65071 rm -f conftest.$ac_objext conftest$ac_exeext
65072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65073 (eval $ac_link) 2>conftest.er1
65074 ac_status=$?
65075 grep -v '^ *+' conftest.er1 >conftest.err
65076 rm -f conftest.er1
65077 cat conftest.err >&5
65078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65079 (exit $ac_status); } &&
65080 { ac_try='test -z "$ac_c_werror_flag"
65081 || test ! -s conftest.err'
65082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65083 (eval $ac_try) 2>&5
65084 ac_status=$?
65085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086 (exit $ac_status); }; } &&
65087 { ac_try='test -s conftest$ac_exeext'
65088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65089 (eval $ac_try) 2>&5
65090 ac_status=$?
65091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65092 (exit $ac_status); }; }; then
65093 eval "$as_ac_var=yes"
65094 else
65095 echo "$as_me: failed program was:" >&5
65096 sed 's/^/| /' conftest.$ac_ext >&5
65097
65098 eval "$as_ac_var=no"
65099 fi
65100 rm -f conftest.err conftest.$ac_objext \
65101 conftest$ac_exeext conftest.$ac_ext
65102 fi
65103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65105 if test `eval echo '${'$as_ac_var'}'` = yes; then
65106 cat >>confdefs.h <<_ACEOF
65107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65108 _ACEOF
65109
65110 fi
65111 done
65112
65113 else
65114
65115 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
65116 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
65117 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65118 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
65119 echo $ECHO_N "(cached) $ECHO_C" >&6
65120 else
65121
65122
65123
65124 ac_ext=cc
65125 ac_cpp='$CXXCPP $CPPFLAGS'
65126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65129
65130 cat >conftest.$ac_ext <<_ACEOF
65131 /* confdefs.h. */
65132 _ACEOF
65133 cat confdefs.h >>conftest.$ac_ext
65134 cat >>conftest.$ac_ext <<_ACEOF
65135 /* end confdefs.h. */
65136 #include <math.h>
65137 int
65138 main ()
65139 {
65140 _ldexpl(0, 0);
65141 ;
65142 return 0;
65143 }
65144 _ACEOF
65145 rm -f conftest.$ac_objext
65146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65147 (eval $ac_compile) 2>conftest.er1
65148 ac_status=$?
65149 grep -v '^ *+' conftest.er1 >conftest.err
65150 rm -f conftest.er1
65151 cat conftest.err >&5
65152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65153 (exit $ac_status); } &&
65154 { ac_try='test -z "$ac_cxx_werror_flag"
65155 || test ! -s conftest.err'
65156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65157 (eval $ac_try) 2>&5
65158 ac_status=$?
65159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65160 (exit $ac_status); }; } &&
65161 { ac_try='test -s conftest.$ac_objext'
65162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65163 (eval $ac_try) 2>&5
65164 ac_status=$?
65165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65166 (exit $ac_status); }; }; then
65167 glibcxx_cv_func__ldexpl_use=yes
65168 else
65169 echo "$as_me: failed program was:" >&5
65170 sed 's/^/| /' conftest.$ac_ext >&5
65171
65172 glibcxx_cv_func__ldexpl_use=no
65173 fi
65174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65175 ac_ext=c
65176 ac_cpp='$CPP $CPPFLAGS'
65177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65180
65181
65182 fi
65183
65184 fi
65185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
65186 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
65187
65188 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65189
65190 for ac_func in _ldexpl
65191 do
65192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65193 echo "$as_me:$LINENO: checking for $ac_func" >&5
65194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65195 if eval "test \"\${$as_ac_var+set}\" = set"; then
65196 echo $ECHO_N "(cached) $ECHO_C" >&6
65197 else
65198 if test x$gcc_no_link = xyes; then
65199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65201 { (exit 1); exit 1; }; }
65202 fi
65203 cat >conftest.$ac_ext <<_ACEOF
65204 /* confdefs.h. */
65205 _ACEOF
65206 cat confdefs.h >>conftest.$ac_ext
65207 cat >>conftest.$ac_ext <<_ACEOF
65208 /* end confdefs.h. */
65209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65211 #define $ac_func innocuous_$ac_func
65212
65213 /* System header to define __stub macros and hopefully few prototypes,
65214 which can conflict with char $ac_func (); below.
65215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65216 <limits.h> exists even on freestanding compilers. */
65217
65218 #ifdef __STDC__
65219 # include <limits.h>
65220 #else
65221 # include <assert.h>
65222 #endif
65223
65224 #undef $ac_func
65225
65226 /* Override any gcc2 internal prototype to avoid an error. */
65227 #ifdef __cplusplus
65228 extern "C"
65229 {
65230 #endif
65231 /* We use char because int might match the return type of a gcc2
65232 builtin and then its argument prototype would still apply. */
65233 char $ac_func ();
65234 /* The GNU C library defines this for functions which it implements
65235 to always fail with ENOSYS. Some functions are actually named
65236 something starting with __ and the normal name is an alias. */
65237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65238 choke me
65239 #else
65240 char (*f) () = $ac_func;
65241 #endif
65242 #ifdef __cplusplus
65243 }
65244 #endif
65245
65246 int
65247 main ()
65248 {
65249 return f != $ac_func;
65250 ;
65251 return 0;
65252 }
65253 _ACEOF
65254 rm -f conftest.$ac_objext conftest$ac_exeext
65255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65256 (eval $ac_link) 2>conftest.er1
65257 ac_status=$?
65258 grep -v '^ *+' conftest.er1 >conftest.err
65259 rm -f conftest.er1
65260 cat conftest.err >&5
65261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65262 (exit $ac_status); } &&
65263 { ac_try='test -z "$ac_c_werror_flag"
65264 || test ! -s conftest.err'
65265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65266 (eval $ac_try) 2>&5
65267 ac_status=$?
65268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65269 (exit $ac_status); }; } &&
65270 { ac_try='test -s conftest$ac_exeext'
65271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65272 (eval $ac_try) 2>&5
65273 ac_status=$?
65274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65275 (exit $ac_status); }; }; then
65276 eval "$as_ac_var=yes"
65277 else
65278 echo "$as_me: failed program was:" >&5
65279 sed 's/^/| /' conftest.$ac_ext >&5
65280
65281 eval "$as_ac_var=no"
65282 fi
65283 rm -f conftest.err conftest.$ac_objext \
65284 conftest$ac_exeext conftest.$ac_ext
65285 fi
65286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65288 if test `eval echo '${'$as_ac_var'}'` = yes; then
65289 cat >>confdefs.h <<_ACEOF
65290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65291 _ACEOF
65292
65293 fi
65294 done
65295
65296 fi
65297 fi
65298
65299
65300
65301 echo "$as_me:$LINENO: checking for logl declaration" >&5
65302 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
65303 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65304 if test "${glibcxx_cv_func_logl_use+set}" = set; then
65305 echo $ECHO_N "(cached) $ECHO_C" >&6
65306 else
65307
65308
65309
65310 ac_ext=cc
65311 ac_cpp='$CXXCPP $CPPFLAGS'
65312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65315
65316 cat >conftest.$ac_ext <<_ACEOF
65317 /* confdefs.h. */
65318 _ACEOF
65319 cat confdefs.h >>conftest.$ac_ext
65320 cat >>conftest.$ac_ext <<_ACEOF
65321 /* end confdefs.h. */
65322 #include <math.h>
65323 #ifdef HAVE_IEEEFP_H
65324 #include <ieeefp.h>
65325 #endif
65326
65327 int
65328 main ()
65329 {
65330 logl(0);
65331 ;
65332 return 0;
65333 }
65334 _ACEOF
65335 rm -f conftest.$ac_objext
65336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65337 (eval $ac_compile) 2>conftest.er1
65338 ac_status=$?
65339 grep -v '^ *+' conftest.er1 >conftest.err
65340 rm -f conftest.er1
65341 cat conftest.err >&5
65342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65343 (exit $ac_status); } &&
65344 { ac_try='test -z "$ac_cxx_werror_flag"
65345 || test ! -s conftest.err'
65346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65347 (eval $ac_try) 2>&5
65348 ac_status=$?
65349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65350 (exit $ac_status); }; } &&
65351 { ac_try='test -s conftest.$ac_objext'
65352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65353 (eval $ac_try) 2>&5
65354 ac_status=$?
65355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65356 (exit $ac_status); }; }; then
65357 glibcxx_cv_func_logl_use=yes
65358 else
65359 echo "$as_me: failed program was:" >&5
65360 sed 's/^/| /' conftest.$ac_ext >&5
65361
65362 glibcxx_cv_func_logl_use=no
65363 fi
65364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65365 ac_ext=c
65366 ac_cpp='$CPP $CPPFLAGS'
65367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65370
65371
65372 fi
65373
65374 fi
65375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
65376 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
65377
65378 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65379
65380 for ac_func in logl
65381 do
65382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65383 echo "$as_me:$LINENO: checking for $ac_func" >&5
65384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65385 if eval "test \"\${$as_ac_var+set}\" = set"; then
65386 echo $ECHO_N "(cached) $ECHO_C" >&6
65387 else
65388 if test x$gcc_no_link = xyes; then
65389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65391 { (exit 1); exit 1; }; }
65392 fi
65393 cat >conftest.$ac_ext <<_ACEOF
65394 /* confdefs.h. */
65395 _ACEOF
65396 cat confdefs.h >>conftest.$ac_ext
65397 cat >>conftest.$ac_ext <<_ACEOF
65398 /* end confdefs.h. */
65399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65401 #define $ac_func innocuous_$ac_func
65402
65403 /* System header to define __stub macros and hopefully few prototypes,
65404 which can conflict with char $ac_func (); below.
65405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65406 <limits.h> exists even on freestanding compilers. */
65407
65408 #ifdef __STDC__
65409 # include <limits.h>
65410 #else
65411 # include <assert.h>
65412 #endif
65413
65414 #undef $ac_func
65415
65416 /* Override any gcc2 internal prototype to avoid an error. */
65417 #ifdef __cplusplus
65418 extern "C"
65419 {
65420 #endif
65421 /* We use char because int might match the return type of a gcc2
65422 builtin and then its argument prototype would still apply. */
65423 char $ac_func ();
65424 /* The GNU C library defines this for functions which it implements
65425 to always fail with ENOSYS. Some functions are actually named
65426 something starting with __ and the normal name is an alias. */
65427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65428 choke me
65429 #else
65430 char (*f) () = $ac_func;
65431 #endif
65432 #ifdef __cplusplus
65433 }
65434 #endif
65435
65436 int
65437 main ()
65438 {
65439 return f != $ac_func;
65440 ;
65441 return 0;
65442 }
65443 _ACEOF
65444 rm -f conftest.$ac_objext conftest$ac_exeext
65445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65446 (eval $ac_link) 2>conftest.er1
65447 ac_status=$?
65448 grep -v '^ *+' conftest.er1 >conftest.err
65449 rm -f conftest.er1
65450 cat conftest.err >&5
65451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65452 (exit $ac_status); } &&
65453 { ac_try='test -z "$ac_c_werror_flag"
65454 || test ! -s conftest.err'
65455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65456 (eval $ac_try) 2>&5
65457 ac_status=$?
65458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65459 (exit $ac_status); }; } &&
65460 { ac_try='test -s conftest$ac_exeext'
65461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65462 (eval $ac_try) 2>&5
65463 ac_status=$?
65464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65465 (exit $ac_status); }; }; then
65466 eval "$as_ac_var=yes"
65467 else
65468 echo "$as_me: failed program was:" >&5
65469 sed 's/^/| /' conftest.$ac_ext >&5
65470
65471 eval "$as_ac_var=no"
65472 fi
65473 rm -f conftest.err conftest.$ac_objext \
65474 conftest$ac_exeext conftest.$ac_ext
65475 fi
65476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65478 if test `eval echo '${'$as_ac_var'}'` = yes; then
65479 cat >>confdefs.h <<_ACEOF
65480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65481 _ACEOF
65482
65483 fi
65484 done
65485
65486 else
65487
65488 echo "$as_me:$LINENO: checking for _logl declaration" >&5
65489 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
65490 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65491 if test "${glibcxx_cv_func__logl_use+set}" = set; then
65492 echo $ECHO_N "(cached) $ECHO_C" >&6
65493 else
65494
65495
65496
65497 ac_ext=cc
65498 ac_cpp='$CXXCPP $CPPFLAGS'
65499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65502
65503 cat >conftest.$ac_ext <<_ACEOF
65504 /* confdefs.h. */
65505 _ACEOF
65506 cat confdefs.h >>conftest.$ac_ext
65507 cat >>conftest.$ac_ext <<_ACEOF
65508 /* end confdefs.h. */
65509 #include <math.h>
65510 #ifdef HAVE_IEEEFP_H
65511 #include <ieeefp.h>
65512 #endif
65513
65514 int
65515 main ()
65516 {
65517 _logl(0);
65518 ;
65519 return 0;
65520 }
65521 _ACEOF
65522 rm -f conftest.$ac_objext
65523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65524 (eval $ac_compile) 2>conftest.er1
65525 ac_status=$?
65526 grep -v '^ *+' conftest.er1 >conftest.err
65527 rm -f conftest.er1
65528 cat conftest.err >&5
65529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65530 (exit $ac_status); } &&
65531 { ac_try='test -z "$ac_cxx_werror_flag"
65532 || test ! -s conftest.err'
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); }; } &&
65538 { ac_try='test -s conftest.$ac_objext'
65539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65540 (eval $ac_try) 2>&5
65541 ac_status=$?
65542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65543 (exit $ac_status); }; }; then
65544 glibcxx_cv_func__logl_use=yes
65545 else
65546 echo "$as_me: failed program was:" >&5
65547 sed 's/^/| /' conftest.$ac_ext >&5
65548
65549 glibcxx_cv_func__logl_use=no
65550 fi
65551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65552 ac_ext=c
65553 ac_cpp='$CPP $CPPFLAGS'
65554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65557
65558
65559 fi
65560
65561 fi
65562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
65563 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
65564
65565 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65566
65567 for ac_func in _logl
65568 do
65569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65570 echo "$as_me:$LINENO: checking for $ac_func" >&5
65571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65572 if eval "test \"\${$as_ac_var+set}\" = set"; then
65573 echo $ECHO_N "(cached) $ECHO_C" >&6
65574 else
65575 if test x$gcc_no_link = xyes; then
65576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65578 { (exit 1); exit 1; }; }
65579 fi
65580 cat >conftest.$ac_ext <<_ACEOF
65581 /* confdefs.h. */
65582 _ACEOF
65583 cat confdefs.h >>conftest.$ac_ext
65584 cat >>conftest.$ac_ext <<_ACEOF
65585 /* end confdefs.h. */
65586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65588 #define $ac_func innocuous_$ac_func
65589
65590 /* System header to define __stub macros and hopefully few prototypes,
65591 which can conflict with char $ac_func (); below.
65592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65593 <limits.h> exists even on freestanding compilers. */
65594
65595 #ifdef __STDC__
65596 # include <limits.h>
65597 #else
65598 # include <assert.h>
65599 #endif
65600
65601 #undef $ac_func
65602
65603 /* Override any gcc2 internal prototype to avoid an error. */
65604 #ifdef __cplusplus
65605 extern "C"
65606 {
65607 #endif
65608 /* We use char because int might match the return type of a gcc2
65609 builtin and then its argument prototype would still apply. */
65610 char $ac_func ();
65611 /* The GNU C library defines this for functions which it implements
65612 to always fail with ENOSYS. Some functions are actually named
65613 something starting with __ and the normal name is an alias. */
65614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65615 choke me
65616 #else
65617 char (*f) () = $ac_func;
65618 #endif
65619 #ifdef __cplusplus
65620 }
65621 #endif
65622
65623 int
65624 main ()
65625 {
65626 return f != $ac_func;
65627 ;
65628 return 0;
65629 }
65630 _ACEOF
65631 rm -f conftest.$ac_objext conftest$ac_exeext
65632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65633 (eval $ac_link) 2>conftest.er1
65634 ac_status=$?
65635 grep -v '^ *+' conftest.er1 >conftest.err
65636 rm -f conftest.er1
65637 cat conftest.err >&5
65638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639 (exit $ac_status); } &&
65640 { ac_try='test -z "$ac_c_werror_flag"
65641 || test ! -s conftest.err'
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); }; } &&
65647 { ac_try='test -s conftest$ac_exeext'
65648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65649 (eval $ac_try) 2>&5
65650 ac_status=$?
65651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65652 (exit $ac_status); }; }; then
65653 eval "$as_ac_var=yes"
65654 else
65655 echo "$as_me: failed program was:" >&5
65656 sed 's/^/| /' conftest.$ac_ext >&5
65657
65658 eval "$as_ac_var=no"
65659 fi
65660 rm -f conftest.err conftest.$ac_objext \
65661 conftest$ac_exeext conftest.$ac_ext
65662 fi
65663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65665 if test `eval echo '${'$as_ac_var'}'` = yes; then
65666 cat >>confdefs.h <<_ACEOF
65667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65668 _ACEOF
65669
65670 fi
65671 done
65672
65673 fi
65674 fi
65675
65676
65677
65678 echo "$as_me:$LINENO: checking for log10l declaration" >&5
65679 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
65680 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65681 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
65682 echo $ECHO_N "(cached) $ECHO_C" >&6
65683 else
65684
65685
65686
65687 ac_ext=cc
65688 ac_cpp='$CXXCPP $CPPFLAGS'
65689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65692
65693 cat >conftest.$ac_ext <<_ACEOF
65694 /* confdefs.h. */
65695 _ACEOF
65696 cat confdefs.h >>conftest.$ac_ext
65697 cat >>conftest.$ac_ext <<_ACEOF
65698 /* end confdefs.h. */
65699 #include <math.h>
65700 #ifdef HAVE_IEEEFP_H
65701 #include <ieeefp.h>
65702 #endif
65703
65704 int
65705 main ()
65706 {
65707 log10l(0);
65708 ;
65709 return 0;
65710 }
65711 _ACEOF
65712 rm -f conftest.$ac_objext
65713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65714 (eval $ac_compile) 2>conftest.er1
65715 ac_status=$?
65716 grep -v '^ *+' conftest.er1 >conftest.err
65717 rm -f conftest.er1
65718 cat conftest.err >&5
65719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65720 (exit $ac_status); } &&
65721 { ac_try='test -z "$ac_cxx_werror_flag"
65722 || test ! -s conftest.err'
65723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65724 (eval $ac_try) 2>&5
65725 ac_status=$?
65726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65727 (exit $ac_status); }; } &&
65728 { ac_try='test -s conftest.$ac_objext'
65729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65730 (eval $ac_try) 2>&5
65731 ac_status=$?
65732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65733 (exit $ac_status); }; }; then
65734 glibcxx_cv_func_log10l_use=yes
65735 else
65736 echo "$as_me: failed program was:" >&5
65737 sed 's/^/| /' conftest.$ac_ext >&5
65738
65739 glibcxx_cv_func_log10l_use=no
65740 fi
65741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747
65748
65749 fi
65750
65751 fi
65752 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
65753 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
65754
65755 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65756
65757 for ac_func in log10l
65758 do
65759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65760 echo "$as_me:$LINENO: checking for $ac_func" >&5
65761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65762 if eval "test \"\${$as_ac_var+set}\" = set"; then
65763 echo $ECHO_N "(cached) $ECHO_C" >&6
65764 else
65765 if test x$gcc_no_link = xyes; then
65766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65768 { (exit 1); exit 1; }; }
65769 fi
65770 cat >conftest.$ac_ext <<_ACEOF
65771 /* confdefs.h. */
65772 _ACEOF
65773 cat confdefs.h >>conftest.$ac_ext
65774 cat >>conftest.$ac_ext <<_ACEOF
65775 /* end confdefs.h. */
65776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65778 #define $ac_func innocuous_$ac_func
65779
65780 /* System header to define __stub macros and hopefully few prototypes,
65781 which can conflict with char $ac_func (); below.
65782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65783 <limits.h> exists even on freestanding compilers. */
65784
65785 #ifdef __STDC__
65786 # include <limits.h>
65787 #else
65788 # include <assert.h>
65789 #endif
65790
65791 #undef $ac_func
65792
65793 /* Override any gcc2 internal prototype to avoid an error. */
65794 #ifdef __cplusplus
65795 extern "C"
65796 {
65797 #endif
65798 /* We use char because int might match the return type of a gcc2
65799 builtin and then its argument prototype would still apply. */
65800 char $ac_func ();
65801 /* The GNU C library defines this for functions which it implements
65802 to always fail with ENOSYS. Some functions are actually named
65803 something starting with __ and the normal name is an alias. */
65804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65805 choke me
65806 #else
65807 char (*f) () = $ac_func;
65808 #endif
65809 #ifdef __cplusplus
65810 }
65811 #endif
65812
65813 int
65814 main ()
65815 {
65816 return f != $ac_func;
65817 ;
65818 return 0;
65819 }
65820 _ACEOF
65821 rm -f conftest.$ac_objext conftest$ac_exeext
65822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65823 (eval $ac_link) 2>conftest.er1
65824 ac_status=$?
65825 grep -v '^ *+' conftest.er1 >conftest.err
65826 rm -f conftest.er1
65827 cat conftest.err >&5
65828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65829 (exit $ac_status); } &&
65830 { ac_try='test -z "$ac_c_werror_flag"
65831 || test ! -s conftest.err'
65832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65833 (eval $ac_try) 2>&5
65834 ac_status=$?
65835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65836 (exit $ac_status); }; } &&
65837 { ac_try='test -s conftest$ac_exeext'
65838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65839 (eval $ac_try) 2>&5
65840 ac_status=$?
65841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65842 (exit $ac_status); }; }; then
65843 eval "$as_ac_var=yes"
65844 else
65845 echo "$as_me: failed program was:" >&5
65846 sed 's/^/| /' conftest.$ac_ext >&5
65847
65848 eval "$as_ac_var=no"
65849 fi
65850 rm -f conftest.err conftest.$ac_objext \
65851 conftest$ac_exeext conftest.$ac_ext
65852 fi
65853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65855 if test `eval echo '${'$as_ac_var'}'` = yes; then
65856 cat >>confdefs.h <<_ACEOF
65857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65858 _ACEOF
65859
65860 fi
65861 done
65862
65863 else
65864
65865 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
65866 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
65867 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65868 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
65869 echo $ECHO_N "(cached) $ECHO_C" >&6
65870 else
65871
65872
65873
65874 ac_ext=cc
65875 ac_cpp='$CXXCPP $CPPFLAGS'
65876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65879
65880 cat >conftest.$ac_ext <<_ACEOF
65881 /* confdefs.h. */
65882 _ACEOF
65883 cat confdefs.h >>conftest.$ac_ext
65884 cat >>conftest.$ac_ext <<_ACEOF
65885 /* end confdefs.h. */
65886 #include <math.h>
65887 #ifdef HAVE_IEEEFP_H
65888 #include <ieeefp.h>
65889 #endif
65890
65891 int
65892 main ()
65893 {
65894 _log10l(0);
65895 ;
65896 return 0;
65897 }
65898 _ACEOF
65899 rm -f conftest.$ac_objext
65900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65901 (eval $ac_compile) 2>conftest.er1
65902 ac_status=$?
65903 grep -v '^ *+' conftest.er1 >conftest.err
65904 rm -f conftest.er1
65905 cat conftest.err >&5
65906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65907 (exit $ac_status); } &&
65908 { ac_try='test -z "$ac_cxx_werror_flag"
65909 || test ! -s conftest.err'
65910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65911 (eval $ac_try) 2>&5
65912 ac_status=$?
65913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65914 (exit $ac_status); }; } &&
65915 { ac_try='test -s conftest.$ac_objext'
65916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917 (eval $ac_try) 2>&5
65918 ac_status=$?
65919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920 (exit $ac_status); }; }; then
65921 glibcxx_cv_func__log10l_use=yes
65922 else
65923 echo "$as_me: failed program was:" >&5
65924 sed 's/^/| /' conftest.$ac_ext >&5
65925
65926 glibcxx_cv_func__log10l_use=no
65927 fi
65928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65929 ac_ext=c
65930 ac_cpp='$CPP $CPPFLAGS'
65931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65934
65935
65936 fi
65937
65938 fi
65939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
65940 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
65941
65942 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65943
65944 for ac_func in _log10l
65945 do
65946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65947 echo "$as_me:$LINENO: checking for $ac_func" >&5
65948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65949 if eval "test \"\${$as_ac_var+set}\" = set"; then
65950 echo $ECHO_N "(cached) $ECHO_C" >&6
65951 else
65952 if test x$gcc_no_link = xyes; then
65953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65955 { (exit 1); exit 1; }; }
65956 fi
65957 cat >conftest.$ac_ext <<_ACEOF
65958 /* confdefs.h. */
65959 _ACEOF
65960 cat confdefs.h >>conftest.$ac_ext
65961 cat >>conftest.$ac_ext <<_ACEOF
65962 /* end confdefs.h. */
65963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65965 #define $ac_func innocuous_$ac_func
65966
65967 /* System header to define __stub macros and hopefully few prototypes,
65968 which can conflict with char $ac_func (); below.
65969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65970 <limits.h> exists even on freestanding compilers. */
65971
65972 #ifdef __STDC__
65973 # include <limits.h>
65974 #else
65975 # include <assert.h>
65976 #endif
65977
65978 #undef $ac_func
65979
65980 /* Override any gcc2 internal prototype to avoid an error. */
65981 #ifdef __cplusplus
65982 extern "C"
65983 {
65984 #endif
65985 /* We use char because int might match the return type of a gcc2
65986 builtin and then its argument prototype would still apply. */
65987 char $ac_func ();
65988 /* The GNU C library defines this for functions which it implements
65989 to always fail with ENOSYS. Some functions are actually named
65990 something starting with __ and the normal name is an alias. */
65991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65992 choke me
65993 #else
65994 char (*f) () = $ac_func;
65995 #endif
65996 #ifdef __cplusplus
65997 }
65998 #endif
65999
66000 int
66001 main ()
66002 {
66003 return f != $ac_func;
66004 ;
66005 return 0;
66006 }
66007 _ACEOF
66008 rm -f conftest.$ac_objext conftest$ac_exeext
66009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66010 (eval $ac_link) 2>conftest.er1
66011 ac_status=$?
66012 grep -v '^ *+' conftest.er1 >conftest.err
66013 rm -f conftest.er1
66014 cat conftest.err >&5
66015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66016 (exit $ac_status); } &&
66017 { ac_try='test -z "$ac_c_werror_flag"
66018 || test ! -s conftest.err'
66019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66020 (eval $ac_try) 2>&5
66021 ac_status=$?
66022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66023 (exit $ac_status); }; } &&
66024 { ac_try='test -s conftest$ac_exeext'
66025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66026 (eval $ac_try) 2>&5
66027 ac_status=$?
66028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66029 (exit $ac_status); }; }; then
66030 eval "$as_ac_var=yes"
66031 else
66032 echo "$as_me: failed program was:" >&5
66033 sed 's/^/| /' conftest.$ac_ext >&5
66034
66035 eval "$as_ac_var=no"
66036 fi
66037 rm -f conftest.err conftest.$ac_objext \
66038 conftest$ac_exeext conftest.$ac_ext
66039 fi
66040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66042 if test `eval echo '${'$as_ac_var'}'` = yes; then
66043 cat >>confdefs.h <<_ACEOF
66044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66045 _ACEOF
66046
66047 fi
66048 done
66049
66050 fi
66051 fi
66052
66053
66054
66055 echo "$as_me:$LINENO: checking for modfl declaration" >&5
66056 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
66057 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66058 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
66059 echo $ECHO_N "(cached) $ECHO_C" >&6
66060 else
66061
66062
66063
66064 ac_ext=cc
66065 ac_cpp='$CXXCPP $CPPFLAGS'
66066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66069
66070 cat >conftest.$ac_ext <<_ACEOF
66071 /* confdefs.h. */
66072 _ACEOF
66073 cat confdefs.h >>conftest.$ac_ext
66074 cat >>conftest.$ac_ext <<_ACEOF
66075 /* end confdefs.h. */
66076 #include <math.h>
66077 int
66078 main ()
66079 {
66080 modfl(0, 0);
66081 ;
66082 return 0;
66083 }
66084 _ACEOF
66085 rm -f conftest.$ac_objext
66086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66087 (eval $ac_compile) 2>conftest.er1
66088 ac_status=$?
66089 grep -v '^ *+' conftest.er1 >conftest.err
66090 rm -f conftest.er1
66091 cat conftest.err >&5
66092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66093 (exit $ac_status); } &&
66094 { ac_try='test -z "$ac_cxx_werror_flag"
66095 || test ! -s conftest.err'
66096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66097 (eval $ac_try) 2>&5
66098 ac_status=$?
66099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66100 (exit $ac_status); }; } &&
66101 { ac_try='test -s conftest.$ac_objext'
66102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66103 (eval $ac_try) 2>&5
66104 ac_status=$?
66105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66106 (exit $ac_status); }; }; then
66107 glibcxx_cv_func_modfl_use=yes
66108 else
66109 echo "$as_me: failed program was:" >&5
66110 sed 's/^/| /' conftest.$ac_ext >&5
66111
66112 glibcxx_cv_func_modfl_use=no
66113 fi
66114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66115 ac_ext=c
66116 ac_cpp='$CPP $CPPFLAGS'
66117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66120
66121
66122 fi
66123
66124 fi
66125 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
66126 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
66127
66128 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66129
66130 for ac_func in modfl
66131 do
66132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66133 echo "$as_me:$LINENO: checking for $ac_func" >&5
66134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66135 if eval "test \"\${$as_ac_var+set}\" = set"; then
66136 echo $ECHO_N "(cached) $ECHO_C" >&6
66137 else
66138 if test x$gcc_no_link = xyes; then
66139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66141 { (exit 1); exit 1; }; }
66142 fi
66143 cat >conftest.$ac_ext <<_ACEOF
66144 /* confdefs.h. */
66145 _ACEOF
66146 cat confdefs.h >>conftest.$ac_ext
66147 cat >>conftest.$ac_ext <<_ACEOF
66148 /* end confdefs.h. */
66149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66150 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66151 #define $ac_func innocuous_$ac_func
66152
66153 /* System header to define __stub macros and hopefully few prototypes,
66154 which can conflict with char $ac_func (); below.
66155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66156 <limits.h> exists even on freestanding compilers. */
66157
66158 #ifdef __STDC__
66159 # include <limits.h>
66160 #else
66161 # include <assert.h>
66162 #endif
66163
66164 #undef $ac_func
66165
66166 /* Override any gcc2 internal prototype to avoid an error. */
66167 #ifdef __cplusplus
66168 extern "C"
66169 {
66170 #endif
66171 /* We use char because int might match the return type of a gcc2
66172 builtin and then its argument prototype would still apply. */
66173 char $ac_func ();
66174 /* The GNU C library defines this for functions which it implements
66175 to always fail with ENOSYS. Some functions are actually named
66176 something starting with __ and the normal name is an alias. */
66177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66178 choke me
66179 #else
66180 char (*f) () = $ac_func;
66181 #endif
66182 #ifdef __cplusplus
66183 }
66184 #endif
66185
66186 int
66187 main ()
66188 {
66189 return f != $ac_func;
66190 ;
66191 return 0;
66192 }
66193 _ACEOF
66194 rm -f conftest.$ac_objext conftest$ac_exeext
66195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66196 (eval $ac_link) 2>conftest.er1
66197 ac_status=$?
66198 grep -v '^ *+' conftest.er1 >conftest.err
66199 rm -f conftest.er1
66200 cat conftest.err >&5
66201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66202 (exit $ac_status); } &&
66203 { ac_try='test -z "$ac_c_werror_flag"
66204 || test ! -s conftest.err'
66205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66206 (eval $ac_try) 2>&5
66207 ac_status=$?
66208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66209 (exit $ac_status); }; } &&
66210 { ac_try='test -s conftest$ac_exeext'
66211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66212 (eval $ac_try) 2>&5
66213 ac_status=$?
66214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66215 (exit $ac_status); }; }; then
66216 eval "$as_ac_var=yes"
66217 else
66218 echo "$as_me: failed program was:" >&5
66219 sed 's/^/| /' conftest.$ac_ext >&5
66220
66221 eval "$as_ac_var=no"
66222 fi
66223 rm -f conftest.err conftest.$ac_objext \
66224 conftest$ac_exeext conftest.$ac_ext
66225 fi
66226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66228 if test `eval echo '${'$as_ac_var'}'` = yes; then
66229 cat >>confdefs.h <<_ACEOF
66230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66231 _ACEOF
66232
66233 fi
66234 done
66235
66236 else
66237
66238 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
66239 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
66240 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66241 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
66242 echo $ECHO_N "(cached) $ECHO_C" >&6
66243 else
66244
66245
66246
66247 ac_ext=cc
66248 ac_cpp='$CXXCPP $CPPFLAGS'
66249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66252
66253 cat >conftest.$ac_ext <<_ACEOF
66254 /* confdefs.h. */
66255 _ACEOF
66256 cat confdefs.h >>conftest.$ac_ext
66257 cat >>conftest.$ac_ext <<_ACEOF
66258 /* end confdefs.h. */
66259 #include <math.h>
66260 int
66261 main ()
66262 {
66263 _modfl(0, 0);
66264 ;
66265 return 0;
66266 }
66267 _ACEOF
66268 rm -f conftest.$ac_objext
66269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66270 (eval $ac_compile) 2>conftest.er1
66271 ac_status=$?
66272 grep -v '^ *+' conftest.er1 >conftest.err
66273 rm -f conftest.er1
66274 cat conftest.err >&5
66275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66276 (exit $ac_status); } &&
66277 { ac_try='test -z "$ac_cxx_werror_flag"
66278 || test ! -s conftest.err'
66279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66280 (eval $ac_try) 2>&5
66281 ac_status=$?
66282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66283 (exit $ac_status); }; } &&
66284 { ac_try='test -s conftest.$ac_objext'
66285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66286 (eval $ac_try) 2>&5
66287 ac_status=$?
66288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66289 (exit $ac_status); }; }; then
66290 glibcxx_cv_func__modfl_use=yes
66291 else
66292 echo "$as_me: failed program was:" >&5
66293 sed 's/^/| /' conftest.$ac_ext >&5
66294
66295 glibcxx_cv_func__modfl_use=no
66296 fi
66297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66298 ac_ext=c
66299 ac_cpp='$CPP $CPPFLAGS'
66300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66303
66304
66305 fi
66306
66307 fi
66308 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
66309 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
66310
66311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66312
66313 for ac_func in _modfl
66314 do
66315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66316 echo "$as_me:$LINENO: checking for $ac_func" >&5
66317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66318 if eval "test \"\${$as_ac_var+set}\" = set"; then
66319 echo $ECHO_N "(cached) $ECHO_C" >&6
66320 else
66321 if test x$gcc_no_link = xyes; then
66322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66324 { (exit 1); exit 1; }; }
66325 fi
66326 cat >conftest.$ac_ext <<_ACEOF
66327 /* confdefs.h. */
66328 _ACEOF
66329 cat confdefs.h >>conftest.$ac_ext
66330 cat >>conftest.$ac_ext <<_ACEOF
66331 /* end confdefs.h. */
66332 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66333 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66334 #define $ac_func innocuous_$ac_func
66335
66336 /* System header to define __stub macros and hopefully few prototypes,
66337 which can conflict with char $ac_func (); below.
66338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66339 <limits.h> exists even on freestanding compilers. */
66340
66341 #ifdef __STDC__
66342 # include <limits.h>
66343 #else
66344 # include <assert.h>
66345 #endif
66346
66347 #undef $ac_func
66348
66349 /* Override any gcc2 internal prototype to avoid an error. */
66350 #ifdef __cplusplus
66351 extern "C"
66352 {
66353 #endif
66354 /* We use char because int might match the return type of a gcc2
66355 builtin and then its argument prototype would still apply. */
66356 char $ac_func ();
66357 /* The GNU C library defines this for functions which it implements
66358 to always fail with ENOSYS. Some functions are actually named
66359 something starting with __ and the normal name is an alias. */
66360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66361 choke me
66362 #else
66363 char (*f) () = $ac_func;
66364 #endif
66365 #ifdef __cplusplus
66366 }
66367 #endif
66368
66369 int
66370 main ()
66371 {
66372 return f != $ac_func;
66373 ;
66374 return 0;
66375 }
66376 _ACEOF
66377 rm -f conftest.$ac_objext conftest$ac_exeext
66378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66379 (eval $ac_link) 2>conftest.er1
66380 ac_status=$?
66381 grep -v '^ *+' conftest.er1 >conftest.err
66382 rm -f conftest.er1
66383 cat conftest.err >&5
66384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66385 (exit $ac_status); } &&
66386 { ac_try='test -z "$ac_c_werror_flag"
66387 || test ! -s conftest.err'
66388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66389 (eval $ac_try) 2>&5
66390 ac_status=$?
66391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66392 (exit $ac_status); }; } &&
66393 { ac_try='test -s conftest$ac_exeext'
66394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66395 (eval $ac_try) 2>&5
66396 ac_status=$?
66397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66398 (exit $ac_status); }; }; then
66399 eval "$as_ac_var=yes"
66400 else
66401 echo "$as_me: failed program was:" >&5
66402 sed 's/^/| /' conftest.$ac_ext >&5
66403
66404 eval "$as_ac_var=no"
66405 fi
66406 rm -f conftest.err conftest.$ac_objext \
66407 conftest$ac_exeext conftest.$ac_ext
66408 fi
66409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66410 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66411 if test `eval echo '${'$as_ac_var'}'` = yes; then
66412 cat >>confdefs.h <<_ACEOF
66413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66414 _ACEOF
66415
66416 fi
66417 done
66418
66419 fi
66420 fi
66421
66422
66423
66424 echo "$as_me:$LINENO: checking for powl declaration" >&5
66425 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
66426 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66427 if test "${glibcxx_cv_func_powl_use+set}" = set; then
66428 echo $ECHO_N "(cached) $ECHO_C" >&6
66429 else
66430
66431
66432
66433 ac_ext=cc
66434 ac_cpp='$CXXCPP $CPPFLAGS'
66435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66438
66439 cat >conftest.$ac_ext <<_ACEOF
66440 /* confdefs.h. */
66441 _ACEOF
66442 cat confdefs.h >>conftest.$ac_ext
66443 cat >>conftest.$ac_ext <<_ACEOF
66444 /* end confdefs.h. */
66445 #include <math.h>
66446 int
66447 main ()
66448 {
66449 powl(0, 0);
66450 ;
66451 return 0;
66452 }
66453 _ACEOF
66454 rm -f conftest.$ac_objext
66455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66456 (eval $ac_compile) 2>conftest.er1
66457 ac_status=$?
66458 grep -v '^ *+' conftest.er1 >conftest.err
66459 rm -f conftest.er1
66460 cat conftest.err >&5
66461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66462 (exit $ac_status); } &&
66463 { ac_try='test -z "$ac_cxx_werror_flag"
66464 || test ! -s conftest.err'
66465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66466 (eval $ac_try) 2>&5
66467 ac_status=$?
66468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469 (exit $ac_status); }; } &&
66470 { ac_try='test -s conftest.$ac_objext'
66471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66472 (eval $ac_try) 2>&5
66473 ac_status=$?
66474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66475 (exit $ac_status); }; }; then
66476 glibcxx_cv_func_powl_use=yes
66477 else
66478 echo "$as_me: failed program was:" >&5
66479 sed 's/^/| /' conftest.$ac_ext >&5
66480
66481 glibcxx_cv_func_powl_use=no
66482 fi
66483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66484 ac_ext=c
66485 ac_cpp='$CPP $CPPFLAGS'
66486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66489
66490
66491 fi
66492
66493 fi
66494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
66495 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
66496
66497 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66498
66499 for ac_func in powl
66500 do
66501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66502 echo "$as_me:$LINENO: checking for $ac_func" >&5
66503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66504 if eval "test \"\${$as_ac_var+set}\" = set"; then
66505 echo $ECHO_N "(cached) $ECHO_C" >&6
66506 else
66507 if test x$gcc_no_link = xyes; then
66508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66510 { (exit 1); exit 1; }; }
66511 fi
66512 cat >conftest.$ac_ext <<_ACEOF
66513 /* confdefs.h. */
66514 _ACEOF
66515 cat confdefs.h >>conftest.$ac_ext
66516 cat >>conftest.$ac_ext <<_ACEOF
66517 /* end confdefs.h. */
66518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66520 #define $ac_func innocuous_$ac_func
66521
66522 /* System header to define __stub macros and hopefully few prototypes,
66523 which can conflict with char $ac_func (); below.
66524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66525 <limits.h> exists even on freestanding compilers. */
66526
66527 #ifdef __STDC__
66528 # include <limits.h>
66529 #else
66530 # include <assert.h>
66531 #endif
66532
66533 #undef $ac_func
66534
66535 /* Override any gcc2 internal prototype to avoid an error. */
66536 #ifdef __cplusplus
66537 extern "C"
66538 {
66539 #endif
66540 /* We use char because int might match the return type of a gcc2
66541 builtin and then its argument prototype would still apply. */
66542 char $ac_func ();
66543 /* The GNU C library defines this for functions which it implements
66544 to always fail with ENOSYS. Some functions are actually named
66545 something starting with __ and the normal name is an alias. */
66546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66547 choke me
66548 #else
66549 char (*f) () = $ac_func;
66550 #endif
66551 #ifdef __cplusplus
66552 }
66553 #endif
66554
66555 int
66556 main ()
66557 {
66558 return f != $ac_func;
66559 ;
66560 return 0;
66561 }
66562 _ACEOF
66563 rm -f conftest.$ac_objext conftest$ac_exeext
66564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66565 (eval $ac_link) 2>conftest.er1
66566 ac_status=$?
66567 grep -v '^ *+' conftest.er1 >conftest.err
66568 rm -f conftest.er1
66569 cat conftest.err >&5
66570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66571 (exit $ac_status); } &&
66572 { ac_try='test -z "$ac_c_werror_flag"
66573 || test ! -s conftest.err'
66574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66575 (eval $ac_try) 2>&5
66576 ac_status=$?
66577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66578 (exit $ac_status); }; } &&
66579 { ac_try='test -s conftest$ac_exeext'
66580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66581 (eval $ac_try) 2>&5
66582 ac_status=$?
66583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584 (exit $ac_status); }; }; then
66585 eval "$as_ac_var=yes"
66586 else
66587 echo "$as_me: failed program was:" >&5
66588 sed 's/^/| /' conftest.$ac_ext >&5
66589
66590 eval "$as_ac_var=no"
66591 fi
66592 rm -f conftest.err conftest.$ac_objext \
66593 conftest$ac_exeext conftest.$ac_ext
66594 fi
66595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66597 if test `eval echo '${'$as_ac_var'}'` = yes; then
66598 cat >>confdefs.h <<_ACEOF
66599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66600 _ACEOF
66601
66602 fi
66603 done
66604
66605 else
66606
66607 echo "$as_me:$LINENO: checking for _powl declaration" >&5
66608 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
66609 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66610 if test "${glibcxx_cv_func__powl_use+set}" = set; then
66611 echo $ECHO_N "(cached) $ECHO_C" >&6
66612 else
66613
66614
66615
66616 ac_ext=cc
66617 ac_cpp='$CXXCPP $CPPFLAGS'
66618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66621
66622 cat >conftest.$ac_ext <<_ACEOF
66623 /* confdefs.h. */
66624 _ACEOF
66625 cat confdefs.h >>conftest.$ac_ext
66626 cat >>conftest.$ac_ext <<_ACEOF
66627 /* end confdefs.h. */
66628 #include <math.h>
66629 int
66630 main ()
66631 {
66632 _powl(0, 0);
66633 ;
66634 return 0;
66635 }
66636 _ACEOF
66637 rm -f conftest.$ac_objext
66638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66639 (eval $ac_compile) 2>conftest.er1
66640 ac_status=$?
66641 grep -v '^ *+' conftest.er1 >conftest.err
66642 rm -f conftest.er1
66643 cat conftest.err >&5
66644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66645 (exit $ac_status); } &&
66646 { ac_try='test -z "$ac_cxx_werror_flag"
66647 || test ! -s conftest.err'
66648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66649 (eval $ac_try) 2>&5
66650 ac_status=$?
66651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66652 (exit $ac_status); }; } &&
66653 { ac_try='test -s conftest.$ac_objext'
66654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66655 (eval $ac_try) 2>&5
66656 ac_status=$?
66657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66658 (exit $ac_status); }; }; then
66659 glibcxx_cv_func__powl_use=yes
66660 else
66661 echo "$as_me: failed program was:" >&5
66662 sed 's/^/| /' conftest.$ac_ext >&5
66663
66664 glibcxx_cv_func__powl_use=no
66665 fi
66666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66667 ac_ext=c
66668 ac_cpp='$CPP $CPPFLAGS'
66669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66672
66673
66674 fi
66675
66676 fi
66677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
66678 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
66679
66680 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66681
66682 for ac_func in _powl
66683 do
66684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66685 echo "$as_me:$LINENO: checking for $ac_func" >&5
66686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66687 if eval "test \"\${$as_ac_var+set}\" = set"; then
66688 echo $ECHO_N "(cached) $ECHO_C" >&6
66689 else
66690 if test x$gcc_no_link = xyes; then
66691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66693 { (exit 1); exit 1; }; }
66694 fi
66695 cat >conftest.$ac_ext <<_ACEOF
66696 /* confdefs.h. */
66697 _ACEOF
66698 cat confdefs.h >>conftest.$ac_ext
66699 cat >>conftest.$ac_ext <<_ACEOF
66700 /* end confdefs.h. */
66701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66703 #define $ac_func innocuous_$ac_func
66704
66705 /* System header to define __stub macros and hopefully few prototypes,
66706 which can conflict with char $ac_func (); below.
66707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66708 <limits.h> exists even on freestanding compilers. */
66709
66710 #ifdef __STDC__
66711 # include <limits.h>
66712 #else
66713 # include <assert.h>
66714 #endif
66715
66716 #undef $ac_func
66717
66718 /* Override any gcc2 internal prototype to avoid an error. */
66719 #ifdef __cplusplus
66720 extern "C"
66721 {
66722 #endif
66723 /* We use char because int might match the return type of a gcc2
66724 builtin and then its argument prototype would still apply. */
66725 char $ac_func ();
66726 /* The GNU C library defines this for functions which it implements
66727 to always fail with ENOSYS. Some functions are actually named
66728 something starting with __ and the normal name is an alias. */
66729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66730 choke me
66731 #else
66732 char (*f) () = $ac_func;
66733 #endif
66734 #ifdef __cplusplus
66735 }
66736 #endif
66737
66738 int
66739 main ()
66740 {
66741 return f != $ac_func;
66742 ;
66743 return 0;
66744 }
66745 _ACEOF
66746 rm -f conftest.$ac_objext conftest$ac_exeext
66747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66748 (eval $ac_link) 2>conftest.er1
66749 ac_status=$?
66750 grep -v '^ *+' conftest.er1 >conftest.err
66751 rm -f conftest.er1
66752 cat conftest.err >&5
66753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66754 (exit $ac_status); } &&
66755 { ac_try='test -z "$ac_c_werror_flag"
66756 || test ! -s conftest.err'
66757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66758 (eval $ac_try) 2>&5
66759 ac_status=$?
66760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66761 (exit $ac_status); }; } &&
66762 { ac_try='test -s conftest$ac_exeext'
66763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66764 (eval $ac_try) 2>&5
66765 ac_status=$?
66766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66767 (exit $ac_status); }; }; then
66768 eval "$as_ac_var=yes"
66769 else
66770 echo "$as_me: failed program was:" >&5
66771 sed 's/^/| /' conftest.$ac_ext >&5
66772
66773 eval "$as_ac_var=no"
66774 fi
66775 rm -f conftest.err conftest.$ac_objext \
66776 conftest$ac_exeext conftest.$ac_ext
66777 fi
66778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66780 if test `eval echo '${'$as_ac_var'}'` = yes; then
66781 cat >>confdefs.h <<_ACEOF
66782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66783 _ACEOF
66784
66785 fi
66786 done
66787
66788 fi
66789 fi
66790
66791
66792
66793 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
66794 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
66795 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66796 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
66797 echo $ECHO_N "(cached) $ECHO_C" >&6
66798 else
66799
66800
66801
66802 ac_ext=cc
66803 ac_cpp='$CXXCPP $CPPFLAGS'
66804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66807
66808 cat >conftest.$ac_ext <<_ACEOF
66809 /* confdefs.h. */
66810 _ACEOF
66811 cat confdefs.h >>conftest.$ac_ext
66812 cat >>conftest.$ac_ext <<_ACEOF
66813 /* end confdefs.h. */
66814 #include <math.h>
66815 #ifdef HAVE_IEEEFP_H
66816 #include <ieeefp.h>
66817 #endif
66818
66819 int
66820 main ()
66821 {
66822 sqrtl(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_sqrtl_use=yes
66850 else
66851 echo "$as_me: failed program was:" >&5
66852 sed 's/^/| /' conftest.$ac_ext >&5
66853
66854 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
66868 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
66869
66870 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66871
66872 for ac_func in sqrtl
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 else
66979
66980 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
66981 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
66982 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66983 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
66984 echo $ECHO_N "(cached) $ECHO_C" >&6
66985 else
66986
66987
66988
66989 ac_ext=cc
66990 ac_cpp='$CXXCPP $CPPFLAGS'
66991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66994
66995 cat >conftest.$ac_ext <<_ACEOF
66996 /* confdefs.h. */
66997 _ACEOF
66998 cat confdefs.h >>conftest.$ac_ext
66999 cat >>conftest.$ac_ext <<_ACEOF
67000 /* end confdefs.h. */
67001 #include <math.h>
67002 #ifdef HAVE_IEEEFP_H
67003 #include <ieeefp.h>
67004 #endif
67005
67006 int
67007 main ()
67008 {
67009 _sqrtl(0);
67010 ;
67011 return 0;
67012 }
67013 _ACEOF
67014 rm -f conftest.$ac_objext
67015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67016 (eval $ac_compile) 2>conftest.er1
67017 ac_status=$?
67018 grep -v '^ *+' conftest.er1 >conftest.err
67019 rm -f conftest.er1
67020 cat conftest.err >&5
67021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022 (exit $ac_status); } &&
67023 { ac_try='test -z "$ac_cxx_werror_flag"
67024 || test ! -s conftest.err'
67025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67026 (eval $ac_try) 2>&5
67027 ac_status=$?
67028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67029 (exit $ac_status); }; } &&
67030 { ac_try='test -s conftest.$ac_objext'
67031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67032 (eval $ac_try) 2>&5
67033 ac_status=$?
67034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67035 (exit $ac_status); }; }; then
67036 glibcxx_cv_func__sqrtl_use=yes
67037 else
67038 echo "$as_me: failed program was:" >&5
67039 sed 's/^/| /' conftest.$ac_ext >&5
67040
67041 glibcxx_cv_func__sqrtl_use=no
67042 fi
67043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67044 ac_ext=c
67045 ac_cpp='$CPP $CPPFLAGS'
67046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67049
67050
67051 fi
67052
67053 fi
67054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
67055 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
67056
67057 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
67058
67059 for ac_func in _sqrtl
67060 do
67061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67062 echo "$as_me:$LINENO: checking for $ac_func" >&5
67063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67064 if eval "test \"\${$as_ac_var+set}\" = set"; then
67065 echo $ECHO_N "(cached) $ECHO_C" >&6
67066 else
67067 if test x$gcc_no_link = xyes; then
67068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67070 { (exit 1); exit 1; }; }
67071 fi
67072 cat >conftest.$ac_ext <<_ACEOF
67073 /* confdefs.h. */
67074 _ACEOF
67075 cat confdefs.h >>conftest.$ac_ext
67076 cat >>conftest.$ac_ext <<_ACEOF
67077 /* end confdefs.h. */
67078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67080 #define $ac_func innocuous_$ac_func
67081
67082 /* System header to define __stub macros and hopefully few prototypes,
67083 which can conflict with char $ac_func (); below.
67084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67085 <limits.h> exists even on freestanding compilers. */
67086
67087 #ifdef __STDC__
67088 # include <limits.h>
67089 #else
67090 # include <assert.h>
67091 #endif
67092
67093 #undef $ac_func
67094
67095 /* Override any gcc2 internal prototype to avoid an error. */
67096 #ifdef __cplusplus
67097 extern "C"
67098 {
67099 #endif
67100 /* We use char because int might match the return type of a gcc2
67101 builtin and then its argument prototype would still apply. */
67102 char $ac_func ();
67103 /* The GNU C library defines this for functions which it implements
67104 to always fail with ENOSYS. Some functions are actually named
67105 something starting with __ and the normal name is an alias. */
67106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67107 choke me
67108 #else
67109 char (*f) () = $ac_func;
67110 #endif
67111 #ifdef __cplusplus
67112 }
67113 #endif
67114
67115 int
67116 main ()
67117 {
67118 return f != $ac_func;
67119 ;
67120 return 0;
67121 }
67122 _ACEOF
67123 rm -f conftest.$ac_objext conftest$ac_exeext
67124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67125 (eval $ac_link) 2>conftest.er1
67126 ac_status=$?
67127 grep -v '^ *+' conftest.er1 >conftest.err
67128 rm -f conftest.er1
67129 cat conftest.err >&5
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); } &&
67132 { ac_try='test -z "$ac_c_werror_flag"
67133 || test ! -s conftest.err'
67134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67135 (eval $ac_try) 2>&5
67136 ac_status=$?
67137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67138 (exit $ac_status); }; } &&
67139 { ac_try='test -s conftest$ac_exeext'
67140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67141 (eval $ac_try) 2>&5
67142 ac_status=$?
67143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67144 (exit $ac_status); }; }; then
67145 eval "$as_ac_var=yes"
67146 else
67147 echo "$as_me: failed program was:" >&5
67148 sed 's/^/| /' conftest.$ac_ext >&5
67149
67150 eval "$as_ac_var=no"
67151 fi
67152 rm -f conftest.err conftest.$ac_objext \
67153 conftest$ac_exeext conftest.$ac_ext
67154 fi
67155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67157 if test `eval echo '${'$as_ac_var'}'` = yes; then
67158 cat >>confdefs.h <<_ACEOF
67159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67160 _ACEOF
67161
67162 fi
67163 done
67164
67165 fi
67166 fi
67167
67168
67169
67170 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
67171 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
67172 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
67173 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
67174 echo $ECHO_N "(cached) $ECHO_C" >&6
67175 else
67176
67177
67178
67179 ac_ext=cc
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184
67185 cat >conftest.$ac_ext <<_ACEOF
67186 /* confdefs.h. */
67187 _ACEOF
67188 cat confdefs.h >>conftest.$ac_ext
67189 cat >>conftest.$ac_ext <<_ACEOF
67190 /* end confdefs.h. */
67191 #include <math.h>
67192 int
67193 main ()
67194 {
67195 sincosl(0, 0, 0);
67196 ;
67197 return 0;
67198 }
67199 _ACEOF
67200 rm -f conftest.$ac_objext
67201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67202 (eval $ac_compile) 2>conftest.er1
67203 ac_status=$?
67204 grep -v '^ *+' conftest.er1 >conftest.err
67205 rm -f conftest.er1
67206 cat conftest.err >&5
67207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67208 (exit $ac_status); } &&
67209 { ac_try='test -z "$ac_cxx_werror_flag"
67210 || test ! -s conftest.err'
67211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67212 (eval $ac_try) 2>&5
67213 ac_status=$?
67214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67215 (exit $ac_status); }; } &&
67216 { ac_try='test -s conftest.$ac_objext'
67217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67218 (eval $ac_try) 2>&5
67219 ac_status=$?
67220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67221 (exit $ac_status); }; }; then
67222 glibcxx_cv_func_sincosl_use=yes
67223 else
67224 echo "$as_me: failed program was:" >&5
67225 sed 's/^/| /' conftest.$ac_ext >&5
67226
67227 glibcxx_cv_func_sincosl_use=no
67228 fi
67229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67230 ac_ext=c
67231 ac_cpp='$CPP $CPPFLAGS'
67232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67235
67236
67237 fi
67238
67239 fi
67240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
67241 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
67242
67243 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
67244
67245 for ac_func in sincosl
67246 do
67247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67248 echo "$as_me:$LINENO: checking for $ac_func" >&5
67249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67250 if eval "test \"\${$as_ac_var+set}\" = set"; then
67251 echo $ECHO_N "(cached) $ECHO_C" >&6
67252 else
67253 if test x$gcc_no_link = xyes; then
67254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67256 { (exit 1); exit 1; }; }
67257 fi
67258 cat >conftest.$ac_ext <<_ACEOF
67259 /* confdefs.h. */
67260 _ACEOF
67261 cat confdefs.h >>conftest.$ac_ext
67262 cat >>conftest.$ac_ext <<_ACEOF
67263 /* end confdefs.h. */
67264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67266 #define $ac_func innocuous_$ac_func
67267
67268 /* System header to define __stub macros and hopefully few prototypes,
67269 which can conflict with char $ac_func (); below.
67270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67271 <limits.h> exists even on freestanding compilers. */
67272
67273 #ifdef __STDC__
67274 # include <limits.h>
67275 #else
67276 # include <assert.h>
67277 #endif
67278
67279 #undef $ac_func
67280
67281 /* Override any gcc2 internal prototype to avoid an error. */
67282 #ifdef __cplusplus
67283 extern "C"
67284 {
67285 #endif
67286 /* We use char because int might match the return type of a gcc2
67287 builtin and then its argument prototype would still apply. */
67288 char $ac_func ();
67289 /* The GNU C library defines this for functions which it implements
67290 to always fail with ENOSYS. Some functions are actually named
67291 something starting with __ and the normal name is an alias. */
67292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67293 choke me
67294 #else
67295 char (*f) () = $ac_func;
67296 #endif
67297 #ifdef __cplusplus
67298 }
67299 #endif
67300
67301 int
67302 main ()
67303 {
67304 return f != $ac_func;
67305 ;
67306 return 0;
67307 }
67308 _ACEOF
67309 rm -f conftest.$ac_objext conftest$ac_exeext
67310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67311 (eval $ac_link) 2>conftest.er1
67312 ac_status=$?
67313 grep -v '^ *+' conftest.er1 >conftest.err
67314 rm -f conftest.er1
67315 cat conftest.err >&5
67316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67317 (exit $ac_status); } &&
67318 { ac_try='test -z "$ac_c_werror_flag"
67319 || test ! -s conftest.err'
67320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67321 (eval $ac_try) 2>&5
67322 ac_status=$?
67323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67324 (exit $ac_status); }; } &&
67325 { ac_try='test -s conftest$ac_exeext'
67326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67327 (eval $ac_try) 2>&5
67328 ac_status=$?
67329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67330 (exit $ac_status); }; }; then
67331 eval "$as_ac_var=yes"
67332 else
67333 echo "$as_me: failed program was:" >&5
67334 sed 's/^/| /' conftest.$ac_ext >&5
67335
67336 eval "$as_ac_var=no"
67337 fi
67338 rm -f conftest.err conftest.$ac_objext \
67339 conftest$ac_exeext conftest.$ac_ext
67340 fi
67341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67343 if test `eval echo '${'$as_ac_var'}'` = yes; then
67344 cat >>confdefs.h <<_ACEOF
67345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67346 _ACEOF
67347
67348 fi
67349 done
67350
67351 else
67352
67353 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
67354 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
67355 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
67356 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
67357 echo $ECHO_N "(cached) $ECHO_C" >&6
67358 else
67359
67360
67361
67362 ac_ext=cc
67363 ac_cpp='$CXXCPP $CPPFLAGS'
67364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67367
67368 cat >conftest.$ac_ext <<_ACEOF
67369 /* confdefs.h. */
67370 _ACEOF
67371 cat confdefs.h >>conftest.$ac_ext
67372 cat >>conftest.$ac_ext <<_ACEOF
67373 /* end confdefs.h. */
67374 #include <math.h>
67375 int
67376 main ()
67377 {
67378 _sincosl(0, 0, 0);
67379 ;
67380 return 0;
67381 }
67382 _ACEOF
67383 rm -f conftest.$ac_objext
67384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67385 (eval $ac_compile) 2>conftest.er1
67386 ac_status=$?
67387 grep -v '^ *+' conftest.er1 >conftest.err
67388 rm -f conftest.er1
67389 cat conftest.err >&5
67390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67391 (exit $ac_status); } &&
67392 { ac_try='test -z "$ac_cxx_werror_flag"
67393 || test ! -s conftest.err'
67394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67395 (eval $ac_try) 2>&5
67396 ac_status=$?
67397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67398 (exit $ac_status); }; } &&
67399 { ac_try='test -s conftest.$ac_objext'
67400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67401 (eval $ac_try) 2>&5
67402 ac_status=$?
67403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67404 (exit $ac_status); }; }; then
67405 glibcxx_cv_func__sincosl_use=yes
67406 else
67407 echo "$as_me: failed program was:" >&5
67408 sed 's/^/| /' conftest.$ac_ext >&5
67409
67410 glibcxx_cv_func__sincosl_use=no
67411 fi
67412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67413 ac_ext=c
67414 ac_cpp='$CPP $CPPFLAGS'
67415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67418
67419
67420 fi
67421
67422 fi
67423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
67424 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
67425
67426 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
67427
67428 for ac_func in _sincosl
67429 do
67430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67431 echo "$as_me:$LINENO: checking for $ac_func" >&5
67432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67433 if eval "test \"\${$as_ac_var+set}\" = set"; then
67434 echo $ECHO_N "(cached) $ECHO_C" >&6
67435 else
67436 if test x$gcc_no_link = xyes; then
67437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67439 { (exit 1); exit 1; }; }
67440 fi
67441 cat >conftest.$ac_ext <<_ACEOF
67442 /* confdefs.h. */
67443 _ACEOF
67444 cat confdefs.h >>conftest.$ac_ext
67445 cat >>conftest.$ac_ext <<_ACEOF
67446 /* end confdefs.h. */
67447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67449 #define $ac_func innocuous_$ac_func
67450
67451 /* System header to define __stub macros and hopefully few prototypes,
67452 which can conflict with char $ac_func (); below.
67453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67454 <limits.h> exists even on freestanding compilers. */
67455
67456 #ifdef __STDC__
67457 # include <limits.h>
67458 #else
67459 # include <assert.h>
67460 #endif
67461
67462 #undef $ac_func
67463
67464 /* Override any gcc2 internal prototype to avoid an error. */
67465 #ifdef __cplusplus
67466 extern "C"
67467 {
67468 #endif
67469 /* We use char because int might match the return type of a gcc2
67470 builtin and then its argument prototype would still apply. */
67471 char $ac_func ();
67472 /* The GNU C library defines this for functions which it implements
67473 to always fail with ENOSYS. Some functions are actually named
67474 something starting with __ and the normal name is an alias. */
67475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67476 choke me
67477 #else
67478 char (*f) () = $ac_func;
67479 #endif
67480 #ifdef __cplusplus
67481 }
67482 #endif
67483
67484 int
67485 main ()
67486 {
67487 return f != $ac_func;
67488 ;
67489 return 0;
67490 }
67491 _ACEOF
67492 rm -f conftest.$ac_objext conftest$ac_exeext
67493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67494 (eval $ac_link) 2>conftest.er1
67495 ac_status=$?
67496 grep -v '^ *+' conftest.er1 >conftest.err
67497 rm -f conftest.er1
67498 cat conftest.err >&5
67499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67500 (exit $ac_status); } &&
67501 { ac_try='test -z "$ac_c_werror_flag"
67502 || test ! -s conftest.err'
67503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67504 (eval $ac_try) 2>&5
67505 ac_status=$?
67506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67507 (exit $ac_status); }; } &&
67508 { ac_try='test -s conftest$ac_exeext'
67509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67510 (eval $ac_try) 2>&5
67511 ac_status=$?
67512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67513 (exit $ac_status); }; }; then
67514 eval "$as_ac_var=yes"
67515 else
67516 echo "$as_me: failed program was:" >&5
67517 sed 's/^/| /' conftest.$ac_ext >&5
67518
67519 eval "$as_ac_var=no"
67520 fi
67521 rm -f conftest.err conftest.$ac_objext \
67522 conftest$ac_exeext conftest.$ac_ext
67523 fi
67524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67526 if test `eval echo '${'$as_ac_var'}'` = yes; then
67527 cat >>confdefs.h <<_ACEOF
67528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67529 _ACEOF
67530
67531 fi
67532 done
67533
67534 fi
67535 fi
67536
67537
67538
67539 echo "$as_me:$LINENO: checking for finitel declaration" >&5
67540 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
67541 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
67542 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
67543 echo $ECHO_N "(cached) $ECHO_C" >&6
67544 else
67545
67546
67547
67548 ac_ext=cc
67549 ac_cpp='$CXXCPP $CPPFLAGS'
67550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67553
67554 cat >conftest.$ac_ext <<_ACEOF
67555 /* confdefs.h. */
67556 _ACEOF
67557 cat confdefs.h >>conftest.$ac_ext
67558 cat >>conftest.$ac_ext <<_ACEOF
67559 /* end confdefs.h. */
67560 #include <math.h>
67561 #ifdef HAVE_IEEEFP_H
67562 #include <ieeefp.h>
67563 #endif
67564
67565 int
67566 main ()
67567 {
67568 finitel(0);
67569 ;
67570 return 0;
67571 }
67572 _ACEOF
67573 rm -f conftest.$ac_objext
67574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67575 (eval $ac_compile) 2>conftest.er1
67576 ac_status=$?
67577 grep -v '^ *+' conftest.er1 >conftest.err
67578 rm -f conftest.er1
67579 cat conftest.err >&5
67580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67581 (exit $ac_status); } &&
67582 { ac_try='test -z "$ac_cxx_werror_flag"
67583 || test ! -s conftest.err'
67584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67585 (eval $ac_try) 2>&5
67586 ac_status=$?
67587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67588 (exit $ac_status); }; } &&
67589 { ac_try='test -s conftest.$ac_objext'
67590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67591 (eval $ac_try) 2>&5
67592 ac_status=$?
67593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67594 (exit $ac_status); }; }; then
67595 glibcxx_cv_func_finitel_use=yes
67596 else
67597 echo "$as_me: failed program was:" >&5
67598 sed 's/^/| /' conftest.$ac_ext >&5
67599
67600 glibcxx_cv_func_finitel_use=no
67601 fi
67602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67603 ac_ext=c
67604 ac_cpp='$CPP $CPPFLAGS'
67605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67608
67609
67610 fi
67611
67612 fi
67613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
67614 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
67615
67616 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
67617
67618 for ac_func in finitel
67619 do
67620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67621 echo "$as_me:$LINENO: checking for $ac_func" >&5
67622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67623 if eval "test \"\${$as_ac_var+set}\" = set"; then
67624 echo $ECHO_N "(cached) $ECHO_C" >&6
67625 else
67626 if test x$gcc_no_link = xyes; then
67627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67629 { (exit 1); exit 1; }; }
67630 fi
67631 cat >conftest.$ac_ext <<_ACEOF
67632 /* confdefs.h. */
67633 _ACEOF
67634 cat confdefs.h >>conftest.$ac_ext
67635 cat >>conftest.$ac_ext <<_ACEOF
67636 /* end confdefs.h. */
67637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67639 #define $ac_func innocuous_$ac_func
67640
67641 /* System header to define __stub macros and hopefully few prototypes,
67642 which can conflict with char $ac_func (); below.
67643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67644 <limits.h> exists even on freestanding compilers. */
67645
67646 #ifdef __STDC__
67647 # include <limits.h>
67648 #else
67649 # include <assert.h>
67650 #endif
67651
67652 #undef $ac_func
67653
67654 /* Override any gcc2 internal prototype to avoid an error. */
67655 #ifdef __cplusplus
67656 extern "C"
67657 {
67658 #endif
67659 /* We use char because int might match the return type of a gcc2
67660 builtin and then its argument prototype would still apply. */
67661 char $ac_func ();
67662 /* The GNU C library defines this for functions which it implements
67663 to always fail with ENOSYS. Some functions are actually named
67664 something starting with __ and the normal name is an alias. */
67665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67666 choke me
67667 #else
67668 char (*f) () = $ac_func;
67669 #endif
67670 #ifdef __cplusplus
67671 }
67672 #endif
67673
67674 int
67675 main ()
67676 {
67677 return f != $ac_func;
67678 ;
67679 return 0;
67680 }
67681 _ACEOF
67682 rm -f conftest.$ac_objext conftest$ac_exeext
67683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67684 (eval $ac_link) 2>conftest.er1
67685 ac_status=$?
67686 grep -v '^ *+' conftest.er1 >conftest.err
67687 rm -f conftest.er1
67688 cat conftest.err >&5
67689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67690 (exit $ac_status); } &&
67691 { ac_try='test -z "$ac_c_werror_flag"
67692 || test ! -s conftest.err'
67693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67694 (eval $ac_try) 2>&5
67695 ac_status=$?
67696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67697 (exit $ac_status); }; } &&
67698 { ac_try='test -s conftest$ac_exeext'
67699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67700 (eval $ac_try) 2>&5
67701 ac_status=$?
67702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67703 (exit $ac_status); }; }; then
67704 eval "$as_ac_var=yes"
67705 else
67706 echo "$as_me: failed program was:" >&5
67707 sed 's/^/| /' conftest.$ac_ext >&5
67708
67709 eval "$as_ac_var=no"
67710 fi
67711 rm -f conftest.err conftest.$ac_objext \
67712 conftest$ac_exeext conftest.$ac_ext
67713 fi
67714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67716 if test `eval echo '${'$as_ac_var'}'` = yes; then
67717 cat >>confdefs.h <<_ACEOF
67718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67719 _ACEOF
67720
67721 fi
67722 done
67723
67724 else
67725
67726 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
67727 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
67728 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
67729 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
67730 echo $ECHO_N "(cached) $ECHO_C" >&6
67731 else
67732
67733
67734
67735 ac_ext=cc
67736 ac_cpp='$CXXCPP $CPPFLAGS'
67737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67740
67741 cat >conftest.$ac_ext <<_ACEOF
67742 /* confdefs.h. */
67743 _ACEOF
67744 cat confdefs.h >>conftest.$ac_ext
67745 cat >>conftest.$ac_ext <<_ACEOF
67746 /* end confdefs.h. */
67747 #include <math.h>
67748 #ifdef HAVE_IEEEFP_H
67749 #include <ieeefp.h>
67750 #endif
67751
67752 int
67753 main ()
67754 {
67755 _finitel(0);
67756 ;
67757 return 0;
67758 }
67759 _ACEOF
67760 rm -f conftest.$ac_objext
67761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67762 (eval $ac_compile) 2>conftest.er1
67763 ac_status=$?
67764 grep -v '^ *+' conftest.er1 >conftest.err
67765 rm -f conftest.er1
67766 cat conftest.err >&5
67767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67768 (exit $ac_status); } &&
67769 { ac_try='test -z "$ac_cxx_werror_flag"
67770 || test ! -s conftest.err'
67771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67772 (eval $ac_try) 2>&5
67773 ac_status=$?
67774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67775 (exit $ac_status); }; } &&
67776 { ac_try='test -s conftest.$ac_objext'
67777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67778 (eval $ac_try) 2>&5
67779 ac_status=$?
67780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67781 (exit $ac_status); }; }; then
67782 glibcxx_cv_func__finitel_use=yes
67783 else
67784 echo "$as_me: failed program was:" >&5
67785 sed 's/^/| /' conftest.$ac_ext >&5
67786
67787 glibcxx_cv_func__finitel_use=no
67788 fi
67789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67790 ac_ext=c
67791 ac_cpp='$CPP $CPPFLAGS'
67792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67795
67796
67797 fi
67798
67799 fi
67800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
67801 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
67802
67803 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
67804
67805 for ac_func in _finitel
67806 do
67807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67808 echo "$as_me:$LINENO: checking for $ac_func" >&5
67809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67810 if eval "test \"\${$as_ac_var+set}\" = set"; then
67811 echo $ECHO_N "(cached) $ECHO_C" >&6
67812 else
67813 if test x$gcc_no_link = xyes; then
67814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67816 { (exit 1); exit 1; }; }
67817 fi
67818 cat >conftest.$ac_ext <<_ACEOF
67819 /* confdefs.h. */
67820 _ACEOF
67821 cat confdefs.h >>conftest.$ac_ext
67822 cat >>conftest.$ac_ext <<_ACEOF
67823 /* end confdefs.h. */
67824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67826 #define $ac_func innocuous_$ac_func
67827
67828 /* System header to define __stub macros and hopefully few prototypes,
67829 which can conflict with char $ac_func (); below.
67830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67831 <limits.h> exists even on freestanding compilers. */
67832
67833 #ifdef __STDC__
67834 # include <limits.h>
67835 #else
67836 # include <assert.h>
67837 #endif
67838
67839 #undef $ac_func
67840
67841 /* Override any gcc2 internal prototype to avoid an error. */
67842 #ifdef __cplusplus
67843 extern "C"
67844 {
67845 #endif
67846 /* We use char because int might match the return type of a gcc2
67847 builtin and then its argument prototype would still apply. */
67848 char $ac_func ();
67849 /* The GNU C library defines this for functions which it implements
67850 to always fail with ENOSYS. Some functions are actually named
67851 something starting with __ and the normal name is an alias. */
67852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67853 choke me
67854 #else
67855 char (*f) () = $ac_func;
67856 #endif
67857 #ifdef __cplusplus
67858 }
67859 #endif
67860
67861 int
67862 main ()
67863 {
67864 return f != $ac_func;
67865 ;
67866 return 0;
67867 }
67868 _ACEOF
67869 rm -f conftest.$ac_objext conftest$ac_exeext
67870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67871 (eval $ac_link) 2>conftest.er1
67872 ac_status=$?
67873 grep -v '^ *+' conftest.er1 >conftest.err
67874 rm -f conftest.er1
67875 cat conftest.err >&5
67876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67877 (exit $ac_status); } &&
67878 { ac_try='test -z "$ac_c_werror_flag"
67879 || test ! -s conftest.err'
67880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67881 (eval $ac_try) 2>&5
67882 ac_status=$?
67883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67884 (exit $ac_status); }; } &&
67885 { ac_try='test -s conftest$ac_exeext'
67886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67887 (eval $ac_try) 2>&5
67888 ac_status=$?
67889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890 (exit $ac_status); }; }; then
67891 eval "$as_ac_var=yes"
67892 else
67893 echo "$as_me: failed program was:" >&5
67894 sed 's/^/| /' conftest.$ac_ext >&5
67895
67896 eval "$as_ac_var=no"
67897 fi
67898 rm -f conftest.err conftest.$ac_objext \
67899 conftest$ac_exeext conftest.$ac_ext
67900 fi
67901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67903 if test `eval echo '${'$as_ac_var'}'` = yes; then
67904 cat >>confdefs.h <<_ACEOF
67905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67906 _ACEOF
67907
67908 fi
67909 done
67910
67911 fi
67912 fi
67913
67914
67915
67916
67917 echo "$as_me:$LINENO: checking for _float trig functions" >&5
67918 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67919 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67920 echo $ECHO_N "(cached) $ECHO_C" >&6
67921 else
67922
67923
67924
67925 ac_ext=cc
67926 ac_cpp='$CXXCPP $CPPFLAGS'
67927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67930
67931 cat >conftest.$ac_ext <<_ACEOF
67932 /* confdefs.h. */
67933 _ACEOF
67934 cat confdefs.h >>conftest.$ac_ext
67935 cat >>conftest.$ac_ext <<_ACEOF
67936 /* end confdefs.h. */
67937 #include <math.h>
67938 int
67939 main ()
67940 {
67941 `for x in _acosf _asinf _atanf \
67942 _cosf _sinf _tanf \
67943 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
67944 ;
67945 return 0;
67946 }
67947 _ACEOF
67948 rm -f conftest.$ac_objext
67949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67950 (eval $ac_compile) 2>conftest.er1
67951 ac_status=$?
67952 grep -v '^ *+' conftest.er1 >conftest.err
67953 rm -f conftest.er1
67954 cat conftest.err >&5
67955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67956 (exit $ac_status); } &&
67957 { ac_try='test -z "$ac_cxx_werror_flag"
67958 || test ! -s conftest.err'
67959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67960 (eval $ac_try) 2>&5
67961 ac_status=$?
67962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67963 (exit $ac_status); }; } &&
67964 { ac_try='test -s conftest.$ac_objext'
67965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67966 (eval $ac_try) 2>&5
67967 ac_status=$?
67968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67969 (exit $ac_status); }; }; then
67970 glibcxx_cv_func__float_trig_use=yes
67971 else
67972 echo "$as_me: failed program was:" >&5
67973 sed 's/^/| /' conftest.$ac_ext >&5
67974
67975 glibcxx_cv_func__float_trig_use=no
67976 fi
67977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67978 ac_ext=c
67979 ac_cpp='$CPP $CPPFLAGS'
67980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67983
67984 fi
67985
67986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67987 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67988 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67989
67990
67991
67992
67993
67994
67995
67996
67997
67998 for ac_func in _acosf _asinf _atanf \
67999 _cosf _sinf _tanf \
68000 _coshf _sinhf _tanhf
68001 do
68002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68003 echo "$as_me:$LINENO: checking for $ac_func" >&5
68004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68005 if eval "test \"\${$as_ac_var+set}\" = set"; then
68006 echo $ECHO_N "(cached) $ECHO_C" >&6
68007 else
68008 if test x$gcc_no_link = xyes; then
68009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68011 { (exit 1); exit 1; }; }
68012 fi
68013 cat >conftest.$ac_ext <<_ACEOF
68014 /* confdefs.h. */
68015 _ACEOF
68016 cat confdefs.h >>conftest.$ac_ext
68017 cat >>conftest.$ac_ext <<_ACEOF
68018 /* end confdefs.h. */
68019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68021 #define $ac_func innocuous_$ac_func
68022
68023 /* System header to define __stub macros and hopefully few prototypes,
68024 which can conflict with char $ac_func (); below.
68025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68026 <limits.h> exists even on freestanding compilers. */
68027
68028 #ifdef __STDC__
68029 # include <limits.h>
68030 #else
68031 # include <assert.h>
68032 #endif
68033
68034 #undef $ac_func
68035
68036 /* Override any gcc2 internal prototype to avoid an error. */
68037 #ifdef __cplusplus
68038 extern "C"
68039 {
68040 #endif
68041 /* We use char because int might match the return type of a gcc2
68042 builtin and then its argument prototype would still apply. */
68043 char $ac_func ();
68044 /* The GNU C library defines this for functions which it implements
68045 to always fail with ENOSYS. Some functions are actually named
68046 something starting with __ and the normal name is an alias. */
68047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68048 choke me
68049 #else
68050 char (*f) () = $ac_func;
68051 #endif
68052 #ifdef __cplusplus
68053 }
68054 #endif
68055
68056 int
68057 main ()
68058 {
68059 return f != $ac_func;
68060 ;
68061 return 0;
68062 }
68063 _ACEOF
68064 rm -f conftest.$ac_objext conftest$ac_exeext
68065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68066 (eval $ac_link) 2>conftest.er1
68067 ac_status=$?
68068 grep -v '^ *+' conftest.er1 >conftest.err
68069 rm -f conftest.er1
68070 cat conftest.err >&5
68071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68072 (exit $ac_status); } &&
68073 { ac_try='test -z "$ac_c_werror_flag"
68074 || test ! -s conftest.err'
68075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68076 (eval $ac_try) 2>&5
68077 ac_status=$?
68078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68079 (exit $ac_status); }; } &&
68080 { ac_try='test -s conftest$ac_exeext'
68081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68082 (eval $ac_try) 2>&5
68083 ac_status=$?
68084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68085 (exit $ac_status); }; }; then
68086 eval "$as_ac_var=yes"
68087 else
68088 echo "$as_me: failed program was:" >&5
68089 sed 's/^/| /' conftest.$ac_ext >&5
68090
68091 eval "$as_ac_var=no"
68092 fi
68093 rm -f conftest.err conftest.$ac_objext \
68094 conftest$ac_exeext conftest.$ac_ext
68095 fi
68096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68098 if test `eval echo '${'$as_ac_var'}'` = yes; then
68099 cat >>confdefs.h <<_ACEOF
68100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68101 _ACEOF
68102
68103 fi
68104 done
68105
68106 fi
68107
68108
68109 echo "$as_me:$LINENO: checking for _float round functions" >&5
68110 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68111 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68112 echo $ECHO_N "(cached) $ECHO_C" >&6
68113 else
68114
68115
68116
68117 ac_ext=cc
68118 ac_cpp='$CXXCPP $CPPFLAGS'
68119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68122
68123 cat >conftest.$ac_ext <<_ACEOF
68124 /* confdefs.h. */
68125 _ACEOF
68126 cat confdefs.h >>conftest.$ac_ext
68127 cat >>conftest.$ac_ext <<_ACEOF
68128 /* end confdefs.h. */
68129 #include <math.h>
68130 int
68131 main ()
68132 {
68133 `for x in _ceilf _floorf; do echo "$x (0);"; done`
68134 ;
68135 return 0;
68136 }
68137 _ACEOF
68138 rm -f conftest.$ac_objext
68139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68140 (eval $ac_compile) 2>conftest.er1
68141 ac_status=$?
68142 grep -v '^ *+' conftest.er1 >conftest.err
68143 rm -f conftest.er1
68144 cat conftest.err >&5
68145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68146 (exit $ac_status); } &&
68147 { ac_try='test -z "$ac_cxx_werror_flag"
68148 || test ! -s conftest.err'
68149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68150 (eval $ac_try) 2>&5
68151 ac_status=$?
68152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68153 (exit $ac_status); }; } &&
68154 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
68160 glibcxx_cv_func__float_round_use=yes
68161 else
68162 echo "$as_me: failed program was:" >&5
68163 sed 's/^/| /' conftest.$ac_ext >&5
68164
68165 glibcxx_cv_func__float_round_use=no
68166 fi
68167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68168 ac_ext=c
68169 ac_cpp='$CPP $CPPFLAGS'
68170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68173
68174 fi
68175
68176 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68177 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68178 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68179
68180
68181 for ac_func in _ceilf _floorf
68182 do
68183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68184 echo "$as_me:$LINENO: checking for $ac_func" >&5
68185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68186 if eval "test \"\${$as_ac_var+set}\" = set"; then
68187 echo $ECHO_N "(cached) $ECHO_C" >&6
68188 else
68189 if test x$gcc_no_link = xyes; then
68190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68192 { (exit 1); exit 1; }; }
68193 fi
68194 cat >conftest.$ac_ext <<_ACEOF
68195 /* confdefs.h. */
68196 _ACEOF
68197 cat confdefs.h >>conftest.$ac_ext
68198 cat >>conftest.$ac_ext <<_ACEOF
68199 /* end confdefs.h. */
68200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68202 #define $ac_func innocuous_$ac_func
68203
68204 /* System header to define __stub macros and hopefully few prototypes,
68205 which can conflict with char $ac_func (); below.
68206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68207 <limits.h> exists even on freestanding compilers. */
68208
68209 #ifdef __STDC__
68210 # include <limits.h>
68211 #else
68212 # include <assert.h>
68213 #endif
68214
68215 #undef $ac_func
68216
68217 /* Override any gcc2 internal prototype to avoid an error. */
68218 #ifdef __cplusplus
68219 extern "C"
68220 {
68221 #endif
68222 /* We use char because int might match the return type of a gcc2
68223 builtin and then its argument prototype would still apply. */
68224 char $ac_func ();
68225 /* The GNU C library defines this for functions which it implements
68226 to always fail with ENOSYS. Some functions are actually named
68227 something starting with __ and the normal name is an alias. */
68228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68229 choke me
68230 #else
68231 char (*f) () = $ac_func;
68232 #endif
68233 #ifdef __cplusplus
68234 }
68235 #endif
68236
68237 int
68238 main ()
68239 {
68240 return f != $ac_func;
68241 ;
68242 return 0;
68243 }
68244 _ACEOF
68245 rm -f conftest.$ac_objext conftest$ac_exeext
68246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68247 (eval $ac_link) 2>conftest.er1
68248 ac_status=$?
68249 grep -v '^ *+' conftest.er1 >conftest.err
68250 rm -f conftest.er1
68251 cat conftest.err >&5
68252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68253 (exit $ac_status); } &&
68254 { ac_try='test -z "$ac_c_werror_flag"
68255 || test ! -s conftest.err'
68256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68257 (eval $ac_try) 2>&5
68258 ac_status=$?
68259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68260 (exit $ac_status); }; } &&
68261 { ac_try='test -s conftest$ac_exeext'
68262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68263 (eval $ac_try) 2>&5
68264 ac_status=$?
68265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68266 (exit $ac_status); }; }; then
68267 eval "$as_ac_var=yes"
68268 else
68269 echo "$as_me: failed program was:" >&5
68270 sed 's/^/| /' conftest.$ac_ext >&5
68271
68272 eval "$as_ac_var=no"
68273 fi
68274 rm -f conftest.err conftest.$ac_objext \
68275 conftest$ac_exeext conftest.$ac_ext
68276 fi
68277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68279 if test `eval echo '${'$as_ac_var'}'` = yes; then
68280 cat >>confdefs.h <<_ACEOF
68281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68282 _ACEOF
68283
68284 fi
68285 done
68286
68287 fi
68288
68289
68290
68291 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
68292 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
68293 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
68294 echo $ECHO_N "(cached) $ECHO_C" >&6
68295 else
68296
68297
68298
68299 ac_ext=cc
68300 ac_cpp='$CXXCPP $CPPFLAGS'
68301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68304
68305 cat >conftest.$ac_ext <<_ACEOF
68306 /* confdefs.h. */
68307 _ACEOF
68308 cat confdefs.h >>conftest.$ac_ext
68309 cat >>conftest.$ac_ext <<_ACEOF
68310 /* end confdefs.h. */
68311 #include <math.h>
68312 int
68313 main ()
68314 {
68315 `for x in _acosl _asinl _atanl \
68316 _cosl _sinl _tanl \
68317 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
68318 ;
68319 return 0;
68320 }
68321 _ACEOF
68322 rm -f conftest.$ac_objext
68323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68324 (eval $ac_compile) 2>conftest.er1
68325 ac_status=$?
68326 grep -v '^ *+' conftest.er1 >conftest.err
68327 rm -f conftest.er1
68328 cat conftest.err >&5
68329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68330 (exit $ac_status); } &&
68331 { ac_try='test -z "$ac_cxx_werror_flag"
68332 || test ! -s conftest.err'
68333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68334 (eval $ac_try) 2>&5
68335 ac_status=$?
68336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337 (exit $ac_status); }; } &&
68338 { ac_try='test -s conftest.$ac_objext'
68339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68340 (eval $ac_try) 2>&5
68341 ac_status=$?
68342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68343 (exit $ac_status); }; }; then
68344 glibcxx_cv_func__long_double_trig_use=yes
68345 else
68346 echo "$as_me: failed program was:" >&5
68347 sed 's/^/| /' conftest.$ac_ext >&5
68348
68349 glibcxx_cv_func__long_double_trig_use=no
68350 fi
68351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68352 ac_ext=c
68353 ac_cpp='$CPP $CPPFLAGS'
68354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68357
68358 fi
68359
68360 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
68361 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
68362 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68363
68364
68365
68366
68367
68368
68369
68370
68371
68372 for ac_func in _acosl _asinl _atanl \
68373 _cosl _sinl _tanl \
68374 _coshl _sinhl _tanhl
68375 do
68376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68377 echo "$as_me:$LINENO: checking for $ac_func" >&5
68378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68379 if eval "test \"\${$as_ac_var+set}\" = set"; then
68380 echo $ECHO_N "(cached) $ECHO_C" >&6
68381 else
68382 if test x$gcc_no_link = xyes; then
68383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68385 { (exit 1); exit 1; }; }
68386 fi
68387 cat >conftest.$ac_ext <<_ACEOF
68388 /* confdefs.h. */
68389 _ACEOF
68390 cat confdefs.h >>conftest.$ac_ext
68391 cat >>conftest.$ac_ext <<_ACEOF
68392 /* end confdefs.h. */
68393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68395 #define $ac_func innocuous_$ac_func
68396
68397 /* System header to define __stub macros and hopefully few prototypes,
68398 which can conflict with char $ac_func (); below.
68399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68400 <limits.h> exists even on freestanding compilers. */
68401
68402 #ifdef __STDC__
68403 # include <limits.h>
68404 #else
68405 # include <assert.h>
68406 #endif
68407
68408 #undef $ac_func
68409
68410 /* Override any gcc2 internal prototype to avoid an error. */
68411 #ifdef __cplusplus
68412 extern "C"
68413 {
68414 #endif
68415 /* We use char because int might match the return type of a gcc2
68416 builtin and then its argument prototype would still apply. */
68417 char $ac_func ();
68418 /* The GNU C library defines this for functions which it implements
68419 to always fail with ENOSYS. Some functions are actually named
68420 something starting with __ and the normal name is an alias. */
68421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68422 choke me
68423 #else
68424 char (*f) () = $ac_func;
68425 #endif
68426 #ifdef __cplusplus
68427 }
68428 #endif
68429
68430 int
68431 main ()
68432 {
68433 return f != $ac_func;
68434 ;
68435 return 0;
68436 }
68437 _ACEOF
68438 rm -f conftest.$ac_objext conftest$ac_exeext
68439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68440 (eval $ac_link) 2>conftest.er1
68441 ac_status=$?
68442 grep -v '^ *+' conftest.er1 >conftest.err
68443 rm -f conftest.er1
68444 cat conftest.err >&5
68445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68446 (exit $ac_status); } &&
68447 { ac_try='test -z "$ac_c_werror_flag"
68448 || test ! -s conftest.err'
68449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68450 (eval $ac_try) 2>&5
68451 ac_status=$?
68452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68453 (exit $ac_status); }; } &&
68454 { ac_try='test -s conftest$ac_exeext'
68455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68456 (eval $ac_try) 2>&5
68457 ac_status=$?
68458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68459 (exit $ac_status); }; }; then
68460 eval "$as_ac_var=yes"
68461 else
68462 echo "$as_me: failed program was:" >&5
68463 sed 's/^/| /' conftest.$ac_ext >&5
68464
68465 eval "$as_ac_var=no"
68466 fi
68467 rm -f conftest.err conftest.$ac_objext \
68468 conftest$ac_exeext conftest.$ac_ext
68469 fi
68470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68472 if test `eval echo '${'$as_ac_var'}'` = yes; then
68473 cat >>confdefs.h <<_ACEOF
68474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68475 _ACEOF
68476
68477 fi
68478 done
68479
68480 fi
68481
68482
68483 echo "$as_me:$LINENO: checking for _long double round functions" >&5
68484 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
68485 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
68486 echo $ECHO_N "(cached) $ECHO_C" >&6
68487 else
68488
68489
68490
68491 ac_ext=cc
68492 ac_cpp='$CXXCPP $CPPFLAGS'
68493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68496
68497 cat >conftest.$ac_ext <<_ACEOF
68498 /* confdefs.h. */
68499 _ACEOF
68500 cat confdefs.h >>conftest.$ac_ext
68501 cat >>conftest.$ac_ext <<_ACEOF
68502 /* end confdefs.h. */
68503 #include <math.h>
68504 int
68505 main ()
68506 {
68507 `for x in _ceill _floorl; do echo "$x (0);"; done`
68508 ;
68509 return 0;
68510 }
68511 _ACEOF
68512 rm -f conftest.$ac_objext
68513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68514 (eval $ac_compile) 2>conftest.er1
68515 ac_status=$?
68516 grep -v '^ *+' conftest.er1 >conftest.err
68517 rm -f conftest.er1
68518 cat conftest.err >&5
68519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68520 (exit $ac_status); } &&
68521 { ac_try='test -z "$ac_cxx_werror_flag"
68522 || test ! -s conftest.err'
68523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68524 (eval $ac_try) 2>&5
68525 ac_status=$?
68526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68527 (exit $ac_status); }; } &&
68528 { ac_try='test -s conftest.$ac_objext'
68529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68530 (eval $ac_try) 2>&5
68531 ac_status=$?
68532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68533 (exit $ac_status); }; }; then
68534 glibcxx_cv_func__long_double_round_use=yes
68535 else
68536 echo "$as_me: failed program was:" >&5
68537 sed 's/^/| /' conftest.$ac_ext >&5
68538
68539 glibcxx_cv_func__long_double_round_use=no
68540 fi
68541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68542 ac_ext=c
68543 ac_cpp='$CPP $CPPFLAGS'
68544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68547
68548 fi
68549
68550 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
68551 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
68552 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68553
68554
68555 for ac_func in _ceill _floorl
68556 do
68557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68558 echo "$as_me:$LINENO: checking for $ac_func" >&5
68559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68560 if eval "test \"\${$as_ac_var+set}\" = set"; then
68561 echo $ECHO_N "(cached) $ECHO_C" >&6
68562 else
68563 if test x$gcc_no_link = xyes; then
68564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68566 { (exit 1); exit 1; }; }
68567 fi
68568 cat >conftest.$ac_ext <<_ACEOF
68569 /* confdefs.h. */
68570 _ACEOF
68571 cat confdefs.h >>conftest.$ac_ext
68572 cat >>conftest.$ac_ext <<_ACEOF
68573 /* end confdefs.h. */
68574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68576 #define $ac_func innocuous_$ac_func
68577
68578 /* System header to define __stub macros and hopefully few prototypes,
68579 which can conflict with char $ac_func (); below.
68580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68581 <limits.h> exists even on freestanding compilers. */
68582
68583 #ifdef __STDC__
68584 # include <limits.h>
68585 #else
68586 # include <assert.h>
68587 #endif
68588
68589 #undef $ac_func
68590
68591 /* Override any gcc2 internal prototype to avoid an error. */
68592 #ifdef __cplusplus
68593 extern "C"
68594 {
68595 #endif
68596 /* We use char because int might match the return type of a gcc2
68597 builtin and then its argument prototype would still apply. */
68598 char $ac_func ();
68599 /* The GNU C library defines this for functions which it implements
68600 to always fail with ENOSYS. Some functions are actually named
68601 something starting with __ and the normal name is an alias. */
68602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68603 choke me
68604 #else
68605 char (*f) () = $ac_func;
68606 #endif
68607 #ifdef __cplusplus
68608 }
68609 #endif
68610
68611 int
68612 main ()
68613 {
68614 return f != $ac_func;
68615 ;
68616 return 0;
68617 }
68618 _ACEOF
68619 rm -f conftest.$ac_objext conftest$ac_exeext
68620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68621 (eval $ac_link) 2>conftest.er1
68622 ac_status=$?
68623 grep -v '^ *+' conftest.er1 >conftest.err
68624 rm -f conftest.er1
68625 cat conftest.err >&5
68626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68627 (exit $ac_status); } &&
68628 { ac_try='test -z "$ac_c_werror_flag"
68629 || test ! -s conftest.err'
68630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68631 (eval $ac_try) 2>&5
68632 ac_status=$?
68633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68634 (exit $ac_status); }; } &&
68635 { ac_try='test -s conftest$ac_exeext'
68636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68637 (eval $ac_try) 2>&5
68638 ac_status=$?
68639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68640 (exit $ac_status); }; }; then
68641 eval "$as_ac_var=yes"
68642 else
68643 echo "$as_me: failed program was:" >&5
68644 sed 's/^/| /' conftest.$ac_ext >&5
68645
68646 eval "$as_ac_var=no"
68647 fi
68648 rm -f conftest.err conftest.$ac_objext \
68649 conftest$ac_exeext conftest.$ac_ext
68650 fi
68651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68653 if test `eval echo '${'$as_ac_var'}'` = yes; then
68654 cat >>confdefs.h <<_ACEOF
68655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68656 _ACEOF
68657
68658 fi
68659 done
68660
68661 fi
68662
68663
68664 LIBS="$ac_save_LIBS"
68665 CXXFLAGS="$ac_save_CXXFLAGS"
68666
68667
68668
68669 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
68670 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
68671 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
68672 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
68673 echo $ECHO_N "(cached) $ECHO_C" >&6
68674 else
68675
68676
68677
68678 ac_ext=cc
68679 ac_cpp='$CXXCPP $CPPFLAGS'
68680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68683
68684 cat >conftest.$ac_ext <<_ACEOF
68685 /* confdefs.h. */
68686 _ACEOF
68687 cat confdefs.h >>conftest.$ac_ext
68688 cat >>conftest.$ac_ext <<_ACEOF
68689 /* end confdefs.h. */
68690 #include <math.h>
68691 int
68692 main ()
68693 {
68694 __builtin_abs(0);
68695 ;
68696 return 0;
68697 }
68698 _ACEOF
68699 rm -f conftest.$ac_objext
68700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68701 (eval $ac_compile) 2>conftest.er1
68702 ac_status=$?
68703 grep -v '^ *+' conftest.er1 >conftest.err
68704 rm -f conftest.er1
68705 cat conftest.err >&5
68706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68707 (exit $ac_status); } &&
68708 { ac_try='test -z "$ac_cxx_werror_flag"
68709 || test ! -s conftest.err'
68710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68711 (eval $ac_try) 2>&5
68712 ac_status=$?
68713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68714 (exit $ac_status); }; } &&
68715 { ac_try='test -s conftest.$ac_objext'
68716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68717 (eval $ac_try) 2>&5
68718 ac_status=$?
68719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68720 (exit $ac_status); }; }; then
68721 glibcxx_cv_func___builtin_abs_use=yes
68722 else
68723 echo "$as_me: failed program was:" >&5
68724 sed 's/^/| /' conftest.$ac_ext >&5
68725
68726 glibcxx_cv_func___builtin_abs_use=no
68727 fi
68728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68734
68735
68736 fi
68737
68738 fi
68739 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
68740 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
68741 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
68742 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
68743 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
68744 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
68745 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
68746 echo $ECHO_N "(cached) $ECHO_C" >&6
68747 else
68748
68749 if test x$gcc_no_link = xyes; then
68750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68752 { (exit 1); exit 1; }; }
68753 fi
68754 cat >conftest.$ac_ext <<_ACEOF
68755 /* confdefs.h. */
68756 _ACEOF
68757 cat confdefs.h >>conftest.$ac_ext
68758 cat >>conftest.$ac_ext <<_ACEOF
68759 /* end confdefs.h. */
68760 #include <math.h>
68761 int
68762 main ()
68763 {
68764 __builtin_abs(0);
68765 ;
68766 return 0;
68767 }
68768 _ACEOF
68769 rm -f conftest.$ac_objext conftest$ac_exeext
68770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68771 (eval $ac_link) 2>conftest.er1
68772 ac_status=$?
68773 grep -v '^ *+' conftest.er1 >conftest.err
68774 rm -f conftest.er1
68775 cat conftest.err >&5
68776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68777 (exit $ac_status); } &&
68778 { ac_try='test -z "$ac_c_werror_flag"
68779 || test ! -s conftest.err'
68780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68781 (eval $ac_try) 2>&5
68782 ac_status=$?
68783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68784 (exit $ac_status); }; } &&
68785 { ac_try='test -s conftest$ac_exeext'
68786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68787 (eval $ac_try) 2>&5
68788 ac_status=$?
68789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68790 (exit $ac_status); }; }; then
68791 glibcxx_cv_func___builtin_abs_link=yes
68792 else
68793 echo "$as_me: failed program was:" >&5
68794 sed 's/^/| /' conftest.$ac_ext >&5
68795
68796 glibcxx_cv_func___builtin_abs_link=no
68797 fi
68798 rm -f conftest.err conftest.$ac_objext \
68799 conftest$ac_exeext conftest.$ac_ext
68800
68801 fi
68802
68803 fi
68804 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
68805 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
68806 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
68807 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
68808
68809 cat >>confdefs.h <<_ACEOF
68810 #define ${ac_tr_func} 1
68811 _ACEOF
68812
68813 fi
68814 fi
68815
68816
68817 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
68818 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
68819 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
68820 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
68821 echo $ECHO_N "(cached) $ECHO_C" >&6
68822 else
68823
68824
68825
68826 ac_ext=cc
68827 ac_cpp='$CXXCPP $CPPFLAGS'
68828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68831
68832 cat >conftest.$ac_ext <<_ACEOF
68833 /* confdefs.h. */
68834 _ACEOF
68835 cat confdefs.h >>conftest.$ac_ext
68836 cat >>conftest.$ac_ext <<_ACEOF
68837 /* end confdefs.h. */
68838 #include <math.h>
68839 int
68840 main ()
68841 {
68842 __builtin_fabsf(0);
68843 ;
68844 return 0;
68845 }
68846 _ACEOF
68847 rm -f conftest.$ac_objext
68848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68849 (eval $ac_compile) 2>conftest.er1
68850 ac_status=$?
68851 grep -v '^ *+' conftest.er1 >conftest.err
68852 rm -f conftest.er1
68853 cat conftest.err >&5
68854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68855 (exit $ac_status); } &&
68856 { ac_try='test -z "$ac_cxx_werror_flag"
68857 || test ! -s conftest.err'
68858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68859 (eval $ac_try) 2>&5
68860 ac_status=$?
68861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68862 (exit $ac_status); }; } &&
68863 { ac_try='test -s conftest.$ac_objext'
68864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68865 (eval $ac_try) 2>&5
68866 ac_status=$?
68867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68868 (exit $ac_status); }; }; then
68869 glibcxx_cv_func___builtin_fabsf_use=yes
68870 else
68871 echo "$as_me: failed program was:" >&5
68872 sed 's/^/| /' conftest.$ac_ext >&5
68873
68874 glibcxx_cv_func___builtin_fabsf_use=no
68875 fi
68876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68877 ac_ext=c
68878 ac_cpp='$CPP $CPPFLAGS'
68879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68882
68883
68884 fi
68885
68886 fi
68887 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
68888 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
68889 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
68890 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
68891 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
68892 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
68893 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
68894 echo $ECHO_N "(cached) $ECHO_C" >&6
68895 else
68896
68897 if test x$gcc_no_link = xyes; then
68898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68900 { (exit 1); exit 1; }; }
68901 fi
68902 cat >conftest.$ac_ext <<_ACEOF
68903 /* confdefs.h. */
68904 _ACEOF
68905 cat confdefs.h >>conftest.$ac_ext
68906 cat >>conftest.$ac_ext <<_ACEOF
68907 /* end confdefs.h. */
68908 #include <math.h>
68909 int
68910 main ()
68911 {
68912 __builtin_fabsf(0);
68913 ;
68914 return 0;
68915 }
68916 _ACEOF
68917 rm -f conftest.$ac_objext conftest$ac_exeext
68918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68919 (eval $ac_link) 2>conftest.er1
68920 ac_status=$?
68921 grep -v '^ *+' conftest.er1 >conftest.err
68922 rm -f conftest.er1
68923 cat conftest.err >&5
68924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68925 (exit $ac_status); } &&
68926 { ac_try='test -z "$ac_c_werror_flag"
68927 || test ! -s conftest.err'
68928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68929 (eval $ac_try) 2>&5
68930 ac_status=$?
68931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68932 (exit $ac_status); }; } &&
68933 { ac_try='test -s conftest$ac_exeext'
68934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68935 (eval $ac_try) 2>&5
68936 ac_status=$?
68937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68938 (exit $ac_status); }; }; then
68939 glibcxx_cv_func___builtin_fabsf_link=yes
68940 else
68941 echo "$as_me: failed program was:" >&5
68942 sed 's/^/| /' conftest.$ac_ext >&5
68943
68944 glibcxx_cv_func___builtin_fabsf_link=no
68945 fi
68946 rm -f conftest.err conftest.$ac_objext \
68947 conftest$ac_exeext conftest.$ac_ext
68948
68949 fi
68950
68951 fi
68952 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
68953 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
68954 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
68955 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
68956
68957 cat >>confdefs.h <<_ACEOF
68958 #define ${ac_tr_func} 1
68959 _ACEOF
68960
68961 fi
68962 fi
68963
68964
68965 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
68966 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
68967 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
68968 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
68969 echo $ECHO_N "(cached) $ECHO_C" >&6
68970 else
68971
68972
68973
68974 ac_ext=cc
68975 ac_cpp='$CXXCPP $CPPFLAGS'
68976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68979
68980 cat >conftest.$ac_ext <<_ACEOF
68981 /* confdefs.h. */
68982 _ACEOF
68983 cat confdefs.h >>conftest.$ac_ext
68984 cat >>conftest.$ac_ext <<_ACEOF
68985 /* end confdefs.h. */
68986 #include <math.h>
68987 int
68988 main ()
68989 {
68990 __builtin_fabs(0);
68991 ;
68992 return 0;
68993 }
68994 _ACEOF
68995 rm -f conftest.$ac_objext
68996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68997 (eval $ac_compile) 2>conftest.er1
68998 ac_status=$?
68999 grep -v '^ *+' conftest.er1 >conftest.err
69000 rm -f conftest.er1
69001 cat conftest.err >&5
69002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69003 (exit $ac_status); } &&
69004 { ac_try='test -z "$ac_cxx_werror_flag"
69005 || test ! -s conftest.err'
69006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69007 (eval $ac_try) 2>&5
69008 ac_status=$?
69009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69010 (exit $ac_status); }; } &&
69011 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
69017 glibcxx_cv_func___builtin_fabs_use=yes
69018 else
69019 echo "$as_me: failed program was:" >&5
69020 sed 's/^/| /' conftest.$ac_ext >&5
69021
69022 glibcxx_cv_func___builtin_fabs_use=no
69023 fi
69024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69025 ac_ext=c
69026 ac_cpp='$CPP $CPPFLAGS'
69027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69030
69031
69032 fi
69033
69034 fi
69035 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
69036 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
69037 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
69038 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
69039 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
69040 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
69041 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
69042 echo $ECHO_N "(cached) $ECHO_C" >&6
69043 else
69044
69045 if test x$gcc_no_link = xyes; then
69046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69048 { (exit 1); exit 1; }; }
69049 fi
69050 cat >conftest.$ac_ext <<_ACEOF
69051 /* confdefs.h. */
69052 _ACEOF
69053 cat confdefs.h >>conftest.$ac_ext
69054 cat >>conftest.$ac_ext <<_ACEOF
69055 /* end confdefs.h. */
69056 #include <math.h>
69057 int
69058 main ()
69059 {
69060 __builtin_fabs(0);
69061 ;
69062 return 0;
69063 }
69064 _ACEOF
69065 rm -f conftest.$ac_objext conftest$ac_exeext
69066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69067 (eval $ac_link) 2>conftest.er1
69068 ac_status=$?
69069 grep -v '^ *+' conftest.er1 >conftest.err
69070 rm -f conftest.er1
69071 cat conftest.err >&5
69072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69073 (exit $ac_status); } &&
69074 { ac_try='test -z "$ac_c_werror_flag"
69075 || test ! -s conftest.err'
69076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69077 (eval $ac_try) 2>&5
69078 ac_status=$?
69079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69080 (exit $ac_status); }; } &&
69081 { ac_try='test -s conftest$ac_exeext'
69082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69083 (eval $ac_try) 2>&5
69084 ac_status=$?
69085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69086 (exit $ac_status); }; }; then
69087 glibcxx_cv_func___builtin_fabs_link=yes
69088 else
69089 echo "$as_me: failed program was:" >&5
69090 sed 's/^/| /' conftest.$ac_ext >&5
69091
69092 glibcxx_cv_func___builtin_fabs_link=no
69093 fi
69094 rm -f conftest.err conftest.$ac_objext \
69095 conftest$ac_exeext conftest.$ac_ext
69096
69097 fi
69098
69099 fi
69100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
69101 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
69102 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
69103 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69104
69105 cat >>confdefs.h <<_ACEOF
69106 #define ${ac_tr_func} 1
69107 _ACEOF
69108
69109 fi
69110 fi
69111
69112
69113 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
69114 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
69115 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
69116 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
69117 echo $ECHO_N "(cached) $ECHO_C" >&6
69118 else
69119
69120
69121
69122 ac_ext=cc
69123 ac_cpp='$CXXCPP $CPPFLAGS'
69124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69127
69128 cat >conftest.$ac_ext <<_ACEOF
69129 /* confdefs.h. */
69130 _ACEOF
69131 cat confdefs.h >>conftest.$ac_ext
69132 cat >>conftest.$ac_ext <<_ACEOF
69133 /* end confdefs.h. */
69134 #include <math.h>
69135 int
69136 main ()
69137 {
69138 __builtin_fabsl(0);
69139 ;
69140 return 0;
69141 }
69142 _ACEOF
69143 rm -f conftest.$ac_objext
69144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69145 (eval $ac_compile) 2>conftest.er1
69146 ac_status=$?
69147 grep -v '^ *+' conftest.er1 >conftest.err
69148 rm -f conftest.er1
69149 cat conftest.err >&5
69150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69151 (exit $ac_status); } &&
69152 { ac_try='test -z "$ac_cxx_werror_flag"
69153 || test ! -s conftest.err'
69154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69155 (eval $ac_try) 2>&5
69156 ac_status=$?
69157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69158 (exit $ac_status); }; } &&
69159 { ac_try='test -s conftest.$ac_objext'
69160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69161 (eval $ac_try) 2>&5
69162 ac_status=$?
69163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69164 (exit $ac_status); }; }; then
69165 glibcxx_cv_func___builtin_fabsl_use=yes
69166 else
69167 echo "$as_me: failed program was:" >&5
69168 sed 's/^/| /' conftest.$ac_ext >&5
69169
69170 glibcxx_cv_func___builtin_fabsl_use=no
69171 fi
69172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69173 ac_ext=c
69174 ac_cpp='$CPP $CPPFLAGS'
69175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69178
69179
69180 fi
69181
69182 fi
69183 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
69184 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
69185 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
69186 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
69187 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
69188 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
69189 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
69190 echo $ECHO_N "(cached) $ECHO_C" >&6
69191 else
69192
69193 if test x$gcc_no_link = xyes; then
69194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69196 { (exit 1); exit 1; }; }
69197 fi
69198 cat >conftest.$ac_ext <<_ACEOF
69199 /* confdefs.h. */
69200 _ACEOF
69201 cat confdefs.h >>conftest.$ac_ext
69202 cat >>conftest.$ac_ext <<_ACEOF
69203 /* end confdefs.h. */
69204 #include <math.h>
69205 int
69206 main ()
69207 {
69208 __builtin_fabsl(0);
69209 ;
69210 return 0;
69211 }
69212 _ACEOF
69213 rm -f conftest.$ac_objext conftest$ac_exeext
69214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69215 (eval $ac_link) 2>conftest.er1
69216 ac_status=$?
69217 grep -v '^ *+' conftest.er1 >conftest.err
69218 rm -f conftest.er1
69219 cat conftest.err >&5
69220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69221 (exit $ac_status); } &&
69222 { ac_try='test -z "$ac_c_werror_flag"
69223 || test ! -s conftest.err'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; } &&
69229 { ac_try='test -s conftest$ac_exeext'
69230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69231 (eval $ac_try) 2>&5
69232 ac_status=$?
69233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69234 (exit $ac_status); }; }; then
69235 glibcxx_cv_func___builtin_fabsl_link=yes
69236 else
69237 echo "$as_me: failed program was:" >&5
69238 sed 's/^/| /' conftest.$ac_ext >&5
69239
69240 glibcxx_cv_func___builtin_fabsl_link=no
69241 fi
69242 rm -f conftest.err conftest.$ac_objext \
69243 conftest$ac_exeext conftest.$ac_ext
69244
69245 fi
69246
69247 fi
69248 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
69249 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
69250 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
69251 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69252
69253 cat >>confdefs.h <<_ACEOF
69254 #define ${ac_tr_func} 1
69255 _ACEOF
69256
69257 fi
69258 fi
69259
69260
69261 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
69262 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
69263 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
69264 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
69265 echo $ECHO_N "(cached) $ECHO_C" >&6
69266 else
69267
69268
69269
69270 ac_ext=cc
69271 ac_cpp='$CXXCPP $CPPFLAGS'
69272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69275
69276 cat >conftest.$ac_ext <<_ACEOF
69277 /* confdefs.h. */
69278 _ACEOF
69279 cat confdefs.h >>conftest.$ac_ext
69280 cat >>conftest.$ac_ext <<_ACEOF
69281 /* end confdefs.h. */
69282 #include <math.h>
69283 int
69284 main ()
69285 {
69286 __builtin_labs(0);
69287 ;
69288 return 0;
69289 }
69290 _ACEOF
69291 rm -f conftest.$ac_objext
69292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69293 (eval $ac_compile) 2>conftest.er1
69294 ac_status=$?
69295 grep -v '^ *+' conftest.er1 >conftest.err
69296 rm -f conftest.er1
69297 cat conftest.err >&5
69298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69299 (exit $ac_status); } &&
69300 { ac_try='test -z "$ac_cxx_werror_flag"
69301 || test ! -s conftest.err'
69302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303 (eval $ac_try) 2>&5
69304 ac_status=$?
69305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306 (exit $ac_status); }; } &&
69307 { ac_try='test -s conftest.$ac_objext'
69308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69309 (eval $ac_try) 2>&5
69310 ac_status=$?
69311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69312 (exit $ac_status); }; }; then
69313 glibcxx_cv_func___builtin_labs_use=yes
69314 else
69315 echo "$as_me: failed program was:" >&5
69316 sed 's/^/| /' conftest.$ac_ext >&5
69317
69318 glibcxx_cv_func___builtin_labs_use=no
69319 fi
69320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69321 ac_ext=c
69322 ac_cpp='$CPP $CPPFLAGS'
69323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69326
69327
69328 fi
69329
69330 fi
69331 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
69332 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
69333 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
69334 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
69335 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
69336 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
69337 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
69338 echo $ECHO_N "(cached) $ECHO_C" >&6
69339 else
69340
69341 if test x$gcc_no_link = xyes; then
69342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69344 { (exit 1); exit 1; }; }
69345 fi
69346 cat >conftest.$ac_ext <<_ACEOF
69347 /* confdefs.h. */
69348 _ACEOF
69349 cat confdefs.h >>conftest.$ac_ext
69350 cat >>conftest.$ac_ext <<_ACEOF
69351 /* end confdefs.h. */
69352 #include <math.h>
69353 int
69354 main ()
69355 {
69356 __builtin_labs(0);
69357 ;
69358 return 0;
69359 }
69360 _ACEOF
69361 rm -f conftest.$ac_objext conftest$ac_exeext
69362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69363 (eval $ac_link) 2>conftest.er1
69364 ac_status=$?
69365 grep -v '^ *+' conftest.er1 >conftest.err
69366 rm -f conftest.er1
69367 cat conftest.err >&5
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); } &&
69370 { ac_try='test -z "$ac_c_werror_flag"
69371 || test ! -s conftest.err'
69372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69373 (eval $ac_try) 2>&5
69374 ac_status=$?
69375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69376 (exit $ac_status); }; } &&
69377 { ac_try='test -s conftest$ac_exeext'
69378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379 (eval $ac_try) 2>&5
69380 ac_status=$?
69381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382 (exit $ac_status); }; }; then
69383 glibcxx_cv_func___builtin_labs_link=yes
69384 else
69385 echo "$as_me: failed program was:" >&5
69386 sed 's/^/| /' conftest.$ac_ext >&5
69387
69388 glibcxx_cv_func___builtin_labs_link=no
69389 fi
69390 rm -f conftest.err conftest.$ac_objext \
69391 conftest$ac_exeext conftest.$ac_ext
69392
69393 fi
69394
69395 fi
69396 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
69397 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
69398 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
69399 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69400
69401 cat >>confdefs.h <<_ACEOF
69402 #define ${ac_tr_func} 1
69403 _ACEOF
69404
69405 fi
69406 fi
69407
69408
69409
69410 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
69411 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
69412 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
69413 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
69414 echo $ECHO_N "(cached) $ECHO_C" >&6
69415 else
69416
69417
69418
69419 ac_ext=cc
69420 ac_cpp='$CXXCPP $CPPFLAGS'
69421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69424
69425 cat >conftest.$ac_ext <<_ACEOF
69426 /* confdefs.h. */
69427 _ACEOF
69428 cat confdefs.h >>conftest.$ac_ext
69429 cat >>conftest.$ac_ext <<_ACEOF
69430 /* end confdefs.h. */
69431 #include <math.h>
69432 int
69433 main ()
69434 {
69435 __builtin_sqrtf(0);
69436 ;
69437 return 0;
69438 }
69439 _ACEOF
69440 rm -f conftest.$ac_objext
69441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69442 (eval $ac_compile) 2>conftest.er1
69443 ac_status=$?
69444 grep -v '^ *+' conftest.er1 >conftest.err
69445 rm -f conftest.er1
69446 cat conftest.err >&5
69447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69448 (exit $ac_status); } &&
69449 { ac_try='test -z "$ac_cxx_werror_flag"
69450 || test ! -s conftest.err'
69451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69452 (eval $ac_try) 2>&5
69453 ac_status=$?
69454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69455 (exit $ac_status); }; } &&
69456 { ac_try='test -s conftest.$ac_objext'
69457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69458 (eval $ac_try) 2>&5
69459 ac_status=$?
69460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69461 (exit $ac_status); }; }; then
69462 glibcxx_cv_func___builtin_sqrtf_use=yes
69463 else
69464 echo "$as_me: failed program was:" >&5
69465 sed 's/^/| /' conftest.$ac_ext >&5
69466
69467 glibcxx_cv_func___builtin_sqrtf_use=no
69468 fi
69469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69470 ac_ext=c
69471 ac_cpp='$CPP $CPPFLAGS'
69472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69475
69476
69477 fi
69478
69479 fi
69480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
69481 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
69482 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
69483 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
69484 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
69485 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
69486 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
69487 echo $ECHO_N "(cached) $ECHO_C" >&6
69488 else
69489
69490 if test x$gcc_no_link = xyes; then
69491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69493 { (exit 1); exit 1; }; }
69494 fi
69495 cat >conftest.$ac_ext <<_ACEOF
69496 /* confdefs.h. */
69497 _ACEOF
69498 cat confdefs.h >>conftest.$ac_ext
69499 cat >>conftest.$ac_ext <<_ACEOF
69500 /* end confdefs.h. */
69501 #include <math.h>
69502 int
69503 main ()
69504 {
69505 __builtin_sqrtf(0);
69506 ;
69507 return 0;
69508 }
69509 _ACEOF
69510 rm -f conftest.$ac_objext conftest$ac_exeext
69511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69512 (eval $ac_link) 2>conftest.er1
69513 ac_status=$?
69514 grep -v '^ *+' conftest.er1 >conftest.err
69515 rm -f conftest.er1
69516 cat conftest.err >&5
69517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69518 (exit $ac_status); } &&
69519 { ac_try='test -z "$ac_c_werror_flag"
69520 || test ! -s conftest.err'
69521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69522 (eval $ac_try) 2>&5
69523 ac_status=$?
69524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69525 (exit $ac_status); }; } &&
69526 { ac_try='test -s conftest$ac_exeext'
69527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69528 (eval $ac_try) 2>&5
69529 ac_status=$?
69530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69531 (exit $ac_status); }; }; then
69532 glibcxx_cv_func___builtin_sqrtf_link=yes
69533 else
69534 echo "$as_me: failed program was:" >&5
69535 sed 's/^/| /' conftest.$ac_ext >&5
69536
69537 glibcxx_cv_func___builtin_sqrtf_link=no
69538 fi
69539 rm -f conftest.err conftest.$ac_objext \
69540 conftest$ac_exeext conftest.$ac_ext
69541
69542 fi
69543
69544 fi
69545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
69546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
69547 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
69548 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69549
69550 cat >>confdefs.h <<_ACEOF
69551 #define ${ac_tr_func} 1
69552 _ACEOF
69553
69554 fi
69555 fi
69556
69557
69558 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
69559 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
69560 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
69561 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
69562 echo $ECHO_N "(cached) $ECHO_C" >&6
69563 else
69564
69565
69566
69567 ac_ext=cc
69568 ac_cpp='$CXXCPP $CPPFLAGS'
69569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69572
69573 cat >conftest.$ac_ext <<_ACEOF
69574 /* confdefs.h. */
69575 _ACEOF
69576 cat confdefs.h >>conftest.$ac_ext
69577 cat >>conftest.$ac_ext <<_ACEOF
69578 /* end confdefs.h. */
69579 #include <math.h>
69580 int
69581 main ()
69582 {
69583 __builtin_sqrt(0);
69584 ;
69585 return 0;
69586 }
69587 _ACEOF
69588 rm -f conftest.$ac_objext
69589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69590 (eval $ac_compile) 2>conftest.er1
69591 ac_status=$?
69592 grep -v '^ *+' conftest.er1 >conftest.err
69593 rm -f conftest.er1
69594 cat conftest.err >&5
69595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69596 (exit $ac_status); } &&
69597 { ac_try='test -z "$ac_cxx_werror_flag"
69598 || test ! -s conftest.err'
69599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69600 (eval $ac_try) 2>&5
69601 ac_status=$?
69602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69603 (exit $ac_status); }; } &&
69604 { ac_try='test -s conftest.$ac_objext'
69605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69606 (eval $ac_try) 2>&5
69607 ac_status=$?
69608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69609 (exit $ac_status); }; }; then
69610 glibcxx_cv_func___builtin_sqrt_use=yes
69611 else
69612 echo "$as_me: failed program was:" >&5
69613 sed 's/^/| /' conftest.$ac_ext >&5
69614
69615 glibcxx_cv_func___builtin_sqrt_use=no
69616 fi
69617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69618 ac_ext=c
69619 ac_cpp='$CPP $CPPFLAGS'
69620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69623
69624
69625 fi
69626
69627 fi
69628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
69629 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
69630 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
69631 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
69632 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
69633 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
69634 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
69635 echo $ECHO_N "(cached) $ECHO_C" >&6
69636 else
69637
69638 if test x$gcc_no_link = xyes; then
69639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69641 { (exit 1); exit 1; }; }
69642 fi
69643 cat >conftest.$ac_ext <<_ACEOF
69644 /* confdefs.h. */
69645 _ACEOF
69646 cat confdefs.h >>conftest.$ac_ext
69647 cat >>conftest.$ac_ext <<_ACEOF
69648 /* end confdefs.h. */
69649 #include <math.h>
69650 int
69651 main ()
69652 {
69653 __builtin_sqrt(0);
69654 ;
69655 return 0;
69656 }
69657 _ACEOF
69658 rm -f conftest.$ac_objext conftest$ac_exeext
69659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69660 (eval $ac_link) 2>conftest.er1
69661 ac_status=$?
69662 grep -v '^ *+' conftest.er1 >conftest.err
69663 rm -f conftest.er1
69664 cat conftest.err >&5
69665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69666 (exit $ac_status); } &&
69667 { ac_try='test -z "$ac_c_werror_flag"
69668 || test ! -s conftest.err'
69669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69670 (eval $ac_try) 2>&5
69671 ac_status=$?
69672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69673 (exit $ac_status); }; } &&
69674 { ac_try='test -s conftest$ac_exeext'
69675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69676 (eval $ac_try) 2>&5
69677 ac_status=$?
69678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69679 (exit $ac_status); }; }; then
69680 glibcxx_cv_func___builtin_sqrt_link=yes
69681 else
69682 echo "$as_me: failed program was:" >&5
69683 sed 's/^/| /' conftest.$ac_ext >&5
69684
69685 glibcxx_cv_func___builtin_sqrt_link=no
69686 fi
69687 rm -f conftest.err conftest.$ac_objext \
69688 conftest$ac_exeext conftest.$ac_ext
69689
69690 fi
69691
69692 fi
69693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
69694 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
69695 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
69696 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69697
69698 cat >>confdefs.h <<_ACEOF
69699 #define ${ac_tr_func} 1
69700 _ACEOF
69701
69702 fi
69703 fi
69704
69705
69706 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
69707 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
69708 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
69709 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
69710 echo $ECHO_N "(cached) $ECHO_C" >&6
69711 else
69712
69713
69714
69715 ac_ext=cc
69716 ac_cpp='$CXXCPP $CPPFLAGS'
69717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69720
69721 cat >conftest.$ac_ext <<_ACEOF
69722 /* confdefs.h. */
69723 _ACEOF
69724 cat confdefs.h >>conftest.$ac_ext
69725 cat >>conftest.$ac_ext <<_ACEOF
69726 /* end confdefs.h. */
69727 #include <math.h>
69728 int
69729 main ()
69730 {
69731 __builtin_sqrtl(0);
69732 ;
69733 return 0;
69734 }
69735 _ACEOF
69736 rm -f conftest.$ac_objext
69737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69738 (eval $ac_compile) 2>conftest.er1
69739 ac_status=$?
69740 grep -v '^ *+' conftest.er1 >conftest.err
69741 rm -f conftest.er1
69742 cat conftest.err >&5
69743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69744 (exit $ac_status); } &&
69745 { ac_try='test -z "$ac_cxx_werror_flag"
69746 || test ! -s conftest.err'
69747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69748 (eval $ac_try) 2>&5
69749 ac_status=$?
69750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69751 (exit $ac_status); }; } &&
69752 { ac_try='test -s conftest.$ac_objext'
69753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69754 (eval $ac_try) 2>&5
69755 ac_status=$?
69756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69757 (exit $ac_status); }; }; then
69758 glibcxx_cv_func___builtin_sqrtl_use=yes
69759 else
69760 echo "$as_me: failed program was:" >&5
69761 sed 's/^/| /' conftest.$ac_ext >&5
69762
69763 glibcxx_cv_func___builtin_sqrtl_use=no
69764 fi
69765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69766 ac_ext=c
69767 ac_cpp='$CPP $CPPFLAGS'
69768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69771
69772
69773 fi
69774
69775 fi
69776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
69777 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
69778 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
69779 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
69780 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
69781 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
69782 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
69783 echo $ECHO_N "(cached) $ECHO_C" >&6
69784 else
69785
69786 if test x$gcc_no_link = xyes; then
69787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69789 { (exit 1); exit 1; }; }
69790 fi
69791 cat >conftest.$ac_ext <<_ACEOF
69792 /* confdefs.h. */
69793 _ACEOF
69794 cat confdefs.h >>conftest.$ac_ext
69795 cat >>conftest.$ac_ext <<_ACEOF
69796 /* end confdefs.h. */
69797 #include <math.h>
69798 int
69799 main ()
69800 {
69801 __builtin_sqrtl(0);
69802 ;
69803 return 0;
69804 }
69805 _ACEOF
69806 rm -f conftest.$ac_objext conftest$ac_exeext
69807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69808 (eval $ac_link) 2>conftest.er1
69809 ac_status=$?
69810 grep -v '^ *+' conftest.er1 >conftest.err
69811 rm -f conftest.er1
69812 cat conftest.err >&5
69813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69814 (exit $ac_status); } &&
69815 { ac_try='test -z "$ac_c_werror_flag"
69816 || test ! -s conftest.err'
69817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69818 (eval $ac_try) 2>&5
69819 ac_status=$?
69820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69821 (exit $ac_status); }; } &&
69822 { ac_try='test -s conftest$ac_exeext'
69823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69824 (eval $ac_try) 2>&5
69825 ac_status=$?
69826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69827 (exit $ac_status); }; }; then
69828 glibcxx_cv_func___builtin_sqrtl_link=yes
69829 else
69830 echo "$as_me: failed program was:" >&5
69831 sed 's/^/| /' conftest.$ac_ext >&5
69832
69833 glibcxx_cv_func___builtin_sqrtl_link=no
69834 fi
69835 rm -f conftest.err conftest.$ac_objext \
69836 conftest$ac_exeext conftest.$ac_ext
69837
69838 fi
69839
69840 fi
69841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
69842 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
69843 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
69844 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69845
69846 cat >>confdefs.h <<_ACEOF
69847 #define ${ac_tr_func} 1
69848 _ACEOF
69849
69850 fi
69851 fi
69852
69853
69854
69855 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
69856 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
69857 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
69858 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
69859 echo $ECHO_N "(cached) $ECHO_C" >&6
69860 else
69861
69862
69863
69864 ac_ext=cc
69865 ac_cpp='$CXXCPP $CPPFLAGS'
69866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69869
69870 cat >conftest.$ac_ext <<_ACEOF
69871 /* confdefs.h. */
69872 _ACEOF
69873 cat confdefs.h >>conftest.$ac_ext
69874 cat >>conftest.$ac_ext <<_ACEOF
69875 /* end confdefs.h. */
69876 #include <math.h>
69877 int
69878 main ()
69879 {
69880 __builtin_sinf(0);
69881 ;
69882 return 0;
69883 }
69884 _ACEOF
69885 rm -f conftest.$ac_objext
69886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69887 (eval $ac_compile) 2>conftest.er1
69888 ac_status=$?
69889 grep -v '^ *+' conftest.er1 >conftest.err
69890 rm -f conftest.er1
69891 cat conftest.err >&5
69892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69893 (exit $ac_status); } &&
69894 { ac_try='test -z "$ac_cxx_werror_flag"
69895 || test ! -s conftest.err'
69896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69897 (eval $ac_try) 2>&5
69898 ac_status=$?
69899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69900 (exit $ac_status); }; } &&
69901 { ac_try='test -s conftest.$ac_objext'
69902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69903 (eval $ac_try) 2>&5
69904 ac_status=$?
69905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69906 (exit $ac_status); }; }; then
69907 glibcxx_cv_func___builtin_sinf_use=yes
69908 else
69909 echo "$as_me: failed program was:" >&5
69910 sed 's/^/| /' conftest.$ac_ext >&5
69911
69912 glibcxx_cv_func___builtin_sinf_use=no
69913 fi
69914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69915 ac_ext=c
69916 ac_cpp='$CPP $CPPFLAGS'
69917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69920
69921
69922 fi
69923
69924 fi
69925 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
69926 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
69927 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
69928 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
69929 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
69930 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
69931 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
69932 echo $ECHO_N "(cached) $ECHO_C" >&6
69933 else
69934
69935 if test x$gcc_no_link = xyes; then
69936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69938 { (exit 1); exit 1; }; }
69939 fi
69940 cat >conftest.$ac_ext <<_ACEOF
69941 /* confdefs.h. */
69942 _ACEOF
69943 cat confdefs.h >>conftest.$ac_ext
69944 cat >>conftest.$ac_ext <<_ACEOF
69945 /* end confdefs.h. */
69946 #include <math.h>
69947 int
69948 main ()
69949 {
69950 __builtin_sinf(0);
69951 ;
69952 return 0;
69953 }
69954 _ACEOF
69955 rm -f conftest.$ac_objext conftest$ac_exeext
69956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69957 (eval $ac_link) 2>conftest.er1
69958 ac_status=$?
69959 grep -v '^ *+' conftest.er1 >conftest.err
69960 rm -f conftest.er1
69961 cat conftest.err >&5
69962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69963 (exit $ac_status); } &&
69964 { ac_try='test -z "$ac_c_werror_flag"
69965 || test ! -s conftest.err'
69966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69967 (eval $ac_try) 2>&5
69968 ac_status=$?
69969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69970 (exit $ac_status); }; } &&
69971 { ac_try='test -s conftest$ac_exeext'
69972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69973 (eval $ac_try) 2>&5
69974 ac_status=$?
69975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69976 (exit $ac_status); }; }; then
69977 glibcxx_cv_func___builtin_sinf_link=yes
69978 else
69979 echo "$as_me: failed program was:" >&5
69980 sed 's/^/| /' conftest.$ac_ext >&5
69981
69982 glibcxx_cv_func___builtin_sinf_link=no
69983 fi
69984 rm -f conftest.err conftest.$ac_objext \
69985 conftest$ac_exeext conftest.$ac_ext
69986
69987 fi
69988
69989 fi
69990 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
69991 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
69992 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
69993 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
69994
69995 cat >>confdefs.h <<_ACEOF
69996 #define ${ac_tr_func} 1
69997 _ACEOF
69998
69999 fi
70000 fi
70001
70002
70003 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
70004 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
70005 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
70006 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
70007 echo $ECHO_N "(cached) $ECHO_C" >&6
70008 else
70009
70010
70011
70012 ac_ext=cc
70013 ac_cpp='$CXXCPP $CPPFLAGS'
70014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70017
70018 cat >conftest.$ac_ext <<_ACEOF
70019 /* confdefs.h. */
70020 _ACEOF
70021 cat confdefs.h >>conftest.$ac_ext
70022 cat >>conftest.$ac_ext <<_ACEOF
70023 /* end confdefs.h. */
70024 #include <math.h>
70025 int
70026 main ()
70027 {
70028 __builtin_sin(0);
70029 ;
70030 return 0;
70031 }
70032 _ACEOF
70033 rm -f conftest.$ac_objext
70034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70035 (eval $ac_compile) 2>conftest.er1
70036 ac_status=$?
70037 grep -v '^ *+' conftest.er1 >conftest.err
70038 rm -f conftest.er1
70039 cat conftest.err >&5
70040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70041 (exit $ac_status); } &&
70042 { ac_try='test -z "$ac_cxx_werror_flag"
70043 || test ! -s conftest.err'
70044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70045 (eval $ac_try) 2>&5
70046 ac_status=$?
70047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70048 (exit $ac_status); }; } &&
70049 { ac_try='test -s conftest.$ac_objext'
70050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70051 (eval $ac_try) 2>&5
70052 ac_status=$?
70053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70054 (exit $ac_status); }; }; then
70055 glibcxx_cv_func___builtin_sin_use=yes
70056 else
70057 echo "$as_me: failed program was:" >&5
70058 sed 's/^/| /' conftest.$ac_ext >&5
70059
70060 glibcxx_cv_func___builtin_sin_use=no
70061 fi
70062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70063 ac_ext=c
70064 ac_cpp='$CPP $CPPFLAGS'
70065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70068
70069
70070 fi
70071
70072 fi
70073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
70074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
70075 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
70076 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
70077 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
70078 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
70079 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
70080 echo $ECHO_N "(cached) $ECHO_C" >&6
70081 else
70082
70083 if test x$gcc_no_link = xyes; then
70084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70086 { (exit 1); exit 1; }; }
70087 fi
70088 cat >conftest.$ac_ext <<_ACEOF
70089 /* confdefs.h. */
70090 _ACEOF
70091 cat confdefs.h >>conftest.$ac_ext
70092 cat >>conftest.$ac_ext <<_ACEOF
70093 /* end confdefs.h. */
70094 #include <math.h>
70095 int
70096 main ()
70097 {
70098 __builtin_sin(0);
70099 ;
70100 return 0;
70101 }
70102 _ACEOF
70103 rm -f conftest.$ac_objext conftest$ac_exeext
70104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70105 (eval $ac_link) 2>conftest.er1
70106 ac_status=$?
70107 grep -v '^ *+' conftest.er1 >conftest.err
70108 rm -f conftest.er1
70109 cat conftest.err >&5
70110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70111 (exit $ac_status); } &&
70112 { ac_try='test -z "$ac_c_werror_flag"
70113 || test ! -s conftest.err'
70114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70115 (eval $ac_try) 2>&5
70116 ac_status=$?
70117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70118 (exit $ac_status); }; } &&
70119 { ac_try='test -s conftest$ac_exeext'
70120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70121 (eval $ac_try) 2>&5
70122 ac_status=$?
70123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124 (exit $ac_status); }; }; then
70125 glibcxx_cv_func___builtin_sin_link=yes
70126 else
70127 echo "$as_me: failed program was:" >&5
70128 sed 's/^/| /' conftest.$ac_ext >&5
70129
70130 glibcxx_cv_func___builtin_sin_link=no
70131 fi
70132 rm -f conftest.err conftest.$ac_objext \
70133 conftest$ac_exeext conftest.$ac_ext
70134
70135 fi
70136
70137 fi
70138 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
70139 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
70140 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
70141 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70142
70143 cat >>confdefs.h <<_ACEOF
70144 #define ${ac_tr_func} 1
70145 _ACEOF
70146
70147 fi
70148 fi
70149
70150
70151 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
70152 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
70153 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
70154 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
70155 echo $ECHO_N "(cached) $ECHO_C" >&6
70156 else
70157
70158
70159
70160 ac_ext=cc
70161 ac_cpp='$CXXCPP $CPPFLAGS'
70162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70165
70166 cat >conftest.$ac_ext <<_ACEOF
70167 /* confdefs.h. */
70168 _ACEOF
70169 cat confdefs.h >>conftest.$ac_ext
70170 cat >>conftest.$ac_ext <<_ACEOF
70171 /* end confdefs.h. */
70172 #include <math.h>
70173 int
70174 main ()
70175 {
70176 __builtin_sinl(0);
70177 ;
70178 return 0;
70179 }
70180 _ACEOF
70181 rm -f conftest.$ac_objext
70182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70183 (eval $ac_compile) 2>conftest.er1
70184 ac_status=$?
70185 grep -v '^ *+' conftest.er1 >conftest.err
70186 rm -f conftest.er1
70187 cat conftest.err >&5
70188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70189 (exit $ac_status); } &&
70190 { ac_try='test -z "$ac_cxx_werror_flag"
70191 || test ! -s conftest.err'
70192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70193 (eval $ac_try) 2>&5
70194 ac_status=$?
70195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70196 (exit $ac_status); }; } &&
70197 { ac_try='test -s conftest.$ac_objext'
70198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70199 (eval $ac_try) 2>&5
70200 ac_status=$?
70201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70202 (exit $ac_status); }; }; then
70203 glibcxx_cv_func___builtin_sinl_use=yes
70204 else
70205 echo "$as_me: failed program was:" >&5
70206 sed 's/^/| /' conftest.$ac_ext >&5
70207
70208 glibcxx_cv_func___builtin_sinl_use=no
70209 fi
70210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70211 ac_ext=c
70212 ac_cpp='$CPP $CPPFLAGS'
70213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70216
70217
70218 fi
70219
70220 fi
70221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
70222 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
70223 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
70224 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
70225 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
70226 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
70227 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
70228 echo $ECHO_N "(cached) $ECHO_C" >&6
70229 else
70230
70231 if test x$gcc_no_link = xyes; then
70232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70234 { (exit 1); exit 1; }; }
70235 fi
70236 cat >conftest.$ac_ext <<_ACEOF
70237 /* confdefs.h. */
70238 _ACEOF
70239 cat confdefs.h >>conftest.$ac_ext
70240 cat >>conftest.$ac_ext <<_ACEOF
70241 /* end confdefs.h. */
70242 #include <math.h>
70243 int
70244 main ()
70245 {
70246 __builtin_sinl(0);
70247 ;
70248 return 0;
70249 }
70250 _ACEOF
70251 rm -f conftest.$ac_objext conftest$ac_exeext
70252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70253 (eval $ac_link) 2>conftest.er1
70254 ac_status=$?
70255 grep -v '^ *+' conftest.er1 >conftest.err
70256 rm -f conftest.er1
70257 cat conftest.err >&5
70258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70259 (exit $ac_status); } &&
70260 { ac_try='test -z "$ac_c_werror_flag"
70261 || test ! -s conftest.err'
70262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70263 (eval $ac_try) 2>&5
70264 ac_status=$?
70265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70266 (exit $ac_status); }; } &&
70267 { ac_try='test -s conftest$ac_exeext'
70268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70269 (eval $ac_try) 2>&5
70270 ac_status=$?
70271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70272 (exit $ac_status); }; }; then
70273 glibcxx_cv_func___builtin_sinl_link=yes
70274 else
70275 echo "$as_me: failed program was:" >&5
70276 sed 's/^/| /' conftest.$ac_ext >&5
70277
70278 glibcxx_cv_func___builtin_sinl_link=no
70279 fi
70280 rm -f conftest.err conftest.$ac_objext \
70281 conftest$ac_exeext conftest.$ac_ext
70282
70283 fi
70284
70285 fi
70286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
70287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
70288 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
70289 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70290
70291 cat >>confdefs.h <<_ACEOF
70292 #define ${ac_tr_func} 1
70293 _ACEOF
70294
70295 fi
70296 fi
70297
70298
70299
70300 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
70301 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
70302 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
70303 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
70304 echo $ECHO_N "(cached) $ECHO_C" >&6
70305 else
70306
70307
70308
70309 ac_ext=cc
70310 ac_cpp='$CXXCPP $CPPFLAGS'
70311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70314
70315 cat >conftest.$ac_ext <<_ACEOF
70316 /* confdefs.h. */
70317 _ACEOF
70318 cat confdefs.h >>conftest.$ac_ext
70319 cat >>conftest.$ac_ext <<_ACEOF
70320 /* end confdefs.h. */
70321 #include <math.h>
70322 int
70323 main ()
70324 {
70325 __builtin_cosf(0);
70326 ;
70327 return 0;
70328 }
70329 _ACEOF
70330 rm -f conftest.$ac_objext
70331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70332 (eval $ac_compile) 2>conftest.er1
70333 ac_status=$?
70334 grep -v '^ *+' conftest.er1 >conftest.err
70335 rm -f conftest.er1
70336 cat conftest.err >&5
70337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70338 (exit $ac_status); } &&
70339 { ac_try='test -z "$ac_cxx_werror_flag"
70340 || test ! -s conftest.err'
70341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70342 (eval $ac_try) 2>&5
70343 ac_status=$?
70344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70345 (exit $ac_status); }; } &&
70346 { ac_try='test -s conftest.$ac_objext'
70347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70348 (eval $ac_try) 2>&5
70349 ac_status=$?
70350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70351 (exit $ac_status); }; }; then
70352 glibcxx_cv_func___builtin_cosf_use=yes
70353 else
70354 echo "$as_me: failed program was:" >&5
70355 sed 's/^/| /' conftest.$ac_ext >&5
70356
70357 glibcxx_cv_func___builtin_cosf_use=no
70358 fi
70359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70360 ac_ext=c
70361 ac_cpp='$CPP $CPPFLAGS'
70362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70365
70366
70367 fi
70368
70369 fi
70370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
70371 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
70372 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
70373 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
70374 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
70375 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
70376 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
70377 echo $ECHO_N "(cached) $ECHO_C" >&6
70378 else
70379
70380 if test x$gcc_no_link = xyes; then
70381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70383 { (exit 1); exit 1; }; }
70384 fi
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_cosf(0);
70396 ;
70397 return 0;
70398 }
70399 _ACEOF
70400 rm -f conftest.$ac_objext conftest$ac_exeext
70401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70402 (eval $ac_link) 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_c_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_exeext'
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_cosf_link=yes
70423 else
70424 echo "$as_me: failed program was:" >&5
70425 sed 's/^/| /' conftest.$ac_ext >&5
70426
70427 glibcxx_cv_func___builtin_cosf_link=no
70428 fi
70429 rm -f conftest.err conftest.$ac_objext \
70430 conftest$ac_exeext conftest.$ac_ext
70431
70432 fi
70433
70434 fi
70435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
70436 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
70437 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
70438 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70439
70440 cat >>confdefs.h <<_ACEOF
70441 #define ${ac_tr_func} 1
70442 _ACEOF
70443
70444 fi
70445 fi
70446
70447
70448 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
70449 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
70450 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
70451 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
70452 echo $ECHO_N "(cached) $ECHO_C" >&6
70453 else
70454
70455
70456
70457 ac_ext=cc
70458 ac_cpp='$CXXCPP $CPPFLAGS'
70459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70462
70463 cat >conftest.$ac_ext <<_ACEOF
70464 /* confdefs.h. */
70465 _ACEOF
70466 cat confdefs.h >>conftest.$ac_ext
70467 cat >>conftest.$ac_ext <<_ACEOF
70468 /* end confdefs.h. */
70469 #include <math.h>
70470 int
70471 main ()
70472 {
70473 __builtin_cos(0);
70474 ;
70475 return 0;
70476 }
70477 _ACEOF
70478 rm -f conftest.$ac_objext
70479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70480 (eval $ac_compile) 2>conftest.er1
70481 ac_status=$?
70482 grep -v '^ *+' conftest.er1 >conftest.err
70483 rm -f conftest.er1
70484 cat conftest.err >&5
70485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70486 (exit $ac_status); } &&
70487 { ac_try='test -z "$ac_cxx_werror_flag"
70488 || test ! -s conftest.err'
70489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70490 (eval $ac_try) 2>&5
70491 ac_status=$?
70492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70493 (exit $ac_status); }; } &&
70494 { ac_try='test -s conftest.$ac_objext'
70495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70496 (eval $ac_try) 2>&5
70497 ac_status=$?
70498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70499 (exit $ac_status); }; }; then
70500 glibcxx_cv_func___builtin_cos_use=yes
70501 else
70502 echo "$as_me: failed program was:" >&5
70503 sed 's/^/| /' conftest.$ac_ext >&5
70504
70505 glibcxx_cv_func___builtin_cos_use=no
70506 fi
70507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70508 ac_ext=c
70509 ac_cpp='$CPP $CPPFLAGS'
70510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70513
70514
70515 fi
70516
70517 fi
70518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
70519 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
70520 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
70521 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
70522 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
70523 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
70524 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
70525 echo $ECHO_N "(cached) $ECHO_C" >&6
70526 else
70527
70528 if test x$gcc_no_link = xyes; then
70529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70531 { (exit 1); exit 1; }; }
70532 fi
70533 cat >conftest.$ac_ext <<_ACEOF
70534 /* confdefs.h. */
70535 _ACEOF
70536 cat confdefs.h >>conftest.$ac_ext
70537 cat >>conftest.$ac_ext <<_ACEOF
70538 /* end confdefs.h. */
70539 #include <math.h>
70540 int
70541 main ()
70542 {
70543 __builtin_cos(0);
70544 ;
70545 return 0;
70546 }
70547 _ACEOF
70548 rm -f conftest.$ac_objext conftest$ac_exeext
70549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70550 (eval $ac_link) 2>conftest.er1
70551 ac_status=$?
70552 grep -v '^ *+' conftest.er1 >conftest.err
70553 rm -f conftest.er1
70554 cat conftest.err >&5
70555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70556 (exit $ac_status); } &&
70557 { ac_try='test -z "$ac_c_werror_flag"
70558 || test ! -s conftest.err'
70559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70560 (eval $ac_try) 2>&5
70561 ac_status=$?
70562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70563 (exit $ac_status); }; } &&
70564 { ac_try='test -s conftest$ac_exeext'
70565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70566 (eval $ac_try) 2>&5
70567 ac_status=$?
70568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70569 (exit $ac_status); }; }; then
70570 glibcxx_cv_func___builtin_cos_link=yes
70571 else
70572 echo "$as_me: failed program was:" >&5
70573 sed 's/^/| /' conftest.$ac_ext >&5
70574
70575 glibcxx_cv_func___builtin_cos_link=no
70576 fi
70577 rm -f conftest.err conftest.$ac_objext \
70578 conftest$ac_exeext conftest.$ac_ext
70579
70580 fi
70581
70582 fi
70583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
70584 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
70585 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
70586 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70587
70588 cat >>confdefs.h <<_ACEOF
70589 #define ${ac_tr_func} 1
70590 _ACEOF
70591
70592 fi
70593 fi
70594
70595
70596 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
70597 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
70598 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
70599 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
70600 echo $ECHO_N "(cached) $ECHO_C" >&6
70601 else
70602
70603
70604
70605 ac_ext=cc
70606 ac_cpp='$CXXCPP $CPPFLAGS'
70607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70610
70611 cat >conftest.$ac_ext <<_ACEOF
70612 /* confdefs.h. */
70613 _ACEOF
70614 cat confdefs.h >>conftest.$ac_ext
70615 cat >>conftest.$ac_ext <<_ACEOF
70616 /* end confdefs.h. */
70617 #include <math.h>
70618 int
70619 main ()
70620 {
70621 __builtin_cosl(0);
70622 ;
70623 return 0;
70624 }
70625 _ACEOF
70626 rm -f conftest.$ac_objext
70627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70628 (eval $ac_compile) 2>conftest.er1
70629 ac_status=$?
70630 grep -v '^ *+' conftest.er1 >conftest.err
70631 rm -f conftest.er1
70632 cat conftest.err >&5
70633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70634 (exit $ac_status); } &&
70635 { ac_try='test -z "$ac_cxx_werror_flag"
70636 || test ! -s conftest.err'
70637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70638 (eval $ac_try) 2>&5
70639 ac_status=$?
70640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70641 (exit $ac_status); }; } &&
70642 { ac_try='test -s conftest.$ac_objext'
70643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70644 (eval $ac_try) 2>&5
70645 ac_status=$?
70646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70647 (exit $ac_status); }; }; then
70648 glibcxx_cv_func___builtin_cosl_use=yes
70649 else
70650 echo "$as_me: failed program was:" >&5
70651 sed 's/^/| /' conftest.$ac_ext >&5
70652
70653 glibcxx_cv_func___builtin_cosl_use=no
70654 fi
70655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70656 ac_ext=c
70657 ac_cpp='$CPP $CPPFLAGS'
70658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70661
70662
70663 fi
70664
70665 fi
70666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
70667 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
70668 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
70669 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
70670 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
70671 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
70672 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
70673 echo $ECHO_N "(cached) $ECHO_C" >&6
70674 else
70675
70676 if test x$gcc_no_link = xyes; then
70677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70679 { (exit 1); exit 1; }; }
70680 fi
70681 cat >conftest.$ac_ext <<_ACEOF
70682 /* confdefs.h. */
70683 _ACEOF
70684 cat confdefs.h >>conftest.$ac_ext
70685 cat >>conftest.$ac_ext <<_ACEOF
70686 /* end confdefs.h. */
70687 #include <math.h>
70688 int
70689 main ()
70690 {
70691 __builtin_cosl(0);
70692 ;
70693 return 0;
70694 }
70695 _ACEOF
70696 rm -f conftest.$ac_objext conftest$ac_exeext
70697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70698 (eval $ac_link) 2>conftest.er1
70699 ac_status=$?
70700 grep -v '^ *+' conftest.er1 >conftest.err
70701 rm -f conftest.er1
70702 cat conftest.err >&5
70703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70704 (exit $ac_status); } &&
70705 { ac_try='test -z "$ac_c_werror_flag"
70706 || test ! -s conftest.err'
70707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70708 (eval $ac_try) 2>&5
70709 ac_status=$?
70710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70711 (exit $ac_status); }; } &&
70712 { ac_try='test -s conftest$ac_exeext'
70713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70714 (eval $ac_try) 2>&5
70715 ac_status=$?
70716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70717 (exit $ac_status); }; }; then
70718 glibcxx_cv_func___builtin_cosl_link=yes
70719 else
70720 echo "$as_me: failed program was:" >&5
70721 sed 's/^/| /' conftest.$ac_ext >&5
70722
70723 glibcxx_cv_func___builtin_cosl_link=no
70724 fi
70725 rm -f conftest.err conftest.$ac_objext \
70726 conftest$ac_exeext conftest.$ac_ext
70727
70728 fi
70729
70730 fi
70731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
70732 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
70733 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
70734 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70735
70736 cat >>confdefs.h <<_ACEOF
70737 #define ${ac_tr_func} 1
70738 _ACEOF
70739
70740 fi
70741 fi
70742
70743
70744
70745
70746 echo "$as_me:$LINENO: checking for main in -lm" >&5
70747 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
70748 if test "${ac_cv_lib_m_main+set}" = set; then
70749 echo $ECHO_N "(cached) $ECHO_C" >&6
70750 else
70751 ac_check_lib_save_LIBS=$LIBS
70752 LIBS="-lm $LIBS"
70753 if test x$gcc_no_link = xyes; then
70754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70756 { (exit 1); exit 1; }; }
70757 fi
70758 cat >conftest.$ac_ext <<_ACEOF
70759 /* confdefs.h. */
70760 _ACEOF
70761 cat confdefs.h >>conftest.$ac_ext
70762 cat >>conftest.$ac_ext <<_ACEOF
70763 /* end confdefs.h. */
70764
70765
70766 int
70767 main ()
70768 {
70769 main ();
70770 ;
70771 return 0;
70772 }
70773 _ACEOF
70774 rm -f conftest.$ac_objext conftest$ac_exeext
70775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70776 (eval $ac_link) 2>conftest.er1
70777 ac_status=$?
70778 grep -v '^ *+' conftest.er1 >conftest.err
70779 rm -f conftest.er1
70780 cat conftest.err >&5
70781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70782 (exit $ac_status); } &&
70783 { ac_try='test -z "$ac_c_werror_flag"
70784 || test ! -s conftest.err'
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); }; } &&
70790 { ac_try='test -s conftest$ac_exeext'
70791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70792 (eval $ac_try) 2>&5
70793 ac_status=$?
70794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70795 (exit $ac_status); }; }; then
70796 ac_cv_lib_m_main=yes
70797 else
70798 echo "$as_me: failed program was:" >&5
70799 sed 's/^/| /' conftest.$ac_ext >&5
70800
70801 ac_cv_lib_m_main=no
70802 fi
70803 rm -f conftest.err conftest.$ac_objext \
70804 conftest$ac_exeext conftest.$ac_ext
70805 LIBS=$ac_check_lib_save_LIBS
70806 fi
70807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
70808 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
70809 if test $ac_cv_lib_m_main = yes; then
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE_LIBM 1
70812 _ACEOF
70813
70814 LIBS="-lm $LIBS"
70815
70816 fi
70817
70818
70819 for ac_func in copysignf
70820 do
70821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70822 echo "$as_me:$LINENO: checking for $ac_func" >&5
70823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70824 if eval "test \"\${$as_ac_var+set}\" = set"; then
70825 echo $ECHO_N "(cached) $ECHO_C" >&6
70826 else
70827 if test x$gcc_no_link = xyes; then
70828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70830 { (exit 1); exit 1; }; }
70831 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70840 #define $ac_func innocuous_$ac_func
70841
70842 /* System header to define __stub macros and hopefully few prototypes,
70843 which can conflict with char $ac_func (); below.
70844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70845 <limits.h> exists even on freestanding compilers. */
70846
70847 #ifdef __STDC__
70848 # include <limits.h>
70849 #else
70850 # include <assert.h>
70851 #endif
70852
70853 #undef $ac_func
70854
70855 /* Override any gcc2 internal prototype to avoid an error. */
70856 #ifdef __cplusplus
70857 extern "C"
70858 {
70859 #endif
70860 /* We use char because int might match the return type of a gcc2
70861 builtin and then its argument prototype would still apply. */
70862 char $ac_func ();
70863 /* The GNU C library defines this for functions which it implements
70864 to always fail with ENOSYS. Some functions are actually named
70865 something starting with __ and the normal name is an alias. */
70866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70867 choke me
70868 #else
70869 char (*f) () = $ac_func;
70870 #endif
70871 #ifdef __cplusplus
70872 }
70873 #endif
70874
70875 int
70876 main ()
70877 {
70878 return f != $ac_func;
70879 ;
70880 return 0;
70881 }
70882 _ACEOF
70883 rm -f conftest.$ac_objext conftest$ac_exeext
70884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70885 (eval $ac_link) 2>conftest.er1
70886 ac_status=$?
70887 grep -v '^ *+' conftest.er1 >conftest.err
70888 rm -f conftest.er1
70889 cat conftest.err >&5
70890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891 (exit $ac_status); } &&
70892 { ac_try='test -z "$ac_c_werror_flag"
70893 || test ! -s conftest.err'
70894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70895 (eval $ac_try) 2>&5
70896 ac_status=$?
70897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70898 (exit $ac_status); }; } &&
70899 { ac_try='test -s conftest$ac_exeext'
70900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70901 (eval $ac_try) 2>&5
70902 ac_status=$?
70903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70904 (exit $ac_status); }; }; then
70905 eval "$as_ac_var=yes"
70906 else
70907 echo "$as_me: failed program was:" >&5
70908 sed 's/^/| /' conftest.$ac_ext >&5
70909
70910 eval "$as_ac_var=no"
70911 fi
70912 rm -f conftest.err conftest.$ac_objext \
70913 conftest$ac_exeext conftest.$ac_ext
70914 fi
70915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70917 if test `eval echo '${'$as_ac_var'}'` = yes; then
70918 cat >>confdefs.h <<_ACEOF
70919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70920 _ACEOF
70921
70922 else
70923 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
70924 fi
70925 done
70926
70927
70928
70929 for ac_func in __signbit
70930 do
70931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70932 echo "$as_me:$LINENO: checking for $ac_func" >&5
70933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70934 if eval "test \"\${$as_ac_var+set}\" = set"; then
70935 echo $ECHO_N "(cached) $ECHO_C" >&6
70936 else
70937 if test x$gcc_no_link = xyes; then
70938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70940 { (exit 1); exit 1; }; }
70941 fi
70942 cat >conftest.$ac_ext <<_ACEOF
70943 /* confdefs.h. */
70944 _ACEOF
70945 cat confdefs.h >>conftest.$ac_ext
70946 cat >>conftest.$ac_ext <<_ACEOF
70947 /* end confdefs.h. */
70948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70950 #define $ac_func innocuous_$ac_func
70951
70952 /* System header to define __stub macros and hopefully few prototypes,
70953 which can conflict with char $ac_func (); below.
70954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70955 <limits.h> exists even on freestanding compilers. */
70956
70957 #ifdef __STDC__
70958 # include <limits.h>
70959 #else
70960 # include <assert.h>
70961 #endif
70962
70963 #undef $ac_func
70964
70965 /* Override any gcc2 internal prototype to avoid an error. */
70966 #ifdef __cplusplus
70967 extern "C"
70968 {
70969 #endif
70970 /* We use char because int might match the return type of a gcc2
70971 builtin and then its argument prototype would still apply. */
70972 char $ac_func ();
70973 /* The GNU C library defines this for functions which it implements
70974 to always fail with ENOSYS. Some functions are actually named
70975 something starting with __ and the normal name is an alias. */
70976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70977 choke me
70978 #else
70979 char (*f) () = $ac_func;
70980 #endif
70981 #ifdef __cplusplus
70982 }
70983 #endif
70984
70985 int
70986 main ()
70987 {
70988 return f != $ac_func;
70989 ;
70990 return 0;
70991 }
70992 _ACEOF
70993 rm -f conftest.$ac_objext conftest$ac_exeext
70994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70995 (eval $ac_link) 2>conftest.er1
70996 ac_status=$?
70997 grep -v '^ *+' conftest.er1 >conftest.err
70998 rm -f conftest.er1
70999 cat conftest.err >&5
71000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71001 (exit $ac_status); } &&
71002 { ac_try='test -z "$ac_c_werror_flag"
71003 || test ! -s conftest.err'
71004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71005 (eval $ac_try) 2>&5
71006 ac_status=$?
71007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71008 (exit $ac_status); }; } &&
71009 { ac_try='test -s conftest$ac_exeext'
71010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011 (eval $ac_try) 2>&5
71012 ac_status=$?
71013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014 (exit $ac_status); }; }; then
71015 eval "$as_ac_var=yes"
71016 else
71017 echo "$as_me: failed program was:" >&5
71018 sed 's/^/| /' conftest.$ac_ext >&5
71019
71020 eval "$as_ac_var=no"
71021 fi
71022 rm -f conftest.err conftest.$ac_objext \
71023 conftest$ac_exeext conftest.$ac_ext
71024 fi
71025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71027 if test `eval echo '${'$as_ac_var'}'` = yes; then
71028 cat >>confdefs.h <<_ACEOF
71029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71030 _ACEOF
71031
71032 else
71033 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
71034 fi
71035 done
71036
71037
71038
71039 for ac_func in __signbitf
71040 do
71041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71042 echo "$as_me:$LINENO: checking for $ac_func" >&5
71043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71044 if eval "test \"\${$as_ac_var+set}\" = set"; then
71045 echo $ECHO_N "(cached) $ECHO_C" >&6
71046 else
71047 if test x$gcc_no_link = xyes; then
71048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71050 { (exit 1); exit 1; }; }
71051 fi
71052 cat >conftest.$ac_ext <<_ACEOF
71053 /* confdefs.h. */
71054 _ACEOF
71055 cat confdefs.h >>conftest.$ac_ext
71056 cat >>conftest.$ac_ext <<_ACEOF
71057 /* end confdefs.h. */
71058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71060 #define $ac_func innocuous_$ac_func
71061
71062 /* System header to define __stub macros and hopefully few prototypes,
71063 which can conflict with char $ac_func (); below.
71064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71065 <limits.h> exists even on freestanding compilers. */
71066
71067 #ifdef __STDC__
71068 # include <limits.h>
71069 #else
71070 # include <assert.h>
71071 #endif
71072
71073 #undef $ac_func
71074
71075 /* Override any gcc2 internal prototype to avoid an error. */
71076 #ifdef __cplusplus
71077 extern "C"
71078 {
71079 #endif
71080 /* We use char because int might match the return type of a gcc2
71081 builtin and then its argument prototype would still apply. */
71082 char $ac_func ();
71083 /* The GNU C library defines this for functions which it implements
71084 to always fail with ENOSYS. Some functions are actually named
71085 something starting with __ and the normal name is an alias. */
71086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71087 choke me
71088 #else
71089 char (*f) () = $ac_func;
71090 #endif
71091 #ifdef __cplusplus
71092 }
71093 #endif
71094
71095 int
71096 main ()
71097 {
71098 return f != $ac_func;
71099 ;
71100 return 0;
71101 }
71102 _ACEOF
71103 rm -f conftest.$ac_objext conftest$ac_exeext
71104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71105 (eval $ac_link) 2>conftest.er1
71106 ac_status=$?
71107 grep -v '^ *+' conftest.er1 >conftest.err
71108 rm -f conftest.er1
71109 cat conftest.err >&5
71110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71111 (exit $ac_status); } &&
71112 { ac_try='test -z "$ac_c_werror_flag"
71113 || test ! -s conftest.err'
71114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71115 (eval $ac_try) 2>&5
71116 ac_status=$?
71117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71118 (exit $ac_status); }; } &&
71119 { ac_try='test -s conftest$ac_exeext'
71120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71121 (eval $ac_try) 2>&5
71122 ac_status=$?
71123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71124 (exit $ac_status); }; }; then
71125 eval "$as_ac_var=yes"
71126 else
71127 echo "$as_me: failed program was:" >&5
71128 sed 's/^/| /' conftest.$ac_ext >&5
71129
71130 eval "$as_ac_var=no"
71131 fi
71132 rm -f conftest.err conftest.$ac_objext \
71133 conftest$ac_exeext conftest.$ac_ext
71134 fi
71135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71137 if test `eval echo '${'$as_ac_var'}'` = yes; then
71138 cat >>confdefs.h <<_ACEOF
71139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71140 _ACEOF
71141
71142 else
71143 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
71144 fi
71145 done
71146
71147
71148 if test x$ac_cv_func_copysignl = x"yes"; then
71149
71150 for ac_func in __signbitl
71151 do
71152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71153 echo "$as_me:$LINENO: checking for $ac_func" >&5
71154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71155 if eval "test \"\${$as_ac_var+set}\" = set"; then
71156 echo $ECHO_N "(cached) $ECHO_C" >&6
71157 else
71158 if test x$gcc_no_link = xyes; then
71159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71161 { (exit 1); exit 1; }; }
71162 fi
71163 cat >conftest.$ac_ext <<_ACEOF
71164 /* confdefs.h. */
71165 _ACEOF
71166 cat confdefs.h >>conftest.$ac_ext
71167 cat >>conftest.$ac_ext <<_ACEOF
71168 /* end confdefs.h. */
71169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71171 #define $ac_func innocuous_$ac_func
71172
71173 /* System header to define __stub macros and hopefully few prototypes,
71174 which can conflict with char $ac_func (); below.
71175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71176 <limits.h> exists even on freestanding compilers. */
71177
71178 #ifdef __STDC__
71179 # include <limits.h>
71180 #else
71181 # include <assert.h>
71182 #endif
71183
71184 #undef $ac_func
71185
71186 /* Override any gcc2 internal prototype to avoid an error. */
71187 #ifdef __cplusplus
71188 extern "C"
71189 {
71190 #endif
71191 /* We use char because int might match the return type of a gcc2
71192 builtin and then its argument prototype would still apply. */
71193 char $ac_func ();
71194 /* The GNU C library defines this for functions which it implements
71195 to always fail with ENOSYS. Some functions are actually named
71196 something starting with __ and the normal name is an alias. */
71197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71198 choke me
71199 #else
71200 char (*f) () = $ac_func;
71201 #endif
71202 #ifdef __cplusplus
71203 }
71204 #endif
71205
71206 int
71207 main ()
71208 {
71209 return f != $ac_func;
71210 ;
71211 return 0;
71212 }
71213 _ACEOF
71214 rm -f conftest.$ac_objext conftest$ac_exeext
71215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71216 (eval $ac_link) 2>conftest.er1
71217 ac_status=$?
71218 grep -v '^ *+' conftest.er1 >conftest.err
71219 rm -f conftest.er1
71220 cat conftest.err >&5
71221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71222 (exit $ac_status); } &&
71223 { ac_try='test -z "$ac_c_werror_flag"
71224 || test ! -s conftest.err'
71225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71226 (eval $ac_try) 2>&5
71227 ac_status=$?
71228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71229 (exit $ac_status); }; } &&
71230 { ac_try='test -s conftest$ac_exeext'
71231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71232 (eval $ac_try) 2>&5
71233 ac_status=$?
71234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71235 (exit $ac_status); }; }; then
71236 eval "$as_ac_var=yes"
71237 else
71238 echo "$as_me: failed program was:" >&5
71239 sed 's/^/| /' conftest.$ac_ext >&5
71240
71241 eval "$as_ac_var=no"
71242 fi
71243 rm -f conftest.err conftest.$ac_objext \
71244 conftest$ac_exeext conftest.$ac_ext
71245 fi
71246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71248 if test `eval echo '${'$as_ac_var'}'` = yes; then
71249 cat >>confdefs.h <<_ACEOF
71250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71251 _ACEOF
71252
71253 else
71254 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
71255 fi
71256 done
71257
71258 fi
71259
71260 # Used in libmath/Makefile.am.
71261 if test -n "$LIBMATHOBJS"; then
71262 need_libmath=yes
71263 fi
71264
71265
71266
71267
71268 enable_iconv=no
71269 # Only continue checking if the ISO C99 headers exist and support is on.
71270 if test x"$enable_wchar_t" = xyes; then
71271
71272 # Use iconv for wchar_t to char conversions. As such, check for
71273 # X/Open Portability Guide, version 2 features (XPG2).
71274 if test "${ac_cv_header_iconv_h+set}" = set; then
71275 echo "$as_me:$LINENO: checking for iconv.h" >&5
71276 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71277 if test "${ac_cv_header_iconv_h+set}" = set; then
71278 echo $ECHO_N "(cached) $ECHO_C" >&6
71279 fi
71280 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71281 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71282 else
71283 # Is the header compilable?
71284 echo "$as_me:$LINENO: checking iconv.h usability" >&5
71285 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
71286 cat >conftest.$ac_ext <<_ACEOF
71287 /* confdefs.h. */
71288 _ACEOF
71289 cat confdefs.h >>conftest.$ac_ext
71290 cat >>conftest.$ac_ext <<_ACEOF
71291 /* end confdefs.h. */
71292 $ac_includes_default
71293 #include <iconv.h>
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_c_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 ac_header_compiler=yes
71318 else
71319 echo "$as_me: failed program was:" >&5
71320 sed 's/^/| /' conftest.$ac_ext >&5
71321
71322 ac_header_compiler=no
71323 fi
71324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71325 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71326 echo "${ECHO_T}$ac_header_compiler" >&6
71327
71328 # Is the header present?
71329 echo "$as_me:$LINENO: checking iconv.h presence" >&5
71330 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
71331 cat >conftest.$ac_ext <<_ACEOF
71332 /* confdefs.h. */
71333 _ACEOF
71334 cat confdefs.h >>conftest.$ac_ext
71335 cat >>conftest.$ac_ext <<_ACEOF
71336 /* end confdefs.h. */
71337 #include <iconv.h>
71338 _ACEOF
71339 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71340 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71341 ac_status=$?
71342 grep -v '^ *+' conftest.er1 >conftest.err
71343 rm -f conftest.er1
71344 cat conftest.err >&5
71345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71346 (exit $ac_status); } >/dev/null; then
71347 if test -s conftest.err; then
71348 ac_cpp_err=$ac_c_preproc_warn_flag
71349 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71350 else
71351 ac_cpp_err=
71352 fi
71353 else
71354 ac_cpp_err=yes
71355 fi
71356 if test -z "$ac_cpp_err"; then
71357 ac_header_preproc=yes
71358 else
71359 echo "$as_me: failed program was:" >&5
71360 sed 's/^/| /' conftest.$ac_ext >&5
71361
71362 ac_header_preproc=no
71363 fi
71364 rm -f conftest.err conftest.$ac_ext
71365 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71366 echo "${ECHO_T}$ac_header_preproc" >&6
71367
71368 # So? What about this header?
71369 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71370 yes:no: )
71371 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
71372 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71373 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
71374 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
71375 ac_header_preproc=yes
71376 ;;
71377 no:yes:* )
71378 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
71379 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
71380 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
71381 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
71382 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
71383 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
71384 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
71385 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
71386 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
71387 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
71388 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
71389 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
71390 (
71391 cat <<\_ASBOX
71392 ## ----------------------------------------- ##
71393 ## Report this to the package-unused lists. ##
71394 ## ----------------------------------------- ##
71395 _ASBOX
71396 ) |
71397 sed "s/^/$as_me: WARNING: /" >&2
71398 ;;
71399 esac
71400 echo "$as_me:$LINENO: checking for iconv.h" >&5
71401 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
71402 if test "${ac_cv_header_iconv_h+set}" = set; then
71403 echo $ECHO_N "(cached) $ECHO_C" >&6
71404 else
71405 ac_cv_header_iconv_h=$ac_header_preproc
71406 fi
71407 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
71408 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
71409
71410 fi
71411 if test $ac_cv_header_iconv_h = yes; then
71412 ac_has_iconv_h=yes
71413 else
71414 ac_has_iconv_h=no
71415 fi
71416
71417
71418 if test "${ac_cv_header_langinfo_h+set}" = set; then
71419 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71420 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71421 if test "${ac_cv_header_langinfo_h+set}" = set; then
71422 echo $ECHO_N "(cached) $ECHO_C" >&6
71423 fi
71424 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71425 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71426 else
71427 # Is the header compilable?
71428 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
71429 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
71430 cat >conftest.$ac_ext <<_ACEOF
71431 /* confdefs.h. */
71432 _ACEOF
71433 cat confdefs.h >>conftest.$ac_ext
71434 cat >>conftest.$ac_ext <<_ACEOF
71435 /* end confdefs.h. */
71436 $ac_includes_default
71437 #include <langinfo.h>
71438 _ACEOF
71439 rm -f conftest.$ac_objext
71440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71441 (eval $ac_compile) 2>conftest.er1
71442 ac_status=$?
71443 grep -v '^ *+' conftest.er1 >conftest.err
71444 rm -f conftest.er1
71445 cat conftest.err >&5
71446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71447 (exit $ac_status); } &&
71448 { ac_try='test -z "$ac_c_werror_flag"
71449 || test ! -s conftest.err'
71450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71451 (eval $ac_try) 2>&5
71452 ac_status=$?
71453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71454 (exit $ac_status); }; } &&
71455 { ac_try='test -s conftest.$ac_objext'
71456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71457 (eval $ac_try) 2>&5
71458 ac_status=$?
71459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71460 (exit $ac_status); }; }; then
71461 ac_header_compiler=yes
71462 else
71463 echo "$as_me: failed program was:" >&5
71464 sed 's/^/| /' conftest.$ac_ext >&5
71465
71466 ac_header_compiler=no
71467 fi
71468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71469 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
71470 echo "${ECHO_T}$ac_header_compiler" >&6
71471
71472 # Is the header present?
71473 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
71474 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
71475 cat >conftest.$ac_ext <<_ACEOF
71476 /* confdefs.h. */
71477 _ACEOF
71478 cat confdefs.h >>conftest.$ac_ext
71479 cat >>conftest.$ac_ext <<_ACEOF
71480 /* end confdefs.h. */
71481 #include <langinfo.h>
71482 _ACEOF
71483 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
71484 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
71485 ac_status=$?
71486 grep -v '^ *+' conftest.er1 >conftest.err
71487 rm -f conftest.er1
71488 cat conftest.err >&5
71489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71490 (exit $ac_status); } >/dev/null; then
71491 if test -s conftest.err; then
71492 ac_cpp_err=$ac_c_preproc_warn_flag
71493 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
71494 else
71495 ac_cpp_err=
71496 fi
71497 else
71498 ac_cpp_err=yes
71499 fi
71500 if test -z "$ac_cpp_err"; then
71501 ac_header_preproc=yes
71502 else
71503 echo "$as_me: failed program was:" >&5
71504 sed 's/^/| /' conftest.$ac_ext >&5
71505
71506 ac_header_preproc=no
71507 fi
71508 rm -f conftest.err conftest.$ac_ext
71509 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
71510 echo "${ECHO_T}$ac_header_preproc" >&6
71511
71512 # So? What about this header?
71513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
71514 yes:no: )
71515 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
71516 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
71517 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
71518 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
71519 ac_header_preproc=yes
71520 ;;
71521 no:yes:* )
71522 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
71523 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
71524 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
71525 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
71526 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
71527 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
71528 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
71529 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
71530 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
71531 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
71532 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
71533 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
71534 (
71535 cat <<\_ASBOX
71536 ## ----------------------------------------- ##
71537 ## Report this to the package-unused lists. ##
71538 ## ----------------------------------------- ##
71539 _ASBOX
71540 ) |
71541 sed "s/^/$as_me: WARNING: /" >&2
71542 ;;
71543 esac
71544 echo "$as_me:$LINENO: checking for langinfo.h" >&5
71545 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
71546 if test "${ac_cv_header_langinfo_h+set}" = set; then
71547 echo $ECHO_N "(cached) $ECHO_C" >&6
71548 else
71549 ac_cv_header_langinfo_h=$ac_header_preproc
71550 fi
71551 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
71552 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
71553
71554 fi
71555 if test $ac_cv_header_langinfo_h = yes; then
71556 ac_has_langinfo_h=yes
71557 else
71558 ac_has_langinfo_h=no
71559 fi
71560
71561
71562
71563 # Check for existence of libiconv.a providing XPG2 wchar_t support.
71564 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
71565 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
71566 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
71567 echo $ECHO_N "(cached) $ECHO_C" >&6
71568 else
71569 ac_check_lib_save_LIBS=$LIBS
71570 LIBS="-liconv $LIBS"
71571 if test x$gcc_no_link = xyes; then
71572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71574 { (exit 1); exit 1; }; }
71575 fi
71576 cat >conftest.$ac_ext <<_ACEOF
71577 /* confdefs.h. */
71578 _ACEOF
71579 cat confdefs.h >>conftest.$ac_ext
71580 cat >>conftest.$ac_ext <<_ACEOF
71581 /* end confdefs.h. */
71582
71583 /* Override any gcc2 internal prototype to avoid an error. */
71584 #ifdef __cplusplus
71585 extern "C"
71586 #endif
71587 /* We use char because int might match the return type of a gcc2
71588 builtin and then its argument prototype would still apply. */
71589 char iconv ();
71590 int
71591 main ()
71592 {
71593 iconv ();
71594 ;
71595 return 0;
71596 }
71597 _ACEOF
71598 rm -f conftest.$ac_objext conftest$ac_exeext
71599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71600 (eval $ac_link) 2>conftest.er1
71601 ac_status=$?
71602 grep -v '^ *+' conftest.er1 >conftest.err
71603 rm -f conftest.er1
71604 cat conftest.err >&5
71605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71606 (exit $ac_status); } &&
71607 { ac_try='test -z "$ac_c_werror_flag"
71608 || test ! -s conftest.err'
71609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71610 (eval $ac_try) 2>&5
71611 ac_status=$?
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); }; } &&
71614 { ac_try='test -s conftest$ac_exeext'
71615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71616 (eval $ac_try) 2>&5
71617 ac_status=$?
71618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71619 (exit $ac_status); }; }; then
71620 ac_cv_lib_iconv_iconv=yes
71621 else
71622 echo "$as_me: failed program was:" >&5
71623 sed 's/^/| /' conftest.$ac_ext >&5
71624
71625 ac_cv_lib_iconv_iconv=no
71626 fi
71627 rm -f conftest.err conftest.$ac_objext \
71628 conftest$ac_exeext conftest.$ac_ext
71629 LIBS=$ac_check_lib_save_LIBS
71630 fi
71631 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
71632 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
71633 if test $ac_cv_lib_iconv_iconv = yes; then
71634 LIBICONV="-liconv"
71635 fi
71636
71637 ac_save_LIBS="$LIBS"
71638 LIBS="$LIBS $LIBICONV"
71639
71640
71641
71642
71643
71644
71645 for ac_func in iconv_open iconv_close iconv nl_langinfo
71646 do
71647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71648 echo "$as_me:$LINENO: checking for $ac_func" >&5
71649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71650 if eval "test \"\${$as_ac_var+set}\" = set"; then
71651 echo $ECHO_N "(cached) $ECHO_C" >&6
71652 else
71653 if test x$gcc_no_link = xyes; then
71654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71656 { (exit 1); exit 1; }; }
71657 fi
71658 cat >conftest.$ac_ext <<_ACEOF
71659 /* confdefs.h. */
71660 _ACEOF
71661 cat confdefs.h >>conftest.$ac_ext
71662 cat >>conftest.$ac_ext <<_ACEOF
71663 /* end confdefs.h. */
71664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71666 #define $ac_func innocuous_$ac_func
71667
71668 /* System header to define __stub macros and hopefully few prototypes,
71669 which can conflict with char $ac_func (); below.
71670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71671 <limits.h> exists even on freestanding compilers. */
71672
71673 #ifdef __STDC__
71674 # include <limits.h>
71675 #else
71676 # include <assert.h>
71677 #endif
71678
71679 #undef $ac_func
71680
71681 /* Override any gcc2 internal prototype to avoid an error. */
71682 #ifdef __cplusplus
71683 extern "C"
71684 {
71685 #endif
71686 /* We use char because int might match the return type of a gcc2
71687 builtin and then its argument prototype would still apply. */
71688 char $ac_func ();
71689 /* The GNU C library defines this for functions which it implements
71690 to always fail with ENOSYS. Some functions are actually named
71691 something starting with __ and the normal name is an alias. */
71692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71693 choke me
71694 #else
71695 char (*f) () = $ac_func;
71696 #endif
71697 #ifdef __cplusplus
71698 }
71699 #endif
71700
71701 int
71702 main ()
71703 {
71704 return f != $ac_func;
71705 ;
71706 return 0;
71707 }
71708 _ACEOF
71709 rm -f conftest.$ac_objext conftest$ac_exeext
71710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71711 (eval $ac_link) 2>conftest.er1
71712 ac_status=$?
71713 grep -v '^ *+' conftest.er1 >conftest.err
71714 rm -f conftest.er1
71715 cat conftest.err >&5
71716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71717 (exit $ac_status); } &&
71718 { ac_try='test -z "$ac_c_werror_flag"
71719 || test ! -s conftest.err'
71720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71721 (eval $ac_try) 2>&5
71722 ac_status=$?
71723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71724 (exit $ac_status); }; } &&
71725 { ac_try='test -s conftest$ac_exeext'
71726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71727 (eval $ac_try) 2>&5
71728 ac_status=$?
71729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71730 (exit $ac_status); }; }; then
71731 eval "$as_ac_var=yes"
71732 else
71733 echo "$as_me: failed program was:" >&5
71734 sed 's/^/| /' conftest.$ac_ext >&5
71735
71736 eval "$as_ac_var=no"
71737 fi
71738 rm -f conftest.err conftest.$ac_objext \
71739 conftest$ac_exeext conftest.$ac_ext
71740 fi
71741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71743 if test `eval echo '${'$as_ac_var'}'` = yes; then
71744 cat >>confdefs.h <<_ACEOF
71745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71746 _ACEOF
71747 ac_XPG2funcs=yes
71748 else
71749 ac_XPG2funcs=no
71750 fi
71751 done
71752
71753
71754 LIBS="$ac_save_LIBS"
71755
71756 if test x"$ac_has_iconv_h" = xyes &&
71757 test x"$ac_has_langinfo_h" = xyes &&
71758 test x"$ac_XPG2funcs" = xyes;
71759 then
71760
71761 cat >>confdefs.h <<\_ACEOF
71762 #define _GLIBCXX_USE_ICONV 1
71763 _ACEOF
71764
71765 enable_iconv=yes
71766 fi
71767 fi
71768 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
71769 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
71770 echo "$as_me:$LINENO: result: $enable_iconv" >&5
71771 echo "${ECHO_T}$enable_iconv" >&6
71772
71773
71774 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71775 ac_save_CXXFLAGS="$CXXFLAGS"
71776 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71777
71778
71779 echo "$as_me:$LINENO: checking for strtold declaration" >&5
71780 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
71781 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71782 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
71783 echo $ECHO_N "(cached) $ECHO_C" >&6
71784 else
71785
71786
71787
71788 ac_ext=cc
71789 ac_cpp='$CXXCPP $CPPFLAGS'
71790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71793
71794 cat >conftest.$ac_ext <<_ACEOF
71795 /* confdefs.h. */
71796 _ACEOF
71797 cat confdefs.h >>conftest.$ac_ext
71798 cat >>conftest.$ac_ext <<_ACEOF
71799 /* end confdefs.h. */
71800 #include <stdlib.h>
71801 int
71802 main ()
71803 {
71804 strtold(0, 0);
71805 ;
71806 return 0;
71807 }
71808 _ACEOF
71809 rm -f conftest.$ac_objext
71810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71811 (eval $ac_compile) 2>conftest.er1
71812 ac_status=$?
71813 grep -v '^ *+' conftest.er1 >conftest.err
71814 rm -f conftest.er1
71815 cat conftest.err >&5
71816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71817 (exit $ac_status); } &&
71818 { ac_try='test -z "$ac_cxx_werror_flag"
71819 || test ! -s conftest.err'
71820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71821 (eval $ac_try) 2>&5
71822 ac_status=$?
71823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71824 (exit $ac_status); }; } &&
71825 { ac_try='test -s conftest.$ac_objext'
71826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71827 (eval $ac_try) 2>&5
71828 ac_status=$?
71829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71830 (exit $ac_status); }; }; then
71831 glibcxx_cv_func_strtold_use=yes
71832 else
71833 echo "$as_me: failed program was:" >&5
71834 sed 's/^/| /' conftest.$ac_ext >&5
71835
71836 glibcxx_cv_func_strtold_use=no
71837 fi
71838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71839 ac_ext=c
71840 ac_cpp='$CPP $CPPFLAGS'
71841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71844
71845
71846 fi
71847
71848 fi
71849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
71850 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
71851 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71852
71853 for ac_func in strtold
71854 do
71855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71856 echo "$as_me:$LINENO: checking for $ac_func" >&5
71857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71858 if eval "test \"\${$as_ac_var+set}\" = set"; then
71859 echo $ECHO_N "(cached) $ECHO_C" >&6
71860 else
71861 if test x$gcc_no_link = xyes; then
71862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71864 { (exit 1); exit 1; }; }
71865 fi
71866 cat >conftest.$ac_ext <<_ACEOF
71867 /* confdefs.h. */
71868 _ACEOF
71869 cat confdefs.h >>conftest.$ac_ext
71870 cat >>conftest.$ac_ext <<_ACEOF
71871 /* end confdefs.h. */
71872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71874 #define $ac_func innocuous_$ac_func
71875
71876 /* System header to define __stub macros and hopefully few prototypes,
71877 which can conflict with char $ac_func (); below.
71878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71879 <limits.h> exists even on freestanding compilers. */
71880
71881 #ifdef __STDC__
71882 # include <limits.h>
71883 #else
71884 # include <assert.h>
71885 #endif
71886
71887 #undef $ac_func
71888
71889 /* Override any gcc2 internal prototype to avoid an error. */
71890 #ifdef __cplusplus
71891 extern "C"
71892 {
71893 #endif
71894 /* We use char because int might match the return type of a gcc2
71895 builtin and then its argument prototype would still apply. */
71896 char $ac_func ();
71897 /* The GNU C library defines this for functions which it implements
71898 to always fail with ENOSYS. Some functions are actually named
71899 something starting with __ and the normal name is an alias. */
71900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71901 choke me
71902 #else
71903 char (*f) () = $ac_func;
71904 #endif
71905 #ifdef __cplusplus
71906 }
71907 #endif
71908
71909 int
71910 main ()
71911 {
71912 return f != $ac_func;
71913 ;
71914 return 0;
71915 }
71916 _ACEOF
71917 rm -f conftest.$ac_objext conftest$ac_exeext
71918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71919 (eval $ac_link) 2>conftest.er1
71920 ac_status=$?
71921 grep -v '^ *+' conftest.er1 >conftest.err
71922 rm -f conftest.er1
71923 cat conftest.err >&5
71924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925 (exit $ac_status); } &&
71926 { ac_try='test -z "$ac_c_werror_flag"
71927 || test ! -s conftest.err'
71928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71929 (eval $ac_try) 2>&5
71930 ac_status=$?
71931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71932 (exit $ac_status); }; } &&
71933 { ac_try='test -s conftest$ac_exeext'
71934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71935 (eval $ac_try) 2>&5
71936 ac_status=$?
71937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71938 (exit $ac_status); }; }; then
71939 eval "$as_ac_var=yes"
71940 else
71941 echo "$as_me: failed program was:" >&5
71942 sed 's/^/| /' conftest.$ac_ext >&5
71943
71944 eval "$as_ac_var=no"
71945 fi
71946 rm -f conftest.err conftest.$ac_objext \
71947 conftest$ac_exeext conftest.$ac_ext
71948 fi
71949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71951 if test `eval echo '${'$as_ac_var'}'` = yes; then
71952 cat >>confdefs.h <<_ACEOF
71953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71954 _ACEOF
71955
71956 fi
71957 done
71958
71959 fi
71960
71961
71962 echo "$as_me:$LINENO: checking for strtof declaration" >&5
71963 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
71964 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71965 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
71966 echo $ECHO_N "(cached) $ECHO_C" >&6
71967 else
71968
71969
71970
71971 ac_ext=cc
71972 ac_cpp='$CXXCPP $CPPFLAGS'
71973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71976
71977 cat >conftest.$ac_ext <<_ACEOF
71978 /* confdefs.h. */
71979 _ACEOF
71980 cat confdefs.h >>conftest.$ac_ext
71981 cat >>conftest.$ac_ext <<_ACEOF
71982 /* end confdefs.h. */
71983 #include <stdlib.h>
71984 int
71985 main ()
71986 {
71987 strtof(0, 0);
71988 ;
71989 return 0;
71990 }
71991 _ACEOF
71992 rm -f conftest.$ac_objext
71993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71994 (eval $ac_compile) 2>conftest.er1
71995 ac_status=$?
71996 grep -v '^ *+' conftest.er1 >conftest.err
71997 rm -f conftest.er1
71998 cat conftest.err >&5
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); } &&
72001 { ac_try='test -z "$ac_cxx_werror_flag"
72002 || test ! -s conftest.err'
72003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004 (eval $ac_try) 2>&5
72005 ac_status=$?
72006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007 (exit $ac_status); }; } &&
72008 { ac_try='test -s conftest.$ac_objext'
72009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72010 (eval $ac_try) 2>&5
72011 ac_status=$?
72012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72013 (exit $ac_status); }; }; then
72014 glibcxx_cv_func_strtof_use=yes
72015 else
72016 echo "$as_me: failed program was:" >&5
72017 sed 's/^/| /' conftest.$ac_ext >&5
72018
72019 glibcxx_cv_func_strtof_use=no
72020 fi
72021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72022 ac_ext=c
72023 ac_cpp='$CPP $CPPFLAGS'
72024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72027
72028
72029 fi
72030
72031 fi
72032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
72033 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
72034 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72035
72036 for ac_func in strtof
72037 do
72038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72039 echo "$as_me:$LINENO: checking for $ac_func" >&5
72040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72041 if eval "test \"\${$as_ac_var+set}\" = set"; then
72042 echo $ECHO_N "(cached) $ECHO_C" >&6
72043 else
72044 if test x$gcc_no_link = xyes; then
72045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72047 { (exit 1); exit 1; }; }
72048 fi
72049 cat >conftest.$ac_ext <<_ACEOF
72050 /* confdefs.h. */
72051 _ACEOF
72052 cat confdefs.h >>conftest.$ac_ext
72053 cat >>conftest.$ac_ext <<_ACEOF
72054 /* end confdefs.h. */
72055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72057 #define $ac_func innocuous_$ac_func
72058
72059 /* System header to define __stub macros and hopefully few prototypes,
72060 which can conflict with char $ac_func (); below.
72061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72062 <limits.h> exists even on freestanding compilers. */
72063
72064 #ifdef __STDC__
72065 # include <limits.h>
72066 #else
72067 # include <assert.h>
72068 #endif
72069
72070 #undef $ac_func
72071
72072 /* Override any gcc2 internal prototype to avoid an error. */
72073 #ifdef __cplusplus
72074 extern "C"
72075 {
72076 #endif
72077 /* We use char because int might match the return type of a gcc2
72078 builtin and then its argument prototype would still apply. */
72079 char $ac_func ();
72080 /* The GNU C library defines this for functions which it implements
72081 to always fail with ENOSYS. Some functions are actually named
72082 something starting with __ and the normal name is an alias. */
72083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72084 choke me
72085 #else
72086 char (*f) () = $ac_func;
72087 #endif
72088 #ifdef __cplusplus
72089 }
72090 #endif
72091
72092 int
72093 main ()
72094 {
72095 return f != $ac_func;
72096 ;
72097 return 0;
72098 }
72099 _ACEOF
72100 rm -f conftest.$ac_objext conftest$ac_exeext
72101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72102 (eval $ac_link) 2>conftest.er1
72103 ac_status=$?
72104 grep -v '^ *+' conftest.er1 >conftest.err
72105 rm -f conftest.er1
72106 cat conftest.err >&5
72107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72108 (exit $ac_status); } &&
72109 { ac_try='test -z "$ac_c_werror_flag"
72110 || test ! -s conftest.err'
72111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72112 (eval $ac_try) 2>&5
72113 ac_status=$?
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); }; } &&
72116 { ac_try='test -s conftest$ac_exeext'
72117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72118 (eval $ac_try) 2>&5
72119 ac_status=$?
72120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72121 (exit $ac_status); }; }; then
72122 eval "$as_ac_var=yes"
72123 else
72124 echo "$as_me: failed program was:" >&5
72125 sed 's/^/| /' conftest.$ac_ext >&5
72126
72127 eval "$as_ac_var=no"
72128 fi
72129 rm -f conftest.err conftest.$ac_objext \
72130 conftest$ac_exeext conftest.$ac_ext
72131 fi
72132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72134 if test `eval echo '${'$as_ac_var'}'` = yes; then
72135 cat >>confdefs.h <<_ACEOF
72136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72137 _ACEOF
72138
72139 fi
72140 done
72141
72142 fi
72143
72144
72145 CXXFLAGS="$ac_save_CXXFLAGS"
72146
72147
72148 if test "${glibcxx_cv_S_ISREG+set}" = set; then
72149 echo $ECHO_N "(cached) $ECHO_C" >&6
72150 else
72151
72152 if test x$gcc_no_link = xyes; then
72153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72155 { (exit 1); exit 1; }; }
72156 fi
72157 cat >conftest.$ac_ext <<_ACEOF
72158 /* confdefs.h. */
72159 _ACEOF
72160 cat confdefs.h >>conftest.$ac_ext
72161 cat >>conftest.$ac_ext <<_ACEOF
72162 /* end confdefs.h. */
72163 #include <sys/stat.h>
72164 int
72165 main ()
72166 {
72167 struct stat buffer;
72168 fstat(0, &buffer);
72169 S_ISREG(buffer.st_mode);
72170 ;
72171 return 0;
72172 }
72173 _ACEOF
72174 rm -f conftest.$ac_objext conftest$ac_exeext
72175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72176 (eval $ac_link) 2>conftest.er1
72177 ac_status=$?
72178 grep -v '^ *+' conftest.er1 >conftest.err
72179 rm -f conftest.er1
72180 cat conftest.err >&5
72181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72182 (exit $ac_status); } &&
72183 { ac_try='test -z "$ac_c_werror_flag"
72184 || test ! -s conftest.err'
72185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72186 (eval $ac_try) 2>&5
72187 ac_status=$?
72188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72189 (exit $ac_status); }; } &&
72190 { ac_try='test -s conftest$ac_exeext'
72191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72192 (eval $ac_try) 2>&5
72193 ac_status=$?
72194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72195 (exit $ac_status); }; }; then
72196 glibcxx_cv_S_ISREG=yes
72197 else
72198 echo "$as_me: failed program was:" >&5
72199 sed 's/^/| /' conftest.$ac_ext >&5
72200
72201 glibcxx_cv_S_ISREG=no
72202 fi
72203 rm -f conftest.err conftest.$ac_objext \
72204 conftest$ac_exeext conftest.$ac_ext
72205
72206 fi
72207
72208 if test "${glibcxx_cv_S_IFREG+set}" = set; then
72209 echo $ECHO_N "(cached) $ECHO_C" >&6
72210 else
72211
72212 if test x$gcc_no_link = xyes; then
72213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72215 { (exit 1); exit 1; }; }
72216 fi
72217 cat >conftest.$ac_ext <<_ACEOF
72218 /* confdefs.h. */
72219 _ACEOF
72220 cat confdefs.h >>conftest.$ac_ext
72221 cat >>conftest.$ac_ext <<_ACEOF
72222 /* end confdefs.h. */
72223 #include <sys/stat.h>
72224 int
72225 main ()
72226 {
72227 struct stat buffer;
72228 fstat(0, &buffer);
72229 S_IFREG & buffer.st_mode;
72230 ;
72231 return 0;
72232 }
72233 _ACEOF
72234 rm -f conftest.$ac_objext conftest$ac_exeext
72235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72236 (eval $ac_link) 2>conftest.er1
72237 ac_status=$?
72238 grep -v '^ *+' conftest.er1 >conftest.err
72239 rm -f conftest.er1
72240 cat conftest.err >&5
72241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72242 (exit $ac_status); } &&
72243 { ac_try='test -z "$ac_c_werror_flag"
72244 || test ! -s conftest.err'
72245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72246 (eval $ac_try) 2>&5
72247 ac_status=$?
72248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72249 (exit $ac_status); }; } &&
72250 { ac_try='test -s conftest$ac_exeext'
72251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72252 (eval $ac_try) 2>&5
72253 ac_status=$?
72254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72255 (exit $ac_status); }; }; then
72256 glibcxx_cv_S_IFREG=yes
72257 else
72258 echo "$as_me: failed program was:" >&5
72259 sed 's/^/| /' conftest.$ac_ext >&5
72260
72261 glibcxx_cv_S_IFREG=no
72262 fi
72263 rm -f conftest.err conftest.$ac_objext \
72264 conftest$ac_exeext conftest.$ac_ext
72265
72266 fi
72267
72268 if test $glibcxx_cv_S_ISREG = yes; then
72269 cat >>confdefs.h <<\_ACEOF
72270 #define HAVE_S_ISREG 1
72271 _ACEOF
72272
72273 elif test $glibcxx_cv_S_IFREG = yes; then
72274 cat >>confdefs.h <<\_ACEOF
72275 #define HAVE_S_IFREG 1
72276 _ACEOF
72277
72278 fi
72279
72280 cat >>confdefs.h <<\_ACEOF
72281 #define HAVE_WRITEV 1
72282 _ACEOF
72283
72284 ;;
72285
72286 *-freebsd*)
72287
72288
72289
72290
72291
72292
72293
72294
72295
72296
72297
72298
72299
72300
72301
72302
72303 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
72304 machine/endian.h machine/param.h sys/machine.h sys/types.h \
72305 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
72306 sys/time.h unistd.h
72307 do
72308 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
72309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72310 echo "$as_me:$LINENO: checking for $ac_header" >&5
72311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72313 echo $ECHO_N "(cached) $ECHO_C" >&6
72314 fi
72315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72317 else
72318 # Is the header compilable?
72319 echo "$as_me:$LINENO: checking $ac_header usability" >&5
72320 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
72321 cat >conftest.$ac_ext <<_ACEOF
72322 /* confdefs.h. */
72323 _ACEOF
72324 cat confdefs.h >>conftest.$ac_ext
72325 cat >>conftest.$ac_ext <<_ACEOF
72326 /* end confdefs.h. */
72327 $ac_includes_default
72328 #include <$ac_header>
72329 _ACEOF
72330 rm -f conftest.$ac_objext
72331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72332 (eval $ac_compile) 2>conftest.er1
72333 ac_status=$?
72334 grep -v '^ *+' conftest.er1 >conftest.err
72335 rm -f conftest.er1
72336 cat conftest.err >&5
72337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72338 (exit $ac_status); } &&
72339 { ac_try='test -z "$ac_c_werror_flag"
72340 || test ! -s conftest.err'
72341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72342 (eval $ac_try) 2>&5
72343 ac_status=$?
72344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72345 (exit $ac_status); }; } &&
72346 { ac_try='test -s conftest.$ac_objext'
72347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72348 (eval $ac_try) 2>&5
72349 ac_status=$?
72350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72351 (exit $ac_status); }; }; then
72352 ac_header_compiler=yes
72353 else
72354 echo "$as_me: failed program was:" >&5
72355 sed 's/^/| /' conftest.$ac_ext >&5
72356
72357 ac_header_compiler=no
72358 fi
72359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72360 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
72361 echo "${ECHO_T}$ac_header_compiler" >&6
72362
72363 # Is the header present?
72364 echo "$as_me:$LINENO: checking $ac_header presence" >&5
72365 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
72366 cat >conftest.$ac_ext <<_ACEOF
72367 /* confdefs.h. */
72368 _ACEOF
72369 cat confdefs.h >>conftest.$ac_ext
72370 cat >>conftest.$ac_ext <<_ACEOF
72371 /* end confdefs.h. */
72372 #include <$ac_header>
72373 _ACEOF
72374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
72375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
72376 ac_status=$?
72377 grep -v '^ *+' conftest.er1 >conftest.err
72378 rm -f conftest.er1
72379 cat conftest.err >&5
72380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72381 (exit $ac_status); } >/dev/null; then
72382 if test -s conftest.err; then
72383 ac_cpp_err=$ac_c_preproc_warn_flag
72384 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
72385 else
72386 ac_cpp_err=
72387 fi
72388 else
72389 ac_cpp_err=yes
72390 fi
72391 if test -z "$ac_cpp_err"; then
72392 ac_header_preproc=yes
72393 else
72394 echo "$as_me: failed program was:" >&5
72395 sed 's/^/| /' conftest.$ac_ext >&5
72396
72397 ac_header_preproc=no
72398 fi
72399 rm -f conftest.err conftest.$ac_ext
72400 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
72401 echo "${ECHO_T}$ac_header_preproc" >&6
72402
72403 # So? What about this header?
72404 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
72405 yes:no: )
72406 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
72407 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
72408 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
72409 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
72410 ac_header_preproc=yes
72411 ;;
72412 no:yes:* )
72413 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
72414 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
72415 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
72416 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
72417 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
72418 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
72419 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
72420 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
72421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
72422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
72423 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
72424 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
72425 (
72426 cat <<\_ASBOX
72427 ## ----------------------------------------- ##
72428 ## Report this to the package-unused lists. ##
72429 ## ----------------------------------------- ##
72430 _ASBOX
72431 ) |
72432 sed "s/^/$as_me: WARNING: /" >&2
72433 ;;
72434 esac
72435 echo "$as_me:$LINENO: checking for $ac_header" >&5
72436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
72437 if eval "test \"\${$as_ac_Header+set}\" = set"; then
72438 echo $ECHO_N "(cached) $ECHO_C" >&6
72439 else
72440 eval "$as_ac_Header=\$ac_header_preproc"
72441 fi
72442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
72443 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
72444
72445 fi
72446 if test `eval echo '${'$as_ac_Header'}'` = yes; then
72447 cat >>confdefs.h <<_ACEOF
72448 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
72449 _ACEOF
72450
72451 fi
72452
72453 done
72454
72455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72456
72457
72458 # If we're not using GNU ld, then there's no point in even trying these
72459 # tests. Check for that first. We should have already tested for gld
72460 # by now (in libtool), but require it now just to be safe...
72461 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72462 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72463
72464
72465
72466 # The name set by libtool depends on the version of libtool. Shame on us
72467 # for depending on an impl detail, but c'est la vie. Older versions used
72468 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72469 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72470 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72471 # set (hence we're using an older libtool), then set it.
72472 if test x${with_gnu_ld+set} != xset; then
72473 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72474 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72475 with_gnu_ld=no
72476 else
72477 with_gnu_ld=$ac_cv_prog_gnu_ld
72478 fi
72479 fi
72480
72481 # Start by getting the version number. I think the libtool test already
72482 # does some of this, but throws away the result.
72483
72484 ldver=`$LD --version 2>/dev/null | head -1 | \
72485 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
72486
72487 glibcxx_gnu_ld_version=`echo $ldver | \
72488 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72489
72490 # Set --gc-sections.
72491 if test "$with_gnu_ld" = "notbroken"; then
72492 # GNU ld it is! Joy and bunny rabbits!
72493
72494 # All these tests are for C++; save the language and the compiler flags.
72495 # Need to do this so that g++ won't try to link in libstdc++
72496 ac_test_CFLAGS="${CFLAGS+set}"
72497 ac_save_CFLAGS="$CFLAGS"
72498 CFLAGS='-x c++ -Wl,--gc-sections'
72499
72500 # Check for -Wl,--gc-sections
72501 # XXX This test is broken at the moment, as symbols required for linking
72502 # are now in libsupc++ (not built yet). In addition, this test has
72503 # cored on solaris in the past. In addition, --gc-sections doesn't
72504 # really work at the moment (keeps on discarding used sections, first
72505 # .eh_frame and now some of the glibc sections for iconv).
72506 # Bzzzzt. Thanks for playing, maybe next time.
72507 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
72508 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
72509 if test "$cross_compiling" = yes; then
72510 ac_sectionLDflags=yes
72511 else
72512 cat >conftest.$ac_ext <<_ACEOF
72513 /* confdefs.h. */
72514 _ACEOF
72515 cat confdefs.h >>conftest.$ac_ext
72516 cat >>conftest.$ac_ext <<_ACEOF
72517 /* end confdefs.h. */
72518
72519 int main(void)
72520 {
72521 try { throw 1; }
72522 catch (...) { };
72523 return 0;
72524 }
72525
72526 _ACEOF
72527 rm -f conftest$ac_exeext
72528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72529 (eval $ac_link) 2>&5
72530 ac_status=$?
72531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72532 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
72533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72534 (eval $ac_try) 2>&5
72535 ac_status=$?
72536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72537 (exit $ac_status); }; }; then
72538 ac_sectionLDflags=yes
72539 else
72540 echo "$as_me: program exited with status $ac_status" >&5
72541 echo "$as_me: failed program was:" >&5
72542 sed 's/^/| /' conftest.$ac_ext >&5
72543
72544 ( exit $ac_status )
72545 ac_sectionLDflags=no
72546 fi
72547 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
72548 fi
72549 if test "$ac_test_CFLAGS" = set; then
72550 CFLAGS="$ac_save_CFLAGS"
72551 else
72552 # this is the suspicious part
72553 CFLAGS=''
72554 fi
72555 if test "$ac_sectionLDflags" = "yes"; then
72556 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72557 fi
72558 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
72559 echo "${ECHO_T}$ac_sectionLDflags" >&6
72560 fi
72561
72562 # Set linker optimization flags.
72563 if test x"$with_gnu_ld" = x"yes"; then
72564 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72565 fi
72566
72567
72568
72569
72570
72571
72572 echo "$as_me:$LINENO: checking for main in -lm" >&5
72573 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72574 if test "${ac_cv_lib_m_main+set}" = set; then
72575 echo $ECHO_N "(cached) $ECHO_C" >&6
72576 else
72577 ac_check_lib_save_LIBS=$LIBS
72578 LIBS="-lm $LIBS"
72579 if test x$gcc_no_link = xyes; then
72580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72582 { (exit 1); exit 1; }; }
72583 fi
72584 cat >conftest.$ac_ext <<_ACEOF
72585 /* confdefs.h. */
72586 _ACEOF
72587 cat confdefs.h >>conftest.$ac_ext
72588 cat >>conftest.$ac_ext <<_ACEOF
72589 /* end confdefs.h. */
72590
72591
72592 int
72593 main ()
72594 {
72595 main ();
72596 ;
72597 return 0;
72598 }
72599 _ACEOF
72600 rm -f conftest.$ac_objext conftest$ac_exeext
72601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72602 (eval $ac_link) 2>conftest.er1
72603 ac_status=$?
72604 grep -v '^ *+' conftest.er1 >conftest.err
72605 rm -f conftest.er1
72606 cat conftest.err >&5
72607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72608 (exit $ac_status); } &&
72609 { ac_try='test -z "$ac_c_werror_flag"
72610 || test ! -s conftest.err'
72611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72612 (eval $ac_try) 2>&5
72613 ac_status=$?
72614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72615 (exit $ac_status); }; } &&
72616 { ac_try='test -s conftest$ac_exeext'
72617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72618 (eval $ac_try) 2>&5
72619 ac_status=$?
72620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72621 (exit $ac_status); }; }; then
72622 ac_cv_lib_m_main=yes
72623 else
72624 echo "$as_me: failed program was:" >&5
72625 sed 's/^/| /' conftest.$ac_ext >&5
72626
72627 ac_cv_lib_m_main=no
72628 fi
72629 rm -f conftest.err conftest.$ac_objext \
72630 conftest$ac_exeext conftest.$ac_ext
72631 LIBS=$ac_check_lib_save_LIBS
72632 fi
72633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72634 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72635 if test $ac_cv_lib_m_main = yes; then
72636 cat >>confdefs.h <<_ACEOF
72637 #define HAVE_LIBM 1
72638 _ACEOF
72639
72640 LIBS="-lm $LIBS"
72641
72642 fi
72643
72644
72645 for ac_func in copysignf
72646 do
72647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72648 echo "$as_me:$LINENO: checking for $ac_func" >&5
72649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72650 if eval "test \"\${$as_ac_var+set}\" = set"; then
72651 echo $ECHO_N "(cached) $ECHO_C" >&6
72652 else
72653 if test x$gcc_no_link = xyes; then
72654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72656 { (exit 1); exit 1; }; }
72657 fi
72658 cat >conftest.$ac_ext <<_ACEOF
72659 /* confdefs.h. */
72660 _ACEOF
72661 cat confdefs.h >>conftest.$ac_ext
72662 cat >>conftest.$ac_ext <<_ACEOF
72663 /* end confdefs.h. */
72664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72666 #define $ac_func innocuous_$ac_func
72667
72668 /* System header to define __stub macros and hopefully few prototypes,
72669 which can conflict with char $ac_func (); below.
72670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72671 <limits.h> exists even on freestanding compilers. */
72672
72673 #ifdef __STDC__
72674 # include <limits.h>
72675 #else
72676 # include <assert.h>
72677 #endif
72678
72679 #undef $ac_func
72680
72681 /* Override any gcc2 internal prototype to avoid an error. */
72682 #ifdef __cplusplus
72683 extern "C"
72684 {
72685 #endif
72686 /* We use char because int might match the return type of a gcc2
72687 builtin and then its argument prototype would still apply. */
72688 char $ac_func ();
72689 /* The GNU C library defines this for functions which it implements
72690 to always fail with ENOSYS. Some functions are actually named
72691 something starting with __ and the normal name is an alias. */
72692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72693 choke me
72694 #else
72695 char (*f) () = $ac_func;
72696 #endif
72697 #ifdef __cplusplus
72698 }
72699 #endif
72700
72701 int
72702 main ()
72703 {
72704 return f != $ac_func;
72705 ;
72706 return 0;
72707 }
72708 _ACEOF
72709 rm -f conftest.$ac_objext conftest$ac_exeext
72710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72711 (eval $ac_link) 2>conftest.er1
72712 ac_status=$?
72713 grep -v '^ *+' conftest.er1 >conftest.err
72714 rm -f conftest.er1
72715 cat conftest.err >&5
72716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72717 (exit $ac_status); } &&
72718 { ac_try='test -z "$ac_c_werror_flag"
72719 || test ! -s conftest.err'
72720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72721 (eval $ac_try) 2>&5
72722 ac_status=$?
72723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72724 (exit $ac_status); }; } &&
72725 { ac_try='test -s conftest$ac_exeext'
72726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72727 (eval $ac_try) 2>&5
72728 ac_status=$?
72729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72730 (exit $ac_status); }; }; then
72731 eval "$as_ac_var=yes"
72732 else
72733 echo "$as_me: failed program was:" >&5
72734 sed 's/^/| /' conftest.$ac_ext >&5
72735
72736 eval "$as_ac_var=no"
72737 fi
72738 rm -f conftest.err conftest.$ac_objext \
72739 conftest$ac_exeext conftest.$ac_ext
72740 fi
72741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72743 if test `eval echo '${'$as_ac_var'}'` = yes; then
72744 cat >>confdefs.h <<_ACEOF
72745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72746 _ACEOF
72747
72748 else
72749 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72750 fi
72751 done
72752
72753
72754
72755 for ac_func in __signbit
72756 do
72757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72758 echo "$as_me:$LINENO: checking for $ac_func" >&5
72759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72760 if eval "test \"\${$as_ac_var+set}\" = set"; then
72761 echo $ECHO_N "(cached) $ECHO_C" >&6
72762 else
72763 if test x$gcc_no_link = xyes; then
72764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72766 { (exit 1); exit 1; }; }
72767 fi
72768 cat >conftest.$ac_ext <<_ACEOF
72769 /* confdefs.h. */
72770 _ACEOF
72771 cat confdefs.h >>conftest.$ac_ext
72772 cat >>conftest.$ac_ext <<_ACEOF
72773 /* end confdefs.h. */
72774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72776 #define $ac_func innocuous_$ac_func
72777
72778 /* System header to define __stub macros and hopefully few prototypes,
72779 which can conflict with char $ac_func (); below.
72780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72781 <limits.h> exists even on freestanding compilers. */
72782
72783 #ifdef __STDC__
72784 # include <limits.h>
72785 #else
72786 # include <assert.h>
72787 #endif
72788
72789 #undef $ac_func
72790
72791 /* Override any gcc2 internal prototype to avoid an error. */
72792 #ifdef __cplusplus
72793 extern "C"
72794 {
72795 #endif
72796 /* We use char because int might match the return type of a gcc2
72797 builtin and then its argument prototype would still apply. */
72798 char $ac_func ();
72799 /* The GNU C library defines this for functions which it implements
72800 to always fail with ENOSYS. Some functions are actually named
72801 something starting with __ and the normal name is an alias. */
72802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72803 choke me
72804 #else
72805 char (*f) () = $ac_func;
72806 #endif
72807 #ifdef __cplusplus
72808 }
72809 #endif
72810
72811 int
72812 main ()
72813 {
72814 return f != $ac_func;
72815 ;
72816 return 0;
72817 }
72818 _ACEOF
72819 rm -f conftest.$ac_objext conftest$ac_exeext
72820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72821 (eval $ac_link) 2>conftest.er1
72822 ac_status=$?
72823 grep -v '^ *+' conftest.er1 >conftest.err
72824 rm -f conftest.er1
72825 cat conftest.err >&5
72826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72827 (exit $ac_status); } &&
72828 { ac_try='test -z "$ac_c_werror_flag"
72829 || test ! -s conftest.err'
72830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72831 (eval $ac_try) 2>&5
72832 ac_status=$?
72833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72834 (exit $ac_status); }; } &&
72835 { ac_try='test -s conftest$ac_exeext'
72836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72837 (eval $ac_try) 2>&5
72838 ac_status=$?
72839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72840 (exit $ac_status); }; }; then
72841 eval "$as_ac_var=yes"
72842 else
72843 echo "$as_me: failed program was:" >&5
72844 sed 's/^/| /' conftest.$ac_ext >&5
72845
72846 eval "$as_ac_var=no"
72847 fi
72848 rm -f conftest.err conftest.$ac_objext \
72849 conftest$ac_exeext conftest.$ac_ext
72850 fi
72851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72853 if test `eval echo '${'$as_ac_var'}'` = yes; then
72854 cat >>confdefs.h <<_ACEOF
72855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72856 _ACEOF
72857
72858 else
72859 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72860 fi
72861 done
72862
72863
72864
72865 for ac_func in __signbitf
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 signbitf.lo"
72970 fi
72971 done
72972
72973
72974 if test x$ac_cv_func_copysignl = x"yes"; then
72975
72976 for ac_func in __signbitl
72977 do
72978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72979 echo "$as_me:$LINENO: checking for $ac_func" >&5
72980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72981 if eval "test \"\${$as_ac_var+set}\" = set"; then
72982 echo $ECHO_N "(cached) $ECHO_C" >&6
72983 else
72984 if test x$gcc_no_link = xyes; then
72985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72987 { (exit 1); exit 1; }; }
72988 fi
72989 cat >conftest.$ac_ext <<_ACEOF
72990 /* confdefs.h. */
72991 _ACEOF
72992 cat confdefs.h >>conftest.$ac_ext
72993 cat >>conftest.$ac_ext <<_ACEOF
72994 /* end confdefs.h. */
72995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72997 #define $ac_func innocuous_$ac_func
72998
72999 /* System header to define __stub macros and hopefully few prototypes,
73000 which can conflict with char $ac_func (); below.
73001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73002 <limits.h> exists even on freestanding compilers. */
73003
73004 #ifdef __STDC__
73005 # include <limits.h>
73006 #else
73007 # include <assert.h>
73008 #endif
73009
73010 #undef $ac_func
73011
73012 /* Override any gcc2 internal prototype to avoid an error. */
73013 #ifdef __cplusplus
73014 extern "C"
73015 {
73016 #endif
73017 /* We use char because int might match the return type of a gcc2
73018 builtin and then its argument prototype would still apply. */
73019 char $ac_func ();
73020 /* The GNU C library defines this for functions which it implements
73021 to always fail with ENOSYS. Some functions are actually named
73022 something starting with __ and the normal name is an alias. */
73023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73024 choke me
73025 #else
73026 char (*f) () = $ac_func;
73027 #endif
73028 #ifdef __cplusplus
73029 }
73030 #endif
73031
73032 int
73033 main ()
73034 {
73035 return f != $ac_func;
73036 ;
73037 return 0;
73038 }
73039 _ACEOF
73040 rm -f conftest.$ac_objext conftest$ac_exeext
73041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73042 (eval $ac_link) 2>conftest.er1
73043 ac_status=$?
73044 grep -v '^ *+' conftest.er1 >conftest.err
73045 rm -f conftest.er1
73046 cat conftest.err >&5
73047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73048 (exit $ac_status); } &&
73049 { ac_try='test -z "$ac_c_werror_flag"
73050 || test ! -s conftest.err'
73051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73052 (eval $ac_try) 2>&5
73053 ac_status=$?
73054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055 (exit $ac_status); }; } &&
73056 { ac_try='test -s conftest$ac_exeext'
73057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73058 (eval $ac_try) 2>&5
73059 ac_status=$?
73060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73061 (exit $ac_status); }; }; then
73062 eval "$as_ac_var=yes"
73063 else
73064 echo "$as_me: failed program was:" >&5
73065 sed 's/^/| /' conftest.$ac_ext >&5
73066
73067 eval "$as_ac_var=no"
73068 fi
73069 rm -f conftest.err conftest.$ac_objext \
73070 conftest$ac_exeext conftest.$ac_ext
73071 fi
73072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73074 if test `eval echo '${'$as_ac_var'}'` = yes; then
73075 cat >>confdefs.h <<_ACEOF
73076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73077 _ACEOF
73078
73079 else
73080 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73081 fi
73082 done
73083
73084 fi
73085
73086 # Used in libmath/Makefile.am.
73087 if test -n "$LIBMATHOBJS"; then
73088 need_libmath=yes
73089 fi
73090
73091
73092
73093
73094 enable_iconv=no
73095 # Only continue checking if the ISO C99 headers exist and support is on.
73096 if test x"$enable_wchar_t" = xyes; then
73097
73098 # Use iconv for wchar_t to char conversions. As such, check for
73099 # X/Open Portability Guide, version 2 features (XPG2).
73100 if test "${ac_cv_header_iconv_h+set}" = set; then
73101 echo "$as_me:$LINENO: checking for iconv.h" >&5
73102 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73103 if test "${ac_cv_header_iconv_h+set}" = set; then
73104 echo $ECHO_N "(cached) $ECHO_C" >&6
73105 fi
73106 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73107 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73108 else
73109 # Is the header compilable?
73110 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73111 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73112 cat >conftest.$ac_ext <<_ACEOF
73113 /* confdefs.h. */
73114 _ACEOF
73115 cat confdefs.h >>conftest.$ac_ext
73116 cat >>conftest.$ac_ext <<_ACEOF
73117 /* end confdefs.h. */
73118 $ac_includes_default
73119 #include <iconv.h>
73120 _ACEOF
73121 rm -f conftest.$ac_objext
73122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73123 (eval $ac_compile) 2>conftest.er1
73124 ac_status=$?
73125 grep -v '^ *+' conftest.er1 >conftest.err
73126 rm -f conftest.er1
73127 cat conftest.err >&5
73128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73129 (exit $ac_status); } &&
73130 { ac_try='test -z "$ac_c_werror_flag"
73131 || test ! -s conftest.err'
73132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73133 (eval $ac_try) 2>&5
73134 ac_status=$?
73135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73136 (exit $ac_status); }; } &&
73137 { ac_try='test -s conftest.$ac_objext'
73138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73139 (eval $ac_try) 2>&5
73140 ac_status=$?
73141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142 (exit $ac_status); }; }; then
73143 ac_header_compiler=yes
73144 else
73145 echo "$as_me: failed program was:" >&5
73146 sed 's/^/| /' conftest.$ac_ext >&5
73147
73148 ac_header_compiler=no
73149 fi
73150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73152 echo "${ECHO_T}$ac_header_compiler" >&6
73153
73154 # Is the header present?
73155 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73156 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73157 cat >conftest.$ac_ext <<_ACEOF
73158 /* confdefs.h. */
73159 _ACEOF
73160 cat confdefs.h >>conftest.$ac_ext
73161 cat >>conftest.$ac_ext <<_ACEOF
73162 /* end confdefs.h. */
73163 #include <iconv.h>
73164 _ACEOF
73165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73167 ac_status=$?
73168 grep -v '^ *+' conftest.er1 >conftest.err
73169 rm -f conftest.er1
73170 cat conftest.err >&5
73171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73172 (exit $ac_status); } >/dev/null; then
73173 if test -s conftest.err; then
73174 ac_cpp_err=$ac_c_preproc_warn_flag
73175 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73176 else
73177 ac_cpp_err=
73178 fi
73179 else
73180 ac_cpp_err=yes
73181 fi
73182 if test -z "$ac_cpp_err"; then
73183 ac_header_preproc=yes
73184 else
73185 echo "$as_me: failed program was:" >&5
73186 sed 's/^/| /' conftest.$ac_ext >&5
73187
73188 ac_header_preproc=no
73189 fi
73190 rm -f conftest.err conftest.$ac_ext
73191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73192 echo "${ECHO_T}$ac_header_preproc" >&6
73193
73194 # So? What about this header?
73195 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73196 yes:no: )
73197 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73198 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73199 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73200 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73201 ac_header_preproc=yes
73202 ;;
73203 no:yes:* )
73204 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73205 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73206 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73207 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73208 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73209 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73210 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73211 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73212 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73213 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73214 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73215 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73216 (
73217 cat <<\_ASBOX
73218 ## ----------------------------------------- ##
73219 ## Report this to the package-unused lists. ##
73220 ## ----------------------------------------- ##
73221 _ASBOX
73222 ) |
73223 sed "s/^/$as_me: WARNING: /" >&2
73224 ;;
73225 esac
73226 echo "$as_me:$LINENO: checking for iconv.h" >&5
73227 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73228 if test "${ac_cv_header_iconv_h+set}" = set; then
73229 echo $ECHO_N "(cached) $ECHO_C" >&6
73230 else
73231 ac_cv_header_iconv_h=$ac_header_preproc
73232 fi
73233 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73234 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73235
73236 fi
73237 if test $ac_cv_header_iconv_h = yes; then
73238 ac_has_iconv_h=yes
73239 else
73240 ac_has_iconv_h=no
73241 fi
73242
73243
73244 if test "${ac_cv_header_langinfo_h+set}" = set; then
73245 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73246 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73247 if test "${ac_cv_header_langinfo_h+set}" = set; then
73248 echo $ECHO_N "(cached) $ECHO_C" >&6
73249 fi
73250 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73251 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73252 else
73253 # Is the header compilable?
73254 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73255 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73256 cat >conftest.$ac_ext <<_ACEOF
73257 /* confdefs.h. */
73258 _ACEOF
73259 cat confdefs.h >>conftest.$ac_ext
73260 cat >>conftest.$ac_ext <<_ACEOF
73261 /* end confdefs.h. */
73262 $ac_includes_default
73263 #include <langinfo.h>
73264 _ACEOF
73265 rm -f conftest.$ac_objext
73266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73267 (eval $ac_compile) 2>conftest.er1
73268 ac_status=$?
73269 grep -v '^ *+' conftest.er1 >conftest.err
73270 rm -f conftest.er1
73271 cat conftest.err >&5
73272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73273 (exit $ac_status); } &&
73274 { ac_try='test -z "$ac_c_werror_flag"
73275 || test ! -s conftest.err'
73276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73277 (eval $ac_try) 2>&5
73278 ac_status=$?
73279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73280 (exit $ac_status); }; } &&
73281 { ac_try='test -s conftest.$ac_objext'
73282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73283 (eval $ac_try) 2>&5
73284 ac_status=$?
73285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73286 (exit $ac_status); }; }; then
73287 ac_header_compiler=yes
73288 else
73289 echo "$as_me: failed program was:" >&5
73290 sed 's/^/| /' conftest.$ac_ext >&5
73291
73292 ac_header_compiler=no
73293 fi
73294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73295 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73296 echo "${ECHO_T}$ac_header_compiler" >&6
73297
73298 # Is the header present?
73299 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73300 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73301 cat >conftest.$ac_ext <<_ACEOF
73302 /* confdefs.h. */
73303 _ACEOF
73304 cat confdefs.h >>conftest.$ac_ext
73305 cat >>conftest.$ac_ext <<_ACEOF
73306 /* end confdefs.h. */
73307 #include <langinfo.h>
73308 _ACEOF
73309 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73310 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73311 ac_status=$?
73312 grep -v '^ *+' conftest.er1 >conftest.err
73313 rm -f conftest.er1
73314 cat conftest.err >&5
73315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73316 (exit $ac_status); } >/dev/null; then
73317 if test -s conftest.err; then
73318 ac_cpp_err=$ac_c_preproc_warn_flag
73319 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73320 else
73321 ac_cpp_err=
73322 fi
73323 else
73324 ac_cpp_err=yes
73325 fi
73326 if test -z "$ac_cpp_err"; then
73327 ac_header_preproc=yes
73328 else
73329 echo "$as_me: failed program was:" >&5
73330 sed 's/^/| /' conftest.$ac_ext >&5
73331
73332 ac_header_preproc=no
73333 fi
73334 rm -f conftest.err conftest.$ac_ext
73335 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73336 echo "${ECHO_T}$ac_header_preproc" >&6
73337
73338 # So? What about this header?
73339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73340 yes:no: )
73341 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73342 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73343 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73344 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73345 ac_header_preproc=yes
73346 ;;
73347 no:yes:* )
73348 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73349 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73350 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73351 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73352 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73353 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73354 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73355 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73356 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73357 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73358 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73359 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73360 (
73361 cat <<\_ASBOX
73362 ## ----------------------------------------- ##
73363 ## Report this to the package-unused lists. ##
73364 ## ----------------------------------------- ##
73365 _ASBOX
73366 ) |
73367 sed "s/^/$as_me: WARNING: /" >&2
73368 ;;
73369 esac
73370 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73371 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73372 if test "${ac_cv_header_langinfo_h+set}" = set; then
73373 echo $ECHO_N "(cached) $ECHO_C" >&6
73374 else
73375 ac_cv_header_langinfo_h=$ac_header_preproc
73376 fi
73377 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73378 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73379
73380 fi
73381 if test $ac_cv_header_langinfo_h = yes; then
73382 ac_has_langinfo_h=yes
73383 else
73384 ac_has_langinfo_h=no
73385 fi
73386
73387
73388
73389 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73390 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73391 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73392 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73393 echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73395 ac_check_lib_save_LIBS=$LIBS
73396 LIBS="-liconv $LIBS"
73397 if test x$gcc_no_link = xyes; then
73398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73400 { (exit 1); exit 1; }; }
73401 fi
73402 cat >conftest.$ac_ext <<_ACEOF
73403 /* confdefs.h. */
73404 _ACEOF
73405 cat confdefs.h >>conftest.$ac_ext
73406 cat >>conftest.$ac_ext <<_ACEOF
73407 /* end confdefs.h. */
73408
73409 /* Override any gcc2 internal prototype to avoid an error. */
73410 #ifdef __cplusplus
73411 extern "C"
73412 #endif
73413 /* We use char because int might match the return type of a gcc2
73414 builtin and then its argument prototype would still apply. */
73415 char iconv ();
73416 int
73417 main ()
73418 {
73419 iconv ();
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 ac_cv_lib_iconv_iconv=yes
73447 else
73448 echo "$as_me: failed program was:" >&5
73449 sed 's/^/| /' conftest.$ac_ext >&5
73450
73451 ac_cv_lib_iconv_iconv=no
73452 fi
73453 rm -f conftest.err conftest.$ac_objext \
73454 conftest$ac_exeext conftest.$ac_ext
73455 LIBS=$ac_check_lib_save_LIBS
73456 fi
73457 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73458 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73459 if test $ac_cv_lib_iconv_iconv = yes; then
73460 LIBICONV="-liconv"
73461 fi
73462
73463 ac_save_LIBS="$LIBS"
73464 LIBS="$LIBS $LIBICONV"
73465
73466
73467
73468
73469
73470
73471 for ac_func in iconv_open iconv_close iconv nl_langinfo
73472 do
73473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73474 echo "$as_me:$LINENO: checking for $ac_func" >&5
73475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73476 if eval "test \"\${$as_ac_var+set}\" = set"; then
73477 echo $ECHO_N "(cached) $ECHO_C" >&6
73478 else
73479 if test x$gcc_no_link = xyes; then
73480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73482 { (exit 1); exit 1; }; }
73483 fi
73484 cat >conftest.$ac_ext <<_ACEOF
73485 /* confdefs.h. */
73486 _ACEOF
73487 cat confdefs.h >>conftest.$ac_ext
73488 cat >>conftest.$ac_ext <<_ACEOF
73489 /* end confdefs.h. */
73490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73492 #define $ac_func innocuous_$ac_func
73493
73494 /* System header to define __stub macros and hopefully few prototypes,
73495 which can conflict with char $ac_func (); below.
73496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73497 <limits.h> exists even on freestanding compilers. */
73498
73499 #ifdef __STDC__
73500 # include <limits.h>
73501 #else
73502 # include <assert.h>
73503 #endif
73504
73505 #undef $ac_func
73506
73507 /* Override any gcc2 internal prototype to avoid an error. */
73508 #ifdef __cplusplus
73509 extern "C"
73510 {
73511 #endif
73512 /* We use char because int might match the return type of a gcc2
73513 builtin and then its argument prototype would still apply. */
73514 char $ac_func ();
73515 /* The GNU C library defines this for functions which it implements
73516 to always fail with ENOSYS. Some functions are actually named
73517 something starting with __ and the normal name is an alias. */
73518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73519 choke me
73520 #else
73521 char (*f) () = $ac_func;
73522 #endif
73523 #ifdef __cplusplus
73524 }
73525 #endif
73526
73527 int
73528 main ()
73529 {
73530 return f != $ac_func;
73531 ;
73532 return 0;
73533 }
73534 _ACEOF
73535 rm -f conftest.$ac_objext conftest$ac_exeext
73536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73537 (eval $ac_link) 2>conftest.er1
73538 ac_status=$?
73539 grep -v '^ *+' conftest.er1 >conftest.err
73540 rm -f conftest.er1
73541 cat conftest.err >&5
73542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73543 (exit $ac_status); } &&
73544 { ac_try='test -z "$ac_c_werror_flag"
73545 || test ! -s conftest.err'
73546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73547 (eval $ac_try) 2>&5
73548 ac_status=$?
73549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73550 (exit $ac_status); }; } &&
73551 { ac_try='test -s conftest$ac_exeext'
73552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73553 (eval $ac_try) 2>&5
73554 ac_status=$?
73555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73556 (exit $ac_status); }; }; then
73557 eval "$as_ac_var=yes"
73558 else
73559 echo "$as_me: failed program was:" >&5
73560 sed 's/^/| /' conftest.$ac_ext >&5
73561
73562 eval "$as_ac_var=no"
73563 fi
73564 rm -f conftest.err conftest.$ac_objext \
73565 conftest$ac_exeext conftest.$ac_ext
73566 fi
73567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73569 if test `eval echo '${'$as_ac_var'}'` = yes; then
73570 cat >>confdefs.h <<_ACEOF
73571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73572 _ACEOF
73573 ac_XPG2funcs=yes
73574 else
73575 ac_XPG2funcs=no
73576 fi
73577 done
73578
73579
73580 LIBS="$ac_save_LIBS"
73581
73582 if test x"$ac_has_iconv_h" = xyes &&
73583 test x"$ac_has_langinfo_h" = xyes &&
73584 test x"$ac_XPG2funcs" = xyes;
73585 then
73586
73587 cat >>confdefs.h <<\_ACEOF
73588 #define _GLIBCXX_USE_ICONV 1
73589 _ACEOF
73590
73591 enable_iconv=yes
73592 fi
73593 fi
73594 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73595 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73596 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73597 echo "${ECHO_T}$enable_iconv" >&6
73598
73599 cat >>confdefs.h <<\_ACEOF
73600 #define HAVE_LC_MESSAGES 1
73601 _ACEOF
73602
73603 cat >>confdefs.h <<\_ACEOF
73604 #define HAVE_GETPAGESIZE 1
73605 _ACEOF
73606
73607 cat >>confdefs.h <<\_ACEOF
73608 #define HAVE_SETENV 1
73609 _ACEOF
73610
73611 cat >>confdefs.h <<\_ACEOF
73612 #define HAVE_SIGSETJMP 1
73613 _ACEOF
73614
73615 cat >>confdefs.h <<\_ACEOF
73616 #define HAVE_COPYSIGN 1
73617 _ACEOF
73618
73619 cat >>confdefs.h <<\_ACEOF
73620 #define HAVE_COPYSIGNF 1
73621 _ACEOF
73622
73623 cat >>confdefs.h <<\_ACEOF
73624 #define HAVE_FINITEF 1
73625 _ACEOF
73626
73627 cat >>confdefs.h <<\_ACEOF
73628 #define HAVE_FINITE 1
73629 _ACEOF
73630
73631 cat >>confdefs.h <<\_ACEOF
73632 #define HAVE_FREXPF 1
73633 _ACEOF
73634
73635 cat >>confdefs.h <<\_ACEOF
73636 #define HAVE_HYPOT 1
73637 _ACEOF
73638
73639 cat >>confdefs.h <<\_ACEOF
73640 #define HAVE_HYPOTF 1
73641 _ACEOF
73642
73643 cat >>confdefs.h <<\_ACEOF
73644 #define HAVE_ISINF 1
73645 _ACEOF
73646
73647 cat >>confdefs.h <<\_ACEOF
73648 #define HAVE_ISNAN 1
73649 _ACEOF
73650
73651 cat >>confdefs.h <<\_ACEOF
73652 #define HAVE_ISNANF 1
73653 _ACEOF
73654
73655
73656 cat >>confdefs.h <<\_ACEOF
73657 #define HAVE_MMAP 1
73658 _ACEOF
73659
73660 cat >>confdefs.h <<\_ACEOF
73661 #define HAVE_ACOSF 1
73662 _ACEOF
73663
73664 cat >>confdefs.h <<\_ACEOF
73665 #define HAVE_ASINF 1
73666 _ACEOF
73667
73668 cat >>confdefs.h <<\_ACEOF
73669 #define HAVE_ATAN2F 1
73670 _ACEOF
73671
73672 cat >>confdefs.h <<\_ACEOF
73673 #define HAVE_ATANF 1
73674 _ACEOF
73675
73676 cat >>confdefs.h <<\_ACEOF
73677 #define HAVE_CEILF 1
73678 _ACEOF
73679
73680 cat >>confdefs.h <<\_ACEOF
73681 #define HAVE_COPYSIGN 1
73682 _ACEOF
73683
73684 cat >>confdefs.h <<\_ACEOF
73685 #define HAVE_COPYSIGNF 1
73686 _ACEOF
73687
73688 cat >>confdefs.h <<\_ACEOF
73689 #define HAVE_COSF 1
73690 _ACEOF
73691
73692 cat >>confdefs.h <<\_ACEOF
73693 #define HAVE_COSHF 1
73694 _ACEOF
73695
73696 cat >>confdefs.h <<\_ACEOF
73697 #define HAVE_EXPF 1
73698 _ACEOF
73699
73700 cat >>confdefs.h <<\_ACEOF
73701 #define HAVE_FABSF 1
73702 _ACEOF
73703
73704 cat >>confdefs.h <<\_ACEOF
73705 #define HAVE_FLOORF 1
73706 _ACEOF
73707
73708 cat >>confdefs.h <<\_ACEOF
73709 #define HAVE_FMODF 1
73710 _ACEOF
73711
73712 cat >>confdefs.h <<\_ACEOF
73713 #define HAVE_FREXPF 1
73714 _ACEOF
73715
73716 cat >>confdefs.h <<\_ACEOF
73717 #define HAVE_LDEXPF 1
73718 _ACEOF
73719
73720 cat >>confdefs.h <<\_ACEOF
73721 #define HAVE_LOG10F 1
73722 _ACEOF
73723
73724 cat >>confdefs.h <<\_ACEOF
73725 #define HAVE_LOGF 1
73726 _ACEOF
73727
73728 cat >>confdefs.h <<\_ACEOF
73729 #define HAVE_MODFF 1
73730 _ACEOF
73731
73732 cat >>confdefs.h <<\_ACEOF
73733 #define HAVE_POWF 1
73734 _ACEOF
73735
73736 cat >>confdefs.h <<\_ACEOF
73737 #define HAVE_SINF 1
73738 _ACEOF
73739
73740 cat >>confdefs.h <<\_ACEOF
73741 #define HAVE_SINHF 1
73742 _ACEOF
73743
73744 cat >>confdefs.h <<\_ACEOF
73745 #define HAVE_SQRTF 1
73746 _ACEOF
73747
73748 cat >>confdefs.h <<\_ACEOF
73749 #define HAVE_TANF 1
73750 _ACEOF
73751
73752 cat >>confdefs.h <<\_ACEOF
73753 #define HAVE_TANHF 1
73754 _ACEOF
73755
73756 if test x"long_double_math_on_this_cpu" = x"yes"; then
73757 cat >>confdefs.h <<\_ACEOF
73758 #define HAVE_FINITEL 1
73759 _ACEOF
73760
73761 cat >>confdefs.h <<\_ACEOF
73762 #define HAVE_ISINFL 1
73763 _ACEOF
73764
73765 cat >>confdefs.h <<\_ACEOF
73766 #define HAVE_ISNANL 1
73767 _ACEOF
73768
73769 fi
73770 ;;
73771 *-hpux*)
73772
73773
73774
73775
73776
73777
73778
73779
73780
73781
73782
73783
73784 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
73785 machine/endian.h machine/param.h sys/machine.h sys/types.h \
73786 fp.h locale.h float.h inttypes.h
73787 do
73788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73790 echo "$as_me:$LINENO: checking for $ac_header" >&5
73791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73793 echo $ECHO_N "(cached) $ECHO_C" >&6
73794 fi
73795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73797 else
73798 # Is the header compilable?
73799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73801 cat >conftest.$ac_ext <<_ACEOF
73802 /* confdefs.h. */
73803 _ACEOF
73804 cat confdefs.h >>conftest.$ac_ext
73805 cat >>conftest.$ac_ext <<_ACEOF
73806 /* end confdefs.h. */
73807 $ac_includes_default
73808 #include <$ac_header>
73809 _ACEOF
73810 rm -f conftest.$ac_objext
73811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73812 (eval $ac_compile) 2>conftest.er1
73813 ac_status=$?
73814 grep -v '^ *+' conftest.er1 >conftest.err
73815 rm -f conftest.er1
73816 cat conftest.err >&5
73817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73818 (exit $ac_status); } &&
73819 { ac_try='test -z "$ac_c_werror_flag"
73820 || test ! -s conftest.err'
73821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73822 (eval $ac_try) 2>&5
73823 ac_status=$?
73824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73825 (exit $ac_status); }; } &&
73826 { ac_try='test -s conftest.$ac_objext'
73827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73828 (eval $ac_try) 2>&5
73829 ac_status=$?
73830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73831 (exit $ac_status); }; }; then
73832 ac_header_compiler=yes
73833 else
73834 echo "$as_me: failed program was:" >&5
73835 sed 's/^/| /' conftest.$ac_ext >&5
73836
73837 ac_header_compiler=no
73838 fi
73839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73840 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73841 echo "${ECHO_T}$ac_header_compiler" >&6
73842
73843 # Is the header present?
73844 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73845 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73846 cat >conftest.$ac_ext <<_ACEOF
73847 /* confdefs.h. */
73848 _ACEOF
73849 cat confdefs.h >>conftest.$ac_ext
73850 cat >>conftest.$ac_ext <<_ACEOF
73851 /* end confdefs.h. */
73852 #include <$ac_header>
73853 _ACEOF
73854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73856 ac_status=$?
73857 grep -v '^ *+' conftest.er1 >conftest.err
73858 rm -f conftest.er1
73859 cat conftest.err >&5
73860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73861 (exit $ac_status); } >/dev/null; then
73862 if test -s conftest.err; then
73863 ac_cpp_err=$ac_c_preproc_warn_flag
73864 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73865 else
73866 ac_cpp_err=
73867 fi
73868 else
73869 ac_cpp_err=yes
73870 fi
73871 if test -z "$ac_cpp_err"; then
73872 ac_header_preproc=yes
73873 else
73874 echo "$as_me: failed program was:" >&5
73875 sed 's/^/| /' conftest.$ac_ext >&5
73876
73877 ac_header_preproc=no
73878 fi
73879 rm -f conftest.err conftest.$ac_ext
73880 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73881 echo "${ECHO_T}$ac_header_preproc" >&6
73882
73883 # So? What about this header?
73884 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73885 yes:no: )
73886 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73887 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73889 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73890 ac_header_preproc=yes
73891 ;;
73892 no:yes:* )
73893 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73894 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73895 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73896 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73897 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73898 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73899 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73900 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73903 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73904 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73905 (
73906 cat <<\_ASBOX
73907 ## ----------------------------------------- ##
73908 ## Report this to the package-unused lists. ##
73909 ## ----------------------------------------- ##
73910 _ASBOX
73911 ) |
73912 sed "s/^/$as_me: WARNING: /" >&2
73913 ;;
73914 esac
73915 echo "$as_me:$LINENO: checking for $ac_header" >&5
73916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73918 echo $ECHO_N "(cached) $ECHO_C" >&6
73919 else
73920 eval "$as_ac_Header=\$ac_header_preproc"
73921 fi
73922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73924
73925 fi
73926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73927 cat >>confdefs.h <<_ACEOF
73928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73929 _ACEOF
73930
73931 fi
73932
73933 done
73934
73935 SECTION_FLAGS='-ffunction-sections -fdata-sections'
73936
73937
73938 # If we're not using GNU ld, then there's no point in even trying these
73939 # tests. Check for that first. We should have already tested for gld
73940 # by now (in libtool), but require it now just to be safe...
73941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
73942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
73943
73944
73945
73946 # The name set by libtool depends on the version of libtool. Shame on us
73947 # for depending on an impl detail, but c'est la vie. Older versions used
73948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
73949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
73950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
73951 # set (hence we're using an older libtool), then set it.
73952 if test x${with_gnu_ld+set} != xset; then
73953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
73954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
73955 with_gnu_ld=no
73956 else
73957 with_gnu_ld=$ac_cv_prog_gnu_ld
73958 fi
73959 fi
73960
73961 # Start by getting the version number. I think the libtool test already
73962 # does some of this, but throws away the result.
73963
73964 ldver=`$LD --version 2>/dev/null | head -1 | \
73965 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
73966
73967 glibcxx_gnu_ld_version=`echo $ldver | \
73968 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
73969
73970 # Set --gc-sections.
73971 if test "$with_gnu_ld" = "notbroken"; then
73972 # GNU ld it is! Joy and bunny rabbits!
73973
73974 # All these tests are for C++; save the language and the compiler flags.
73975 # Need to do this so that g++ won't try to link in libstdc++
73976 ac_test_CFLAGS="${CFLAGS+set}"
73977 ac_save_CFLAGS="$CFLAGS"
73978 CFLAGS='-x c++ -Wl,--gc-sections'
73979
73980 # Check for -Wl,--gc-sections
73981 # XXX This test is broken at the moment, as symbols required for linking
73982 # are now in libsupc++ (not built yet). In addition, this test has
73983 # cored on solaris in the past. In addition, --gc-sections doesn't
73984 # really work at the moment (keeps on discarding used sections, first
73985 # .eh_frame and now some of the glibc sections for iconv).
73986 # Bzzzzt. Thanks for playing, maybe next time.
73987 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
73988 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
73989 if test "$cross_compiling" = yes; then
73990 ac_sectionLDflags=yes
73991 else
73992 cat >conftest.$ac_ext <<_ACEOF
73993 /* confdefs.h. */
73994 _ACEOF
73995 cat confdefs.h >>conftest.$ac_ext
73996 cat >>conftest.$ac_ext <<_ACEOF
73997 /* end confdefs.h. */
73998
73999 int main(void)
74000 {
74001 try { throw 1; }
74002 catch (...) { };
74003 return 0;
74004 }
74005
74006 _ACEOF
74007 rm -f conftest$ac_exeext
74008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74009 (eval $ac_link) 2>&5
74010 ac_status=$?
74011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74014 (eval $ac_try) 2>&5
74015 ac_status=$?
74016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74017 (exit $ac_status); }; }; then
74018 ac_sectionLDflags=yes
74019 else
74020 echo "$as_me: program exited with status $ac_status" >&5
74021 echo "$as_me: failed program was:" >&5
74022 sed 's/^/| /' conftest.$ac_ext >&5
74023
74024 ( exit $ac_status )
74025 ac_sectionLDflags=no
74026 fi
74027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74028 fi
74029 if test "$ac_test_CFLAGS" = set; then
74030 CFLAGS="$ac_save_CFLAGS"
74031 else
74032 # this is the suspicious part
74033 CFLAGS=''
74034 fi
74035 if test "$ac_sectionLDflags" = "yes"; then
74036 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74037 fi
74038 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74039 echo "${ECHO_T}$ac_sectionLDflags" >&6
74040 fi
74041
74042 # Set linker optimization flags.
74043 if test x"$with_gnu_ld" = x"yes"; then
74044 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74045 fi
74046
74047
74048
74049
74050
74051
74052 echo "$as_me:$LINENO: checking for main in -lm" >&5
74053 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74054 if test "${ac_cv_lib_m_main+set}" = set; then
74055 echo $ECHO_N "(cached) $ECHO_C" >&6
74056 else
74057 ac_check_lib_save_LIBS=$LIBS
74058 LIBS="-lm $LIBS"
74059 if test x$gcc_no_link = xyes; then
74060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74062 { (exit 1); exit 1; }; }
74063 fi
74064 cat >conftest.$ac_ext <<_ACEOF
74065 /* confdefs.h. */
74066 _ACEOF
74067 cat confdefs.h >>conftest.$ac_ext
74068 cat >>conftest.$ac_ext <<_ACEOF
74069 /* end confdefs.h. */
74070
74071
74072 int
74073 main ()
74074 {
74075 main ();
74076 ;
74077 return 0;
74078 }
74079 _ACEOF
74080 rm -f conftest.$ac_objext conftest$ac_exeext
74081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74082 (eval $ac_link) 2>conftest.er1
74083 ac_status=$?
74084 grep -v '^ *+' conftest.er1 >conftest.err
74085 rm -f conftest.er1
74086 cat conftest.err >&5
74087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74088 (exit $ac_status); } &&
74089 { ac_try='test -z "$ac_c_werror_flag"
74090 || test ! -s conftest.err'
74091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74092 (eval $ac_try) 2>&5
74093 ac_status=$?
74094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74095 (exit $ac_status); }; } &&
74096 { ac_try='test -s conftest$ac_exeext'
74097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74098 (eval $ac_try) 2>&5
74099 ac_status=$?
74100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74101 (exit $ac_status); }; }; then
74102 ac_cv_lib_m_main=yes
74103 else
74104 echo "$as_me: failed program was:" >&5
74105 sed 's/^/| /' conftest.$ac_ext >&5
74106
74107 ac_cv_lib_m_main=no
74108 fi
74109 rm -f conftest.err conftest.$ac_objext \
74110 conftest$ac_exeext conftest.$ac_ext
74111 LIBS=$ac_check_lib_save_LIBS
74112 fi
74113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74114 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74115 if test $ac_cv_lib_m_main = yes; then
74116 cat >>confdefs.h <<_ACEOF
74117 #define HAVE_LIBM 1
74118 _ACEOF
74119
74120 LIBS="-lm $LIBS"
74121
74122 fi
74123
74124
74125 for ac_func in copysignf
74126 do
74127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74128 echo "$as_me:$LINENO: checking for $ac_func" >&5
74129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74130 if eval "test \"\${$as_ac_var+set}\" = set"; then
74131 echo $ECHO_N "(cached) $ECHO_C" >&6
74132 else
74133 if test x$gcc_no_link = xyes; then
74134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74136 { (exit 1); exit 1; }; }
74137 fi
74138 cat >conftest.$ac_ext <<_ACEOF
74139 /* confdefs.h. */
74140 _ACEOF
74141 cat confdefs.h >>conftest.$ac_ext
74142 cat >>conftest.$ac_ext <<_ACEOF
74143 /* end confdefs.h. */
74144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74146 #define $ac_func innocuous_$ac_func
74147
74148 /* System header to define __stub macros and hopefully few prototypes,
74149 which can conflict with char $ac_func (); below.
74150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74151 <limits.h> exists even on freestanding compilers. */
74152
74153 #ifdef __STDC__
74154 # include <limits.h>
74155 #else
74156 # include <assert.h>
74157 #endif
74158
74159 #undef $ac_func
74160
74161 /* Override any gcc2 internal prototype to avoid an error. */
74162 #ifdef __cplusplus
74163 extern "C"
74164 {
74165 #endif
74166 /* We use char because int might match the return type of a gcc2
74167 builtin and then its argument prototype would still apply. */
74168 char $ac_func ();
74169 /* The GNU C library defines this for functions which it implements
74170 to always fail with ENOSYS. Some functions are actually named
74171 something starting with __ and the normal name is an alias. */
74172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74173 choke me
74174 #else
74175 char (*f) () = $ac_func;
74176 #endif
74177 #ifdef __cplusplus
74178 }
74179 #endif
74180
74181 int
74182 main ()
74183 {
74184 return f != $ac_func;
74185 ;
74186 return 0;
74187 }
74188 _ACEOF
74189 rm -f conftest.$ac_objext conftest$ac_exeext
74190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74191 (eval $ac_link) 2>conftest.er1
74192 ac_status=$?
74193 grep -v '^ *+' conftest.er1 >conftest.err
74194 rm -f conftest.er1
74195 cat conftest.err >&5
74196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74197 (exit $ac_status); } &&
74198 { ac_try='test -z "$ac_c_werror_flag"
74199 || test ! -s conftest.err'
74200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74201 (eval $ac_try) 2>&5
74202 ac_status=$?
74203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74204 (exit $ac_status); }; } &&
74205 { ac_try='test -s conftest$ac_exeext'
74206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74207 (eval $ac_try) 2>&5
74208 ac_status=$?
74209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210 (exit $ac_status); }; }; then
74211 eval "$as_ac_var=yes"
74212 else
74213 echo "$as_me: failed program was:" >&5
74214 sed 's/^/| /' conftest.$ac_ext >&5
74215
74216 eval "$as_ac_var=no"
74217 fi
74218 rm -f conftest.err conftest.$ac_objext \
74219 conftest$ac_exeext conftest.$ac_ext
74220 fi
74221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74223 if test `eval echo '${'$as_ac_var'}'` = yes; then
74224 cat >>confdefs.h <<_ACEOF
74225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74226 _ACEOF
74227
74228 else
74229 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74230 fi
74231 done
74232
74233
74234
74235 for ac_func in __signbit
74236 do
74237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74238 echo "$as_me:$LINENO: checking for $ac_func" >&5
74239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74240 if eval "test \"\${$as_ac_var+set}\" = set"; then
74241 echo $ECHO_N "(cached) $ECHO_C" >&6
74242 else
74243 if test x$gcc_no_link = xyes; then
74244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74246 { (exit 1); exit 1; }; }
74247 fi
74248 cat >conftest.$ac_ext <<_ACEOF
74249 /* confdefs.h. */
74250 _ACEOF
74251 cat confdefs.h >>conftest.$ac_ext
74252 cat >>conftest.$ac_ext <<_ACEOF
74253 /* end confdefs.h. */
74254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74256 #define $ac_func innocuous_$ac_func
74257
74258 /* System header to define __stub macros and hopefully few prototypes,
74259 which can conflict with char $ac_func (); below.
74260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74261 <limits.h> exists even on freestanding compilers. */
74262
74263 #ifdef __STDC__
74264 # include <limits.h>
74265 #else
74266 # include <assert.h>
74267 #endif
74268
74269 #undef $ac_func
74270
74271 /* Override any gcc2 internal prototype to avoid an error. */
74272 #ifdef __cplusplus
74273 extern "C"
74274 {
74275 #endif
74276 /* We use char because int might match the return type of a gcc2
74277 builtin and then its argument prototype would still apply. */
74278 char $ac_func ();
74279 /* The GNU C library defines this for functions which it implements
74280 to always fail with ENOSYS. Some functions are actually named
74281 something starting with __ and the normal name is an alias. */
74282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74283 choke me
74284 #else
74285 char (*f) () = $ac_func;
74286 #endif
74287 #ifdef __cplusplus
74288 }
74289 #endif
74290
74291 int
74292 main ()
74293 {
74294 return f != $ac_func;
74295 ;
74296 return 0;
74297 }
74298 _ACEOF
74299 rm -f conftest.$ac_objext conftest$ac_exeext
74300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74301 (eval $ac_link) 2>conftest.er1
74302 ac_status=$?
74303 grep -v '^ *+' conftest.er1 >conftest.err
74304 rm -f conftest.er1
74305 cat conftest.err >&5
74306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74307 (exit $ac_status); } &&
74308 { ac_try='test -z "$ac_c_werror_flag"
74309 || test ! -s conftest.err'
74310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74311 (eval $ac_try) 2>&5
74312 ac_status=$?
74313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74314 (exit $ac_status); }; } &&
74315 { ac_try='test -s conftest$ac_exeext'
74316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74317 (eval $ac_try) 2>&5
74318 ac_status=$?
74319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74320 (exit $ac_status); }; }; then
74321 eval "$as_ac_var=yes"
74322 else
74323 echo "$as_me: failed program was:" >&5
74324 sed 's/^/| /' conftest.$ac_ext >&5
74325
74326 eval "$as_ac_var=no"
74327 fi
74328 rm -f conftest.err conftest.$ac_objext \
74329 conftest$ac_exeext conftest.$ac_ext
74330 fi
74331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74333 if test `eval echo '${'$as_ac_var'}'` = yes; then
74334 cat >>confdefs.h <<_ACEOF
74335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74336 _ACEOF
74337
74338 else
74339 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74340 fi
74341 done
74342
74343
74344
74345 for ac_func in __signbitf
74346 do
74347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74348 echo "$as_me:$LINENO: checking for $ac_func" >&5
74349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74350 if eval "test \"\${$as_ac_var+set}\" = set"; then
74351 echo $ECHO_N "(cached) $ECHO_C" >&6
74352 else
74353 if test x$gcc_no_link = xyes; then
74354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74356 { (exit 1); exit 1; }; }
74357 fi
74358 cat >conftest.$ac_ext <<_ACEOF
74359 /* confdefs.h. */
74360 _ACEOF
74361 cat confdefs.h >>conftest.$ac_ext
74362 cat >>conftest.$ac_ext <<_ACEOF
74363 /* end confdefs.h. */
74364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74366 #define $ac_func innocuous_$ac_func
74367
74368 /* System header to define __stub macros and hopefully few prototypes,
74369 which can conflict with char $ac_func (); below.
74370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74371 <limits.h> exists even on freestanding compilers. */
74372
74373 #ifdef __STDC__
74374 # include <limits.h>
74375 #else
74376 # include <assert.h>
74377 #endif
74378
74379 #undef $ac_func
74380
74381 /* Override any gcc2 internal prototype to avoid an error. */
74382 #ifdef __cplusplus
74383 extern "C"
74384 {
74385 #endif
74386 /* We use char because int might match the return type of a gcc2
74387 builtin and then its argument prototype would still apply. */
74388 char $ac_func ();
74389 /* The GNU C library defines this for functions which it implements
74390 to always fail with ENOSYS. Some functions are actually named
74391 something starting with __ and the normal name is an alias. */
74392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74393 choke me
74394 #else
74395 char (*f) () = $ac_func;
74396 #endif
74397 #ifdef __cplusplus
74398 }
74399 #endif
74400
74401 int
74402 main ()
74403 {
74404 return f != $ac_func;
74405 ;
74406 return 0;
74407 }
74408 _ACEOF
74409 rm -f conftest.$ac_objext conftest$ac_exeext
74410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74411 (eval $ac_link) 2>conftest.er1
74412 ac_status=$?
74413 grep -v '^ *+' conftest.er1 >conftest.err
74414 rm -f conftest.er1
74415 cat conftest.err >&5
74416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74417 (exit $ac_status); } &&
74418 { ac_try='test -z "$ac_c_werror_flag"
74419 || test ! -s conftest.err'
74420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74421 (eval $ac_try) 2>&5
74422 ac_status=$?
74423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74424 (exit $ac_status); }; } &&
74425 { ac_try='test -s conftest$ac_exeext'
74426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74427 (eval $ac_try) 2>&5
74428 ac_status=$?
74429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74430 (exit $ac_status); }; }; then
74431 eval "$as_ac_var=yes"
74432 else
74433 echo "$as_me: failed program was:" >&5
74434 sed 's/^/| /' conftest.$ac_ext >&5
74435
74436 eval "$as_ac_var=no"
74437 fi
74438 rm -f conftest.err conftest.$ac_objext \
74439 conftest$ac_exeext conftest.$ac_ext
74440 fi
74441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74443 if test `eval echo '${'$as_ac_var'}'` = yes; then
74444 cat >>confdefs.h <<_ACEOF
74445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74446 _ACEOF
74447
74448 else
74449 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74450 fi
74451 done
74452
74453
74454 if test x$ac_cv_func_copysignl = x"yes"; then
74455
74456 for ac_func in __signbitl
74457 do
74458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74459 echo "$as_me:$LINENO: checking for $ac_func" >&5
74460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74461 if eval "test \"\${$as_ac_var+set}\" = set"; then
74462 echo $ECHO_N "(cached) $ECHO_C" >&6
74463 else
74464 if test x$gcc_no_link = xyes; then
74465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74467 { (exit 1); exit 1; }; }
74468 fi
74469 cat >conftest.$ac_ext <<_ACEOF
74470 /* confdefs.h. */
74471 _ACEOF
74472 cat confdefs.h >>conftest.$ac_ext
74473 cat >>conftest.$ac_ext <<_ACEOF
74474 /* end confdefs.h. */
74475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74477 #define $ac_func innocuous_$ac_func
74478
74479 /* System header to define __stub macros and hopefully few prototypes,
74480 which can conflict with char $ac_func (); below.
74481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74482 <limits.h> exists even on freestanding compilers. */
74483
74484 #ifdef __STDC__
74485 # include <limits.h>
74486 #else
74487 # include <assert.h>
74488 #endif
74489
74490 #undef $ac_func
74491
74492 /* Override any gcc2 internal prototype to avoid an error. */
74493 #ifdef __cplusplus
74494 extern "C"
74495 {
74496 #endif
74497 /* We use char because int might match the return type of a gcc2
74498 builtin and then its argument prototype would still apply. */
74499 char $ac_func ();
74500 /* The GNU C library defines this for functions which it implements
74501 to always fail with ENOSYS. Some functions are actually named
74502 something starting with __ and the normal name is an alias. */
74503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74504 choke me
74505 #else
74506 char (*f) () = $ac_func;
74507 #endif
74508 #ifdef __cplusplus
74509 }
74510 #endif
74511
74512 int
74513 main ()
74514 {
74515 return f != $ac_func;
74516 ;
74517 return 0;
74518 }
74519 _ACEOF
74520 rm -f conftest.$ac_objext conftest$ac_exeext
74521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74522 (eval $ac_link) 2>conftest.er1
74523 ac_status=$?
74524 grep -v '^ *+' conftest.er1 >conftest.err
74525 rm -f conftest.er1
74526 cat conftest.err >&5
74527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74528 (exit $ac_status); } &&
74529 { ac_try='test -z "$ac_c_werror_flag"
74530 || test ! -s conftest.err'
74531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74532 (eval $ac_try) 2>&5
74533 ac_status=$?
74534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74535 (exit $ac_status); }; } &&
74536 { ac_try='test -s conftest$ac_exeext'
74537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74538 (eval $ac_try) 2>&5
74539 ac_status=$?
74540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74541 (exit $ac_status); }; }; then
74542 eval "$as_ac_var=yes"
74543 else
74544 echo "$as_me: failed program was:" >&5
74545 sed 's/^/| /' conftest.$ac_ext >&5
74546
74547 eval "$as_ac_var=no"
74548 fi
74549 rm -f conftest.err conftest.$ac_objext \
74550 conftest$ac_exeext conftest.$ac_ext
74551 fi
74552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74554 if test `eval echo '${'$as_ac_var'}'` = yes; then
74555 cat >>confdefs.h <<_ACEOF
74556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74557 _ACEOF
74558
74559 else
74560 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74561 fi
74562 done
74563
74564 fi
74565
74566 # Used in libmath/Makefile.am.
74567 if test -n "$LIBMATHOBJS"; then
74568 need_libmath=yes
74569 fi
74570
74571
74572
74573
74574 enable_iconv=no
74575 # Only continue checking if the ISO C99 headers exist and support is on.
74576 if test x"$enable_wchar_t" = xyes; then
74577
74578 # Use iconv for wchar_t to char conversions. As such, check for
74579 # X/Open Portability Guide, version 2 features (XPG2).
74580 if test "${ac_cv_header_iconv_h+set}" = set; then
74581 echo "$as_me:$LINENO: checking for iconv.h" >&5
74582 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74583 if test "${ac_cv_header_iconv_h+set}" = set; then
74584 echo $ECHO_N "(cached) $ECHO_C" >&6
74585 fi
74586 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74587 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74588 else
74589 # Is the header compilable?
74590 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74591 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74592 cat >conftest.$ac_ext <<_ACEOF
74593 /* confdefs.h. */
74594 _ACEOF
74595 cat confdefs.h >>conftest.$ac_ext
74596 cat >>conftest.$ac_ext <<_ACEOF
74597 /* end confdefs.h. */
74598 $ac_includes_default
74599 #include <iconv.h>
74600 _ACEOF
74601 rm -f conftest.$ac_objext
74602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74603 (eval $ac_compile) 2>conftest.er1
74604 ac_status=$?
74605 grep -v '^ *+' conftest.er1 >conftest.err
74606 rm -f conftest.er1
74607 cat conftest.err >&5
74608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74609 (exit $ac_status); } &&
74610 { ac_try='test -z "$ac_c_werror_flag"
74611 || test ! -s conftest.err'
74612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74613 (eval $ac_try) 2>&5
74614 ac_status=$?
74615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74616 (exit $ac_status); }; } &&
74617 { ac_try='test -s conftest.$ac_objext'
74618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74619 (eval $ac_try) 2>&5
74620 ac_status=$?
74621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74622 (exit $ac_status); }; }; then
74623 ac_header_compiler=yes
74624 else
74625 echo "$as_me: failed program was:" >&5
74626 sed 's/^/| /' conftest.$ac_ext >&5
74627
74628 ac_header_compiler=no
74629 fi
74630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74632 echo "${ECHO_T}$ac_header_compiler" >&6
74633
74634 # Is the header present?
74635 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74636 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74637 cat >conftest.$ac_ext <<_ACEOF
74638 /* confdefs.h. */
74639 _ACEOF
74640 cat confdefs.h >>conftest.$ac_ext
74641 cat >>conftest.$ac_ext <<_ACEOF
74642 /* end confdefs.h. */
74643 #include <iconv.h>
74644 _ACEOF
74645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74647 ac_status=$?
74648 grep -v '^ *+' conftest.er1 >conftest.err
74649 rm -f conftest.er1
74650 cat conftest.err >&5
74651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74652 (exit $ac_status); } >/dev/null; then
74653 if test -s conftest.err; then
74654 ac_cpp_err=$ac_c_preproc_warn_flag
74655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74656 else
74657 ac_cpp_err=
74658 fi
74659 else
74660 ac_cpp_err=yes
74661 fi
74662 if test -z "$ac_cpp_err"; then
74663 ac_header_preproc=yes
74664 else
74665 echo "$as_me: failed program was:" >&5
74666 sed 's/^/| /' conftest.$ac_ext >&5
74667
74668 ac_header_preproc=no
74669 fi
74670 rm -f conftest.err conftest.$ac_ext
74671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74672 echo "${ECHO_T}$ac_header_preproc" >&6
74673
74674 # So? What about this header?
74675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74676 yes:no: )
74677 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74678 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74679 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74680 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74681 ac_header_preproc=yes
74682 ;;
74683 no:yes:* )
74684 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74685 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74686 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74687 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74688 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74689 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74690 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74691 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74692 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74693 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74694 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74695 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74696 (
74697 cat <<\_ASBOX
74698 ## ----------------------------------------- ##
74699 ## Report this to the package-unused lists. ##
74700 ## ----------------------------------------- ##
74701 _ASBOX
74702 ) |
74703 sed "s/^/$as_me: WARNING: /" >&2
74704 ;;
74705 esac
74706 echo "$as_me:$LINENO: checking for iconv.h" >&5
74707 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74708 if test "${ac_cv_header_iconv_h+set}" = set; then
74709 echo $ECHO_N "(cached) $ECHO_C" >&6
74710 else
74711 ac_cv_header_iconv_h=$ac_header_preproc
74712 fi
74713 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74714 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74715
74716 fi
74717 if test $ac_cv_header_iconv_h = yes; then
74718 ac_has_iconv_h=yes
74719 else
74720 ac_has_iconv_h=no
74721 fi
74722
74723
74724 if test "${ac_cv_header_langinfo_h+set}" = set; then
74725 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74726 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74727 if test "${ac_cv_header_langinfo_h+set}" = set; then
74728 echo $ECHO_N "(cached) $ECHO_C" >&6
74729 fi
74730 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74731 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74732 else
74733 # Is the header compilable?
74734 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74735 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74736 cat >conftest.$ac_ext <<_ACEOF
74737 /* confdefs.h. */
74738 _ACEOF
74739 cat confdefs.h >>conftest.$ac_ext
74740 cat >>conftest.$ac_ext <<_ACEOF
74741 /* end confdefs.h. */
74742 $ac_includes_default
74743 #include <langinfo.h>
74744 _ACEOF
74745 rm -f conftest.$ac_objext
74746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74747 (eval $ac_compile) 2>conftest.er1
74748 ac_status=$?
74749 grep -v '^ *+' conftest.er1 >conftest.err
74750 rm -f conftest.er1
74751 cat conftest.err >&5
74752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74753 (exit $ac_status); } &&
74754 { ac_try='test -z "$ac_c_werror_flag"
74755 || test ! -s conftest.err'
74756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74757 (eval $ac_try) 2>&5
74758 ac_status=$?
74759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74760 (exit $ac_status); }; } &&
74761 { ac_try='test -s conftest.$ac_objext'
74762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74763 (eval $ac_try) 2>&5
74764 ac_status=$?
74765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766 (exit $ac_status); }; }; then
74767 ac_header_compiler=yes
74768 else
74769 echo "$as_me: failed program was:" >&5
74770 sed 's/^/| /' conftest.$ac_ext >&5
74771
74772 ac_header_compiler=no
74773 fi
74774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74775 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74776 echo "${ECHO_T}$ac_header_compiler" >&6
74777
74778 # Is the header present?
74779 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74780 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74781 cat >conftest.$ac_ext <<_ACEOF
74782 /* confdefs.h. */
74783 _ACEOF
74784 cat confdefs.h >>conftest.$ac_ext
74785 cat >>conftest.$ac_ext <<_ACEOF
74786 /* end confdefs.h. */
74787 #include <langinfo.h>
74788 _ACEOF
74789 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74790 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74791 ac_status=$?
74792 grep -v '^ *+' conftest.er1 >conftest.err
74793 rm -f conftest.er1
74794 cat conftest.err >&5
74795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74796 (exit $ac_status); } >/dev/null; then
74797 if test -s conftest.err; then
74798 ac_cpp_err=$ac_c_preproc_warn_flag
74799 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74800 else
74801 ac_cpp_err=
74802 fi
74803 else
74804 ac_cpp_err=yes
74805 fi
74806 if test -z "$ac_cpp_err"; then
74807 ac_header_preproc=yes
74808 else
74809 echo "$as_me: failed program was:" >&5
74810 sed 's/^/| /' conftest.$ac_ext >&5
74811
74812 ac_header_preproc=no
74813 fi
74814 rm -f conftest.err conftest.$ac_ext
74815 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74816 echo "${ECHO_T}$ac_header_preproc" >&6
74817
74818 # So? What about this header?
74819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74820 yes:no: )
74821 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74822 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74823 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74824 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74825 ac_header_preproc=yes
74826 ;;
74827 no:yes:* )
74828 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74829 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74830 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74831 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74832 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74833 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74834 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74835 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74836 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74837 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74838 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74839 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74840 (
74841 cat <<\_ASBOX
74842 ## ----------------------------------------- ##
74843 ## Report this to the package-unused lists. ##
74844 ## ----------------------------------------- ##
74845 _ASBOX
74846 ) |
74847 sed "s/^/$as_me: WARNING: /" >&2
74848 ;;
74849 esac
74850 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74851 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74852 if test "${ac_cv_header_langinfo_h+set}" = set; then
74853 echo $ECHO_N "(cached) $ECHO_C" >&6
74854 else
74855 ac_cv_header_langinfo_h=$ac_header_preproc
74856 fi
74857 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74858 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74859
74860 fi
74861 if test $ac_cv_header_langinfo_h = yes; then
74862 ac_has_langinfo_h=yes
74863 else
74864 ac_has_langinfo_h=no
74865 fi
74866
74867
74868
74869 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74870 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74871 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74872 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74873 echo $ECHO_N "(cached) $ECHO_C" >&6
74874 else
74875 ac_check_lib_save_LIBS=$LIBS
74876 LIBS="-liconv $LIBS"
74877 if test x$gcc_no_link = xyes; then
74878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74880 { (exit 1); exit 1; }; }
74881 fi
74882 cat >conftest.$ac_ext <<_ACEOF
74883 /* confdefs.h. */
74884 _ACEOF
74885 cat confdefs.h >>conftest.$ac_ext
74886 cat >>conftest.$ac_ext <<_ACEOF
74887 /* end confdefs.h. */
74888
74889 /* Override any gcc2 internal prototype to avoid an error. */
74890 #ifdef __cplusplus
74891 extern "C"
74892 #endif
74893 /* We use char because int might match the return type of a gcc2
74894 builtin and then its argument prototype would still apply. */
74895 char iconv ();
74896 int
74897 main ()
74898 {
74899 iconv ();
74900 ;
74901 return 0;
74902 }
74903 _ACEOF
74904 rm -f conftest.$ac_objext conftest$ac_exeext
74905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74906 (eval $ac_link) 2>conftest.er1
74907 ac_status=$?
74908 grep -v '^ *+' conftest.er1 >conftest.err
74909 rm -f conftest.er1
74910 cat conftest.err >&5
74911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74912 (exit $ac_status); } &&
74913 { ac_try='test -z "$ac_c_werror_flag"
74914 || test ! -s conftest.err'
74915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74916 (eval $ac_try) 2>&5
74917 ac_status=$?
74918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74919 (exit $ac_status); }; } &&
74920 { ac_try='test -s conftest$ac_exeext'
74921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74922 (eval $ac_try) 2>&5
74923 ac_status=$?
74924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74925 (exit $ac_status); }; }; then
74926 ac_cv_lib_iconv_iconv=yes
74927 else
74928 echo "$as_me: failed program was:" >&5
74929 sed 's/^/| /' conftest.$ac_ext >&5
74930
74931 ac_cv_lib_iconv_iconv=no
74932 fi
74933 rm -f conftest.err conftest.$ac_objext \
74934 conftest$ac_exeext conftest.$ac_ext
74935 LIBS=$ac_check_lib_save_LIBS
74936 fi
74937 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74938 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74939 if test $ac_cv_lib_iconv_iconv = yes; then
74940 LIBICONV="-liconv"
74941 fi
74942
74943 ac_save_LIBS="$LIBS"
74944 LIBS="$LIBS $LIBICONV"
74945
74946
74947
74948
74949
74950
74951 for ac_func in iconv_open iconv_close iconv nl_langinfo
74952 do
74953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74954 echo "$as_me:$LINENO: checking for $ac_func" >&5
74955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74956 if eval "test \"\${$as_ac_var+set}\" = set"; then
74957 echo $ECHO_N "(cached) $ECHO_C" >&6
74958 else
74959 if test x$gcc_no_link = xyes; then
74960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74962 { (exit 1); exit 1; }; }
74963 fi
74964 cat >conftest.$ac_ext <<_ACEOF
74965 /* confdefs.h. */
74966 _ACEOF
74967 cat confdefs.h >>conftest.$ac_ext
74968 cat >>conftest.$ac_ext <<_ACEOF
74969 /* end confdefs.h. */
74970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74972 #define $ac_func innocuous_$ac_func
74973
74974 /* System header to define __stub macros and hopefully few prototypes,
74975 which can conflict with char $ac_func (); below.
74976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74977 <limits.h> exists even on freestanding compilers. */
74978
74979 #ifdef __STDC__
74980 # include <limits.h>
74981 #else
74982 # include <assert.h>
74983 #endif
74984
74985 #undef $ac_func
74986
74987 /* Override any gcc2 internal prototype to avoid an error. */
74988 #ifdef __cplusplus
74989 extern "C"
74990 {
74991 #endif
74992 /* We use char because int might match the return type of a gcc2
74993 builtin and then its argument prototype would still apply. */
74994 char $ac_func ();
74995 /* The GNU C library defines this for functions which it implements
74996 to always fail with ENOSYS. Some functions are actually named
74997 something starting with __ and the normal name is an alias. */
74998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74999 choke me
75000 #else
75001 char (*f) () = $ac_func;
75002 #endif
75003 #ifdef __cplusplus
75004 }
75005 #endif
75006
75007 int
75008 main ()
75009 {
75010 return f != $ac_func;
75011 ;
75012 return 0;
75013 }
75014 _ACEOF
75015 rm -f conftest.$ac_objext conftest$ac_exeext
75016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75017 (eval $ac_link) 2>conftest.er1
75018 ac_status=$?
75019 grep -v '^ *+' conftest.er1 >conftest.err
75020 rm -f conftest.er1
75021 cat conftest.err >&5
75022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75023 (exit $ac_status); } &&
75024 { ac_try='test -z "$ac_c_werror_flag"
75025 || test ! -s conftest.err'
75026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75027 (eval $ac_try) 2>&5
75028 ac_status=$?
75029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75030 (exit $ac_status); }; } &&
75031 { ac_try='test -s conftest$ac_exeext'
75032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75033 (eval $ac_try) 2>&5
75034 ac_status=$?
75035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75036 (exit $ac_status); }; }; then
75037 eval "$as_ac_var=yes"
75038 else
75039 echo "$as_me: failed program was:" >&5
75040 sed 's/^/| /' conftest.$ac_ext >&5
75041
75042 eval "$as_ac_var=no"
75043 fi
75044 rm -f conftest.err conftest.$ac_objext \
75045 conftest$ac_exeext conftest.$ac_ext
75046 fi
75047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75049 if test `eval echo '${'$as_ac_var'}'` = yes; then
75050 cat >>confdefs.h <<_ACEOF
75051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75052 _ACEOF
75053 ac_XPG2funcs=yes
75054 else
75055 ac_XPG2funcs=no
75056 fi
75057 done
75058
75059
75060 LIBS="$ac_save_LIBS"
75061
75062 if test x"$ac_has_iconv_h" = xyes &&
75063 test x"$ac_has_langinfo_h" = xyes &&
75064 test x"$ac_XPG2funcs" = xyes;
75065 then
75066
75067 cat >>confdefs.h <<\_ACEOF
75068 #define _GLIBCXX_USE_ICONV 1
75069 _ACEOF
75070
75071 enable_iconv=yes
75072 fi
75073 fi
75074 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75075 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75076 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75077 echo "${ECHO_T}$enable_iconv" >&6
75078
75079 cat >>confdefs.h <<\_ACEOF
75080 #define HAVE_COPYSIGN 1
75081 _ACEOF
75082
75083 cat >>confdefs.h <<\_ACEOF
75084 #define HAVE_COPYSIGNF 1
75085 _ACEOF
75086
75087 cat >>confdefs.h <<\_ACEOF
75088 #define HAVE_FREXPF 1
75089 _ACEOF
75090
75091 cat >>confdefs.h <<\_ACEOF
75092 #define HAVE_HYPOT 1
75093 _ACEOF
75094
75095 case "$target" in
75096 *-hpux10*)
75097 cat >>confdefs.h <<\_ACEOF
75098 #define HAVE_FINITE 1
75099 _ACEOF
75100
75101 cat >>confdefs.h <<\_ACEOF
75102 #define HAVE_FINITEF 1
75103 _ACEOF
75104
75105 cat >>confdefs.h <<\_ACEOF
75106 #define HAVE_ISINF 1
75107 _ACEOF
75108
75109 cat >>confdefs.h <<\_ACEOF
75110 #define HAVE_ISINFF 1
75111 _ACEOF
75112
75113 cat >>confdefs.h <<\_ACEOF
75114 #define HAVE_ISNAN 1
75115 _ACEOF
75116
75117 cat >>confdefs.h <<\_ACEOF
75118 #define HAVE_ISNANF 1
75119 _ACEOF
75120
75121 ;;
75122 esac
75123 ;;
75124 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
75125
75126
75127
75128
75129
75130
75131
75132
75133
75134
75135
75136
75137
75138
75139
75140 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75141 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75142 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
75143 do
75144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75146 echo "$as_me:$LINENO: checking for $ac_header" >&5
75147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75149 echo $ECHO_N "(cached) $ECHO_C" >&6
75150 fi
75151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75153 else
75154 # Is the header compilable?
75155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75157 cat >conftest.$ac_ext <<_ACEOF
75158 /* confdefs.h. */
75159 _ACEOF
75160 cat confdefs.h >>conftest.$ac_ext
75161 cat >>conftest.$ac_ext <<_ACEOF
75162 /* end confdefs.h. */
75163 $ac_includes_default
75164 #include <$ac_header>
75165 _ACEOF
75166 rm -f conftest.$ac_objext
75167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75168 (eval $ac_compile) 2>conftest.er1
75169 ac_status=$?
75170 grep -v '^ *+' conftest.er1 >conftest.err
75171 rm -f conftest.er1
75172 cat conftest.err >&5
75173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75174 (exit $ac_status); } &&
75175 { ac_try='test -z "$ac_c_werror_flag"
75176 || test ! -s conftest.err'
75177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75178 (eval $ac_try) 2>&5
75179 ac_status=$?
75180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75181 (exit $ac_status); }; } &&
75182 { ac_try='test -s conftest.$ac_objext'
75183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75184 (eval $ac_try) 2>&5
75185 ac_status=$?
75186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75187 (exit $ac_status); }; }; then
75188 ac_header_compiler=yes
75189 else
75190 echo "$as_me: failed program was:" >&5
75191 sed 's/^/| /' conftest.$ac_ext >&5
75192
75193 ac_header_compiler=no
75194 fi
75195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75197 echo "${ECHO_T}$ac_header_compiler" >&6
75198
75199 # Is the header present?
75200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75202 cat >conftest.$ac_ext <<_ACEOF
75203 /* confdefs.h. */
75204 _ACEOF
75205 cat confdefs.h >>conftest.$ac_ext
75206 cat >>conftest.$ac_ext <<_ACEOF
75207 /* end confdefs.h. */
75208 #include <$ac_header>
75209 _ACEOF
75210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75212 ac_status=$?
75213 grep -v '^ *+' conftest.er1 >conftest.err
75214 rm -f conftest.er1
75215 cat conftest.err >&5
75216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75217 (exit $ac_status); } >/dev/null; then
75218 if test -s conftest.err; then
75219 ac_cpp_err=$ac_c_preproc_warn_flag
75220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75221 else
75222 ac_cpp_err=
75223 fi
75224 else
75225 ac_cpp_err=yes
75226 fi
75227 if test -z "$ac_cpp_err"; then
75228 ac_header_preproc=yes
75229 else
75230 echo "$as_me: failed program was:" >&5
75231 sed 's/^/| /' conftest.$ac_ext >&5
75232
75233 ac_header_preproc=no
75234 fi
75235 rm -f conftest.err conftest.$ac_ext
75236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75237 echo "${ECHO_T}$ac_header_preproc" >&6
75238
75239 # So? What about this header?
75240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75241 yes:no: )
75242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75246 ac_header_preproc=yes
75247 ;;
75248 no:yes:* )
75249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75261 (
75262 cat <<\_ASBOX
75263 ## ----------------------------------------- ##
75264 ## Report this to the package-unused lists. ##
75265 ## ----------------------------------------- ##
75266 _ASBOX
75267 ) |
75268 sed "s/^/$as_me: WARNING: /" >&2
75269 ;;
75270 esac
75271 echo "$as_me:$LINENO: checking for $ac_header" >&5
75272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75274 echo $ECHO_N "(cached) $ECHO_C" >&6
75275 else
75276 eval "$as_ac_Header=\$ac_header_preproc"
75277 fi
75278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75280
75281 fi
75282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75283 cat >>confdefs.h <<_ACEOF
75284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75285 _ACEOF
75286
75287 fi
75288
75289 done
75290
75291 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75292
75293
75294 # If we're not using GNU ld, then there's no point in even trying these
75295 # tests. Check for that first. We should have already tested for gld
75296 # by now (in libtool), but require it now just to be safe...
75297 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75298 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75299
75300
75301
75302 # The name set by libtool depends on the version of libtool. Shame on us
75303 # for depending on an impl detail, but c'est la vie. Older versions used
75304 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75305 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75306 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75307 # set (hence we're using an older libtool), then set it.
75308 if test x${with_gnu_ld+set} != xset; then
75309 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75310 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75311 with_gnu_ld=no
75312 else
75313 with_gnu_ld=$ac_cv_prog_gnu_ld
75314 fi
75315 fi
75316
75317 # Start by getting the version number. I think the libtool test already
75318 # does some of this, but throws away the result.
75319
75320 ldver=`$LD --version 2>/dev/null | head -1 | \
75321 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75322
75323 glibcxx_gnu_ld_version=`echo $ldver | \
75324 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75325
75326 # Set --gc-sections.
75327 if test "$with_gnu_ld" = "notbroken"; then
75328 # GNU ld it is! Joy and bunny rabbits!
75329
75330 # All these tests are for C++; save the language and the compiler flags.
75331 # Need to do this so that g++ won't try to link in libstdc++
75332 ac_test_CFLAGS="${CFLAGS+set}"
75333 ac_save_CFLAGS="$CFLAGS"
75334 CFLAGS='-x c++ -Wl,--gc-sections'
75335
75336 # Check for -Wl,--gc-sections
75337 # XXX This test is broken at the moment, as symbols required for linking
75338 # are now in libsupc++ (not built yet). In addition, this test has
75339 # cored on solaris in the past. In addition, --gc-sections doesn't
75340 # really work at the moment (keeps on discarding used sections, first
75341 # .eh_frame and now some of the glibc sections for iconv).
75342 # Bzzzzt. Thanks for playing, maybe next time.
75343 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75344 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75345 if test "$cross_compiling" = yes; then
75346 ac_sectionLDflags=yes
75347 else
75348 cat >conftest.$ac_ext <<_ACEOF
75349 /* confdefs.h. */
75350 _ACEOF
75351 cat confdefs.h >>conftest.$ac_ext
75352 cat >>conftest.$ac_ext <<_ACEOF
75353 /* end confdefs.h. */
75354
75355 int main(void)
75356 {
75357 try { throw 1; }
75358 catch (...) { };
75359 return 0;
75360 }
75361
75362 _ACEOF
75363 rm -f conftest$ac_exeext
75364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75365 (eval $ac_link) 2>&5
75366 ac_status=$?
75367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75370 (eval $ac_try) 2>&5
75371 ac_status=$?
75372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75373 (exit $ac_status); }; }; then
75374 ac_sectionLDflags=yes
75375 else
75376 echo "$as_me: program exited with status $ac_status" >&5
75377 echo "$as_me: failed program was:" >&5
75378 sed 's/^/| /' conftest.$ac_ext >&5
75379
75380 ( exit $ac_status )
75381 ac_sectionLDflags=no
75382 fi
75383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75384 fi
75385 if test "$ac_test_CFLAGS" = set; then
75386 CFLAGS="$ac_save_CFLAGS"
75387 else
75388 # this is the suspicious part
75389 CFLAGS=''
75390 fi
75391 if test "$ac_sectionLDflags" = "yes"; then
75392 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75393 fi
75394 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75395 echo "${ECHO_T}$ac_sectionLDflags" >&6
75396 fi
75397
75398 # Set linker optimization flags.
75399 if test x"$with_gnu_ld" = x"yes"; then
75400 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75401 fi
75402
75403
75404
75405
75406
75407
75408 echo "$as_me:$LINENO: checking for main in -lm" >&5
75409 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75410 if test "${ac_cv_lib_m_main+set}" = set; then
75411 echo $ECHO_N "(cached) $ECHO_C" >&6
75412 else
75413 ac_check_lib_save_LIBS=$LIBS
75414 LIBS="-lm $LIBS"
75415 if test x$gcc_no_link = xyes; then
75416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75418 { (exit 1); exit 1; }; }
75419 fi
75420 cat >conftest.$ac_ext <<_ACEOF
75421 /* confdefs.h. */
75422 _ACEOF
75423 cat confdefs.h >>conftest.$ac_ext
75424 cat >>conftest.$ac_ext <<_ACEOF
75425 /* end confdefs.h. */
75426
75427
75428 int
75429 main ()
75430 {
75431 main ();
75432 ;
75433 return 0;
75434 }
75435 _ACEOF
75436 rm -f conftest.$ac_objext conftest$ac_exeext
75437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75438 (eval $ac_link) 2>conftest.er1
75439 ac_status=$?
75440 grep -v '^ *+' conftest.er1 >conftest.err
75441 rm -f conftest.er1
75442 cat conftest.err >&5
75443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75444 (exit $ac_status); } &&
75445 { ac_try='test -z "$ac_c_werror_flag"
75446 || test ! -s conftest.err'
75447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75448 (eval $ac_try) 2>&5
75449 ac_status=$?
75450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75451 (exit $ac_status); }; } &&
75452 { ac_try='test -s conftest$ac_exeext'
75453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75454 (eval $ac_try) 2>&5
75455 ac_status=$?
75456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75457 (exit $ac_status); }; }; then
75458 ac_cv_lib_m_main=yes
75459 else
75460 echo "$as_me: failed program was:" >&5
75461 sed 's/^/| /' conftest.$ac_ext >&5
75462
75463 ac_cv_lib_m_main=no
75464 fi
75465 rm -f conftest.err conftest.$ac_objext \
75466 conftest$ac_exeext conftest.$ac_ext
75467 LIBS=$ac_check_lib_save_LIBS
75468 fi
75469 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75470 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75471 if test $ac_cv_lib_m_main = yes; then
75472 cat >>confdefs.h <<_ACEOF
75473 #define HAVE_LIBM 1
75474 _ACEOF
75475
75476 LIBS="-lm $LIBS"
75477
75478 fi
75479
75480
75481 for ac_func in copysignf
75482 do
75483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75484 echo "$as_me:$LINENO: checking for $ac_func" >&5
75485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75486 if eval "test \"\${$as_ac_var+set}\" = set"; then
75487 echo $ECHO_N "(cached) $ECHO_C" >&6
75488 else
75489 if test x$gcc_no_link = xyes; then
75490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75492 { (exit 1); exit 1; }; }
75493 fi
75494 cat >conftest.$ac_ext <<_ACEOF
75495 /* confdefs.h. */
75496 _ACEOF
75497 cat confdefs.h >>conftest.$ac_ext
75498 cat >>conftest.$ac_ext <<_ACEOF
75499 /* end confdefs.h. */
75500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75502 #define $ac_func innocuous_$ac_func
75503
75504 /* System header to define __stub macros and hopefully few prototypes,
75505 which can conflict with char $ac_func (); below.
75506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75507 <limits.h> exists even on freestanding compilers. */
75508
75509 #ifdef __STDC__
75510 # include <limits.h>
75511 #else
75512 # include <assert.h>
75513 #endif
75514
75515 #undef $ac_func
75516
75517 /* Override any gcc2 internal prototype to avoid an error. */
75518 #ifdef __cplusplus
75519 extern "C"
75520 {
75521 #endif
75522 /* We use char because int might match the return type of a gcc2
75523 builtin and then its argument prototype would still apply. */
75524 char $ac_func ();
75525 /* The GNU C library defines this for functions which it implements
75526 to always fail with ENOSYS. Some functions are actually named
75527 something starting with __ and the normal name is an alias. */
75528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75529 choke me
75530 #else
75531 char (*f) () = $ac_func;
75532 #endif
75533 #ifdef __cplusplus
75534 }
75535 #endif
75536
75537 int
75538 main ()
75539 {
75540 return f != $ac_func;
75541 ;
75542 return 0;
75543 }
75544 _ACEOF
75545 rm -f conftest.$ac_objext conftest$ac_exeext
75546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75547 (eval $ac_link) 2>conftest.er1
75548 ac_status=$?
75549 grep -v '^ *+' conftest.er1 >conftest.err
75550 rm -f conftest.er1
75551 cat conftest.err >&5
75552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75553 (exit $ac_status); } &&
75554 { ac_try='test -z "$ac_c_werror_flag"
75555 || test ! -s conftest.err'
75556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75557 (eval $ac_try) 2>&5
75558 ac_status=$?
75559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75560 (exit $ac_status); }; } &&
75561 { ac_try='test -s conftest$ac_exeext'
75562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75563 (eval $ac_try) 2>&5
75564 ac_status=$?
75565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75566 (exit $ac_status); }; }; then
75567 eval "$as_ac_var=yes"
75568 else
75569 echo "$as_me: failed program was:" >&5
75570 sed 's/^/| /' conftest.$ac_ext >&5
75571
75572 eval "$as_ac_var=no"
75573 fi
75574 rm -f conftest.err conftest.$ac_objext \
75575 conftest$ac_exeext conftest.$ac_ext
75576 fi
75577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75579 if test `eval echo '${'$as_ac_var'}'` = yes; then
75580 cat >>confdefs.h <<_ACEOF
75581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75582 _ACEOF
75583
75584 else
75585 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75586 fi
75587 done
75588
75589
75590
75591 for ac_func in __signbit
75592 do
75593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75594 echo "$as_me:$LINENO: checking for $ac_func" >&5
75595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75596 if eval "test \"\${$as_ac_var+set}\" = set"; then
75597 echo $ECHO_N "(cached) $ECHO_C" >&6
75598 else
75599 if test x$gcc_no_link = xyes; then
75600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75602 { (exit 1); exit 1; }; }
75603 fi
75604 cat >conftest.$ac_ext <<_ACEOF
75605 /* confdefs.h. */
75606 _ACEOF
75607 cat confdefs.h >>conftest.$ac_ext
75608 cat >>conftest.$ac_ext <<_ACEOF
75609 /* end confdefs.h. */
75610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75612 #define $ac_func innocuous_$ac_func
75613
75614 /* System header to define __stub macros and hopefully few prototypes,
75615 which can conflict with char $ac_func (); below.
75616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75617 <limits.h> exists even on freestanding compilers. */
75618
75619 #ifdef __STDC__
75620 # include <limits.h>
75621 #else
75622 # include <assert.h>
75623 #endif
75624
75625 #undef $ac_func
75626
75627 /* Override any gcc2 internal prototype to avoid an error. */
75628 #ifdef __cplusplus
75629 extern "C"
75630 {
75631 #endif
75632 /* We use char because int might match the return type of a gcc2
75633 builtin and then its argument prototype would still apply. */
75634 char $ac_func ();
75635 /* The GNU C library defines this for functions which it implements
75636 to always fail with ENOSYS. Some functions are actually named
75637 something starting with __ and the normal name is an alias. */
75638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75639 choke me
75640 #else
75641 char (*f) () = $ac_func;
75642 #endif
75643 #ifdef __cplusplus
75644 }
75645 #endif
75646
75647 int
75648 main ()
75649 {
75650 return f != $ac_func;
75651 ;
75652 return 0;
75653 }
75654 _ACEOF
75655 rm -f conftest.$ac_objext conftest$ac_exeext
75656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75657 (eval $ac_link) 2>conftest.er1
75658 ac_status=$?
75659 grep -v '^ *+' conftest.er1 >conftest.err
75660 rm -f conftest.er1
75661 cat conftest.err >&5
75662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75663 (exit $ac_status); } &&
75664 { ac_try='test -z "$ac_c_werror_flag"
75665 || test ! -s conftest.err'
75666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75667 (eval $ac_try) 2>&5
75668 ac_status=$?
75669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75670 (exit $ac_status); }; } &&
75671 { ac_try='test -s conftest$ac_exeext'
75672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75673 (eval $ac_try) 2>&5
75674 ac_status=$?
75675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75676 (exit $ac_status); }; }; then
75677 eval "$as_ac_var=yes"
75678 else
75679 echo "$as_me: failed program was:" >&5
75680 sed 's/^/| /' conftest.$ac_ext >&5
75681
75682 eval "$as_ac_var=no"
75683 fi
75684 rm -f conftest.err conftest.$ac_objext \
75685 conftest$ac_exeext conftest.$ac_ext
75686 fi
75687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75689 if test `eval echo '${'$as_ac_var'}'` = yes; then
75690 cat >>confdefs.h <<_ACEOF
75691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75692 _ACEOF
75693
75694 else
75695 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75696 fi
75697 done
75698
75699
75700
75701 for ac_func in __signbitf
75702 do
75703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75704 echo "$as_me:$LINENO: checking for $ac_func" >&5
75705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75706 if eval "test \"\${$as_ac_var+set}\" = set"; then
75707 echo $ECHO_N "(cached) $ECHO_C" >&6
75708 else
75709 if test x$gcc_no_link = xyes; then
75710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75712 { (exit 1); exit 1; }; }
75713 fi
75714 cat >conftest.$ac_ext <<_ACEOF
75715 /* confdefs.h. */
75716 _ACEOF
75717 cat confdefs.h >>conftest.$ac_ext
75718 cat >>conftest.$ac_ext <<_ACEOF
75719 /* end confdefs.h. */
75720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75722 #define $ac_func innocuous_$ac_func
75723
75724 /* System header to define __stub macros and hopefully few prototypes,
75725 which can conflict with char $ac_func (); below.
75726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75727 <limits.h> exists even on freestanding compilers. */
75728
75729 #ifdef __STDC__
75730 # include <limits.h>
75731 #else
75732 # include <assert.h>
75733 #endif
75734
75735 #undef $ac_func
75736
75737 /* Override any gcc2 internal prototype to avoid an error. */
75738 #ifdef __cplusplus
75739 extern "C"
75740 {
75741 #endif
75742 /* We use char because int might match the return type of a gcc2
75743 builtin and then its argument prototype would still apply. */
75744 char $ac_func ();
75745 /* The GNU C library defines this for functions which it implements
75746 to always fail with ENOSYS. Some functions are actually named
75747 something starting with __ and the normal name is an alias. */
75748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75749 choke me
75750 #else
75751 char (*f) () = $ac_func;
75752 #endif
75753 #ifdef __cplusplus
75754 }
75755 #endif
75756
75757 int
75758 main ()
75759 {
75760 return f != $ac_func;
75761 ;
75762 return 0;
75763 }
75764 _ACEOF
75765 rm -f conftest.$ac_objext conftest$ac_exeext
75766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75767 (eval $ac_link) 2>conftest.er1
75768 ac_status=$?
75769 grep -v '^ *+' conftest.er1 >conftest.err
75770 rm -f conftest.er1
75771 cat conftest.err >&5
75772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75773 (exit $ac_status); } &&
75774 { ac_try='test -z "$ac_c_werror_flag"
75775 || test ! -s conftest.err'
75776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75777 (eval $ac_try) 2>&5
75778 ac_status=$?
75779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75780 (exit $ac_status); }; } &&
75781 { ac_try='test -s conftest$ac_exeext'
75782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75783 (eval $ac_try) 2>&5
75784 ac_status=$?
75785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75786 (exit $ac_status); }; }; then
75787 eval "$as_ac_var=yes"
75788 else
75789 echo "$as_me: failed program was:" >&5
75790 sed 's/^/| /' conftest.$ac_ext >&5
75791
75792 eval "$as_ac_var=no"
75793 fi
75794 rm -f conftest.err conftest.$ac_objext \
75795 conftest$ac_exeext conftest.$ac_ext
75796 fi
75797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75799 if test `eval echo '${'$as_ac_var'}'` = yes; then
75800 cat >>confdefs.h <<_ACEOF
75801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75802 _ACEOF
75803
75804 else
75805 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75806 fi
75807 done
75808
75809
75810 if test x$ac_cv_func_copysignl = x"yes"; then
75811
75812 for ac_func in __signbitl
75813 do
75814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75815 echo "$as_me:$LINENO: checking for $ac_func" >&5
75816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75817 if eval "test \"\${$as_ac_var+set}\" = set"; then
75818 echo $ECHO_N "(cached) $ECHO_C" >&6
75819 else
75820 if test x$gcc_no_link = xyes; then
75821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75823 { (exit 1); exit 1; }; }
75824 fi
75825 cat >conftest.$ac_ext <<_ACEOF
75826 /* confdefs.h. */
75827 _ACEOF
75828 cat confdefs.h >>conftest.$ac_ext
75829 cat >>conftest.$ac_ext <<_ACEOF
75830 /* end confdefs.h. */
75831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75833 #define $ac_func innocuous_$ac_func
75834
75835 /* System header to define __stub macros and hopefully few prototypes,
75836 which can conflict with char $ac_func (); below.
75837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75838 <limits.h> exists even on freestanding compilers. */
75839
75840 #ifdef __STDC__
75841 # include <limits.h>
75842 #else
75843 # include <assert.h>
75844 #endif
75845
75846 #undef $ac_func
75847
75848 /* Override any gcc2 internal prototype to avoid an error. */
75849 #ifdef __cplusplus
75850 extern "C"
75851 {
75852 #endif
75853 /* We use char because int might match the return type of a gcc2
75854 builtin and then its argument prototype would still apply. */
75855 char $ac_func ();
75856 /* The GNU C library defines this for functions which it implements
75857 to always fail with ENOSYS. Some functions are actually named
75858 something starting with __ and the normal name is an alias. */
75859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75860 choke me
75861 #else
75862 char (*f) () = $ac_func;
75863 #endif
75864 #ifdef __cplusplus
75865 }
75866 #endif
75867
75868 int
75869 main ()
75870 {
75871 return f != $ac_func;
75872 ;
75873 return 0;
75874 }
75875 _ACEOF
75876 rm -f conftest.$ac_objext conftest$ac_exeext
75877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75878 (eval $ac_link) 2>conftest.er1
75879 ac_status=$?
75880 grep -v '^ *+' conftest.er1 >conftest.err
75881 rm -f conftest.er1
75882 cat conftest.err >&5
75883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75884 (exit $ac_status); } &&
75885 { ac_try='test -z "$ac_c_werror_flag"
75886 || test ! -s conftest.err'
75887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75888 (eval $ac_try) 2>&5
75889 ac_status=$?
75890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75891 (exit $ac_status); }; } &&
75892 { ac_try='test -s conftest$ac_exeext'
75893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75894 (eval $ac_try) 2>&5
75895 ac_status=$?
75896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75897 (exit $ac_status); }; }; then
75898 eval "$as_ac_var=yes"
75899 else
75900 echo "$as_me: failed program was:" >&5
75901 sed 's/^/| /' conftest.$ac_ext >&5
75902
75903 eval "$as_ac_var=no"
75904 fi
75905 rm -f conftest.err conftest.$ac_objext \
75906 conftest$ac_exeext conftest.$ac_ext
75907 fi
75908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75910 if test `eval echo '${'$as_ac_var'}'` = yes; then
75911 cat >>confdefs.h <<_ACEOF
75912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75913 _ACEOF
75914
75915 else
75916 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75917 fi
75918 done
75919
75920 fi
75921
75922 # Used in libmath/Makefile.am.
75923 if test -n "$LIBMATHOBJS"; then
75924 need_libmath=yes
75925 fi
75926
75927
75928
75929
75930 enable_iconv=no
75931 # Only continue checking if the ISO C99 headers exist and support is on.
75932 if test x"$enable_wchar_t" = xyes; then
75933
75934 # Use iconv for wchar_t to char conversions. As such, check for
75935 # X/Open Portability Guide, version 2 features (XPG2).
75936 if test "${ac_cv_header_iconv_h+set}" = set; then
75937 echo "$as_me:$LINENO: checking for iconv.h" >&5
75938 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75939 if test "${ac_cv_header_iconv_h+set}" = set; then
75940 echo $ECHO_N "(cached) $ECHO_C" >&6
75941 fi
75942 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75943 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75944 else
75945 # Is the header compilable?
75946 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75947 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75948 cat >conftest.$ac_ext <<_ACEOF
75949 /* confdefs.h. */
75950 _ACEOF
75951 cat confdefs.h >>conftest.$ac_ext
75952 cat >>conftest.$ac_ext <<_ACEOF
75953 /* end confdefs.h. */
75954 $ac_includes_default
75955 #include <iconv.h>
75956 _ACEOF
75957 rm -f conftest.$ac_objext
75958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75959 (eval $ac_compile) 2>conftest.er1
75960 ac_status=$?
75961 grep -v '^ *+' conftest.er1 >conftest.err
75962 rm -f conftest.er1
75963 cat conftest.err >&5
75964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75965 (exit $ac_status); } &&
75966 { ac_try='test -z "$ac_c_werror_flag"
75967 || test ! -s conftest.err'
75968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75969 (eval $ac_try) 2>&5
75970 ac_status=$?
75971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75972 (exit $ac_status); }; } &&
75973 { ac_try='test -s conftest.$ac_objext'
75974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75975 (eval $ac_try) 2>&5
75976 ac_status=$?
75977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75978 (exit $ac_status); }; }; then
75979 ac_header_compiler=yes
75980 else
75981 echo "$as_me: failed program was:" >&5
75982 sed 's/^/| /' conftest.$ac_ext >&5
75983
75984 ac_header_compiler=no
75985 fi
75986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75988 echo "${ECHO_T}$ac_header_compiler" >&6
75989
75990 # Is the header present?
75991 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75992 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75993 cat >conftest.$ac_ext <<_ACEOF
75994 /* confdefs.h. */
75995 _ACEOF
75996 cat confdefs.h >>conftest.$ac_ext
75997 cat >>conftest.$ac_ext <<_ACEOF
75998 /* end confdefs.h. */
75999 #include <iconv.h>
76000 _ACEOF
76001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76003 ac_status=$?
76004 grep -v '^ *+' conftest.er1 >conftest.err
76005 rm -f conftest.er1
76006 cat conftest.err >&5
76007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76008 (exit $ac_status); } >/dev/null; then
76009 if test -s conftest.err; then
76010 ac_cpp_err=$ac_c_preproc_warn_flag
76011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76012 else
76013 ac_cpp_err=
76014 fi
76015 else
76016 ac_cpp_err=yes
76017 fi
76018 if test -z "$ac_cpp_err"; then
76019 ac_header_preproc=yes
76020 else
76021 echo "$as_me: failed program was:" >&5
76022 sed 's/^/| /' conftest.$ac_ext >&5
76023
76024 ac_header_preproc=no
76025 fi
76026 rm -f conftest.err conftest.$ac_ext
76027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76028 echo "${ECHO_T}$ac_header_preproc" >&6
76029
76030 # So? What about this header?
76031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76032 yes:no: )
76033 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76034 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76035 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76036 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76037 ac_header_preproc=yes
76038 ;;
76039 no:yes:* )
76040 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76041 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76042 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76043 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76044 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76045 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76046 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76047 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76048 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76049 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76050 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76051 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76052 (
76053 cat <<\_ASBOX
76054 ## ----------------------------------------- ##
76055 ## Report this to the package-unused lists. ##
76056 ## ----------------------------------------- ##
76057 _ASBOX
76058 ) |
76059 sed "s/^/$as_me: WARNING: /" >&2
76060 ;;
76061 esac
76062 echo "$as_me:$LINENO: checking for iconv.h" >&5
76063 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76064 if test "${ac_cv_header_iconv_h+set}" = set; then
76065 echo $ECHO_N "(cached) $ECHO_C" >&6
76066 else
76067 ac_cv_header_iconv_h=$ac_header_preproc
76068 fi
76069 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76070 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76071
76072 fi
76073 if test $ac_cv_header_iconv_h = yes; then
76074 ac_has_iconv_h=yes
76075 else
76076 ac_has_iconv_h=no
76077 fi
76078
76079
76080 if test "${ac_cv_header_langinfo_h+set}" = set; then
76081 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76082 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76083 if test "${ac_cv_header_langinfo_h+set}" = set; then
76084 echo $ECHO_N "(cached) $ECHO_C" >&6
76085 fi
76086 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76087 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76088 else
76089 # Is the header compilable?
76090 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76091 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76092 cat >conftest.$ac_ext <<_ACEOF
76093 /* confdefs.h. */
76094 _ACEOF
76095 cat confdefs.h >>conftest.$ac_ext
76096 cat >>conftest.$ac_ext <<_ACEOF
76097 /* end confdefs.h. */
76098 $ac_includes_default
76099 #include <langinfo.h>
76100 _ACEOF
76101 rm -f conftest.$ac_objext
76102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76103 (eval $ac_compile) 2>conftest.er1
76104 ac_status=$?
76105 grep -v '^ *+' conftest.er1 >conftest.err
76106 rm -f conftest.er1
76107 cat conftest.err >&5
76108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76109 (exit $ac_status); } &&
76110 { ac_try='test -z "$ac_c_werror_flag"
76111 || test ! -s conftest.err'
76112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76113 (eval $ac_try) 2>&5
76114 ac_status=$?
76115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76116 (exit $ac_status); }; } &&
76117 { ac_try='test -s conftest.$ac_objext'
76118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76119 (eval $ac_try) 2>&5
76120 ac_status=$?
76121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76122 (exit $ac_status); }; }; then
76123 ac_header_compiler=yes
76124 else
76125 echo "$as_me: failed program was:" >&5
76126 sed 's/^/| /' conftest.$ac_ext >&5
76127
76128 ac_header_compiler=no
76129 fi
76130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76131 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76132 echo "${ECHO_T}$ac_header_compiler" >&6
76133
76134 # Is the header present?
76135 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76136 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76137 cat >conftest.$ac_ext <<_ACEOF
76138 /* confdefs.h. */
76139 _ACEOF
76140 cat confdefs.h >>conftest.$ac_ext
76141 cat >>conftest.$ac_ext <<_ACEOF
76142 /* end confdefs.h. */
76143 #include <langinfo.h>
76144 _ACEOF
76145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76147 ac_status=$?
76148 grep -v '^ *+' conftest.er1 >conftest.err
76149 rm -f conftest.er1
76150 cat conftest.err >&5
76151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76152 (exit $ac_status); } >/dev/null; then
76153 if test -s conftest.err; then
76154 ac_cpp_err=$ac_c_preproc_warn_flag
76155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76156 else
76157 ac_cpp_err=
76158 fi
76159 else
76160 ac_cpp_err=yes
76161 fi
76162 if test -z "$ac_cpp_err"; then
76163 ac_header_preproc=yes
76164 else
76165 echo "$as_me: failed program was:" >&5
76166 sed 's/^/| /' conftest.$ac_ext >&5
76167
76168 ac_header_preproc=no
76169 fi
76170 rm -f conftest.err conftest.$ac_ext
76171 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76172 echo "${ECHO_T}$ac_header_preproc" >&6
76173
76174 # So? What about this header?
76175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76176 yes:no: )
76177 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76178 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76179 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76180 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76181 ac_header_preproc=yes
76182 ;;
76183 no:yes:* )
76184 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76185 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76186 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76187 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76188 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76189 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76190 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76191 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76192 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76193 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76194 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76195 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76196 (
76197 cat <<\_ASBOX
76198 ## ----------------------------------------- ##
76199 ## Report this to the package-unused lists. ##
76200 ## ----------------------------------------- ##
76201 _ASBOX
76202 ) |
76203 sed "s/^/$as_me: WARNING: /" >&2
76204 ;;
76205 esac
76206 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76207 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76208 if test "${ac_cv_header_langinfo_h+set}" = set; then
76209 echo $ECHO_N "(cached) $ECHO_C" >&6
76210 else
76211 ac_cv_header_langinfo_h=$ac_header_preproc
76212 fi
76213 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76214 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76215
76216 fi
76217 if test $ac_cv_header_langinfo_h = yes; then
76218 ac_has_langinfo_h=yes
76219 else
76220 ac_has_langinfo_h=no
76221 fi
76222
76223
76224
76225 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76226 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76227 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76228 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76229 echo $ECHO_N "(cached) $ECHO_C" >&6
76230 else
76231 ac_check_lib_save_LIBS=$LIBS
76232 LIBS="-liconv $LIBS"
76233 if test x$gcc_no_link = xyes; then
76234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76236 { (exit 1); exit 1; }; }
76237 fi
76238 cat >conftest.$ac_ext <<_ACEOF
76239 /* confdefs.h. */
76240 _ACEOF
76241 cat confdefs.h >>conftest.$ac_ext
76242 cat >>conftest.$ac_ext <<_ACEOF
76243 /* end confdefs.h. */
76244
76245 /* Override any gcc2 internal prototype to avoid an error. */
76246 #ifdef __cplusplus
76247 extern "C"
76248 #endif
76249 /* We use char because int might match the return type of a gcc2
76250 builtin and then its argument prototype would still apply. */
76251 char iconv ();
76252 int
76253 main ()
76254 {
76255 iconv ();
76256 ;
76257 return 0;
76258 }
76259 _ACEOF
76260 rm -f conftest.$ac_objext conftest$ac_exeext
76261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76262 (eval $ac_link) 2>conftest.er1
76263 ac_status=$?
76264 grep -v '^ *+' conftest.er1 >conftest.err
76265 rm -f conftest.er1
76266 cat conftest.err >&5
76267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76268 (exit $ac_status); } &&
76269 { ac_try='test -z "$ac_c_werror_flag"
76270 || test ! -s conftest.err'
76271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76272 (eval $ac_try) 2>&5
76273 ac_status=$?
76274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76275 (exit $ac_status); }; } &&
76276 { ac_try='test -s conftest$ac_exeext'
76277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76278 (eval $ac_try) 2>&5
76279 ac_status=$?
76280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76281 (exit $ac_status); }; }; then
76282 ac_cv_lib_iconv_iconv=yes
76283 else
76284 echo "$as_me: failed program was:" >&5
76285 sed 's/^/| /' conftest.$ac_ext >&5
76286
76287 ac_cv_lib_iconv_iconv=no
76288 fi
76289 rm -f conftest.err conftest.$ac_objext \
76290 conftest$ac_exeext conftest.$ac_ext
76291 LIBS=$ac_check_lib_save_LIBS
76292 fi
76293 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76294 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76295 if test $ac_cv_lib_iconv_iconv = yes; then
76296 LIBICONV="-liconv"
76297 fi
76298
76299 ac_save_LIBS="$LIBS"
76300 LIBS="$LIBS $LIBICONV"
76301
76302
76303
76304
76305
76306
76307 for ac_func in iconv_open iconv_close iconv nl_langinfo
76308 do
76309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76310 echo "$as_me:$LINENO: checking for $ac_func" >&5
76311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76312 if eval "test \"\${$as_ac_var+set}\" = set"; then
76313 echo $ECHO_N "(cached) $ECHO_C" >&6
76314 else
76315 if test x$gcc_no_link = xyes; then
76316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76318 { (exit 1); exit 1; }; }
76319 fi
76320 cat >conftest.$ac_ext <<_ACEOF
76321 /* confdefs.h. */
76322 _ACEOF
76323 cat confdefs.h >>conftest.$ac_ext
76324 cat >>conftest.$ac_ext <<_ACEOF
76325 /* end confdefs.h. */
76326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76328 #define $ac_func innocuous_$ac_func
76329
76330 /* System header to define __stub macros and hopefully few prototypes,
76331 which can conflict with char $ac_func (); below.
76332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76333 <limits.h> exists even on freestanding compilers. */
76334
76335 #ifdef __STDC__
76336 # include <limits.h>
76337 #else
76338 # include <assert.h>
76339 #endif
76340
76341 #undef $ac_func
76342
76343 /* Override any gcc2 internal prototype to avoid an error. */
76344 #ifdef __cplusplus
76345 extern "C"
76346 {
76347 #endif
76348 /* We use char because int might match the return type of a gcc2
76349 builtin and then its argument prototype would still apply. */
76350 char $ac_func ();
76351 /* The GNU C library defines this for functions which it implements
76352 to always fail with ENOSYS. Some functions are actually named
76353 something starting with __ and the normal name is an alias. */
76354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76355 choke me
76356 #else
76357 char (*f) () = $ac_func;
76358 #endif
76359 #ifdef __cplusplus
76360 }
76361 #endif
76362
76363 int
76364 main ()
76365 {
76366 return f != $ac_func;
76367 ;
76368 return 0;
76369 }
76370 _ACEOF
76371 rm -f conftest.$ac_objext conftest$ac_exeext
76372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76373 (eval $ac_link) 2>conftest.er1
76374 ac_status=$?
76375 grep -v '^ *+' conftest.er1 >conftest.err
76376 rm -f conftest.er1
76377 cat conftest.err >&5
76378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76379 (exit $ac_status); } &&
76380 { ac_try='test -z "$ac_c_werror_flag"
76381 || test ! -s conftest.err'
76382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76383 (eval $ac_try) 2>&5
76384 ac_status=$?
76385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76386 (exit $ac_status); }; } &&
76387 { ac_try='test -s conftest$ac_exeext'
76388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76389 (eval $ac_try) 2>&5
76390 ac_status=$?
76391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76392 (exit $ac_status); }; }; then
76393 eval "$as_ac_var=yes"
76394 else
76395 echo "$as_me: failed program was:" >&5
76396 sed 's/^/| /' conftest.$ac_ext >&5
76397
76398 eval "$as_ac_var=no"
76399 fi
76400 rm -f conftest.err conftest.$ac_objext \
76401 conftest$ac_exeext conftest.$ac_ext
76402 fi
76403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76405 if test `eval echo '${'$as_ac_var'}'` = yes; then
76406 cat >>confdefs.h <<_ACEOF
76407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76408 _ACEOF
76409 ac_XPG2funcs=yes
76410 else
76411 ac_XPG2funcs=no
76412 fi
76413 done
76414
76415
76416 LIBS="$ac_save_LIBS"
76417
76418 if test x"$ac_has_iconv_h" = xyes &&
76419 test x"$ac_has_langinfo_h" = xyes &&
76420 test x"$ac_XPG2funcs" = xyes;
76421 then
76422
76423 cat >>confdefs.h <<\_ACEOF
76424 #define _GLIBCXX_USE_ICONV 1
76425 _ACEOF
76426
76427 enable_iconv=yes
76428 fi
76429 fi
76430 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76431 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76432 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76433 echo "${ECHO_T}$enable_iconv" >&6
76434
76435
76436 # For LFS.
76437 cat >>confdefs.h <<\_ACEOF
76438 #define HAVE_INT64_T 1
76439 _ACEOF
76440
76441 case "$target" in
76442 *-uclinux*)
76443 # Don't enable LFS with uClibc
76444 ;;
76445 *)
76446 cat >>confdefs.h <<\_ACEOF
76447 #define _GLIBCXX_USE_LFS 1
76448 _ACEOF
76449
76450 esac
76451
76452 # For showmanyc_helper().
76453
76454
76455 for ac_header in sys/ioctl.h sys/filio.h
76456 do
76457 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76458 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76459 echo "$as_me:$LINENO: checking for $ac_header" >&5
76460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76462 echo $ECHO_N "(cached) $ECHO_C" >&6
76463 fi
76464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76465 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76466 else
76467 # Is the header compilable?
76468 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76470 cat >conftest.$ac_ext <<_ACEOF
76471 /* confdefs.h. */
76472 _ACEOF
76473 cat confdefs.h >>conftest.$ac_ext
76474 cat >>conftest.$ac_ext <<_ACEOF
76475 /* end confdefs.h. */
76476 $ac_includes_default
76477 #include <$ac_header>
76478 _ACEOF
76479 rm -f conftest.$ac_objext
76480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76481 (eval $ac_compile) 2>conftest.er1
76482 ac_status=$?
76483 grep -v '^ *+' conftest.er1 >conftest.err
76484 rm -f conftest.er1
76485 cat conftest.err >&5
76486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76487 (exit $ac_status); } &&
76488 { ac_try='test -z "$ac_c_werror_flag"
76489 || test ! -s conftest.err'
76490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76491 (eval $ac_try) 2>&5
76492 ac_status=$?
76493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76494 (exit $ac_status); }; } &&
76495 { ac_try='test -s conftest.$ac_objext'
76496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76497 (eval $ac_try) 2>&5
76498 ac_status=$?
76499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76500 (exit $ac_status); }; }; then
76501 ac_header_compiler=yes
76502 else
76503 echo "$as_me: failed program was:" >&5
76504 sed 's/^/| /' conftest.$ac_ext >&5
76505
76506 ac_header_compiler=no
76507 fi
76508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76509 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76510 echo "${ECHO_T}$ac_header_compiler" >&6
76511
76512 # Is the header present?
76513 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76515 cat >conftest.$ac_ext <<_ACEOF
76516 /* confdefs.h. */
76517 _ACEOF
76518 cat confdefs.h >>conftest.$ac_ext
76519 cat >>conftest.$ac_ext <<_ACEOF
76520 /* end confdefs.h. */
76521 #include <$ac_header>
76522 _ACEOF
76523 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76524 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76525 ac_status=$?
76526 grep -v '^ *+' conftest.er1 >conftest.err
76527 rm -f conftest.er1
76528 cat conftest.err >&5
76529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76530 (exit $ac_status); } >/dev/null; then
76531 if test -s conftest.err; then
76532 ac_cpp_err=$ac_c_preproc_warn_flag
76533 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76534 else
76535 ac_cpp_err=
76536 fi
76537 else
76538 ac_cpp_err=yes
76539 fi
76540 if test -z "$ac_cpp_err"; then
76541 ac_header_preproc=yes
76542 else
76543 echo "$as_me: failed program was:" >&5
76544 sed 's/^/| /' conftest.$ac_ext >&5
76545
76546 ac_header_preproc=no
76547 fi
76548 rm -f conftest.err conftest.$ac_ext
76549 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76550 echo "${ECHO_T}$ac_header_preproc" >&6
76551
76552 # So? What about this header?
76553 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76554 yes:no: )
76555 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76556 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76558 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76559 ac_header_preproc=yes
76560 ;;
76561 no:yes:* )
76562 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76563 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76564 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76565 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76566 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76567 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76568 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76569 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76571 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76572 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76573 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76574 (
76575 cat <<\_ASBOX
76576 ## ----------------------------------------- ##
76577 ## Report this to the package-unused lists. ##
76578 ## ----------------------------------------- ##
76579 _ASBOX
76580 ) |
76581 sed "s/^/$as_me: WARNING: /" >&2
76582 ;;
76583 esac
76584 echo "$as_me:$LINENO: checking for $ac_header" >&5
76585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76587 echo $ECHO_N "(cached) $ECHO_C" >&6
76588 else
76589 eval "$as_ac_Header=\$ac_header_preproc"
76590 fi
76591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76593
76594 fi
76595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76596 cat >>confdefs.h <<_ACEOF
76597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76598 _ACEOF
76599
76600 fi
76601
76602 done
76603
76604
76605 if test "${glibcxx_cv_POLL+set}" = set; then
76606 echo $ECHO_N "(cached) $ECHO_C" >&6
76607 else
76608
76609 if test x$gcc_no_link = xyes; then
76610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76612 { (exit 1); exit 1; }; }
76613 fi
76614 cat >conftest.$ac_ext <<_ACEOF
76615 /* confdefs.h. */
76616 _ACEOF
76617 cat confdefs.h >>conftest.$ac_ext
76618 cat >>conftest.$ac_ext <<_ACEOF
76619 /* end confdefs.h. */
76620 #include <poll.h>
76621 int
76622 main ()
76623 {
76624 struct pollfd pfd[1];
76625 pfd[0].events = POLLIN;
76626 poll(pfd, 1, 0);
76627 ;
76628 return 0;
76629 }
76630 _ACEOF
76631 rm -f conftest.$ac_objext conftest$ac_exeext
76632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76633 (eval $ac_link) 2>conftest.er1
76634 ac_status=$?
76635 grep -v '^ *+' conftest.er1 >conftest.err
76636 rm -f conftest.er1
76637 cat conftest.err >&5
76638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76639 (exit $ac_status); } &&
76640 { ac_try='test -z "$ac_c_werror_flag"
76641 || test ! -s conftest.err'
76642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76643 (eval $ac_try) 2>&5
76644 ac_status=$?
76645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76646 (exit $ac_status); }; } &&
76647 { ac_try='test -s conftest$ac_exeext'
76648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76649 (eval $ac_try) 2>&5
76650 ac_status=$?
76651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76652 (exit $ac_status); }; }; then
76653 glibcxx_cv_POLL=yes
76654 else
76655 echo "$as_me: failed program was:" >&5
76656 sed 's/^/| /' conftest.$ac_ext >&5
76657
76658 glibcxx_cv_POLL=no
76659 fi
76660 rm -f conftest.err conftest.$ac_objext \
76661 conftest$ac_exeext conftest.$ac_ext
76662
76663 fi
76664
76665 if test $glibcxx_cv_POLL = yes; then
76666 cat >>confdefs.h <<\_ACEOF
76667 #define HAVE_POLL 1
76668 _ACEOF
76669
76670 fi
76671
76672
76673 if test "${glibcxx_cv_S_ISREG+set}" = set; then
76674 echo $ECHO_N "(cached) $ECHO_C" >&6
76675 else
76676
76677 if test x$gcc_no_link = xyes; then
76678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76680 { (exit 1); exit 1; }; }
76681 fi
76682 cat >conftest.$ac_ext <<_ACEOF
76683 /* confdefs.h. */
76684 _ACEOF
76685 cat confdefs.h >>conftest.$ac_ext
76686 cat >>conftest.$ac_ext <<_ACEOF
76687 /* end confdefs.h. */
76688 #include <sys/stat.h>
76689 int
76690 main ()
76691 {
76692 struct stat buffer;
76693 fstat(0, &buffer);
76694 S_ISREG(buffer.st_mode);
76695 ;
76696 return 0;
76697 }
76698 _ACEOF
76699 rm -f conftest.$ac_objext conftest$ac_exeext
76700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76701 (eval $ac_link) 2>conftest.er1
76702 ac_status=$?
76703 grep -v '^ *+' conftest.er1 >conftest.err
76704 rm -f conftest.er1
76705 cat conftest.err >&5
76706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76707 (exit $ac_status); } &&
76708 { ac_try='test -z "$ac_c_werror_flag"
76709 || test ! -s conftest.err'
76710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76711 (eval $ac_try) 2>&5
76712 ac_status=$?
76713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76714 (exit $ac_status); }; } &&
76715 { ac_try='test -s conftest$ac_exeext'
76716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76717 (eval $ac_try) 2>&5
76718 ac_status=$?
76719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76720 (exit $ac_status); }; }; then
76721 glibcxx_cv_S_ISREG=yes
76722 else
76723 echo "$as_me: failed program was:" >&5
76724 sed 's/^/| /' conftest.$ac_ext >&5
76725
76726 glibcxx_cv_S_ISREG=no
76727 fi
76728 rm -f conftest.err conftest.$ac_objext \
76729 conftest$ac_exeext conftest.$ac_ext
76730
76731 fi
76732
76733 if test "${glibcxx_cv_S_IFREG+set}" = set; then
76734 echo $ECHO_N "(cached) $ECHO_C" >&6
76735 else
76736
76737 if test x$gcc_no_link = xyes; then
76738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76740 { (exit 1); exit 1; }; }
76741 fi
76742 cat >conftest.$ac_ext <<_ACEOF
76743 /* confdefs.h. */
76744 _ACEOF
76745 cat confdefs.h >>conftest.$ac_ext
76746 cat >>conftest.$ac_ext <<_ACEOF
76747 /* end confdefs.h. */
76748 #include <sys/stat.h>
76749 int
76750 main ()
76751 {
76752 struct stat buffer;
76753 fstat(0, &buffer);
76754 S_IFREG & buffer.st_mode;
76755 ;
76756 return 0;
76757 }
76758 _ACEOF
76759 rm -f conftest.$ac_objext conftest$ac_exeext
76760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76761 (eval $ac_link) 2>conftest.er1
76762 ac_status=$?
76763 grep -v '^ *+' conftest.er1 >conftest.err
76764 rm -f conftest.er1
76765 cat conftest.err >&5
76766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76767 (exit $ac_status); } &&
76768 { ac_try='test -z "$ac_c_werror_flag"
76769 || test ! -s conftest.err'
76770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76771 (eval $ac_try) 2>&5
76772 ac_status=$?
76773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76774 (exit $ac_status); }; } &&
76775 { ac_try='test -s conftest$ac_exeext'
76776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777 (eval $ac_try) 2>&5
76778 ac_status=$?
76779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780 (exit $ac_status); }; }; then
76781 glibcxx_cv_S_IFREG=yes
76782 else
76783 echo "$as_me: failed program was:" >&5
76784 sed 's/^/| /' conftest.$ac_ext >&5
76785
76786 glibcxx_cv_S_IFREG=no
76787 fi
76788 rm -f conftest.err conftest.$ac_objext \
76789 conftest$ac_exeext conftest.$ac_ext
76790
76791 fi
76792
76793 if test $glibcxx_cv_S_ISREG = yes; then
76794 cat >>confdefs.h <<\_ACEOF
76795 #define HAVE_S_ISREG 1
76796 _ACEOF
76797
76798 elif test $glibcxx_cv_S_IFREG = yes; then
76799 cat >>confdefs.h <<\_ACEOF
76800 #define HAVE_S_IFREG 1
76801 _ACEOF
76802
76803 fi
76804
76805
76806 # For xsputn_2().
76807
76808 for ac_header in sys/uio.h
76809 do
76810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76812 echo "$as_me:$LINENO: checking for $ac_header" >&5
76813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76815 echo $ECHO_N "(cached) $ECHO_C" >&6
76816 fi
76817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76819 else
76820 # Is the header compilable?
76821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76823 cat >conftest.$ac_ext <<_ACEOF
76824 /* confdefs.h. */
76825 _ACEOF
76826 cat confdefs.h >>conftest.$ac_ext
76827 cat >>conftest.$ac_ext <<_ACEOF
76828 /* end confdefs.h. */
76829 $ac_includes_default
76830 #include <$ac_header>
76831 _ACEOF
76832 rm -f conftest.$ac_objext
76833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76834 (eval $ac_compile) 2>conftest.er1
76835 ac_status=$?
76836 grep -v '^ *+' conftest.er1 >conftest.err
76837 rm -f conftest.er1
76838 cat conftest.err >&5
76839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76840 (exit $ac_status); } &&
76841 { ac_try='test -z "$ac_c_werror_flag"
76842 || test ! -s conftest.err'
76843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76844 (eval $ac_try) 2>&5
76845 ac_status=$?
76846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76847 (exit $ac_status); }; } &&
76848 { ac_try='test -s conftest.$ac_objext'
76849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76850 (eval $ac_try) 2>&5
76851 ac_status=$?
76852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76853 (exit $ac_status); }; }; then
76854 ac_header_compiler=yes
76855 else
76856 echo "$as_me: failed program was:" >&5
76857 sed 's/^/| /' conftest.$ac_ext >&5
76858
76859 ac_header_compiler=no
76860 fi
76861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76863 echo "${ECHO_T}$ac_header_compiler" >&6
76864
76865 # Is the header present?
76866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76868 cat >conftest.$ac_ext <<_ACEOF
76869 /* confdefs.h. */
76870 _ACEOF
76871 cat confdefs.h >>conftest.$ac_ext
76872 cat >>conftest.$ac_ext <<_ACEOF
76873 /* end confdefs.h. */
76874 #include <$ac_header>
76875 _ACEOF
76876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76878 ac_status=$?
76879 grep -v '^ *+' conftest.er1 >conftest.err
76880 rm -f conftest.er1
76881 cat conftest.err >&5
76882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76883 (exit $ac_status); } >/dev/null; then
76884 if test -s conftest.err; then
76885 ac_cpp_err=$ac_c_preproc_warn_flag
76886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76887 else
76888 ac_cpp_err=
76889 fi
76890 else
76891 ac_cpp_err=yes
76892 fi
76893 if test -z "$ac_cpp_err"; then
76894 ac_header_preproc=yes
76895 else
76896 echo "$as_me: failed program was:" >&5
76897 sed 's/^/| /' conftest.$ac_ext >&5
76898
76899 ac_header_preproc=no
76900 fi
76901 rm -f conftest.err conftest.$ac_ext
76902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76903 echo "${ECHO_T}$ac_header_preproc" >&6
76904
76905 # So? What about this header?
76906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76907 yes:no: )
76908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76912 ac_header_preproc=yes
76913 ;;
76914 no:yes:* )
76915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76927 (
76928 cat <<\_ASBOX
76929 ## ----------------------------------------- ##
76930 ## Report this to the package-unused lists. ##
76931 ## ----------------------------------------- ##
76932 _ASBOX
76933 ) |
76934 sed "s/^/$as_me: WARNING: /" >&2
76935 ;;
76936 esac
76937 echo "$as_me:$LINENO: checking for $ac_header" >&5
76938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76940 echo $ECHO_N "(cached) $ECHO_C" >&6
76941 else
76942 eval "$as_ac_Header=\$ac_header_preproc"
76943 fi
76944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76946
76947 fi
76948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76949 cat >>confdefs.h <<_ACEOF
76950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76951 _ACEOF
76952
76953 fi
76954
76955 done
76956
76957
76958 if test "${glibcxx_cv_WRITEV+set}" = set; then
76959 echo $ECHO_N "(cached) $ECHO_C" >&6
76960 else
76961
76962 if test x$gcc_no_link = xyes; then
76963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76965 { (exit 1); exit 1; }; }
76966 fi
76967 cat >conftest.$ac_ext <<_ACEOF
76968 /* confdefs.h. */
76969 _ACEOF
76970 cat confdefs.h >>conftest.$ac_ext
76971 cat >>conftest.$ac_ext <<_ACEOF
76972 /* end confdefs.h. */
76973 #include <sys/uio.h>
76974 int
76975 main ()
76976 {
76977 struct iovec iov[2];
76978 writev(0, iov, 0);
76979 ;
76980 return 0;
76981 }
76982 _ACEOF
76983 rm -f conftest.$ac_objext conftest$ac_exeext
76984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76985 (eval $ac_link) 2>conftest.er1
76986 ac_status=$?
76987 grep -v '^ *+' conftest.er1 >conftest.err
76988 rm -f conftest.er1
76989 cat conftest.err >&5
76990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76991 (exit $ac_status); } &&
76992 { ac_try='test -z "$ac_c_werror_flag"
76993 || test ! -s conftest.err'
76994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76995 (eval $ac_try) 2>&5
76996 ac_status=$?
76997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76998 (exit $ac_status); }; } &&
76999 { ac_try='test -s conftest$ac_exeext'
77000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77001 (eval $ac_try) 2>&5
77002 ac_status=$?
77003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77004 (exit $ac_status); }; }; then
77005 glibcxx_cv_WRITEV=yes
77006 else
77007 echo "$as_me: failed program was:" >&5
77008 sed 's/^/| /' conftest.$ac_ext >&5
77009
77010 glibcxx_cv_WRITEV=no
77011 fi
77012 rm -f conftest.err conftest.$ac_objext \
77013 conftest$ac_exeext conftest.$ac_ext
77014
77015 fi
77016
77017 if test $glibcxx_cv_WRITEV = yes; then
77018 cat >>confdefs.h <<\_ACEOF
77019 #define HAVE_WRITEV 1
77020 _ACEOF
77021
77022 fi
77023
77024
77025 cat >>confdefs.h <<\_ACEOF
77026 #define HAVE_ACOSF 1
77027 _ACEOF
77028
77029 cat >>confdefs.h <<\_ACEOF
77030 #define HAVE_ASINF 1
77031 _ACEOF
77032
77033 cat >>confdefs.h <<\_ACEOF
77034 #define HAVE_ATANF 1
77035 _ACEOF
77036
77037 cat >>confdefs.h <<\_ACEOF
77038 #define HAVE_ATAN2F 1
77039 _ACEOF
77040
77041 cat >>confdefs.h <<\_ACEOF
77042 #define HAVE_CEILF 1
77043 _ACEOF
77044
77045 cat >>confdefs.h <<\_ACEOF
77046 #define HAVE_COPYSIGN 1
77047 _ACEOF
77048
77049 cat >>confdefs.h <<\_ACEOF
77050 #define HAVE_COPYSIGNF 1
77051 _ACEOF
77052
77053 cat >>confdefs.h <<\_ACEOF
77054 #define HAVE_COSF 1
77055 _ACEOF
77056
77057 cat >>confdefs.h <<\_ACEOF
77058 #define HAVE_COSHF 1
77059 _ACEOF
77060
77061 cat >>confdefs.h <<\_ACEOF
77062 #define HAVE_EXPF 1
77063 _ACEOF
77064
77065 cat >>confdefs.h <<\_ACEOF
77066 #define HAVE_FABSF 1
77067 _ACEOF
77068
77069 cat >>confdefs.h <<\_ACEOF
77070 #define HAVE_FINITE 1
77071 _ACEOF
77072
77073 cat >>confdefs.h <<\_ACEOF
77074 #define HAVE_FINITEF 1
77075 _ACEOF
77076
77077 cat >>confdefs.h <<\_ACEOF
77078 #define HAVE_FLOORF 1
77079 _ACEOF
77080
77081 cat >>confdefs.h <<\_ACEOF
77082 #define HAVE_FMODF 1
77083 _ACEOF
77084
77085 cat >>confdefs.h <<\_ACEOF
77086 #define HAVE_FREXPF 1
77087 _ACEOF
77088
77089 cat >>confdefs.h <<\_ACEOF
77090 #define HAVE_HYPOT 1
77091 _ACEOF
77092
77093 cat >>confdefs.h <<\_ACEOF
77094 #define HAVE_HYPOTF 1
77095 _ACEOF
77096
77097 cat >>confdefs.h <<\_ACEOF
77098 #define HAVE_ISINF 1
77099 _ACEOF
77100
77101 cat >>confdefs.h <<\_ACEOF
77102 #define HAVE_ISINFF 1
77103 _ACEOF
77104
77105 cat >>confdefs.h <<\_ACEOF
77106 #define HAVE_ISNAN 1
77107 _ACEOF
77108
77109 cat >>confdefs.h <<\_ACEOF
77110 #define HAVE_ISNANF 1
77111 _ACEOF
77112
77113 cat >>confdefs.h <<\_ACEOF
77114 #define HAVE_LOGF 1
77115 _ACEOF
77116
77117 cat >>confdefs.h <<\_ACEOF
77118 #define HAVE_LOG10F 1
77119 _ACEOF
77120
77121 cat >>confdefs.h <<\_ACEOF
77122 #define HAVE_MODFF 1
77123 _ACEOF
77124
77125 cat >>confdefs.h <<\_ACEOF
77126 #define HAVE_SINF 1
77127 _ACEOF
77128
77129 cat >>confdefs.h <<\_ACEOF
77130 #define HAVE_SINHF 1
77131 _ACEOF
77132
77133 cat >>confdefs.h <<\_ACEOF
77134 #define HAVE_SINCOS 1
77135 _ACEOF
77136
77137 cat >>confdefs.h <<\_ACEOF
77138 #define HAVE_SINCOSF 1
77139 _ACEOF
77140
77141 cat >>confdefs.h <<\_ACEOF
77142 #define HAVE_SQRTF 1
77143 _ACEOF
77144
77145 cat >>confdefs.h <<\_ACEOF
77146 #define HAVE_TANF 1
77147 _ACEOF
77148
77149 cat >>confdefs.h <<\_ACEOF
77150 #define HAVE_TANHF 1
77151 _ACEOF
77152
77153 if test x"long_double_math_on_this_cpu" = x"yes"; then
77154 cat >>confdefs.h <<\_ACEOF
77155 #define HAVE_ACOSL 1
77156 _ACEOF
77157
77158 cat >>confdefs.h <<\_ACEOF
77159 #define HAVE_ASINL 1
77160 _ACEOF
77161
77162 cat >>confdefs.h <<\_ACEOF
77163 #define HAVE_ATANL 1
77164 _ACEOF
77165
77166 cat >>confdefs.h <<\_ACEOF
77167 #define HAVE_ATAN2L 1
77168 _ACEOF
77169
77170 cat >>confdefs.h <<\_ACEOF
77171 #define HAVE_CEILL 1
77172 _ACEOF
77173
77174 cat >>confdefs.h <<\_ACEOF
77175 #define HAVE_COPYSIGNL 1
77176 _ACEOF
77177
77178 cat >>confdefs.h <<\_ACEOF
77179 #define HAVE_COSL 1
77180 _ACEOF
77181
77182 cat >>confdefs.h <<\_ACEOF
77183 #define HAVE_COSHL 1
77184 _ACEOF
77185
77186 cat >>confdefs.h <<\_ACEOF
77187 #define HAVE_EXPL 1
77188 _ACEOF
77189
77190 cat >>confdefs.h <<\_ACEOF
77191 #define HAVE_FABSL 1
77192 _ACEOF
77193
77194 cat >>confdefs.h <<\_ACEOF
77195 #define HAVE_FINITEL 1
77196 _ACEOF
77197
77198 cat >>confdefs.h <<\_ACEOF
77199 #define HAVE_FLOORL 1
77200 _ACEOF
77201
77202 cat >>confdefs.h <<\_ACEOF
77203 #define HAVE_FMODL 1
77204 _ACEOF
77205
77206 cat >>confdefs.h <<\_ACEOF
77207 #define HAVE_FREXPL 1
77208 _ACEOF
77209
77210 cat >>confdefs.h <<\_ACEOF
77211 #define HAVE_HYPOTL 1
77212 _ACEOF
77213
77214 cat >>confdefs.h <<\_ACEOF
77215 #define HAVE_ISINFL 1
77216 _ACEOF
77217
77218 cat >>confdefs.h <<\_ACEOF
77219 #define HAVE_ISNANL 1
77220 _ACEOF
77221
77222 cat >>confdefs.h <<\_ACEOF
77223 #define HAVE_LOGL 1
77224 _ACEOF
77225
77226 cat >>confdefs.h <<\_ACEOF
77227 #define HAVE_LOG10L 1
77228 _ACEOF
77229
77230 cat >>confdefs.h <<\_ACEOF
77231 #define HAVE_MODFL 1
77232 _ACEOF
77233
77234 cat >>confdefs.h <<\_ACEOF
77235 #define HAVE_POWL 1
77236 _ACEOF
77237
77238 cat >>confdefs.h <<\_ACEOF
77239 #define HAVE_SINL 1
77240 _ACEOF
77241
77242 cat >>confdefs.h <<\_ACEOF
77243 #define HAVE_SINHL 1
77244 _ACEOF
77245
77246 cat >>confdefs.h <<\_ACEOF
77247 #define HAVE_SINCOSL 1
77248 _ACEOF
77249
77250 cat >>confdefs.h <<\_ACEOF
77251 #define HAVE_SQRTL 1
77252 _ACEOF
77253
77254 cat >>confdefs.h <<\_ACEOF
77255 #define HAVE_TANL 1
77256 _ACEOF
77257
77258 cat >>confdefs.h <<\_ACEOF
77259 #define HAVE_TANHL 1
77260 _ACEOF
77261
77262 fi
77263 ;;
77264 *-mingw32*)
77265
77266
77267
77268 for ac_header in sys/types.h locale.h float.h
77269 do
77270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77272 echo "$as_me:$LINENO: checking for $ac_header" >&5
77273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77275 echo $ECHO_N "(cached) $ECHO_C" >&6
77276 fi
77277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77279 else
77280 # Is the header compilable?
77281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77283 cat >conftest.$ac_ext <<_ACEOF
77284 /* confdefs.h. */
77285 _ACEOF
77286 cat confdefs.h >>conftest.$ac_ext
77287 cat >>conftest.$ac_ext <<_ACEOF
77288 /* end confdefs.h. */
77289 $ac_includes_default
77290 #include <$ac_header>
77291 _ACEOF
77292 rm -f conftest.$ac_objext
77293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77294 (eval $ac_compile) 2>conftest.er1
77295 ac_status=$?
77296 grep -v '^ *+' conftest.er1 >conftest.err
77297 rm -f conftest.er1
77298 cat conftest.err >&5
77299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77300 (exit $ac_status); } &&
77301 { ac_try='test -z "$ac_c_werror_flag"
77302 || test ! -s conftest.err'
77303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77304 (eval $ac_try) 2>&5
77305 ac_status=$?
77306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77307 (exit $ac_status); }; } &&
77308 { ac_try='test -s conftest.$ac_objext'
77309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77310 (eval $ac_try) 2>&5
77311 ac_status=$?
77312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77313 (exit $ac_status); }; }; then
77314 ac_header_compiler=yes
77315 else
77316 echo "$as_me: failed program was:" >&5
77317 sed 's/^/| /' conftest.$ac_ext >&5
77318
77319 ac_header_compiler=no
77320 fi
77321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77323 echo "${ECHO_T}$ac_header_compiler" >&6
77324
77325 # Is the header present?
77326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77328 cat >conftest.$ac_ext <<_ACEOF
77329 /* confdefs.h. */
77330 _ACEOF
77331 cat confdefs.h >>conftest.$ac_ext
77332 cat >>conftest.$ac_ext <<_ACEOF
77333 /* end confdefs.h. */
77334 #include <$ac_header>
77335 _ACEOF
77336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77337 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77338 ac_status=$?
77339 grep -v '^ *+' conftest.er1 >conftest.err
77340 rm -f conftest.er1
77341 cat conftest.err >&5
77342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77343 (exit $ac_status); } >/dev/null; then
77344 if test -s conftest.err; then
77345 ac_cpp_err=$ac_c_preproc_warn_flag
77346 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77347 else
77348 ac_cpp_err=
77349 fi
77350 else
77351 ac_cpp_err=yes
77352 fi
77353 if test -z "$ac_cpp_err"; then
77354 ac_header_preproc=yes
77355 else
77356 echo "$as_me: failed program was:" >&5
77357 sed 's/^/| /' conftest.$ac_ext >&5
77358
77359 ac_header_preproc=no
77360 fi
77361 rm -f conftest.err conftest.$ac_ext
77362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77363 echo "${ECHO_T}$ac_header_preproc" >&6
77364
77365 # So? What about this header?
77366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77367 yes:no: )
77368 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77371 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77372 ac_header_preproc=yes
77373 ;;
77374 no:yes:* )
77375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77379 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77380 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77381 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77382 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77385 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77386 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77387 (
77388 cat <<\_ASBOX
77389 ## ----------------------------------------- ##
77390 ## Report this to the package-unused lists. ##
77391 ## ----------------------------------------- ##
77392 _ASBOX
77393 ) |
77394 sed "s/^/$as_me: WARNING: /" >&2
77395 ;;
77396 esac
77397 echo "$as_me:$LINENO: checking for $ac_header" >&5
77398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77400 echo $ECHO_N "(cached) $ECHO_C" >&6
77401 else
77402 eval "$as_ac_Header=\$ac_header_preproc"
77403 fi
77404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77406
77407 fi
77408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77409 cat >>confdefs.h <<_ACEOF
77410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77411 _ACEOF
77412
77413 fi
77414
77415 done
77416
77417
77418 # If we're not using GNU ld, then there's no point in even trying these
77419 # tests. Check for that first. We should have already tested for gld
77420 # by now (in libtool), but require it now just to be safe...
77421 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77422 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77423
77424
77425
77426 # The name set by libtool depends on the version of libtool. Shame on us
77427 # for depending on an impl detail, but c'est la vie. Older versions used
77428 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77429 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77430 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77431 # set (hence we're using an older libtool), then set it.
77432 if test x${with_gnu_ld+set} != xset; then
77433 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77434 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77435 with_gnu_ld=no
77436 else
77437 with_gnu_ld=$ac_cv_prog_gnu_ld
77438 fi
77439 fi
77440
77441 # Start by getting the version number. I think the libtool test already
77442 # does some of this, but throws away the result.
77443
77444 ldver=`$LD --version 2>/dev/null | head -1 | \
77445 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77446
77447 glibcxx_gnu_ld_version=`echo $ldver | \
77448 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77449
77450 # Set --gc-sections.
77451 if test "$with_gnu_ld" = "notbroken"; then
77452 # GNU ld it is! Joy and bunny rabbits!
77453
77454 # All these tests are for C++; save the language and the compiler flags.
77455 # Need to do this so that g++ won't try to link in libstdc++
77456 ac_test_CFLAGS="${CFLAGS+set}"
77457 ac_save_CFLAGS="$CFLAGS"
77458 CFLAGS='-x c++ -Wl,--gc-sections'
77459
77460 # Check for -Wl,--gc-sections
77461 # XXX This test is broken at the moment, as symbols required for linking
77462 # are now in libsupc++ (not built yet). In addition, this test has
77463 # cored on solaris in the past. In addition, --gc-sections doesn't
77464 # really work at the moment (keeps on discarding used sections, first
77465 # .eh_frame and now some of the glibc sections for iconv).
77466 # Bzzzzt. Thanks for playing, maybe next time.
77467 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77468 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77469 if test "$cross_compiling" = yes; then
77470 ac_sectionLDflags=yes
77471 else
77472 cat >conftest.$ac_ext <<_ACEOF
77473 /* confdefs.h. */
77474 _ACEOF
77475 cat confdefs.h >>conftest.$ac_ext
77476 cat >>conftest.$ac_ext <<_ACEOF
77477 /* end confdefs.h. */
77478
77479 int main(void)
77480 {
77481 try { throw 1; }
77482 catch (...) { };
77483 return 0;
77484 }
77485
77486 _ACEOF
77487 rm -f conftest$ac_exeext
77488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77489 (eval $ac_link) 2>&5
77490 ac_status=$?
77491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77494 (eval $ac_try) 2>&5
77495 ac_status=$?
77496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77497 (exit $ac_status); }; }; then
77498 ac_sectionLDflags=yes
77499 else
77500 echo "$as_me: program exited with status $ac_status" >&5
77501 echo "$as_me: failed program was:" >&5
77502 sed 's/^/| /' conftest.$ac_ext >&5
77503
77504 ( exit $ac_status )
77505 ac_sectionLDflags=no
77506 fi
77507 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77508 fi
77509 if test "$ac_test_CFLAGS" = set; then
77510 CFLAGS="$ac_save_CFLAGS"
77511 else
77512 # this is the suspicious part
77513 CFLAGS=''
77514 fi
77515 if test "$ac_sectionLDflags" = "yes"; then
77516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77517 fi
77518 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77519 echo "${ECHO_T}$ac_sectionLDflags" >&6
77520 fi
77521
77522 # Set linker optimization flags.
77523 if test x"$with_gnu_ld" = x"yes"; then
77524 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77525 fi
77526
77527
77528
77529
77530
77531
77532 echo "$as_me:$LINENO: checking for main in -lm" >&5
77533 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77534 if test "${ac_cv_lib_m_main+set}" = set; then
77535 echo $ECHO_N "(cached) $ECHO_C" >&6
77536 else
77537 ac_check_lib_save_LIBS=$LIBS
77538 LIBS="-lm $LIBS"
77539 if test x$gcc_no_link = xyes; then
77540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77542 { (exit 1); exit 1; }; }
77543 fi
77544 cat >conftest.$ac_ext <<_ACEOF
77545 /* confdefs.h. */
77546 _ACEOF
77547 cat confdefs.h >>conftest.$ac_ext
77548 cat >>conftest.$ac_ext <<_ACEOF
77549 /* end confdefs.h. */
77550
77551
77552 int
77553 main ()
77554 {
77555 main ();
77556 ;
77557 return 0;
77558 }
77559 _ACEOF
77560 rm -f conftest.$ac_objext conftest$ac_exeext
77561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77562 (eval $ac_link) 2>conftest.er1
77563 ac_status=$?
77564 grep -v '^ *+' conftest.er1 >conftest.err
77565 rm -f conftest.er1
77566 cat conftest.err >&5
77567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568 (exit $ac_status); } &&
77569 { ac_try='test -z "$ac_c_werror_flag"
77570 || test ! -s conftest.err'
77571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77572 (eval $ac_try) 2>&5
77573 ac_status=$?
77574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77575 (exit $ac_status); }; } &&
77576 { ac_try='test -s conftest$ac_exeext'
77577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77578 (eval $ac_try) 2>&5
77579 ac_status=$?
77580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77581 (exit $ac_status); }; }; then
77582 ac_cv_lib_m_main=yes
77583 else
77584 echo "$as_me: failed program was:" >&5
77585 sed 's/^/| /' conftest.$ac_ext >&5
77586
77587 ac_cv_lib_m_main=no
77588 fi
77589 rm -f conftest.err conftest.$ac_objext \
77590 conftest$ac_exeext conftest.$ac_ext
77591 LIBS=$ac_check_lib_save_LIBS
77592 fi
77593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77594 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77595 if test $ac_cv_lib_m_main = yes; then
77596 cat >>confdefs.h <<_ACEOF
77597 #define HAVE_LIBM 1
77598 _ACEOF
77599
77600 LIBS="-lm $LIBS"
77601
77602 fi
77603
77604
77605 for ac_func in copysignf
77606 do
77607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77608 echo "$as_me:$LINENO: checking for $ac_func" >&5
77609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77610 if eval "test \"\${$as_ac_var+set}\" = set"; then
77611 echo $ECHO_N "(cached) $ECHO_C" >&6
77612 else
77613 if test x$gcc_no_link = xyes; then
77614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77616 { (exit 1); exit 1; }; }
77617 fi
77618 cat >conftest.$ac_ext <<_ACEOF
77619 /* confdefs.h. */
77620 _ACEOF
77621 cat confdefs.h >>conftest.$ac_ext
77622 cat >>conftest.$ac_ext <<_ACEOF
77623 /* end confdefs.h. */
77624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77626 #define $ac_func innocuous_$ac_func
77627
77628 /* System header to define __stub macros and hopefully few prototypes,
77629 which can conflict with char $ac_func (); below.
77630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77631 <limits.h> exists even on freestanding compilers. */
77632
77633 #ifdef __STDC__
77634 # include <limits.h>
77635 #else
77636 # include <assert.h>
77637 #endif
77638
77639 #undef $ac_func
77640
77641 /* Override any gcc2 internal prototype to avoid an error. */
77642 #ifdef __cplusplus
77643 extern "C"
77644 {
77645 #endif
77646 /* We use char because int might match the return type of a gcc2
77647 builtin and then its argument prototype would still apply. */
77648 char $ac_func ();
77649 /* The GNU C library defines this for functions which it implements
77650 to always fail with ENOSYS. Some functions are actually named
77651 something starting with __ and the normal name is an alias. */
77652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77653 choke me
77654 #else
77655 char (*f) () = $ac_func;
77656 #endif
77657 #ifdef __cplusplus
77658 }
77659 #endif
77660
77661 int
77662 main ()
77663 {
77664 return f != $ac_func;
77665 ;
77666 return 0;
77667 }
77668 _ACEOF
77669 rm -f conftest.$ac_objext conftest$ac_exeext
77670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77671 (eval $ac_link) 2>conftest.er1
77672 ac_status=$?
77673 grep -v '^ *+' conftest.er1 >conftest.err
77674 rm -f conftest.er1
77675 cat conftest.err >&5
77676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77677 (exit $ac_status); } &&
77678 { ac_try='test -z "$ac_c_werror_flag"
77679 || test ! -s conftest.err'
77680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77681 (eval $ac_try) 2>&5
77682 ac_status=$?
77683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684 (exit $ac_status); }; } &&
77685 { ac_try='test -s conftest$ac_exeext'
77686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77687 (eval $ac_try) 2>&5
77688 ac_status=$?
77689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77690 (exit $ac_status); }; }; then
77691 eval "$as_ac_var=yes"
77692 else
77693 echo "$as_me: failed program was:" >&5
77694 sed 's/^/| /' conftest.$ac_ext >&5
77695
77696 eval "$as_ac_var=no"
77697 fi
77698 rm -f conftest.err conftest.$ac_objext \
77699 conftest$ac_exeext conftest.$ac_ext
77700 fi
77701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77703 if test `eval echo '${'$as_ac_var'}'` = yes; then
77704 cat >>confdefs.h <<_ACEOF
77705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77706 _ACEOF
77707
77708 else
77709 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77710 fi
77711 done
77712
77713
77714
77715 for ac_func in __signbit
77716 do
77717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77718 echo "$as_me:$LINENO: checking for $ac_func" >&5
77719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77720 if eval "test \"\${$as_ac_var+set}\" = set"; then
77721 echo $ECHO_N "(cached) $ECHO_C" >&6
77722 else
77723 if test x$gcc_no_link = xyes; then
77724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77726 { (exit 1); exit 1; }; }
77727 fi
77728 cat >conftest.$ac_ext <<_ACEOF
77729 /* confdefs.h. */
77730 _ACEOF
77731 cat confdefs.h >>conftest.$ac_ext
77732 cat >>conftest.$ac_ext <<_ACEOF
77733 /* end confdefs.h. */
77734 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77735 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77736 #define $ac_func innocuous_$ac_func
77737
77738 /* System header to define __stub macros and hopefully few prototypes,
77739 which can conflict with char $ac_func (); below.
77740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77741 <limits.h> exists even on freestanding compilers. */
77742
77743 #ifdef __STDC__
77744 # include <limits.h>
77745 #else
77746 # include <assert.h>
77747 #endif
77748
77749 #undef $ac_func
77750
77751 /* Override any gcc2 internal prototype to avoid an error. */
77752 #ifdef __cplusplus
77753 extern "C"
77754 {
77755 #endif
77756 /* We use char because int might match the return type of a gcc2
77757 builtin and then its argument prototype would still apply. */
77758 char $ac_func ();
77759 /* The GNU C library defines this for functions which it implements
77760 to always fail with ENOSYS. Some functions are actually named
77761 something starting with __ and the normal name is an alias. */
77762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77763 choke me
77764 #else
77765 char (*f) () = $ac_func;
77766 #endif
77767 #ifdef __cplusplus
77768 }
77769 #endif
77770
77771 int
77772 main ()
77773 {
77774 return f != $ac_func;
77775 ;
77776 return 0;
77777 }
77778 _ACEOF
77779 rm -f conftest.$ac_objext conftest$ac_exeext
77780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77781 (eval $ac_link) 2>conftest.er1
77782 ac_status=$?
77783 grep -v '^ *+' conftest.er1 >conftest.err
77784 rm -f conftest.er1
77785 cat conftest.err >&5
77786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787 (exit $ac_status); } &&
77788 { ac_try='test -z "$ac_c_werror_flag"
77789 || test ! -s conftest.err'
77790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77791 (eval $ac_try) 2>&5
77792 ac_status=$?
77793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77794 (exit $ac_status); }; } &&
77795 { ac_try='test -s conftest$ac_exeext'
77796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77797 (eval $ac_try) 2>&5
77798 ac_status=$?
77799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77800 (exit $ac_status); }; }; then
77801 eval "$as_ac_var=yes"
77802 else
77803 echo "$as_me: failed program was:" >&5
77804 sed 's/^/| /' conftest.$ac_ext >&5
77805
77806 eval "$as_ac_var=no"
77807 fi
77808 rm -f conftest.err conftest.$ac_objext \
77809 conftest$ac_exeext conftest.$ac_ext
77810 fi
77811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77813 if test `eval echo '${'$as_ac_var'}'` = yes; then
77814 cat >>confdefs.h <<_ACEOF
77815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77816 _ACEOF
77817
77818 else
77819 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77820 fi
77821 done
77822
77823
77824
77825 for ac_func in __signbitf
77826 do
77827 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77828 echo "$as_me:$LINENO: checking for $ac_func" >&5
77829 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77830 if eval "test \"\${$as_ac_var+set}\" = set"; then
77831 echo $ECHO_N "(cached) $ECHO_C" >&6
77832 else
77833 if test x$gcc_no_link = xyes; then
77834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77836 { (exit 1); exit 1; }; }
77837 fi
77838 cat >conftest.$ac_ext <<_ACEOF
77839 /* confdefs.h. */
77840 _ACEOF
77841 cat confdefs.h >>conftest.$ac_ext
77842 cat >>conftest.$ac_ext <<_ACEOF
77843 /* end confdefs.h. */
77844 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77846 #define $ac_func innocuous_$ac_func
77847
77848 /* System header to define __stub macros and hopefully few prototypes,
77849 which can conflict with char $ac_func (); below.
77850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77851 <limits.h> exists even on freestanding compilers. */
77852
77853 #ifdef __STDC__
77854 # include <limits.h>
77855 #else
77856 # include <assert.h>
77857 #endif
77858
77859 #undef $ac_func
77860
77861 /* Override any gcc2 internal prototype to avoid an error. */
77862 #ifdef __cplusplus
77863 extern "C"
77864 {
77865 #endif
77866 /* We use char because int might match the return type of a gcc2
77867 builtin and then its argument prototype would still apply. */
77868 char $ac_func ();
77869 /* The GNU C library defines this for functions which it implements
77870 to always fail with ENOSYS. Some functions are actually named
77871 something starting with __ and the normal name is an alias. */
77872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77873 choke me
77874 #else
77875 char (*f) () = $ac_func;
77876 #endif
77877 #ifdef __cplusplus
77878 }
77879 #endif
77880
77881 int
77882 main ()
77883 {
77884 return f != $ac_func;
77885 ;
77886 return 0;
77887 }
77888 _ACEOF
77889 rm -f conftest.$ac_objext conftest$ac_exeext
77890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77891 (eval $ac_link) 2>conftest.er1
77892 ac_status=$?
77893 grep -v '^ *+' conftest.er1 >conftest.err
77894 rm -f conftest.er1
77895 cat conftest.err >&5
77896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77897 (exit $ac_status); } &&
77898 { ac_try='test -z "$ac_c_werror_flag"
77899 || test ! -s conftest.err'
77900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77901 (eval $ac_try) 2>&5
77902 ac_status=$?
77903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77904 (exit $ac_status); }; } &&
77905 { ac_try='test -s conftest$ac_exeext'
77906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77907 (eval $ac_try) 2>&5
77908 ac_status=$?
77909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77910 (exit $ac_status); }; }; then
77911 eval "$as_ac_var=yes"
77912 else
77913 echo "$as_me: failed program was:" >&5
77914 sed 's/^/| /' conftest.$ac_ext >&5
77915
77916 eval "$as_ac_var=no"
77917 fi
77918 rm -f conftest.err conftest.$ac_objext \
77919 conftest$ac_exeext conftest.$ac_ext
77920 fi
77921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77923 if test `eval echo '${'$as_ac_var'}'` = yes; then
77924 cat >>confdefs.h <<_ACEOF
77925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77926 _ACEOF
77927
77928 else
77929 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77930 fi
77931 done
77932
77933
77934 if test x$ac_cv_func_copysignl = x"yes"; then
77935
77936 for ac_func in __signbitl
77937 do
77938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77939 echo "$as_me:$LINENO: checking for $ac_func" >&5
77940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77941 if eval "test \"\${$as_ac_var+set}\" = set"; then
77942 echo $ECHO_N "(cached) $ECHO_C" >&6
77943 else
77944 if test x$gcc_no_link = xyes; then
77945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77947 { (exit 1); exit 1; }; }
77948 fi
77949 cat >conftest.$ac_ext <<_ACEOF
77950 /* confdefs.h. */
77951 _ACEOF
77952 cat confdefs.h >>conftest.$ac_ext
77953 cat >>conftest.$ac_ext <<_ACEOF
77954 /* end confdefs.h. */
77955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77957 #define $ac_func innocuous_$ac_func
77958
77959 /* System header to define __stub macros and hopefully few prototypes,
77960 which can conflict with char $ac_func (); below.
77961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77962 <limits.h> exists even on freestanding compilers. */
77963
77964 #ifdef __STDC__
77965 # include <limits.h>
77966 #else
77967 # include <assert.h>
77968 #endif
77969
77970 #undef $ac_func
77971
77972 /* Override any gcc2 internal prototype to avoid an error. */
77973 #ifdef __cplusplus
77974 extern "C"
77975 {
77976 #endif
77977 /* We use char because int might match the return type of a gcc2
77978 builtin and then its argument prototype would still apply. */
77979 char $ac_func ();
77980 /* The GNU C library defines this for functions which it implements
77981 to always fail with ENOSYS. Some functions are actually named
77982 something starting with __ and the normal name is an alias. */
77983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77984 choke me
77985 #else
77986 char (*f) () = $ac_func;
77987 #endif
77988 #ifdef __cplusplus
77989 }
77990 #endif
77991
77992 int
77993 main ()
77994 {
77995 return f != $ac_func;
77996 ;
77997 return 0;
77998 }
77999 _ACEOF
78000 rm -f conftest.$ac_objext conftest$ac_exeext
78001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78002 (eval $ac_link) 2>conftest.er1
78003 ac_status=$?
78004 grep -v '^ *+' conftest.er1 >conftest.err
78005 rm -f conftest.er1
78006 cat conftest.err >&5
78007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78008 (exit $ac_status); } &&
78009 { ac_try='test -z "$ac_c_werror_flag"
78010 || test ! -s conftest.err'
78011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78012 (eval $ac_try) 2>&5
78013 ac_status=$?
78014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78015 (exit $ac_status); }; } &&
78016 { ac_try='test -s conftest$ac_exeext'
78017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78018 (eval $ac_try) 2>&5
78019 ac_status=$?
78020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78021 (exit $ac_status); }; }; then
78022 eval "$as_ac_var=yes"
78023 else
78024 echo "$as_me: failed program was:" >&5
78025 sed 's/^/| /' conftest.$ac_ext >&5
78026
78027 eval "$as_ac_var=no"
78028 fi
78029 rm -f conftest.err conftest.$ac_objext \
78030 conftest$ac_exeext conftest.$ac_ext
78031 fi
78032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78034 if test `eval echo '${'$as_ac_var'}'` = yes; then
78035 cat >>confdefs.h <<_ACEOF
78036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78037 _ACEOF
78038
78039 else
78040 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78041 fi
78042 done
78043
78044 fi
78045
78046 # Used in libmath/Makefile.am.
78047 if test -n "$LIBMATHOBJS"; then
78048 need_libmath=yes
78049 fi
78050
78051
78052
78053
78054 enable_iconv=no
78055 # Only continue checking if the ISO C99 headers exist and support is on.
78056 if test x"$enable_wchar_t" = xyes; then
78057
78058 # Use iconv for wchar_t to char conversions. As such, check for
78059 # X/Open Portability Guide, version 2 features (XPG2).
78060 if test "${ac_cv_header_iconv_h+set}" = set; then
78061 echo "$as_me:$LINENO: checking for iconv.h" >&5
78062 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78063 if test "${ac_cv_header_iconv_h+set}" = set; then
78064 echo $ECHO_N "(cached) $ECHO_C" >&6
78065 fi
78066 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78067 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78068 else
78069 # Is the header compilable?
78070 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78071 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78072 cat >conftest.$ac_ext <<_ACEOF
78073 /* confdefs.h. */
78074 _ACEOF
78075 cat confdefs.h >>conftest.$ac_ext
78076 cat >>conftest.$ac_ext <<_ACEOF
78077 /* end confdefs.h. */
78078 $ac_includes_default
78079 #include <iconv.h>
78080 _ACEOF
78081 rm -f conftest.$ac_objext
78082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78083 (eval $ac_compile) 2>conftest.er1
78084 ac_status=$?
78085 grep -v '^ *+' conftest.er1 >conftest.err
78086 rm -f conftest.er1
78087 cat conftest.err >&5
78088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78089 (exit $ac_status); } &&
78090 { ac_try='test -z "$ac_c_werror_flag"
78091 || test ! -s conftest.err'
78092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78093 (eval $ac_try) 2>&5
78094 ac_status=$?
78095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096 (exit $ac_status); }; } &&
78097 { ac_try='test -s conftest.$ac_objext'
78098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78099 (eval $ac_try) 2>&5
78100 ac_status=$?
78101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78102 (exit $ac_status); }; }; then
78103 ac_header_compiler=yes
78104 else
78105 echo "$as_me: failed program was:" >&5
78106 sed 's/^/| /' conftest.$ac_ext >&5
78107
78108 ac_header_compiler=no
78109 fi
78110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78112 echo "${ECHO_T}$ac_header_compiler" >&6
78113
78114 # Is the header present?
78115 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78116 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78117 cat >conftest.$ac_ext <<_ACEOF
78118 /* confdefs.h. */
78119 _ACEOF
78120 cat confdefs.h >>conftest.$ac_ext
78121 cat >>conftest.$ac_ext <<_ACEOF
78122 /* end confdefs.h. */
78123 #include <iconv.h>
78124 _ACEOF
78125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78127 ac_status=$?
78128 grep -v '^ *+' conftest.er1 >conftest.err
78129 rm -f conftest.er1
78130 cat conftest.err >&5
78131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78132 (exit $ac_status); } >/dev/null; then
78133 if test -s conftest.err; then
78134 ac_cpp_err=$ac_c_preproc_warn_flag
78135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78136 else
78137 ac_cpp_err=
78138 fi
78139 else
78140 ac_cpp_err=yes
78141 fi
78142 if test -z "$ac_cpp_err"; then
78143 ac_header_preproc=yes
78144 else
78145 echo "$as_me: failed program was:" >&5
78146 sed 's/^/| /' conftest.$ac_ext >&5
78147
78148 ac_header_preproc=no
78149 fi
78150 rm -f conftest.err conftest.$ac_ext
78151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78152 echo "${ECHO_T}$ac_header_preproc" >&6
78153
78154 # So? What about this header?
78155 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78156 yes:no: )
78157 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78158 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78159 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78160 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78161 ac_header_preproc=yes
78162 ;;
78163 no:yes:* )
78164 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78165 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78166 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
78167 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
78168 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78169 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78170 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
78171 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
78172 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78173 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78174 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78175 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78176 (
78177 cat <<\_ASBOX
78178 ## ----------------------------------------- ##
78179 ## Report this to the package-unused lists. ##
78180 ## ----------------------------------------- ##
78181 _ASBOX
78182 ) |
78183 sed "s/^/$as_me: WARNING: /" >&2
78184 ;;
78185 esac
78186 echo "$as_me:$LINENO: checking for iconv.h" >&5
78187 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78188 if test "${ac_cv_header_iconv_h+set}" = set; then
78189 echo $ECHO_N "(cached) $ECHO_C" >&6
78190 else
78191 ac_cv_header_iconv_h=$ac_header_preproc
78192 fi
78193 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78194 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78195
78196 fi
78197 if test $ac_cv_header_iconv_h = yes; then
78198 ac_has_iconv_h=yes
78199 else
78200 ac_has_iconv_h=no
78201 fi
78202
78203
78204 if test "${ac_cv_header_langinfo_h+set}" = set; then
78205 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78206 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78207 if test "${ac_cv_header_langinfo_h+set}" = set; then
78208 echo $ECHO_N "(cached) $ECHO_C" >&6
78209 fi
78210 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78211 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78212 else
78213 # Is the header compilable?
78214 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78215 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78216 cat >conftest.$ac_ext <<_ACEOF
78217 /* confdefs.h. */
78218 _ACEOF
78219 cat confdefs.h >>conftest.$ac_ext
78220 cat >>conftest.$ac_ext <<_ACEOF
78221 /* end confdefs.h. */
78222 $ac_includes_default
78223 #include <langinfo.h>
78224 _ACEOF
78225 rm -f conftest.$ac_objext
78226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78227 (eval $ac_compile) 2>conftest.er1
78228 ac_status=$?
78229 grep -v '^ *+' conftest.er1 >conftest.err
78230 rm -f conftest.er1
78231 cat conftest.err >&5
78232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78233 (exit $ac_status); } &&
78234 { ac_try='test -z "$ac_c_werror_flag"
78235 || test ! -s conftest.err'
78236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78237 (eval $ac_try) 2>&5
78238 ac_status=$?
78239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78240 (exit $ac_status); }; } &&
78241 { ac_try='test -s conftest.$ac_objext'
78242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78243 (eval $ac_try) 2>&5
78244 ac_status=$?
78245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78246 (exit $ac_status); }; }; then
78247 ac_header_compiler=yes
78248 else
78249 echo "$as_me: failed program was:" >&5
78250 sed 's/^/| /' conftest.$ac_ext >&5
78251
78252 ac_header_compiler=no
78253 fi
78254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78255 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78256 echo "${ECHO_T}$ac_header_compiler" >&6
78257
78258 # Is the header present?
78259 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78260 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78261 cat >conftest.$ac_ext <<_ACEOF
78262 /* confdefs.h. */
78263 _ACEOF
78264 cat confdefs.h >>conftest.$ac_ext
78265 cat >>conftest.$ac_ext <<_ACEOF
78266 /* end confdefs.h. */
78267 #include <langinfo.h>
78268 _ACEOF
78269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78271 ac_status=$?
78272 grep -v '^ *+' conftest.er1 >conftest.err
78273 rm -f conftest.er1
78274 cat conftest.err >&5
78275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78276 (exit $ac_status); } >/dev/null; then
78277 if test -s conftest.err; then
78278 ac_cpp_err=$ac_c_preproc_warn_flag
78279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78280 else
78281 ac_cpp_err=
78282 fi
78283 else
78284 ac_cpp_err=yes
78285 fi
78286 if test -z "$ac_cpp_err"; then
78287 ac_header_preproc=yes
78288 else
78289 echo "$as_me: failed program was:" >&5
78290 sed 's/^/| /' conftest.$ac_ext >&5
78291
78292 ac_header_preproc=no
78293 fi
78294 rm -f conftest.err conftest.$ac_ext
78295 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78296 echo "${ECHO_T}$ac_header_preproc" >&6
78297
78298 # So? What about this header?
78299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78300 yes:no: )
78301 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78302 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78303 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78304 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78305 ac_header_preproc=yes
78306 ;;
78307 no:yes:* )
78308 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78309 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78310 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78311 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78312 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78313 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78314 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78315 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78316 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78317 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78318 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78319 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78320 (
78321 cat <<\_ASBOX
78322 ## ----------------------------------------- ##
78323 ## Report this to the package-unused lists. ##
78324 ## ----------------------------------------- ##
78325 _ASBOX
78326 ) |
78327 sed "s/^/$as_me: WARNING: /" >&2
78328 ;;
78329 esac
78330 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78331 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78332 if test "${ac_cv_header_langinfo_h+set}" = set; then
78333 echo $ECHO_N "(cached) $ECHO_C" >&6
78334 else
78335 ac_cv_header_langinfo_h=$ac_header_preproc
78336 fi
78337 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78338 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78339
78340 fi
78341 if test $ac_cv_header_langinfo_h = yes; then
78342 ac_has_langinfo_h=yes
78343 else
78344 ac_has_langinfo_h=no
78345 fi
78346
78347
78348
78349 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78350 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78351 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78352 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78353 echo $ECHO_N "(cached) $ECHO_C" >&6
78354 else
78355 ac_check_lib_save_LIBS=$LIBS
78356 LIBS="-liconv $LIBS"
78357 if test x$gcc_no_link = xyes; then
78358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78360 { (exit 1); exit 1; }; }
78361 fi
78362 cat >conftest.$ac_ext <<_ACEOF
78363 /* confdefs.h. */
78364 _ACEOF
78365 cat confdefs.h >>conftest.$ac_ext
78366 cat >>conftest.$ac_ext <<_ACEOF
78367 /* end confdefs.h. */
78368
78369 /* Override any gcc2 internal prototype to avoid an error. */
78370 #ifdef __cplusplus
78371 extern "C"
78372 #endif
78373 /* We use char because int might match the return type of a gcc2
78374 builtin and then its argument prototype would still apply. */
78375 char iconv ();
78376 int
78377 main ()
78378 {
78379 iconv ();
78380 ;
78381 return 0;
78382 }
78383 _ACEOF
78384 rm -f conftest.$ac_objext conftest$ac_exeext
78385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78386 (eval $ac_link) 2>conftest.er1
78387 ac_status=$?
78388 grep -v '^ *+' conftest.er1 >conftest.err
78389 rm -f conftest.er1
78390 cat conftest.err >&5
78391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78392 (exit $ac_status); } &&
78393 { ac_try='test -z "$ac_c_werror_flag"
78394 || test ! -s conftest.err'
78395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78396 (eval $ac_try) 2>&5
78397 ac_status=$?
78398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78399 (exit $ac_status); }; } &&
78400 { ac_try='test -s conftest$ac_exeext'
78401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78402 (eval $ac_try) 2>&5
78403 ac_status=$?
78404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78405 (exit $ac_status); }; }; then
78406 ac_cv_lib_iconv_iconv=yes
78407 else
78408 echo "$as_me: failed program was:" >&5
78409 sed 's/^/| /' conftest.$ac_ext >&5
78410
78411 ac_cv_lib_iconv_iconv=no
78412 fi
78413 rm -f conftest.err conftest.$ac_objext \
78414 conftest$ac_exeext conftest.$ac_ext
78415 LIBS=$ac_check_lib_save_LIBS
78416 fi
78417 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78418 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78419 if test $ac_cv_lib_iconv_iconv = yes; then
78420 LIBICONV="-liconv"
78421 fi
78422
78423 ac_save_LIBS="$LIBS"
78424 LIBS="$LIBS $LIBICONV"
78425
78426
78427
78428
78429
78430
78431 for ac_func in iconv_open iconv_close iconv nl_langinfo
78432 do
78433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78434 echo "$as_me:$LINENO: checking for $ac_func" >&5
78435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78436 if eval "test \"\${$as_ac_var+set}\" = set"; then
78437 echo $ECHO_N "(cached) $ECHO_C" >&6
78438 else
78439 if test x$gcc_no_link = xyes; then
78440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78442 { (exit 1); exit 1; }; }
78443 fi
78444 cat >conftest.$ac_ext <<_ACEOF
78445 /* confdefs.h. */
78446 _ACEOF
78447 cat confdefs.h >>conftest.$ac_ext
78448 cat >>conftest.$ac_ext <<_ACEOF
78449 /* end confdefs.h. */
78450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78452 #define $ac_func innocuous_$ac_func
78453
78454 /* System header to define __stub macros and hopefully few prototypes,
78455 which can conflict with char $ac_func (); below.
78456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78457 <limits.h> exists even on freestanding compilers. */
78458
78459 #ifdef __STDC__
78460 # include <limits.h>
78461 #else
78462 # include <assert.h>
78463 #endif
78464
78465 #undef $ac_func
78466
78467 /* Override any gcc2 internal prototype to avoid an error. */
78468 #ifdef __cplusplus
78469 extern "C"
78470 {
78471 #endif
78472 /* We use char because int might match the return type of a gcc2
78473 builtin and then its argument prototype would still apply. */
78474 char $ac_func ();
78475 /* The GNU C library defines this for functions which it implements
78476 to always fail with ENOSYS. Some functions are actually named
78477 something starting with __ and the normal name is an alias. */
78478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78479 choke me
78480 #else
78481 char (*f) () = $ac_func;
78482 #endif
78483 #ifdef __cplusplus
78484 }
78485 #endif
78486
78487 int
78488 main ()
78489 {
78490 return f != $ac_func;
78491 ;
78492 return 0;
78493 }
78494 _ACEOF
78495 rm -f conftest.$ac_objext conftest$ac_exeext
78496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78497 (eval $ac_link) 2>conftest.er1
78498 ac_status=$?
78499 grep -v '^ *+' conftest.er1 >conftest.err
78500 rm -f conftest.er1
78501 cat conftest.err >&5
78502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78503 (exit $ac_status); } &&
78504 { ac_try='test -z "$ac_c_werror_flag"
78505 || test ! -s conftest.err'
78506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78507 (eval $ac_try) 2>&5
78508 ac_status=$?
78509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78510 (exit $ac_status); }; } &&
78511 { ac_try='test -s conftest$ac_exeext'
78512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78513 (eval $ac_try) 2>&5
78514 ac_status=$?
78515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78516 (exit $ac_status); }; }; then
78517 eval "$as_ac_var=yes"
78518 else
78519 echo "$as_me: failed program was:" >&5
78520 sed 's/^/| /' conftest.$ac_ext >&5
78521
78522 eval "$as_ac_var=no"
78523 fi
78524 rm -f conftest.err conftest.$ac_objext \
78525 conftest$ac_exeext conftest.$ac_ext
78526 fi
78527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78529 if test `eval echo '${'$as_ac_var'}'` = yes; then
78530 cat >>confdefs.h <<_ACEOF
78531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78532 _ACEOF
78533 ac_XPG2funcs=yes
78534 else
78535 ac_XPG2funcs=no
78536 fi
78537 done
78538
78539
78540 LIBS="$ac_save_LIBS"
78541
78542 if test x"$ac_has_iconv_h" = xyes &&
78543 test x"$ac_has_langinfo_h" = xyes &&
78544 test x"$ac_XPG2funcs" = xyes;
78545 then
78546
78547 cat >>confdefs.h <<\_ACEOF
78548 #define _GLIBCXX_USE_ICONV 1
78549 _ACEOF
78550
78551 enable_iconv=yes
78552 fi
78553 fi
78554 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78555 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78556 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78557 echo "${ECHO_T}$enable_iconv" >&6
78558
78559 ;;
78560 *-netbsd*)
78561
78562
78563
78564
78565
78566
78567
78568
78569
78570
78571
78572
78573 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
78574 machine/endian.h machine/param.h sys/machine.h sys/types.h \
78575 fp.h locale.h float.h inttypes.h
78576 do
78577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78579 echo "$as_me:$LINENO: checking for $ac_header" >&5
78580 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78582 echo $ECHO_N "(cached) $ECHO_C" >&6
78583 fi
78584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78586 else
78587 # Is the header compilable?
78588 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78589 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78590 cat >conftest.$ac_ext <<_ACEOF
78591 /* confdefs.h. */
78592 _ACEOF
78593 cat confdefs.h >>conftest.$ac_ext
78594 cat >>conftest.$ac_ext <<_ACEOF
78595 /* end confdefs.h. */
78596 $ac_includes_default
78597 #include <$ac_header>
78598 _ACEOF
78599 rm -f conftest.$ac_objext
78600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78601 (eval $ac_compile) 2>conftest.er1
78602 ac_status=$?
78603 grep -v '^ *+' conftest.er1 >conftest.err
78604 rm -f conftest.er1
78605 cat conftest.err >&5
78606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78607 (exit $ac_status); } &&
78608 { ac_try='test -z "$ac_c_werror_flag"
78609 || test ! -s conftest.err'
78610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611 (eval $ac_try) 2>&5
78612 ac_status=$?
78613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614 (exit $ac_status); }; } &&
78615 { ac_try='test -s conftest.$ac_objext'
78616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78617 (eval $ac_try) 2>&5
78618 ac_status=$?
78619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78620 (exit $ac_status); }; }; then
78621 ac_header_compiler=yes
78622 else
78623 echo "$as_me: failed program was:" >&5
78624 sed 's/^/| /' conftest.$ac_ext >&5
78625
78626 ac_header_compiler=no
78627 fi
78628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78630 echo "${ECHO_T}$ac_header_compiler" >&6
78631
78632 # Is the header present?
78633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78635 cat >conftest.$ac_ext <<_ACEOF
78636 /* confdefs.h. */
78637 _ACEOF
78638 cat confdefs.h >>conftest.$ac_ext
78639 cat >>conftest.$ac_ext <<_ACEOF
78640 /* end confdefs.h. */
78641 #include <$ac_header>
78642 _ACEOF
78643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78645 ac_status=$?
78646 grep -v '^ *+' conftest.er1 >conftest.err
78647 rm -f conftest.er1
78648 cat conftest.err >&5
78649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78650 (exit $ac_status); } >/dev/null; then
78651 if test -s conftest.err; then
78652 ac_cpp_err=$ac_c_preproc_warn_flag
78653 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78654 else
78655 ac_cpp_err=
78656 fi
78657 else
78658 ac_cpp_err=yes
78659 fi
78660 if test -z "$ac_cpp_err"; then
78661 ac_header_preproc=yes
78662 else
78663 echo "$as_me: failed program was:" >&5
78664 sed 's/^/| /' conftest.$ac_ext >&5
78665
78666 ac_header_preproc=no
78667 fi
78668 rm -f conftest.err conftest.$ac_ext
78669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78670 echo "${ECHO_T}$ac_header_preproc" >&6
78671
78672 # So? What about this header?
78673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78674 yes:no: )
78675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78679 ac_header_preproc=yes
78680 ;;
78681 no:yes:* )
78682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78694 (
78695 cat <<\_ASBOX
78696 ## ----------------------------------------- ##
78697 ## Report this to the package-unused lists. ##
78698 ## ----------------------------------------- ##
78699 _ASBOX
78700 ) |
78701 sed "s/^/$as_me: WARNING: /" >&2
78702 ;;
78703 esac
78704 echo "$as_me:$LINENO: checking for $ac_header" >&5
78705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78707 echo $ECHO_N "(cached) $ECHO_C" >&6
78708 else
78709 eval "$as_ac_Header=\$ac_header_preproc"
78710 fi
78711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78713
78714 fi
78715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78716 cat >>confdefs.h <<_ACEOF
78717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78718 _ACEOF
78719
78720 fi
78721
78722 done
78723
78724 SECTION_FLAGS='-ffunction-sections -fdata-sections'
78725
78726
78727 # If we're not using GNU ld, then there's no point in even trying these
78728 # tests. Check for that first. We should have already tested for gld
78729 # by now (in libtool), but require it now just to be safe...
78730 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
78731 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
78732
78733
78734
78735 # The name set by libtool depends on the version of libtool. Shame on us
78736 # for depending on an impl detail, but c'est la vie. Older versions used
78737 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
78738 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
78739 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
78740 # set (hence we're using an older libtool), then set it.
78741 if test x${with_gnu_ld+set} != xset; then
78742 if test x${ac_cv_prog_gnu_ld+set} != xset; then
78743 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
78744 with_gnu_ld=no
78745 else
78746 with_gnu_ld=$ac_cv_prog_gnu_ld
78747 fi
78748 fi
78749
78750 # Start by getting the version number. I think the libtool test already
78751 # does some of this, but throws away the result.
78752
78753 ldver=`$LD --version 2>/dev/null | head -1 | \
78754 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
78755
78756 glibcxx_gnu_ld_version=`echo $ldver | \
78757 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
78758
78759 # Set --gc-sections.
78760 if test "$with_gnu_ld" = "notbroken"; then
78761 # GNU ld it is! Joy and bunny rabbits!
78762
78763 # All these tests are for C++; save the language and the compiler flags.
78764 # Need to do this so that g++ won't try to link in libstdc++
78765 ac_test_CFLAGS="${CFLAGS+set}"
78766 ac_save_CFLAGS="$CFLAGS"
78767 CFLAGS='-x c++ -Wl,--gc-sections'
78768
78769 # Check for -Wl,--gc-sections
78770 # XXX This test is broken at the moment, as symbols required for linking
78771 # are now in libsupc++ (not built yet). In addition, this test has
78772 # cored on solaris in the past. In addition, --gc-sections doesn't
78773 # really work at the moment (keeps on discarding used sections, first
78774 # .eh_frame and now some of the glibc sections for iconv).
78775 # Bzzzzt. Thanks for playing, maybe next time.
78776 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
78777 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
78778 if test "$cross_compiling" = yes; then
78779 ac_sectionLDflags=yes
78780 else
78781 cat >conftest.$ac_ext <<_ACEOF
78782 /* confdefs.h. */
78783 _ACEOF
78784 cat confdefs.h >>conftest.$ac_ext
78785 cat >>conftest.$ac_ext <<_ACEOF
78786 /* end confdefs.h. */
78787
78788 int main(void)
78789 {
78790 try { throw 1; }
78791 catch (...) { };
78792 return 0;
78793 }
78794
78795 _ACEOF
78796 rm -f conftest$ac_exeext
78797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78798 (eval $ac_link) 2>&5
78799 ac_status=$?
78800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78801 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
78802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78803 (eval $ac_try) 2>&5
78804 ac_status=$?
78805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78806 (exit $ac_status); }; }; then
78807 ac_sectionLDflags=yes
78808 else
78809 echo "$as_me: program exited with status $ac_status" >&5
78810 echo "$as_me: failed program was:" >&5
78811 sed 's/^/| /' conftest.$ac_ext >&5
78812
78813 ( exit $ac_status )
78814 ac_sectionLDflags=no
78815 fi
78816 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
78817 fi
78818 if test "$ac_test_CFLAGS" = set; then
78819 CFLAGS="$ac_save_CFLAGS"
78820 else
78821 # this is the suspicious part
78822 CFLAGS=''
78823 fi
78824 if test "$ac_sectionLDflags" = "yes"; then
78825 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
78826 fi
78827 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
78828 echo "${ECHO_T}$ac_sectionLDflags" >&6
78829 fi
78830
78831 # Set linker optimization flags.
78832 if test x"$with_gnu_ld" = x"yes"; then
78833 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
78834 fi
78835
78836
78837
78838
78839
78840
78841 echo "$as_me:$LINENO: checking for main in -lm" >&5
78842 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
78843 if test "${ac_cv_lib_m_main+set}" = set; then
78844 echo $ECHO_N "(cached) $ECHO_C" >&6
78845 else
78846 ac_check_lib_save_LIBS=$LIBS
78847 LIBS="-lm $LIBS"
78848 if test x$gcc_no_link = xyes; then
78849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78851 { (exit 1); exit 1; }; }
78852 fi
78853 cat >conftest.$ac_ext <<_ACEOF
78854 /* confdefs.h. */
78855 _ACEOF
78856 cat confdefs.h >>conftest.$ac_ext
78857 cat >>conftest.$ac_ext <<_ACEOF
78858 /* end confdefs.h. */
78859
78860
78861 int
78862 main ()
78863 {
78864 main ();
78865 ;
78866 return 0;
78867 }
78868 _ACEOF
78869 rm -f conftest.$ac_objext conftest$ac_exeext
78870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78871 (eval $ac_link) 2>conftest.er1
78872 ac_status=$?
78873 grep -v '^ *+' conftest.er1 >conftest.err
78874 rm -f conftest.er1
78875 cat conftest.err >&5
78876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78877 (exit $ac_status); } &&
78878 { ac_try='test -z "$ac_c_werror_flag"
78879 || test ! -s conftest.err'
78880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78881 (eval $ac_try) 2>&5
78882 ac_status=$?
78883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78884 (exit $ac_status); }; } &&
78885 { ac_try='test -s conftest$ac_exeext'
78886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78887 (eval $ac_try) 2>&5
78888 ac_status=$?
78889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78890 (exit $ac_status); }; }; then
78891 ac_cv_lib_m_main=yes
78892 else
78893 echo "$as_me: failed program was:" >&5
78894 sed 's/^/| /' conftest.$ac_ext >&5
78895
78896 ac_cv_lib_m_main=no
78897 fi
78898 rm -f conftest.err conftest.$ac_objext \
78899 conftest$ac_exeext conftest.$ac_ext
78900 LIBS=$ac_check_lib_save_LIBS
78901 fi
78902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
78903 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
78904 if test $ac_cv_lib_m_main = yes; then
78905 cat >>confdefs.h <<_ACEOF
78906 #define HAVE_LIBM 1
78907 _ACEOF
78908
78909 LIBS="-lm $LIBS"
78910
78911 fi
78912
78913
78914 for ac_func in copysignf
78915 do
78916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78917 echo "$as_me:$LINENO: checking for $ac_func" >&5
78918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78919 if eval "test \"\${$as_ac_var+set}\" = set"; then
78920 echo $ECHO_N "(cached) $ECHO_C" >&6
78921 else
78922 if test x$gcc_no_link = xyes; then
78923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78925 { (exit 1); exit 1; }; }
78926 fi
78927 cat >conftest.$ac_ext <<_ACEOF
78928 /* confdefs.h. */
78929 _ACEOF
78930 cat confdefs.h >>conftest.$ac_ext
78931 cat >>conftest.$ac_ext <<_ACEOF
78932 /* end confdefs.h. */
78933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78935 #define $ac_func innocuous_$ac_func
78936
78937 /* System header to define __stub macros and hopefully few prototypes,
78938 which can conflict with char $ac_func (); below.
78939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78940 <limits.h> exists even on freestanding compilers. */
78941
78942 #ifdef __STDC__
78943 # include <limits.h>
78944 #else
78945 # include <assert.h>
78946 #endif
78947
78948 #undef $ac_func
78949
78950 /* Override any gcc2 internal prototype to avoid an error. */
78951 #ifdef __cplusplus
78952 extern "C"
78953 {
78954 #endif
78955 /* We use char because int might match the return type of a gcc2
78956 builtin and then its argument prototype would still apply. */
78957 char $ac_func ();
78958 /* The GNU C library defines this for functions which it implements
78959 to always fail with ENOSYS. Some functions are actually named
78960 something starting with __ and the normal name is an alias. */
78961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78962 choke me
78963 #else
78964 char (*f) () = $ac_func;
78965 #endif
78966 #ifdef __cplusplus
78967 }
78968 #endif
78969
78970 int
78971 main ()
78972 {
78973 return f != $ac_func;
78974 ;
78975 return 0;
78976 }
78977 _ACEOF
78978 rm -f conftest.$ac_objext conftest$ac_exeext
78979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78980 (eval $ac_link) 2>conftest.er1
78981 ac_status=$?
78982 grep -v '^ *+' conftest.er1 >conftest.err
78983 rm -f conftest.er1
78984 cat conftest.err >&5
78985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78986 (exit $ac_status); } &&
78987 { ac_try='test -z "$ac_c_werror_flag"
78988 || test ! -s conftest.err'
78989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78990 (eval $ac_try) 2>&5
78991 ac_status=$?
78992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78993 (exit $ac_status); }; } &&
78994 { ac_try='test -s conftest$ac_exeext'
78995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78996 (eval $ac_try) 2>&5
78997 ac_status=$?
78998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78999 (exit $ac_status); }; }; then
79000 eval "$as_ac_var=yes"
79001 else
79002 echo "$as_me: failed program was:" >&5
79003 sed 's/^/| /' conftest.$ac_ext >&5
79004
79005 eval "$as_ac_var=no"
79006 fi
79007 rm -f conftest.err conftest.$ac_objext \
79008 conftest$ac_exeext conftest.$ac_ext
79009 fi
79010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79012 if test `eval echo '${'$as_ac_var'}'` = yes; then
79013 cat >>confdefs.h <<_ACEOF
79014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79015 _ACEOF
79016
79017 else
79018 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79019 fi
79020 done
79021
79022
79023
79024 for ac_func in __signbit
79025 do
79026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79027 echo "$as_me:$LINENO: checking for $ac_func" >&5
79028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79029 if eval "test \"\${$as_ac_var+set}\" = set"; then
79030 echo $ECHO_N "(cached) $ECHO_C" >&6
79031 else
79032 if test x$gcc_no_link = xyes; then
79033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79035 { (exit 1); exit 1; }; }
79036 fi
79037 cat >conftest.$ac_ext <<_ACEOF
79038 /* confdefs.h. */
79039 _ACEOF
79040 cat confdefs.h >>conftest.$ac_ext
79041 cat >>conftest.$ac_ext <<_ACEOF
79042 /* end confdefs.h. */
79043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79044 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79045 #define $ac_func innocuous_$ac_func
79046
79047 /* System header to define __stub macros and hopefully few prototypes,
79048 which can conflict with char $ac_func (); below.
79049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79050 <limits.h> exists even on freestanding compilers. */
79051
79052 #ifdef __STDC__
79053 # include <limits.h>
79054 #else
79055 # include <assert.h>
79056 #endif
79057
79058 #undef $ac_func
79059
79060 /* Override any gcc2 internal prototype to avoid an error. */
79061 #ifdef __cplusplus
79062 extern "C"
79063 {
79064 #endif
79065 /* We use char because int might match the return type of a gcc2
79066 builtin and then its argument prototype would still apply. */
79067 char $ac_func ();
79068 /* The GNU C library defines this for functions which it implements
79069 to always fail with ENOSYS. Some functions are actually named
79070 something starting with __ and the normal name is an alias. */
79071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79072 choke me
79073 #else
79074 char (*f) () = $ac_func;
79075 #endif
79076 #ifdef __cplusplus
79077 }
79078 #endif
79079
79080 int
79081 main ()
79082 {
79083 return f != $ac_func;
79084 ;
79085 return 0;
79086 }
79087 _ACEOF
79088 rm -f conftest.$ac_objext conftest$ac_exeext
79089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79090 (eval $ac_link) 2>conftest.er1
79091 ac_status=$?
79092 grep -v '^ *+' conftest.er1 >conftest.err
79093 rm -f conftest.er1
79094 cat conftest.err >&5
79095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79096 (exit $ac_status); } &&
79097 { ac_try='test -z "$ac_c_werror_flag"
79098 || test ! -s conftest.err'
79099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79100 (eval $ac_try) 2>&5
79101 ac_status=$?
79102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79103 (exit $ac_status); }; } &&
79104 { ac_try='test -s conftest$ac_exeext'
79105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79106 (eval $ac_try) 2>&5
79107 ac_status=$?
79108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79109 (exit $ac_status); }; }; then
79110 eval "$as_ac_var=yes"
79111 else
79112 echo "$as_me: failed program was:" >&5
79113 sed 's/^/| /' conftest.$ac_ext >&5
79114
79115 eval "$as_ac_var=no"
79116 fi
79117 rm -f conftest.err conftest.$ac_objext \
79118 conftest$ac_exeext conftest.$ac_ext
79119 fi
79120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79122 if test `eval echo '${'$as_ac_var'}'` = yes; then
79123 cat >>confdefs.h <<_ACEOF
79124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79125 _ACEOF
79126
79127 else
79128 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79129 fi
79130 done
79131
79132
79133
79134 for ac_func in __signbitf
79135 do
79136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79137 echo "$as_me:$LINENO: checking for $ac_func" >&5
79138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79139 if eval "test \"\${$as_ac_var+set}\" = set"; then
79140 echo $ECHO_N "(cached) $ECHO_C" >&6
79141 else
79142 if test x$gcc_no_link = xyes; then
79143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79145 { (exit 1); exit 1; }; }
79146 fi
79147 cat >conftest.$ac_ext <<_ACEOF
79148 /* confdefs.h. */
79149 _ACEOF
79150 cat confdefs.h >>conftest.$ac_ext
79151 cat >>conftest.$ac_ext <<_ACEOF
79152 /* end confdefs.h. */
79153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79155 #define $ac_func innocuous_$ac_func
79156
79157 /* System header to define __stub macros and hopefully few prototypes,
79158 which can conflict with char $ac_func (); below.
79159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79160 <limits.h> exists even on freestanding compilers. */
79161
79162 #ifdef __STDC__
79163 # include <limits.h>
79164 #else
79165 # include <assert.h>
79166 #endif
79167
79168 #undef $ac_func
79169
79170 /* Override any gcc2 internal prototype to avoid an error. */
79171 #ifdef __cplusplus
79172 extern "C"
79173 {
79174 #endif
79175 /* We use char because int might match the return type of a gcc2
79176 builtin and then its argument prototype would still apply. */
79177 char $ac_func ();
79178 /* The GNU C library defines this for functions which it implements
79179 to always fail with ENOSYS. Some functions are actually named
79180 something starting with __ and the normal name is an alias. */
79181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79182 choke me
79183 #else
79184 char (*f) () = $ac_func;
79185 #endif
79186 #ifdef __cplusplus
79187 }
79188 #endif
79189
79190 int
79191 main ()
79192 {
79193 return f != $ac_func;
79194 ;
79195 return 0;
79196 }
79197 _ACEOF
79198 rm -f conftest.$ac_objext conftest$ac_exeext
79199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79200 (eval $ac_link) 2>conftest.er1
79201 ac_status=$?
79202 grep -v '^ *+' conftest.er1 >conftest.err
79203 rm -f conftest.er1
79204 cat conftest.err >&5
79205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79206 (exit $ac_status); } &&
79207 { ac_try='test -z "$ac_c_werror_flag"
79208 || test ! -s conftest.err'
79209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79210 (eval $ac_try) 2>&5
79211 ac_status=$?
79212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79213 (exit $ac_status); }; } &&
79214 { ac_try='test -s conftest$ac_exeext'
79215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79216 (eval $ac_try) 2>&5
79217 ac_status=$?
79218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79219 (exit $ac_status); }; }; then
79220 eval "$as_ac_var=yes"
79221 else
79222 echo "$as_me: failed program was:" >&5
79223 sed 's/^/| /' conftest.$ac_ext >&5
79224
79225 eval "$as_ac_var=no"
79226 fi
79227 rm -f conftest.err conftest.$ac_objext \
79228 conftest$ac_exeext conftest.$ac_ext
79229 fi
79230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79232 if test `eval echo '${'$as_ac_var'}'` = yes; then
79233 cat >>confdefs.h <<_ACEOF
79234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79235 _ACEOF
79236
79237 else
79238 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79239 fi
79240 done
79241
79242
79243 if test x$ac_cv_func_copysignl = x"yes"; then
79244
79245 for ac_func in __signbitl
79246 do
79247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79248 echo "$as_me:$LINENO: checking for $ac_func" >&5
79249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79250 if eval "test \"\${$as_ac_var+set}\" = set"; then
79251 echo $ECHO_N "(cached) $ECHO_C" >&6
79252 else
79253 if test x$gcc_no_link = xyes; then
79254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79256 { (exit 1); exit 1; }; }
79257 fi
79258 cat >conftest.$ac_ext <<_ACEOF
79259 /* confdefs.h. */
79260 _ACEOF
79261 cat confdefs.h >>conftest.$ac_ext
79262 cat >>conftest.$ac_ext <<_ACEOF
79263 /* end confdefs.h. */
79264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79266 #define $ac_func innocuous_$ac_func
79267
79268 /* System header to define __stub macros and hopefully few prototypes,
79269 which can conflict with char $ac_func (); below.
79270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79271 <limits.h> exists even on freestanding compilers. */
79272
79273 #ifdef __STDC__
79274 # include <limits.h>
79275 #else
79276 # include <assert.h>
79277 #endif
79278
79279 #undef $ac_func
79280
79281 /* Override any gcc2 internal prototype to avoid an error. */
79282 #ifdef __cplusplus
79283 extern "C"
79284 {
79285 #endif
79286 /* We use char because int might match the return type of a gcc2
79287 builtin and then its argument prototype would still apply. */
79288 char $ac_func ();
79289 /* The GNU C library defines this for functions which it implements
79290 to always fail with ENOSYS. Some functions are actually named
79291 something starting with __ and the normal name is an alias. */
79292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79293 choke me
79294 #else
79295 char (*f) () = $ac_func;
79296 #endif
79297 #ifdef __cplusplus
79298 }
79299 #endif
79300
79301 int
79302 main ()
79303 {
79304 return f != $ac_func;
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 eval "$as_ac_var=yes"
79332 else
79333 echo "$as_me: failed program was:" >&5
79334 sed 's/^/| /' conftest.$ac_ext >&5
79335
79336 eval "$as_ac_var=no"
79337 fi
79338 rm -f conftest.err conftest.$ac_objext \
79339 conftest$ac_exeext conftest.$ac_ext
79340 fi
79341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79343 if test `eval echo '${'$as_ac_var'}'` = yes; then
79344 cat >>confdefs.h <<_ACEOF
79345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79346 _ACEOF
79347
79348 else
79349 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79350 fi
79351 done
79352
79353 fi
79354
79355 # Used in libmath/Makefile.am.
79356 if test -n "$LIBMATHOBJS"; then
79357 need_libmath=yes
79358 fi
79359
79360
79361
79362
79363 enable_iconv=no
79364 # Only continue checking if the ISO C99 headers exist and support is on.
79365 if test x"$enable_wchar_t" = xyes; then
79366
79367 # Use iconv for wchar_t to char conversions. As such, check for
79368 # X/Open Portability Guide, version 2 features (XPG2).
79369 if test "${ac_cv_header_iconv_h+set}" = set; then
79370 echo "$as_me:$LINENO: checking for iconv.h" >&5
79371 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79372 if test "${ac_cv_header_iconv_h+set}" = set; then
79373 echo $ECHO_N "(cached) $ECHO_C" >&6
79374 fi
79375 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79376 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79377 else
79378 # Is the header compilable?
79379 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79380 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79381 cat >conftest.$ac_ext <<_ACEOF
79382 /* confdefs.h. */
79383 _ACEOF
79384 cat confdefs.h >>conftest.$ac_ext
79385 cat >>conftest.$ac_ext <<_ACEOF
79386 /* end confdefs.h. */
79387 $ac_includes_default
79388 #include <iconv.h>
79389 _ACEOF
79390 rm -f conftest.$ac_objext
79391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79392 (eval $ac_compile) 2>conftest.er1
79393 ac_status=$?
79394 grep -v '^ *+' conftest.er1 >conftest.err
79395 rm -f conftest.er1
79396 cat conftest.err >&5
79397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79398 (exit $ac_status); } &&
79399 { ac_try='test -z "$ac_c_werror_flag"
79400 || test ! -s conftest.err'
79401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402 (eval $ac_try) 2>&5
79403 ac_status=$?
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); }; } &&
79406 { ac_try='test -s conftest.$ac_objext'
79407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79408 (eval $ac_try) 2>&5
79409 ac_status=$?
79410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79411 (exit $ac_status); }; }; then
79412 ac_header_compiler=yes
79413 else
79414 echo "$as_me: failed program was:" >&5
79415 sed 's/^/| /' conftest.$ac_ext >&5
79416
79417 ac_header_compiler=no
79418 fi
79419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79421 echo "${ECHO_T}$ac_header_compiler" >&6
79422
79423 # Is the header present?
79424 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79425 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79426 cat >conftest.$ac_ext <<_ACEOF
79427 /* confdefs.h. */
79428 _ACEOF
79429 cat confdefs.h >>conftest.$ac_ext
79430 cat >>conftest.$ac_ext <<_ACEOF
79431 /* end confdefs.h. */
79432 #include <iconv.h>
79433 _ACEOF
79434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79436 ac_status=$?
79437 grep -v '^ *+' conftest.er1 >conftest.err
79438 rm -f conftest.er1
79439 cat conftest.err >&5
79440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79441 (exit $ac_status); } >/dev/null; then
79442 if test -s conftest.err; then
79443 ac_cpp_err=$ac_c_preproc_warn_flag
79444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79445 else
79446 ac_cpp_err=
79447 fi
79448 else
79449 ac_cpp_err=yes
79450 fi
79451 if test -z "$ac_cpp_err"; then
79452 ac_header_preproc=yes
79453 else
79454 echo "$as_me: failed program was:" >&5
79455 sed 's/^/| /' conftest.$ac_ext >&5
79456
79457 ac_header_preproc=no
79458 fi
79459 rm -f conftest.err conftest.$ac_ext
79460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79461 echo "${ECHO_T}$ac_header_preproc" >&6
79462
79463 # So? What about this header?
79464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79465 yes:no: )
79466 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79467 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79468 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79469 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79470 ac_header_preproc=yes
79471 ;;
79472 no:yes:* )
79473 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79474 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79475 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79476 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79477 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79478 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79479 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79480 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79481 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79482 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79483 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79484 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79485 (
79486 cat <<\_ASBOX
79487 ## ----------------------------------------- ##
79488 ## Report this to the package-unused lists. ##
79489 ## ----------------------------------------- ##
79490 _ASBOX
79491 ) |
79492 sed "s/^/$as_me: WARNING: /" >&2
79493 ;;
79494 esac
79495 echo "$as_me:$LINENO: checking for iconv.h" >&5
79496 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79497 if test "${ac_cv_header_iconv_h+set}" = set; then
79498 echo $ECHO_N "(cached) $ECHO_C" >&6
79499 else
79500 ac_cv_header_iconv_h=$ac_header_preproc
79501 fi
79502 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79503 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79504
79505 fi
79506 if test $ac_cv_header_iconv_h = yes; then
79507 ac_has_iconv_h=yes
79508 else
79509 ac_has_iconv_h=no
79510 fi
79511
79512
79513 if test "${ac_cv_header_langinfo_h+set}" = set; then
79514 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79515 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79516 if test "${ac_cv_header_langinfo_h+set}" = set; then
79517 echo $ECHO_N "(cached) $ECHO_C" >&6
79518 fi
79519 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79520 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79521 else
79522 # Is the header compilable?
79523 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79524 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79525 cat >conftest.$ac_ext <<_ACEOF
79526 /* confdefs.h. */
79527 _ACEOF
79528 cat confdefs.h >>conftest.$ac_ext
79529 cat >>conftest.$ac_ext <<_ACEOF
79530 /* end confdefs.h. */
79531 $ac_includes_default
79532 #include <langinfo.h>
79533 _ACEOF
79534 rm -f conftest.$ac_objext
79535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79536 (eval $ac_compile) 2>conftest.er1
79537 ac_status=$?
79538 grep -v '^ *+' conftest.er1 >conftest.err
79539 rm -f conftest.er1
79540 cat conftest.err >&5
79541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79542 (exit $ac_status); } &&
79543 { ac_try='test -z "$ac_c_werror_flag"
79544 || test ! -s conftest.err'
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); }; } &&
79550 { ac_try='test -s conftest.$ac_objext'
79551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79552 (eval $ac_try) 2>&5
79553 ac_status=$?
79554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79555 (exit $ac_status); }; }; then
79556 ac_header_compiler=yes
79557 else
79558 echo "$as_me: failed program was:" >&5
79559 sed 's/^/| /' conftest.$ac_ext >&5
79560
79561 ac_header_compiler=no
79562 fi
79563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79565 echo "${ECHO_T}$ac_header_compiler" >&6
79566
79567 # Is the header present?
79568 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79569 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79570 cat >conftest.$ac_ext <<_ACEOF
79571 /* confdefs.h. */
79572 _ACEOF
79573 cat confdefs.h >>conftest.$ac_ext
79574 cat >>conftest.$ac_ext <<_ACEOF
79575 /* end confdefs.h. */
79576 #include <langinfo.h>
79577 _ACEOF
79578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79580 ac_status=$?
79581 grep -v '^ *+' conftest.er1 >conftest.err
79582 rm -f conftest.er1
79583 cat conftest.err >&5
79584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79585 (exit $ac_status); } >/dev/null; then
79586 if test -s conftest.err; then
79587 ac_cpp_err=$ac_c_preproc_warn_flag
79588 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79589 else
79590 ac_cpp_err=
79591 fi
79592 else
79593 ac_cpp_err=yes
79594 fi
79595 if test -z "$ac_cpp_err"; then
79596 ac_header_preproc=yes
79597 else
79598 echo "$as_me: failed program was:" >&5
79599 sed 's/^/| /' conftest.$ac_ext >&5
79600
79601 ac_header_preproc=no
79602 fi
79603 rm -f conftest.err conftest.$ac_ext
79604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79605 echo "${ECHO_T}$ac_header_preproc" >&6
79606
79607 # So? What about this header?
79608 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79609 yes:no: )
79610 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79611 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79612 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79613 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79614 ac_header_preproc=yes
79615 ;;
79616 no:yes:* )
79617 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79618 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79619 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79620 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79621 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79622 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79623 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79624 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79625 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79626 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79627 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79628 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79629 (
79630 cat <<\_ASBOX
79631 ## ----------------------------------------- ##
79632 ## Report this to the package-unused lists. ##
79633 ## ----------------------------------------- ##
79634 _ASBOX
79635 ) |
79636 sed "s/^/$as_me: WARNING: /" >&2
79637 ;;
79638 esac
79639 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79640 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79641 if test "${ac_cv_header_langinfo_h+set}" = set; then
79642 echo $ECHO_N "(cached) $ECHO_C" >&6
79643 else
79644 ac_cv_header_langinfo_h=$ac_header_preproc
79645 fi
79646 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79647 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79648
79649 fi
79650 if test $ac_cv_header_langinfo_h = yes; then
79651 ac_has_langinfo_h=yes
79652 else
79653 ac_has_langinfo_h=no
79654 fi
79655
79656
79657
79658 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79659 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79660 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79661 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79662 echo $ECHO_N "(cached) $ECHO_C" >&6
79663 else
79664 ac_check_lib_save_LIBS=$LIBS
79665 LIBS="-liconv $LIBS"
79666 if test x$gcc_no_link = xyes; then
79667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79669 { (exit 1); exit 1; }; }
79670 fi
79671 cat >conftest.$ac_ext <<_ACEOF
79672 /* confdefs.h. */
79673 _ACEOF
79674 cat confdefs.h >>conftest.$ac_ext
79675 cat >>conftest.$ac_ext <<_ACEOF
79676 /* end confdefs.h. */
79677
79678 /* Override any gcc2 internal prototype to avoid an error. */
79679 #ifdef __cplusplus
79680 extern "C"
79681 #endif
79682 /* We use char because int might match the return type of a gcc2
79683 builtin and then its argument prototype would still apply. */
79684 char iconv ();
79685 int
79686 main ()
79687 {
79688 iconv ();
79689 ;
79690 return 0;
79691 }
79692 _ACEOF
79693 rm -f conftest.$ac_objext conftest$ac_exeext
79694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79695 (eval $ac_link) 2>conftest.er1
79696 ac_status=$?
79697 grep -v '^ *+' conftest.er1 >conftest.err
79698 rm -f conftest.er1
79699 cat conftest.err >&5
79700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79701 (exit $ac_status); } &&
79702 { ac_try='test -z "$ac_c_werror_flag"
79703 || test ! -s conftest.err'
79704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79705 (eval $ac_try) 2>&5
79706 ac_status=$?
79707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79708 (exit $ac_status); }; } &&
79709 { ac_try='test -s conftest$ac_exeext'
79710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79711 (eval $ac_try) 2>&5
79712 ac_status=$?
79713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79714 (exit $ac_status); }; }; then
79715 ac_cv_lib_iconv_iconv=yes
79716 else
79717 echo "$as_me: failed program was:" >&5
79718 sed 's/^/| /' conftest.$ac_ext >&5
79719
79720 ac_cv_lib_iconv_iconv=no
79721 fi
79722 rm -f conftest.err conftest.$ac_objext \
79723 conftest$ac_exeext conftest.$ac_ext
79724 LIBS=$ac_check_lib_save_LIBS
79725 fi
79726 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79727 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79728 if test $ac_cv_lib_iconv_iconv = yes; then
79729 LIBICONV="-liconv"
79730 fi
79731
79732 ac_save_LIBS="$LIBS"
79733 LIBS="$LIBS $LIBICONV"
79734
79735
79736
79737
79738
79739
79740 for ac_func in iconv_open iconv_close iconv nl_langinfo
79741 do
79742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79743 echo "$as_me:$LINENO: checking for $ac_func" >&5
79744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79745 if eval "test \"\${$as_ac_var+set}\" = set"; then
79746 echo $ECHO_N "(cached) $ECHO_C" >&6
79747 else
79748 if test x$gcc_no_link = xyes; then
79749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79751 { (exit 1); exit 1; }; }
79752 fi
79753 cat >conftest.$ac_ext <<_ACEOF
79754 /* confdefs.h. */
79755 _ACEOF
79756 cat confdefs.h >>conftest.$ac_ext
79757 cat >>conftest.$ac_ext <<_ACEOF
79758 /* end confdefs.h. */
79759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79761 #define $ac_func innocuous_$ac_func
79762
79763 /* System header to define __stub macros and hopefully few prototypes,
79764 which can conflict with char $ac_func (); below.
79765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79766 <limits.h> exists even on freestanding compilers. */
79767
79768 #ifdef __STDC__
79769 # include <limits.h>
79770 #else
79771 # include <assert.h>
79772 #endif
79773
79774 #undef $ac_func
79775
79776 /* Override any gcc2 internal prototype to avoid an error. */
79777 #ifdef __cplusplus
79778 extern "C"
79779 {
79780 #endif
79781 /* We use char because int might match the return type of a gcc2
79782 builtin and then its argument prototype would still apply. */
79783 char $ac_func ();
79784 /* The GNU C library defines this for functions which it implements
79785 to always fail with ENOSYS. Some functions are actually named
79786 something starting with __ and the normal name is an alias. */
79787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79788 choke me
79789 #else
79790 char (*f) () = $ac_func;
79791 #endif
79792 #ifdef __cplusplus
79793 }
79794 #endif
79795
79796 int
79797 main ()
79798 {
79799 return f != $ac_func;
79800 ;
79801 return 0;
79802 }
79803 _ACEOF
79804 rm -f conftest.$ac_objext conftest$ac_exeext
79805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79806 (eval $ac_link) 2>conftest.er1
79807 ac_status=$?
79808 grep -v '^ *+' conftest.er1 >conftest.err
79809 rm -f conftest.er1
79810 cat conftest.err >&5
79811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79812 (exit $ac_status); } &&
79813 { ac_try='test -z "$ac_c_werror_flag"
79814 || test ! -s conftest.err'
79815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79816 (eval $ac_try) 2>&5
79817 ac_status=$?
79818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79819 (exit $ac_status); }; } &&
79820 { ac_try='test -s conftest$ac_exeext'
79821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79822 (eval $ac_try) 2>&5
79823 ac_status=$?
79824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79825 (exit $ac_status); }; }; then
79826 eval "$as_ac_var=yes"
79827 else
79828 echo "$as_me: failed program was:" >&5
79829 sed 's/^/| /' conftest.$ac_ext >&5
79830
79831 eval "$as_ac_var=no"
79832 fi
79833 rm -f conftest.err conftest.$ac_objext \
79834 conftest$ac_exeext conftest.$ac_ext
79835 fi
79836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79838 if test `eval echo '${'$as_ac_var'}'` = yes; then
79839 cat >>confdefs.h <<_ACEOF
79840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79841 _ACEOF
79842 ac_XPG2funcs=yes
79843 else
79844 ac_XPG2funcs=no
79845 fi
79846 done
79847
79848
79849 LIBS="$ac_save_LIBS"
79850
79851 if test x"$ac_has_iconv_h" = xyes &&
79852 test x"$ac_has_langinfo_h" = xyes &&
79853 test x"$ac_XPG2funcs" = xyes;
79854 then
79855
79856 cat >>confdefs.h <<\_ACEOF
79857 #define _GLIBCXX_USE_ICONV 1
79858 _ACEOF
79859
79860 enable_iconv=yes
79861 fi
79862 fi
79863 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
79864 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
79865 echo "$as_me:$LINENO: result: $enable_iconv" >&5
79866 echo "${ECHO_T}$enable_iconv" >&6
79867
79868 cat >>confdefs.h <<\_ACEOF
79869 #define HAVE_COPYSIGN 1
79870 _ACEOF
79871
79872 cat >>confdefs.h <<\_ACEOF
79873 #define HAVE_COPYSIGNF 1
79874 _ACEOF
79875
79876 cat >>confdefs.h <<\_ACEOF
79877 #define HAVE_FINITEF 1
79878 _ACEOF
79879
79880 cat >>confdefs.h <<\_ACEOF
79881 #define HAVE_FINITE 1
79882 _ACEOF
79883
79884 cat >>confdefs.h <<\_ACEOF
79885 #define HAVE_FREXPF 1
79886 _ACEOF
79887
79888 cat >>confdefs.h <<\_ACEOF
79889 #define HAVE_HYPOTF 1
79890 _ACEOF
79891
79892 cat >>confdefs.h <<\_ACEOF
79893 #define HAVE_ISINF 1
79894 _ACEOF
79895
79896 cat >>confdefs.h <<\_ACEOF
79897 #define HAVE_ISINFF 1
79898 _ACEOF
79899
79900 cat >>confdefs.h <<\_ACEOF
79901 #define HAVE_ISNAN 1
79902 _ACEOF
79903
79904 cat >>confdefs.h <<\_ACEOF
79905 #define HAVE_ISNANF 1
79906 _ACEOF
79907
79908 if test x"long_double_math_on_this_cpu" = x"yes"; then
79909 cat >>confdefs.h <<\_ACEOF
79910 #define HAVE_FINITEL 1
79911 _ACEOF
79912
79913 cat >>confdefs.h <<\_ACEOF
79914 #define HAVE_ISINFL 1
79915 _ACEOF
79916
79917 cat >>confdefs.h <<\_ACEOF
79918 #define HAVE_ISNANL 1
79919 _ACEOF
79920
79921 fi
79922 ;;
79923 *-netware)
79924
79925
79926
79927
79928
79929
79930
79931
79932 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
79933 sys/types.h locale.h float.h inttypes.h
79934 do
79935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79937 echo "$as_me:$LINENO: checking for $ac_header" >&5
79938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79940 echo $ECHO_N "(cached) $ECHO_C" >&6
79941 fi
79942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79944 else
79945 # Is the header compilable?
79946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79948 cat >conftest.$ac_ext <<_ACEOF
79949 /* confdefs.h. */
79950 _ACEOF
79951 cat confdefs.h >>conftest.$ac_ext
79952 cat >>conftest.$ac_ext <<_ACEOF
79953 /* end confdefs.h. */
79954 $ac_includes_default
79955 #include <$ac_header>
79956 _ACEOF
79957 rm -f conftest.$ac_objext
79958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79959 (eval $ac_compile) 2>conftest.er1
79960 ac_status=$?
79961 grep -v '^ *+' conftest.er1 >conftest.err
79962 rm -f conftest.er1
79963 cat conftest.err >&5
79964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79965 (exit $ac_status); } &&
79966 { ac_try='test -z "$ac_c_werror_flag"
79967 || test ! -s conftest.err'
79968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79969 (eval $ac_try) 2>&5
79970 ac_status=$?
79971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79972 (exit $ac_status); }; } &&
79973 { ac_try='test -s conftest.$ac_objext'
79974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79975 (eval $ac_try) 2>&5
79976 ac_status=$?
79977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978 (exit $ac_status); }; }; then
79979 ac_header_compiler=yes
79980 else
79981 echo "$as_me: failed program was:" >&5
79982 sed 's/^/| /' conftest.$ac_ext >&5
79983
79984 ac_header_compiler=no
79985 fi
79986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79988 echo "${ECHO_T}$ac_header_compiler" >&6
79989
79990 # Is the header present?
79991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79993 cat >conftest.$ac_ext <<_ACEOF
79994 /* confdefs.h. */
79995 _ACEOF
79996 cat confdefs.h >>conftest.$ac_ext
79997 cat >>conftest.$ac_ext <<_ACEOF
79998 /* end confdefs.h. */
79999 #include <$ac_header>
80000 _ACEOF
80001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80002 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80003 ac_status=$?
80004 grep -v '^ *+' conftest.er1 >conftest.err
80005 rm -f conftest.er1
80006 cat conftest.err >&5
80007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80008 (exit $ac_status); } >/dev/null; then
80009 if test -s conftest.err; then
80010 ac_cpp_err=$ac_c_preproc_warn_flag
80011 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80012 else
80013 ac_cpp_err=
80014 fi
80015 else
80016 ac_cpp_err=yes
80017 fi
80018 if test -z "$ac_cpp_err"; then
80019 ac_header_preproc=yes
80020 else
80021 echo "$as_me: failed program was:" >&5
80022 sed 's/^/| /' conftest.$ac_ext >&5
80023
80024 ac_header_preproc=no
80025 fi
80026 rm -f conftest.err conftest.$ac_ext
80027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80028 echo "${ECHO_T}$ac_header_preproc" >&6
80029
80030 # So? What about this header?
80031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80032 yes:no: )
80033 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80037 ac_header_preproc=yes
80038 ;;
80039 no:yes:* )
80040 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80042 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80043 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80044 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80046 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80047 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80050 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80052 (
80053 cat <<\_ASBOX
80054 ## ----------------------------------------- ##
80055 ## Report this to the package-unused lists. ##
80056 ## ----------------------------------------- ##
80057 _ASBOX
80058 ) |
80059 sed "s/^/$as_me: WARNING: /" >&2
80060 ;;
80061 esac
80062 echo "$as_me:$LINENO: checking for $ac_header" >&5
80063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80065 echo $ECHO_N "(cached) $ECHO_C" >&6
80066 else
80067 eval "$as_ac_Header=\$ac_header_preproc"
80068 fi
80069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80071
80072 fi
80073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80074 cat >>confdefs.h <<_ACEOF
80075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80076 _ACEOF
80077
80078 fi
80079
80080 done
80081
80082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80083
80084
80085 # If we're not using GNU ld, then there's no point in even trying these
80086 # tests. Check for that first. We should have already tested for gld
80087 # by now (in libtool), but require it now just to be safe...
80088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80090
80091
80092
80093 # The name set by libtool depends on the version of libtool. Shame on us
80094 # for depending on an impl detail, but c'est la vie. Older versions used
80095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80098 # set (hence we're using an older libtool), then set it.
80099 if test x${with_gnu_ld+set} != xset; then
80100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80102 with_gnu_ld=no
80103 else
80104 with_gnu_ld=$ac_cv_prog_gnu_ld
80105 fi
80106 fi
80107
80108 # Start by getting the version number. I think the libtool test already
80109 # does some of this, but throws away the result.
80110
80111 ldver=`$LD --version 2>/dev/null | head -1 | \
80112 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80113
80114 glibcxx_gnu_ld_version=`echo $ldver | \
80115 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80116
80117 # Set --gc-sections.
80118 if test "$with_gnu_ld" = "notbroken"; then
80119 # GNU ld it is! Joy and bunny rabbits!
80120
80121 # All these tests are for C++; save the language and the compiler flags.
80122 # Need to do this so that g++ won't try to link in libstdc++
80123 ac_test_CFLAGS="${CFLAGS+set}"
80124 ac_save_CFLAGS="$CFLAGS"
80125 CFLAGS='-x c++ -Wl,--gc-sections'
80126
80127 # Check for -Wl,--gc-sections
80128 # XXX This test is broken at the moment, as symbols required for linking
80129 # are now in libsupc++ (not built yet). In addition, this test has
80130 # cored on solaris in the past. In addition, --gc-sections doesn't
80131 # really work at the moment (keeps on discarding used sections, first
80132 # .eh_frame and now some of the glibc sections for iconv).
80133 # Bzzzzt. Thanks for playing, maybe next time.
80134 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80135 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80136 if test "$cross_compiling" = yes; then
80137 ac_sectionLDflags=yes
80138 else
80139 cat >conftest.$ac_ext <<_ACEOF
80140 /* confdefs.h. */
80141 _ACEOF
80142 cat confdefs.h >>conftest.$ac_ext
80143 cat >>conftest.$ac_ext <<_ACEOF
80144 /* end confdefs.h. */
80145
80146 int main(void)
80147 {
80148 try { throw 1; }
80149 catch (...) { };
80150 return 0;
80151 }
80152
80153 _ACEOF
80154 rm -f conftest$ac_exeext
80155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80156 (eval $ac_link) 2>&5
80157 ac_status=$?
80158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80159 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80161 (eval $ac_try) 2>&5
80162 ac_status=$?
80163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80164 (exit $ac_status); }; }; then
80165 ac_sectionLDflags=yes
80166 else
80167 echo "$as_me: program exited with status $ac_status" >&5
80168 echo "$as_me: failed program was:" >&5
80169 sed 's/^/| /' conftest.$ac_ext >&5
80170
80171 ( exit $ac_status )
80172 ac_sectionLDflags=no
80173 fi
80174 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80175 fi
80176 if test "$ac_test_CFLAGS" = set; then
80177 CFLAGS="$ac_save_CFLAGS"
80178 else
80179 # this is the suspicious part
80180 CFLAGS=''
80181 fi
80182 if test "$ac_sectionLDflags" = "yes"; then
80183 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80184 fi
80185 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80186 echo "${ECHO_T}$ac_sectionLDflags" >&6
80187 fi
80188
80189 # Set linker optimization flags.
80190 if test x"$with_gnu_ld" = x"yes"; then
80191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80192 fi
80193
80194
80195
80196
80197
80198
80199 echo "$as_me:$LINENO: checking for main in -lm" >&5
80200 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80201 if test "${ac_cv_lib_m_main+set}" = set; then
80202 echo $ECHO_N "(cached) $ECHO_C" >&6
80203 else
80204 ac_check_lib_save_LIBS=$LIBS
80205 LIBS="-lm $LIBS"
80206 if test x$gcc_no_link = xyes; then
80207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80209 { (exit 1); exit 1; }; }
80210 fi
80211 cat >conftest.$ac_ext <<_ACEOF
80212 /* confdefs.h. */
80213 _ACEOF
80214 cat confdefs.h >>conftest.$ac_ext
80215 cat >>conftest.$ac_ext <<_ACEOF
80216 /* end confdefs.h. */
80217
80218
80219 int
80220 main ()
80221 {
80222 main ();
80223 ;
80224 return 0;
80225 }
80226 _ACEOF
80227 rm -f conftest.$ac_objext conftest$ac_exeext
80228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80229 (eval $ac_link) 2>conftest.er1
80230 ac_status=$?
80231 grep -v '^ *+' conftest.er1 >conftest.err
80232 rm -f conftest.er1
80233 cat conftest.err >&5
80234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235 (exit $ac_status); } &&
80236 { ac_try='test -z "$ac_c_werror_flag"
80237 || test ! -s conftest.err'
80238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80239 (eval $ac_try) 2>&5
80240 ac_status=$?
80241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80242 (exit $ac_status); }; } &&
80243 { ac_try='test -s conftest$ac_exeext'
80244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80245 (eval $ac_try) 2>&5
80246 ac_status=$?
80247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80248 (exit $ac_status); }; }; then
80249 ac_cv_lib_m_main=yes
80250 else
80251 echo "$as_me: failed program was:" >&5
80252 sed 's/^/| /' conftest.$ac_ext >&5
80253
80254 ac_cv_lib_m_main=no
80255 fi
80256 rm -f conftest.err conftest.$ac_objext \
80257 conftest$ac_exeext conftest.$ac_ext
80258 LIBS=$ac_check_lib_save_LIBS
80259 fi
80260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80261 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80262 if test $ac_cv_lib_m_main = yes; then
80263 cat >>confdefs.h <<_ACEOF
80264 #define HAVE_LIBM 1
80265 _ACEOF
80266
80267 LIBS="-lm $LIBS"
80268
80269 fi
80270
80271
80272 for ac_func in copysignf
80273 do
80274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80275 echo "$as_me:$LINENO: checking for $ac_func" >&5
80276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80277 if eval "test \"\${$as_ac_var+set}\" = set"; then
80278 echo $ECHO_N "(cached) $ECHO_C" >&6
80279 else
80280 if test x$gcc_no_link = xyes; then
80281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80283 { (exit 1); exit 1; }; }
80284 fi
80285 cat >conftest.$ac_ext <<_ACEOF
80286 /* confdefs.h. */
80287 _ACEOF
80288 cat confdefs.h >>conftest.$ac_ext
80289 cat >>conftest.$ac_ext <<_ACEOF
80290 /* end confdefs.h. */
80291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80293 #define $ac_func innocuous_$ac_func
80294
80295 /* System header to define __stub macros and hopefully few prototypes,
80296 which can conflict with char $ac_func (); below.
80297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80298 <limits.h> exists even on freestanding compilers. */
80299
80300 #ifdef __STDC__
80301 # include <limits.h>
80302 #else
80303 # include <assert.h>
80304 #endif
80305
80306 #undef $ac_func
80307
80308 /* Override any gcc2 internal prototype to avoid an error. */
80309 #ifdef __cplusplus
80310 extern "C"
80311 {
80312 #endif
80313 /* We use char because int might match the return type of a gcc2
80314 builtin and then its argument prototype would still apply. */
80315 char $ac_func ();
80316 /* The GNU C library defines this for functions which it implements
80317 to always fail with ENOSYS. Some functions are actually named
80318 something starting with __ and the normal name is an alias. */
80319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80320 choke me
80321 #else
80322 char (*f) () = $ac_func;
80323 #endif
80324 #ifdef __cplusplus
80325 }
80326 #endif
80327
80328 int
80329 main ()
80330 {
80331 return f != $ac_func;
80332 ;
80333 return 0;
80334 }
80335 _ACEOF
80336 rm -f conftest.$ac_objext conftest$ac_exeext
80337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80338 (eval $ac_link) 2>conftest.er1
80339 ac_status=$?
80340 grep -v '^ *+' conftest.er1 >conftest.err
80341 rm -f conftest.er1
80342 cat conftest.err >&5
80343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80344 (exit $ac_status); } &&
80345 { ac_try='test -z "$ac_c_werror_flag"
80346 || test ! -s conftest.err'
80347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80348 (eval $ac_try) 2>&5
80349 ac_status=$?
80350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80351 (exit $ac_status); }; } &&
80352 { ac_try='test -s conftest$ac_exeext'
80353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80354 (eval $ac_try) 2>&5
80355 ac_status=$?
80356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80357 (exit $ac_status); }; }; then
80358 eval "$as_ac_var=yes"
80359 else
80360 echo "$as_me: failed program was:" >&5
80361 sed 's/^/| /' conftest.$ac_ext >&5
80362
80363 eval "$as_ac_var=no"
80364 fi
80365 rm -f conftest.err conftest.$ac_objext \
80366 conftest$ac_exeext conftest.$ac_ext
80367 fi
80368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80370 if test `eval echo '${'$as_ac_var'}'` = yes; then
80371 cat >>confdefs.h <<_ACEOF
80372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80373 _ACEOF
80374
80375 else
80376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80377 fi
80378 done
80379
80380
80381
80382 for ac_func in __signbit
80383 do
80384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80385 echo "$as_me:$LINENO: checking for $ac_func" >&5
80386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80387 if eval "test \"\${$as_ac_var+set}\" = set"; then
80388 echo $ECHO_N "(cached) $ECHO_C" >&6
80389 else
80390 if test x$gcc_no_link = xyes; then
80391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80393 { (exit 1); exit 1; }; }
80394 fi
80395 cat >conftest.$ac_ext <<_ACEOF
80396 /* confdefs.h. */
80397 _ACEOF
80398 cat confdefs.h >>conftest.$ac_ext
80399 cat >>conftest.$ac_ext <<_ACEOF
80400 /* end confdefs.h. */
80401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80403 #define $ac_func innocuous_$ac_func
80404
80405 /* System header to define __stub macros and hopefully few prototypes,
80406 which can conflict with char $ac_func (); below.
80407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80408 <limits.h> exists even on freestanding compilers. */
80409
80410 #ifdef __STDC__
80411 # include <limits.h>
80412 #else
80413 # include <assert.h>
80414 #endif
80415
80416 #undef $ac_func
80417
80418 /* Override any gcc2 internal prototype to avoid an error. */
80419 #ifdef __cplusplus
80420 extern "C"
80421 {
80422 #endif
80423 /* We use char because int might match the return type of a gcc2
80424 builtin and then its argument prototype would still apply. */
80425 char $ac_func ();
80426 /* The GNU C library defines this for functions which it implements
80427 to always fail with ENOSYS. Some functions are actually named
80428 something starting with __ and the normal name is an alias. */
80429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80430 choke me
80431 #else
80432 char (*f) () = $ac_func;
80433 #endif
80434 #ifdef __cplusplus
80435 }
80436 #endif
80437
80438 int
80439 main ()
80440 {
80441 return f != $ac_func;
80442 ;
80443 return 0;
80444 }
80445 _ACEOF
80446 rm -f conftest.$ac_objext conftest$ac_exeext
80447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80448 (eval $ac_link) 2>conftest.er1
80449 ac_status=$?
80450 grep -v '^ *+' conftest.er1 >conftest.err
80451 rm -f conftest.er1
80452 cat conftest.err >&5
80453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80454 (exit $ac_status); } &&
80455 { ac_try='test -z "$ac_c_werror_flag"
80456 || test ! -s conftest.err'
80457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80458 (eval $ac_try) 2>&5
80459 ac_status=$?
80460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80461 (exit $ac_status); }; } &&
80462 { ac_try='test -s conftest$ac_exeext'
80463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80464 (eval $ac_try) 2>&5
80465 ac_status=$?
80466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80467 (exit $ac_status); }; }; then
80468 eval "$as_ac_var=yes"
80469 else
80470 echo "$as_me: failed program was:" >&5
80471 sed 's/^/| /' conftest.$ac_ext >&5
80472
80473 eval "$as_ac_var=no"
80474 fi
80475 rm -f conftest.err conftest.$ac_objext \
80476 conftest$ac_exeext conftest.$ac_ext
80477 fi
80478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80480 if test `eval echo '${'$as_ac_var'}'` = yes; then
80481 cat >>confdefs.h <<_ACEOF
80482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80483 _ACEOF
80484
80485 else
80486 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80487 fi
80488 done
80489
80490
80491
80492 for ac_func in __signbitf
80493 do
80494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80495 echo "$as_me:$LINENO: checking for $ac_func" >&5
80496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80497 if eval "test \"\${$as_ac_var+set}\" = set"; then
80498 echo $ECHO_N "(cached) $ECHO_C" >&6
80499 else
80500 if test x$gcc_no_link = xyes; then
80501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80503 { (exit 1); exit 1; }; }
80504 fi
80505 cat >conftest.$ac_ext <<_ACEOF
80506 /* confdefs.h. */
80507 _ACEOF
80508 cat confdefs.h >>conftest.$ac_ext
80509 cat >>conftest.$ac_ext <<_ACEOF
80510 /* end confdefs.h. */
80511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80513 #define $ac_func innocuous_$ac_func
80514
80515 /* System header to define __stub macros and hopefully few prototypes,
80516 which can conflict with char $ac_func (); below.
80517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80518 <limits.h> exists even on freestanding compilers. */
80519
80520 #ifdef __STDC__
80521 # include <limits.h>
80522 #else
80523 # include <assert.h>
80524 #endif
80525
80526 #undef $ac_func
80527
80528 /* Override any gcc2 internal prototype to avoid an error. */
80529 #ifdef __cplusplus
80530 extern "C"
80531 {
80532 #endif
80533 /* We use char because int might match the return type of a gcc2
80534 builtin and then its argument prototype would still apply. */
80535 char $ac_func ();
80536 /* The GNU C library defines this for functions which it implements
80537 to always fail with ENOSYS. Some functions are actually named
80538 something starting with __ and the normal name is an alias. */
80539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80540 choke me
80541 #else
80542 char (*f) () = $ac_func;
80543 #endif
80544 #ifdef __cplusplus
80545 }
80546 #endif
80547
80548 int
80549 main ()
80550 {
80551 return f != $ac_func;
80552 ;
80553 return 0;
80554 }
80555 _ACEOF
80556 rm -f conftest.$ac_objext conftest$ac_exeext
80557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80558 (eval $ac_link) 2>conftest.er1
80559 ac_status=$?
80560 grep -v '^ *+' conftest.er1 >conftest.err
80561 rm -f conftest.er1
80562 cat conftest.err >&5
80563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80564 (exit $ac_status); } &&
80565 { ac_try='test -z "$ac_c_werror_flag"
80566 || test ! -s conftest.err'
80567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80568 (eval $ac_try) 2>&5
80569 ac_status=$?
80570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80571 (exit $ac_status); }; } &&
80572 { ac_try='test -s conftest$ac_exeext'
80573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80574 (eval $ac_try) 2>&5
80575 ac_status=$?
80576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80577 (exit $ac_status); }; }; then
80578 eval "$as_ac_var=yes"
80579 else
80580 echo "$as_me: failed program was:" >&5
80581 sed 's/^/| /' conftest.$ac_ext >&5
80582
80583 eval "$as_ac_var=no"
80584 fi
80585 rm -f conftest.err conftest.$ac_objext \
80586 conftest$ac_exeext conftest.$ac_ext
80587 fi
80588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80590 if test `eval echo '${'$as_ac_var'}'` = yes; then
80591 cat >>confdefs.h <<_ACEOF
80592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80593 _ACEOF
80594
80595 else
80596 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80597 fi
80598 done
80599
80600
80601 if test x$ac_cv_func_copysignl = x"yes"; then
80602
80603 for ac_func in __signbitl
80604 do
80605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80606 echo "$as_me:$LINENO: checking for $ac_func" >&5
80607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80608 if eval "test \"\${$as_ac_var+set}\" = set"; then
80609 echo $ECHO_N "(cached) $ECHO_C" >&6
80610 else
80611 if test x$gcc_no_link = xyes; then
80612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80614 { (exit 1); exit 1; }; }
80615 fi
80616 cat >conftest.$ac_ext <<_ACEOF
80617 /* confdefs.h. */
80618 _ACEOF
80619 cat confdefs.h >>conftest.$ac_ext
80620 cat >>conftest.$ac_ext <<_ACEOF
80621 /* end confdefs.h. */
80622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80624 #define $ac_func innocuous_$ac_func
80625
80626 /* System header to define __stub macros and hopefully few prototypes,
80627 which can conflict with char $ac_func (); below.
80628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80629 <limits.h> exists even on freestanding compilers. */
80630
80631 #ifdef __STDC__
80632 # include <limits.h>
80633 #else
80634 # include <assert.h>
80635 #endif
80636
80637 #undef $ac_func
80638
80639 /* Override any gcc2 internal prototype to avoid an error. */
80640 #ifdef __cplusplus
80641 extern "C"
80642 {
80643 #endif
80644 /* We use char because int might match the return type of a gcc2
80645 builtin and then its argument prototype would still apply. */
80646 char $ac_func ();
80647 /* The GNU C library defines this for functions which it implements
80648 to always fail with ENOSYS. Some functions are actually named
80649 something starting with __ and the normal name is an alias. */
80650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80651 choke me
80652 #else
80653 char (*f) () = $ac_func;
80654 #endif
80655 #ifdef __cplusplus
80656 }
80657 #endif
80658
80659 int
80660 main ()
80661 {
80662 return f != $ac_func;
80663 ;
80664 return 0;
80665 }
80666 _ACEOF
80667 rm -f conftest.$ac_objext conftest$ac_exeext
80668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80669 (eval $ac_link) 2>conftest.er1
80670 ac_status=$?
80671 grep -v '^ *+' conftest.er1 >conftest.err
80672 rm -f conftest.er1
80673 cat conftest.err >&5
80674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80675 (exit $ac_status); } &&
80676 { ac_try='test -z "$ac_c_werror_flag"
80677 || test ! -s conftest.err'
80678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80679 (eval $ac_try) 2>&5
80680 ac_status=$?
80681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80682 (exit $ac_status); }; } &&
80683 { ac_try='test -s conftest$ac_exeext'
80684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80685 (eval $ac_try) 2>&5
80686 ac_status=$?
80687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80688 (exit $ac_status); }; }; then
80689 eval "$as_ac_var=yes"
80690 else
80691 echo "$as_me: failed program was:" >&5
80692 sed 's/^/| /' conftest.$ac_ext >&5
80693
80694 eval "$as_ac_var=no"
80695 fi
80696 rm -f conftest.err conftest.$ac_objext \
80697 conftest$ac_exeext conftest.$ac_ext
80698 fi
80699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80701 if test `eval echo '${'$as_ac_var'}'` = yes; then
80702 cat >>confdefs.h <<_ACEOF
80703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80704 _ACEOF
80705
80706 else
80707 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80708 fi
80709 done
80710
80711 fi
80712
80713 # Used in libmath/Makefile.am.
80714 if test -n "$LIBMATHOBJS"; then
80715 need_libmath=yes
80716 fi
80717
80718
80719
80720
80721 enable_iconv=no
80722 # Only continue checking if the ISO C99 headers exist and support is on.
80723 if test x"$enable_wchar_t" = xyes; then
80724
80725 # Use iconv for wchar_t to char conversions. As such, check for
80726 # X/Open Portability Guide, version 2 features (XPG2).
80727 if test "${ac_cv_header_iconv_h+set}" = set; then
80728 echo "$as_me:$LINENO: checking for iconv.h" >&5
80729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80730 if test "${ac_cv_header_iconv_h+set}" = set; then
80731 echo $ECHO_N "(cached) $ECHO_C" >&6
80732 fi
80733 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80734 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80735 else
80736 # Is the header compilable?
80737 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80738 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80739 cat >conftest.$ac_ext <<_ACEOF
80740 /* confdefs.h. */
80741 _ACEOF
80742 cat confdefs.h >>conftest.$ac_ext
80743 cat >>conftest.$ac_ext <<_ACEOF
80744 /* end confdefs.h. */
80745 $ac_includes_default
80746 #include <iconv.h>
80747 _ACEOF
80748 rm -f conftest.$ac_objext
80749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80750 (eval $ac_compile) 2>conftest.er1
80751 ac_status=$?
80752 grep -v '^ *+' conftest.er1 >conftest.err
80753 rm -f conftest.er1
80754 cat conftest.err >&5
80755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80756 (exit $ac_status); } &&
80757 { ac_try='test -z "$ac_c_werror_flag"
80758 || test ! -s conftest.err'
80759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80760 (eval $ac_try) 2>&5
80761 ac_status=$?
80762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80763 (exit $ac_status); }; } &&
80764 { ac_try='test -s conftest.$ac_objext'
80765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80766 (eval $ac_try) 2>&5
80767 ac_status=$?
80768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80769 (exit $ac_status); }; }; then
80770 ac_header_compiler=yes
80771 else
80772 echo "$as_me: failed program was:" >&5
80773 sed 's/^/| /' conftest.$ac_ext >&5
80774
80775 ac_header_compiler=no
80776 fi
80777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80779 echo "${ECHO_T}$ac_header_compiler" >&6
80780
80781 # Is the header present?
80782 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80783 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80784 cat >conftest.$ac_ext <<_ACEOF
80785 /* confdefs.h. */
80786 _ACEOF
80787 cat confdefs.h >>conftest.$ac_ext
80788 cat >>conftest.$ac_ext <<_ACEOF
80789 /* end confdefs.h. */
80790 #include <iconv.h>
80791 _ACEOF
80792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80794 ac_status=$?
80795 grep -v '^ *+' conftest.er1 >conftest.err
80796 rm -f conftest.er1
80797 cat conftest.err >&5
80798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80799 (exit $ac_status); } >/dev/null; then
80800 if test -s conftest.err; then
80801 ac_cpp_err=$ac_c_preproc_warn_flag
80802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80803 else
80804 ac_cpp_err=
80805 fi
80806 else
80807 ac_cpp_err=yes
80808 fi
80809 if test -z "$ac_cpp_err"; then
80810 ac_header_preproc=yes
80811 else
80812 echo "$as_me: failed program was:" >&5
80813 sed 's/^/| /' conftest.$ac_ext >&5
80814
80815 ac_header_preproc=no
80816 fi
80817 rm -f conftest.err conftest.$ac_ext
80818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80819 echo "${ECHO_T}$ac_header_preproc" >&6
80820
80821 # So? What about this header?
80822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80823 yes:no: )
80824 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80825 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80826 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80827 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80828 ac_header_preproc=yes
80829 ;;
80830 no:yes:* )
80831 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80832 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80833 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80834 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80835 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80836 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80837 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80838 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80839 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80840 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80841 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80842 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80843 (
80844 cat <<\_ASBOX
80845 ## ----------------------------------------- ##
80846 ## Report this to the package-unused lists. ##
80847 ## ----------------------------------------- ##
80848 _ASBOX
80849 ) |
80850 sed "s/^/$as_me: WARNING: /" >&2
80851 ;;
80852 esac
80853 echo "$as_me:$LINENO: checking for iconv.h" >&5
80854 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80855 if test "${ac_cv_header_iconv_h+set}" = set; then
80856 echo $ECHO_N "(cached) $ECHO_C" >&6
80857 else
80858 ac_cv_header_iconv_h=$ac_header_preproc
80859 fi
80860 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80861 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80862
80863 fi
80864 if test $ac_cv_header_iconv_h = yes; then
80865 ac_has_iconv_h=yes
80866 else
80867 ac_has_iconv_h=no
80868 fi
80869
80870
80871 if test "${ac_cv_header_langinfo_h+set}" = set; then
80872 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80873 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80874 if test "${ac_cv_header_langinfo_h+set}" = set; then
80875 echo $ECHO_N "(cached) $ECHO_C" >&6
80876 fi
80877 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80878 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80879 else
80880 # Is the header compilable?
80881 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80882 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80883 cat >conftest.$ac_ext <<_ACEOF
80884 /* confdefs.h. */
80885 _ACEOF
80886 cat confdefs.h >>conftest.$ac_ext
80887 cat >>conftest.$ac_ext <<_ACEOF
80888 /* end confdefs.h. */
80889 $ac_includes_default
80890 #include <langinfo.h>
80891 _ACEOF
80892 rm -f conftest.$ac_objext
80893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80894 (eval $ac_compile) 2>conftest.er1
80895 ac_status=$?
80896 grep -v '^ *+' conftest.er1 >conftest.err
80897 rm -f conftest.er1
80898 cat conftest.err >&5
80899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80900 (exit $ac_status); } &&
80901 { ac_try='test -z "$ac_c_werror_flag"
80902 || test ! -s conftest.err'
80903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80904 (eval $ac_try) 2>&5
80905 ac_status=$?
80906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80907 (exit $ac_status); }; } &&
80908 { ac_try='test -s conftest.$ac_objext'
80909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80910 (eval $ac_try) 2>&5
80911 ac_status=$?
80912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80913 (exit $ac_status); }; }; then
80914 ac_header_compiler=yes
80915 else
80916 echo "$as_me: failed program was:" >&5
80917 sed 's/^/| /' conftest.$ac_ext >&5
80918
80919 ac_header_compiler=no
80920 fi
80921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80923 echo "${ECHO_T}$ac_header_compiler" >&6
80924
80925 # Is the header present?
80926 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80927 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80928 cat >conftest.$ac_ext <<_ACEOF
80929 /* confdefs.h. */
80930 _ACEOF
80931 cat confdefs.h >>conftest.$ac_ext
80932 cat >>conftest.$ac_ext <<_ACEOF
80933 /* end confdefs.h. */
80934 #include <langinfo.h>
80935 _ACEOF
80936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80938 ac_status=$?
80939 grep -v '^ *+' conftest.er1 >conftest.err
80940 rm -f conftest.er1
80941 cat conftest.err >&5
80942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80943 (exit $ac_status); } >/dev/null; then
80944 if test -s conftest.err; then
80945 ac_cpp_err=$ac_c_preproc_warn_flag
80946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80947 else
80948 ac_cpp_err=
80949 fi
80950 else
80951 ac_cpp_err=yes
80952 fi
80953 if test -z "$ac_cpp_err"; then
80954 ac_header_preproc=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80958
80959 ac_header_preproc=no
80960 fi
80961 rm -f conftest.err conftest.$ac_ext
80962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80963 echo "${ECHO_T}$ac_header_preproc" >&6
80964
80965 # So? What about this header?
80966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80967 yes:no: )
80968 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80969 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80970 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80971 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80972 ac_header_preproc=yes
80973 ;;
80974 no:yes:* )
80975 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80976 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80977 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80978 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80979 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80980 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80981 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80982 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80983 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80984 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80985 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80986 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80987 (
80988 cat <<\_ASBOX
80989 ## ----------------------------------------- ##
80990 ## Report this to the package-unused lists. ##
80991 ## ----------------------------------------- ##
80992 _ASBOX
80993 ) |
80994 sed "s/^/$as_me: WARNING: /" >&2
80995 ;;
80996 esac
80997 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80998 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80999 if test "${ac_cv_header_langinfo_h+set}" = set; then
81000 echo $ECHO_N "(cached) $ECHO_C" >&6
81001 else
81002 ac_cv_header_langinfo_h=$ac_header_preproc
81003 fi
81004 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81005 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81006
81007 fi
81008 if test $ac_cv_header_langinfo_h = yes; then
81009 ac_has_langinfo_h=yes
81010 else
81011 ac_has_langinfo_h=no
81012 fi
81013
81014
81015
81016 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81017 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81018 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81019 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81020 echo $ECHO_N "(cached) $ECHO_C" >&6
81021 else
81022 ac_check_lib_save_LIBS=$LIBS
81023 LIBS="-liconv $LIBS"
81024 if test x$gcc_no_link = xyes; then
81025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81027 { (exit 1); exit 1; }; }
81028 fi
81029 cat >conftest.$ac_ext <<_ACEOF
81030 /* confdefs.h. */
81031 _ACEOF
81032 cat confdefs.h >>conftest.$ac_ext
81033 cat >>conftest.$ac_ext <<_ACEOF
81034 /* end confdefs.h. */
81035
81036 /* Override any gcc2 internal prototype to avoid an error. */
81037 #ifdef __cplusplus
81038 extern "C"
81039 #endif
81040 /* We use char because int might match the return type of a gcc2
81041 builtin and then its argument prototype would still apply. */
81042 char iconv ();
81043 int
81044 main ()
81045 {
81046 iconv ();
81047 ;
81048 return 0;
81049 }
81050 _ACEOF
81051 rm -f conftest.$ac_objext conftest$ac_exeext
81052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81053 (eval $ac_link) 2>conftest.er1
81054 ac_status=$?
81055 grep -v '^ *+' conftest.er1 >conftest.err
81056 rm -f conftest.er1
81057 cat conftest.err >&5
81058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81059 (exit $ac_status); } &&
81060 { ac_try='test -z "$ac_c_werror_flag"
81061 || test ! -s conftest.err'
81062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81063 (eval $ac_try) 2>&5
81064 ac_status=$?
81065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81066 (exit $ac_status); }; } &&
81067 { ac_try='test -s conftest$ac_exeext'
81068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81069 (eval $ac_try) 2>&5
81070 ac_status=$?
81071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81072 (exit $ac_status); }; }; then
81073 ac_cv_lib_iconv_iconv=yes
81074 else
81075 echo "$as_me: failed program was:" >&5
81076 sed 's/^/| /' conftest.$ac_ext >&5
81077
81078 ac_cv_lib_iconv_iconv=no
81079 fi
81080 rm -f conftest.err conftest.$ac_objext \
81081 conftest$ac_exeext conftest.$ac_ext
81082 LIBS=$ac_check_lib_save_LIBS
81083 fi
81084 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81085 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81086 if test $ac_cv_lib_iconv_iconv = yes; then
81087 LIBICONV="-liconv"
81088 fi
81089
81090 ac_save_LIBS="$LIBS"
81091 LIBS="$LIBS $LIBICONV"
81092
81093
81094
81095
81096
81097
81098 for ac_func in iconv_open iconv_close iconv nl_langinfo
81099 do
81100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81101 echo "$as_me:$LINENO: checking for $ac_func" >&5
81102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81103 if eval "test \"\${$as_ac_var+set}\" = set"; then
81104 echo $ECHO_N "(cached) $ECHO_C" >&6
81105 else
81106 if test x$gcc_no_link = xyes; then
81107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81109 { (exit 1); exit 1; }; }
81110 fi
81111 cat >conftest.$ac_ext <<_ACEOF
81112 /* confdefs.h. */
81113 _ACEOF
81114 cat confdefs.h >>conftest.$ac_ext
81115 cat >>conftest.$ac_ext <<_ACEOF
81116 /* end confdefs.h. */
81117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81119 #define $ac_func innocuous_$ac_func
81120
81121 /* System header to define __stub macros and hopefully few prototypes,
81122 which can conflict with char $ac_func (); below.
81123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81124 <limits.h> exists even on freestanding compilers. */
81125
81126 #ifdef __STDC__
81127 # include <limits.h>
81128 #else
81129 # include <assert.h>
81130 #endif
81131
81132 #undef $ac_func
81133
81134 /* Override any gcc2 internal prototype to avoid an error. */
81135 #ifdef __cplusplus
81136 extern "C"
81137 {
81138 #endif
81139 /* We use char because int might match the return type of a gcc2
81140 builtin and then its argument prototype would still apply. */
81141 char $ac_func ();
81142 /* The GNU C library defines this for functions which it implements
81143 to always fail with ENOSYS. Some functions are actually named
81144 something starting with __ and the normal name is an alias. */
81145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81146 choke me
81147 #else
81148 char (*f) () = $ac_func;
81149 #endif
81150 #ifdef __cplusplus
81151 }
81152 #endif
81153
81154 int
81155 main ()
81156 {
81157 return f != $ac_func;
81158 ;
81159 return 0;
81160 }
81161 _ACEOF
81162 rm -f conftest.$ac_objext conftest$ac_exeext
81163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81164 (eval $ac_link) 2>conftest.er1
81165 ac_status=$?
81166 grep -v '^ *+' conftest.er1 >conftest.err
81167 rm -f conftest.er1
81168 cat conftest.err >&5
81169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81170 (exit $ac_status); } &&
81171 { ac_try='test -z "$ac_c_werror_flag"
81172 || test ! -s conftest.err'
81173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81174 (eval $ac_try) 2>&5
81175 ac_status=$?
81176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81177 (exit $ac_status); }; } &&
81178 { ac_try='test -s conftest$ac_exeext'
81179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81180 (eval $ac_try) 2>&5
81181 ac_status=$?
81182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81183 (exit $ac_status); }; }; then
81184 eval "$as_ac_var=yes"
81185 else
81186 echo "$as_me: failed program was:" >&5
81187 sed 's/^/| /' conftest.$ac_ext >&5
81188
81189 eval "$as_ac_var=no"
81190 fi
81191 rm -f conftest.err conftest.$ac_objext \
81192 conftest$ac_exeext conftest.$ac_ext
81193 fi
81194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81196 if test `eval echo '${'$as_ac_var'}'` = yes; then
81197 cat >>confdefs.h <<_ACEOF
81198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81199 _ACEOF
81200 ac_XPG2funcs=yes
81201 else
81202 ac_XPG2funcs=no
81203 fi
81204 done
81205
81206
81207 LIBS="$ac_save_LIBS"
81208
81209 if test x"$ac_has_iconv_h" = xyes &&
81210 test x"$ac_has_langinfo_h" = xyes &&
81211 test x"$ac_XPG2funcs" = xyes;
81212 then
81213
81214 cat >>confdefs.h <<\_ACEOF
81215 #define _GLIBCXX_USE_ICONV 1
81216 _ACEOF
81217
81218 enable_iconv=yes
81219 fi
81220 fi
81221 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81222 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81223 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81224 echo "${ECHO_T}$enable_iconv" >&6
81225
81226
81227 # For showmanyc_helper().
81228
81229
81230 for ac_header in sys/ioctl.h sys/filio.h
81231 do
81232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81234 echo "$as_me:$LINENO: checking for $ac_header" >&5
81235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81237 echo $ECHO_N "(cached) $ECHO_C" >&6
81238 fi
81239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81241 else
81242 # Is the header compilable?
81243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81245 cat >conftest.$ac_ext <<_ACEOF
81246 /* confdefs.h. */
81247 _ACEOF
81248 cat confdefs.h >>conftest.$ac_ext
81249 cat >>conftest.$ac_ext <<_ACEOF
81250 /* end confdefs.h. */
81251 $ac_includes_default
81252 #include <$ac_header>
81253 _ACEOF
81254 rm -f conftest.$ac_objext
81255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81256 (eval $ac_compile) 2>conftest.er1
81257 ac_status=$?
81258 grep -v '^ *+' conftest.er1 >conftest.err
81259 rm -f conftest.er1
81260 cat conftest.err >&5
81261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81262 (exit $ac_status); } &&
81263 { ac_try='test -z "$ac_c_werror_flag"
81264 || test ! -s conftest.err'
81265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81266 (eval $ac_try) 2>&5
81267 ac_status=$?
81268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81269 (exit $ac_status); }; } &&
81270 { ac_try='test -s conftest.$ac_objext'
81271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81272 (eval $ac_try) 2>&5
81273 ac_status=$?
81274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81275 (exit $ac_status); }; }; then
81276 ac_header_compiler=yes
81277 else
81278 echo "$as_me: failed program was:" >&5
81279 sed 's/^/| /' conftest.$ac_ext >&5
81280
81281 ac_header_compiler=no
81282 fi
81283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81285 echo "${ECHO_T}$ac_header_compiler" >&6
81286
81287 # Is the header present?
81288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81290 cat >conftest.$ac_ext <<_ACEOF
81291 /* confdefs.h. */
81292 _ACEOF
81293 cat confdefs.h >>conftest.$ac_ext
81294 cat >>conftest.$ac_ext <<_ACEOF
81295 /* end confdefs.h. */
81296 #include <$ac_header>
81297 _ACEOF
81298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81300 ac_status=$?
81301 grep -v '^ *+' conftest.er1 >conftest.err
81302 rm -f conftest.er1
81303 cat conftest.err >&5
81304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81305 (exit $ac_status); } >/dev/null; then
81306 if test -s conftest.err; then
81307 ac_cpp_err=$ac_c_preproc_warn_flag
81308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81309 else
81310 ac_cpp_err=
81311 fi
81312 else
81313 ac_cpp_err=yes
81314 fi
81315 if test -z "$ac_cpp_err"; then
81316 ac_header_preproc=yes
81317 else
81318 echo "$as_me: failed program was:" >&5
81319 sed 's/^/| /' conftest.$ac_ext >&5
81320
81321 ac_header_preproc=no
81322 fi
81323 rm -f conftest.err conftest.$ac_ext
81324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81325 echo "${ECHO_T}$ac_header_preproc" >&6
81326
81327 # So? What about this header?
81328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81329 yes:no: )
81330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81334 ac_header_preproc=yes
81335 ;;
81336 no:yes:* )
81337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81349 (
81350 cat <<\_ASBOX
81351 ## ----------------------------------------- ##
81352 ## Report this to the package-unused lists. ##
81353 ## ----------------------------------------- ##
81354 _ASBOX
81355 ) |
81356 sed "s/^/$as_me: WARNING: /" >&2
81357 ;;
81358 esac
81359 echo "$as_me:$LINENO: checking for $ac_header" >&5
81360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81362 echo $ECHO_N "(cached) $ECHO_C" >&6
81363 else
81364 eval "$as_ac_Header=\$ac_header_preproc"
81365 fi
81366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81368
81369 fi
81370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81371 cat >>confdefs.h <<_ACEOF
81372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81373 _ACEOF
81374
81375 fi
81376
81377 done
81378
81379
81380 if test "${glibcxx_cv_POLL+set}" = set; then
81381 echo $ECHO_N "(cached) $ECHO_C" >&6
81382 else
81383
81384 if test x$gcc_no_link = xyes; then
81385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81387 { (exit 1); exit 1; }; }
81388 fi
81389 cat >conftest.$ac_ext <<_ACEOF
81390 /* confdefs.h. */
81391 _ACEOF
81392 cat confdefs.h >>conftest.$ac_ext
81393 cat >>conftest.$ac_ext <<_ACEOF
81394 /* end confdefs.h. */
81395 #include <poll.h>
81396 int
81397 main ()
81398 {
81399 struct pollfd pfd[1];
81400 pfd[0].events = POLLIN;
81401 poll(pfd, 1, 0);
81402 ;
81403 return 0;
81404 }
81405 _ACEOF
81406 rm -f conftest.$ac_objext conftest$ac_exeext
81407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81408 (eval $ac_link) 2>conftest.er1
81409 ac_status=$?
81410 grep -v '^ *+' conftest.er1 >conftest.err
81411 rm -f conftest.er1
81412 cat conftest.err >&5
81413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81414 (exit $ac_status); } &&
81415 { ac_try='test -z "$ac_c_werror_flag"
81416 || test ! -s conftest.err'
81417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81418 (eval $ac_try) 2>&5
81419 ac_status=$?
81420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81421 (exit $ac_status); }; } &&
81422 { ac_try='test -s conftest$ac_exeext'
81423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81424 (eval $ac_try) 2>&5
81425 ac_status=$?
81426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81427 (exit $ac_status); }; }; then
81428 glibcxx_cv_POLL=yes
81429 else
81430 echo "$as_me: failed program was:" >&5
81431 sed 's/^/| /' conftest.$ac_ext >&5
81432
81433 glibcxx_cv_POLL=no
81434 fi
81435 rm -f conftest.err conftest.$ac_objext \
81436 conftest$ac_exeext conftest.$ac_ext
81437
81438 fi
81439
81440 if test $glibcxx_cv_POLL = yes; then
81441 cat >>confdefs.h <<\_ACEOF
81442 #define HAVE_POLL 1
81443 _ACEOF
81444
81445 fi
81446
81447
81448 if test "${glibcxx_cv_S_ISREG+set}" = set; then
81449 echo $ECHO_N "(cached) $ECHO_C" >&6
81450 else
81451
81452 if test x$gcc_no_link = xyes; then
81453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81455 { (exit 1); exit 1; }; }
81456 fi
81457 cat >conftest.$ac_ext <<_ACEOF
81458 /* confdefs.h. */
81459 _ACEOF
81460 cat confdefs.h >>conftest.$ac_ext
81461 cat >>conftest.$ac_ext <<_ACEOF
81462 /* end confdefs.h. */
81463 #include <sys/stat.h>
81464 int
81465 main ()
81466 {
81467 struct stat buffer;
81468 fstat(0, &buffer);
81469 S_ISREG(buffer.st_mode);
81470 ;
81471 return 0;
81472 }
81473 _ACEOF
81474 rm -f conftest.$ac_objext conftest$ac_exeext
81475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81476 (eval $ac_link) 2>conftest.er1
81477 ac_status=$?
81478 grep -v '^ *+' conftest.er1 >conftest.err
81479 rm -f conftest.er1
81480 cat conftest.err >&5
81481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81482 (exit $ac_status); } &&
81483 { ac_try='test -z "$ac_c_werror_flag"
81484 || test ! -s conftest.err'
81485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81486 (eval $ac_try) 2>&5
81487 ac_status=$?
81488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81489 (exit $ac_status); }; } &&
81490 { ac_try='test -s conftest$ac_exeext'
81491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81492 (eval $ac_try) 2>&5
81493 ac_status=$?
81494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81495 (exit $ac_status); }; }; then
81496 glibcxx_cv_S_ISREG=yes
81497 else
81498 echo "$as_me: failed program was:" >&5
81499 sed 's/^/| /' conftest.$ac_ext >&5
81500
81501 glibcxx_cv_S_ISREG=no
81502 fi
81503 rm -f conftest.err conftest.$ac_objext \
81504 conftest$ac_exeext conftest.$ac_ext
81505
81506 fi
81507
81508 if test "${glibcxx_cv_S_IFREG+set}" = set; then
81509 echo $ECHO_N "(cached) $ECHO_C" >&6
81510 else
81511
81512 if test x$gcc_no_link = xyes; then
81513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81515 { (exit 1); exit 1; }; }
81516 fi
81517 cat >conftest.$ac_ext <<_ACEOF
81518 /* confdefs.h. */
81519 _ACEOF
81520 cat confdefs.h >>conftest.$ac_ext
81521 cat >>conftest.$ac_ext <<_ACEOF
81522 /* end confdefs.h. */
81523 #include <sys/stat.h>
81524 int
81525 main ()
81526 {
81527 struct stat buffer;
81528 fstat(0, &buffer);
81529 S_IFREG & buffer.st_mode;
81530 ;
81531 return 0;
81532 }
81533 _ACEOF
81534 rm -f conftest.$ac_objext conftest$ac_exeext
81535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81536 (eval $ac_link) 2>conftest.er1
81537 ac_status=$?
81538 grep -v '^ *+' conftest.er1 >conftest.err
81539 rm -f conftest.er1
81540 cat conftest.err >&5
81541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81542 (exit $ac_status); } &&
81543 { ac_try='test -z "$ac_c_werror_flag"
81544 || test ! -s conftest.err'
81545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81546 (eval $ac_try) 2>&5
81547 ac_status=$?
81548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81549 (exit $ac_status); }; } &&
81550 { ac_try='test -s conftest$ac_exeext'
81551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81552 (eval $ac_try) 2>&5
81553 ac_status=$?
81554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81555 (exit $ac_status); }; }; then
81556 glibcxx_cv_S_IFREG=yes
81557 else
81558 echo "$as_me: failed program was:" >&5
81559 sed 's/^/| /' conftest.$ac_ext >&5
81560
81561 glibcxx_cv_S_IFREG=no
81562 fi
81563 rm -f conftest.err conftest.$ac_objext \
81564 conftest$ac_exeext conftest.$ac_ext
81565
81566 fi
81567
81568 if test $glibcxx_cv_S_ISREG = yes; then
81569 cat >>confdefs.h <<\_ACEOF
81570 #define HAVE_S_ISREG 1
81571 _ACEOF
81572
81573 elif test $glibcxx_cv_S_IFREG = yes; then
81574 cat >>confdefs.h <<\_ACEOF
81575 #define HAVE_S_IFREG 1
81576 _ACEOF
81577
81578 fi
81579
81580
81581 # For xsputn_2().
81582
81583 for ac_header in sys/uio.h
81584 do
81585 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81587 echo "$as_me:$LINENO: checking for $ac_header" >&5
81588 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81589 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81590 echo $ECHO_N "(cached) $ECHO_C" >&6
81591 fi
81592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81594 else
81595 # Is the header compilable?
81596 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81598 cat >conftest.$ac_ext <<_ACEOF
81599 /* confdefs.h. */
81600 _ACEOF
81601 cat confdefs.h >>conftest.$ac_ext
81602 cat >>conftest.$ac_ext <<_ACEOF
81603 /* end confdefs.h. */
81604 $ac_includes_default
81605 #include <$ac_header>
81606 _ACEOF
81607 rm -f conftest.$ac_objext
81608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81609 (eval $ac_compile) 2>conftest.er1
81610 ac_status=$?
81611 grep -v '^ *+' conftest.er1 >conftest.err
81612 rm -f conftest.er1
81613 cat conftest.err >&5
81614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81615 (exit $ac_status); } &&
81616 { ac_try='test -z "$ac_c_werror_flag"
81617 || test ! -s conftest.err'
81618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81619 (eval $ac_try) 2>&5
81620 ac_status=$?
81621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81622 (exit $ac_status); }; } &&
81623 { ac_try='test -s conftest.$ac_objext'
81624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81625 (eval $ac_try) 2>&5
81626 ac_status=$?
81627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81628 (exit $ac_status); }; }; then
81629 ac_header_compiler=yes
81630 else
81631 echo "$as_me: failed program was:" >&5
81632 sed 's/^/| /' conftest.$ac_ext >&5
81633
81634 ac_header_compiler=no
81635 fi
81636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81637 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81638 echo "${ECHO_T}$ac_header_compiler" >&6
81639
81640 # Is the header present?
81641 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81643 cat >conftest.$ac_ext <<_ACEOF
81644 /* confdefs.h. */
81645 _ACEOF
81646 cat confdefs.h >>conftest.$ac_ext
81647 cat >>conftest.$ac_ext <<_ACEOF
81648 /* end confdefs.h. */
81649 #include <$ac_header>
81650 _ACEOF
81651 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81652 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81653 ac_status=$?
81654 grep -v '^ *+' conftest.er1 >conftest.err
81655 rm -f conftest.er1
81656 cat conftest.err >&5
81657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81658 (exit $ac_status); } >/dev/null; then
81659 if test -s conftest.err; then
81660 ac_cpp_err=$ac_c_preproc_warn_flag
81661 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81662 else
81663 ac_cpp_err=
81664 fi
81665 else
81666 ac_cpp_err=yes
81667 fi
81668 if test -z "$ac_cpp_err"; then
81669 ac_header_preproc=yes
81670 else
81671 echo "$as_me: failed program was:" >&5
81672 sed 's/^/| /' conftest.$ac_ext >&5
81673
81674 ac_header_preproc=no
81675 fi
81676 rm -f conftest.err conftest.$ac_ext
81677 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81678 echo "${ECHO_T}$ac_header_preproc" >&6
81679
81680 # So? What about this header?
81681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81682 yes:no: )
81683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81687 ac_header_preproc=yes
81688 ;;
81689 no:yes:* )
81690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81702 (
81703 cat <<\_ASBOX
81704 ## ----------------------------------------- ##
81705 ## Report this to the package-unused lists. ##
81706 ## ----------------------------------------- ##
81707 _ASBOX
81708 ) |
81709 sed "s/^/$as_me: WARNING: /" >&2
81710 ;;
81711 esac
81712 echo "$as_me:$LINENO: checking for $ac_header" >&5
81713 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81715 echo $ECHO_N "(cached) $ECHO_C" >&6
81716 else
81717 eval "$as_ac_Header=\$ac_header_preproc"
81718 fi
81719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81721
81722 fi
81723 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81724 cat >>confdefs.h <<_ACEOF
81725 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81726 _ACEOF
81727
81728 fi
81729
81730 done
81731
81732
81733 if test "${glibcxx_cv_WRITEV+set}" = set; then
81734 echo $ECHO_N "(cached) $ECHO_C" >&6
81735 else
81736
81737 if test x$gcc_no_link = xyes; then
81738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81740 { (exit 1); exit 1; }; }
81741 fi
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 <sys/uio.h>
81749 int
81750 main ()
81751 {
81752 struct iovec iov[2];
81753 writev(0, iov, 0);
81754 ;
81755 return 0;
81756 }
81757 _ACEOF
81758 rm -f conftest.$ac_objext conftest$ac_exeext
81759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81760 (eval $ac_link) 2>conftest.er1
81761 ac_status=$?
81762 grep -v '^ *+' conftest.er1 >conftest.err
81763 rm -f conftest.er1
81764 cat conftest.err >&5
81765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81766 (exit $ac_status); } &&
81767 { ac_try='test -z "$ac_c_werror_flag"
81768 || test ! -s conftest.err'
81769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81770 (eval $ac_try) 2>&5
81771 ac_status=$?
81772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773 (exit $ac_status); }; } &&
81774 { ac_try='test -s conftest$ac_exeext'
81775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81776 (eval $ac_try) 2>&5
81777 ac_status=$?
81778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81779 (exit $ac_status); }; }; then
81780 glibcxx_cv_WRITEV=yes
81781 else
81782 echo "$as_me: failed program was:" >&5
81783 sed 's/^/| /' conftest.$ac_ext >&5
81784
81785 glibcxx_cv_WRITEV=no
81786 fi
81787 rm -f conftest.err conftest.$ac_objext \
81788 conftest$ac_exeext conftest.$ac_ext
81789
81790 fi
81791
81792 if test $glibcxx_cv_WRITEV = yes; then
81793 cat >>confdefs.h <<\_ACEOF
81794 #define HAVE_WRITEV 1
81795 _ACEOF
81796
81797 fi
81798
81799 ;;
81800 *-qnx6.1* | *-qnx6.2*)
81801 SECTION_FLAGS='-ffunction-sections -fdata-sections'
81802
81803
81804 # If we're not using GNU ld, then there's no point in even trying these
81805 # tests. Check for that first. We should have already tested for gld
81806 # by now (in libtool), but require it now just to be safe...
81807 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81808 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81809
81810
81811
81812 # The name set by libtool depends on the version of libtool. Shame on us
81813 # for depending on an impl detail, but c'est la vie. Older versions used
81814 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81815 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81816 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
81817 # set (hence we're using an older libtool), then set it.
81818 if test x${with_gnu_ld+set} != xset; then
81819 if test x${ac_cv_prog_gnu_ld+set} != xset; then
81820 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
81821 with_gnu_ld=no
81822 else
81823 with_gnu_ld=$ac_cv_prog_gnu_ld
81824 fi
81825 fi
81826
81827 # Start by getting the version number. I think the libtool test already
81828 # does some of this, but throws away the result.
81829
81830 ldver=`$LD --version 2>/dev/null | head -1 | \
81831 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81832
81833 glibcxx_gnu_ld_version=`echo $ldver | \
81834 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81835
81836 # Set --gc-sections.
81837 if test "$with_gnu_ld" = "notbroken"; then
81838 # GNU ld it is! Joy and bunny rabbits!
81839
81840 # All these tests are for C++; save the language and the compiler flags.
81841 # Need to do this so that g++ won't try to link in libstdc++
81842 ac_test_CFLAGS="${CFLAGS+set}"
81843 ac_save_CFLAGS="$CFLAGS"
81844 CFLAGS='-x c++ -Wl,--gc-sections'
81845
81846 # Check for -Wl,--gc-sections
81847 # XXX This test is broken at the moment, as symbols required for linking
81848 # are now in libsupc++ (not built yet). In addition, this test has
81849 # cored on solaris in the past. In addition, --gc-sections doesn't
81850 # really work at the moment (keeps on discarding used sections, first
81851 # .eh_frame and now some of the glibc sections for iconv).
81852 # Bzzzzt. Thanks for playing, maybe next time.
81853 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81854 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81855 if test "$cross_compiling" = yes; then
81856 ac_sectionLDflags=yes
81857 else
81858 cat >conftest.$ac_ext <<_ACEOF
81859 /* confdefs.h. */
81860 _ACEOF
81861 cat confdefs.h >>conftest.$ac_ext
81862 cat >>conftest.$ac_ext <<_ACEOF
81863 /* end confdefs.h. */
81864
81865 int main(void)
81866 {
81867 try { throw 1; }
81868 catch (...) { };
81869 return 0;
81870 }
81871
81872 _ACEOF
81873 rm -f conftest$ac_exeext
81874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81875 (eval $ac_link) 2>&5
81876 ac_status=$?
81877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81880 (eval $ac_try) 2>&5
81881 ac_status=$?
81882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81883 (exit $ac_status); }; }; then
81884 ac_sectionLDflags=yes
81885 else
81886 echo "$as_me: program exited with status $ac_status" >&5
81887 echo "$as_me: failed program was:" >&5
81888 sed 's/^/| /' conftest.$ac_ext >&5
81889
81890 ( exit $ac_status )
81891 ac_sectionLDflags=no
81892 fi
81893 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81894 fi
81895 if test "$ac_test_CFLAGS" = set; then
81896 CFLAGS="$ac_save_CFLAGS"
81897 else
81898 # this is the suspicious part
81899 CFLAGS=''
81900 fi
81901 if test "$ac_sectionLDflags" = "yes"; then
81902 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81903 fi
81904 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81905 echo "${ECHO_T}$ac_sectionLDflags" >&6
81906 fi
81907
81908 # Set linker optimization flags.
81909 if test x"$with_gnu_ld" = x"yes"; then
81910 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81911 fi
81912
81913
81914
81915
81916
81917
81918 echo "$as_me:$LINENO: checking for main in -lm" >&5
81919 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81920 if test "${ac_cv_lib_m_main+set}" = set; then
81921 echo $ECHO_N "(cached) $ECHO_C" >&6
81922 else
81923 ac_check_lib_save_LIBS=$LIBS
81924 LIBS="-lm $LIBS"
81925 if test x$gcc_no_link = xyes; then
81926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81928 { (exit 1); exit 1; }; }
81929 fi
81930 cat >conftest.$ac_ext <<_ACEOF
81931 /* confdefs.h. */
81932 _ACEOF
81933 cat confdefs.h >>conftest.$ac_ext
81934 cat >>conftest.$ac_ext <<_ACEOF
81935 /* end confdefs.h. */
81936
81937
81938 int
81939 main ()
81940 {
81941 main ();
81942 ;
81943 return 0;
81944 }
81945 _ACEOF
81946 rm -f conftest.$ac_objext conftest$ac_exeext
81947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81948 (eval $ac_link) 2>conftest.er1
81949 ac_status=$?
81950 grep -v '^ *+' conftest.er1 >conftest.err
81951 rm -f conftest.er1
81952 cat conftest.err >&5
81953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81954 (exit $ac_status); } &&
81955 { ac_try='test -z "$ac_c_werror_flag"
81956 || test ! -s conftest.err'
81957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81958 (eval $ac_try) 2>&5
81959 ac_status=$?
81960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81961 (exit $ac_status); }; } &&
81962 { ac_try='test -s conftest$ac_exeext'
81963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81964 (eval $ac_try) 2>&5
81965 ac_status=$?
81966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81967 (exit $ac_status); }; }; then
81968 ac_cv_lib_m_main=yes
81969 else
81970 echo "$as_me: failed program was:" >&5
81971 sed 's/^/| /' conftest.$ac_ext >&5
81972
81973 ac_cv_lib_m_main=no
81974 fi
81975 rm -f conftest.err conftest.$ac_objext \
81976 conftest$ac_exeext conftest.$ac_ext
81977 LIBS=$ac_check_lib_save_LIBS
81978 fi
81979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81980 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81981 if test $ac_cv_lib_m_main = yes; then
81982 cat >>confdefs.h <<_ACEOF
81983 #define HAVE_LIBM 1
81984 _ACEOF
81985
81986 LIBS="-lm $LIBS"
81987
81988 fi
81989
81990
81991 for ac_func in copysignf
81992 do
81993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81994 echo "$as_me:$LINENO: checking for $ac_func" >&5
81995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81996 if eval "test \"\${$as_ac_var+set}\" = set"; then
81997 echo $ECHO_N "(cached) $ECHO_C" >&6
81998 else
81999 if test x$gcc_no_link = xyes; then
82000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82002 { (exit 1); exit 1; }; }
82003 fi
82004 cat >conftest.$ac_ext <<_ACEOF
82005 /* confdefs.h. */
82006 _ACEOF
82007 cat confdefs.h >>conftest.$ac_ext
82008 cat >>conftest.$ac_ext <<_ACEOF
82009 /* end confdefs.h. */
82010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82012 #define $ac_func innocuous_$ac_func
82013
82014 /* System header to define __stub macros and hopefully few prototypes,
82015 which can conflict with char $ac_func (); below.
82016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82017 <limits.h> exists even on freestanding compilers. */
82018
82019 #ifdef __STDC__
82020 # include <limits.h>
82021 #else
82022 # include <assert.h>
82023 #endif
82024
82025 #undef $ac_func
82026
82027 /* Override any gcc2 internal prototype to avoid an error. */
82028 #ifdef __cplusplus
82029 extern "C"
82030 {
82031 #endif
82032 /* We use char because int might match the return type of a gcc2
82033 builtin and then its argument prototype would still apply. */
82034 char $ac_func ();
82035 /* The GNU C library defines this for functions which it implements
82036 to always fail with ENOSYS. Some functions are actually named
82037 something starting with __ and the normal name is an alias. */
82038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82039 choke me
82040 #else
82041 char (*f) () = $ac_func;
82042 #endif
82043 #ifdef __cplusplus
82044 }
82045 #endif
82046
82047 int
82048 main ()
82049 {
82050 return f != $ac_func;
82051 ;
82052 return 0;
82053 }
82054 _ACEOF
82055 rm -f conftest.$ac_objext conftest$ac_exeext
82056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82057 (eval $ac_link) 2>conftest.er1
82058 ac_status=$?
82059 grep -v '^ *+' conftest.er1 >conftest.err
82060 rm -f conftest.er1
82061 cat conftest.err >&5
82062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82063 (exit $ac_status); } &&
82064 { ac_try='test -z "$ac_c_werror_flag"
82065 || test ! -s conftest.err'
82066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82067 (eval $ac_try) 2>&5
82068 ac_status=$?
82069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82070 (exit $ac_status); }; } &&
82071 { ac_try='test -s conftest$ac_exeext'
82072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82073 (eval $ac_try) 2>&5
82074 ac_status=$?
82075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82076 (exit $ac_status); }; }; then
82077 eval "$as_ac_var=yes"
82078 else
82079 echo "$as_me: failed program was:" >&5
82080 sed 's/^/| /' conftest.$ac_ext >&5
82081
82082 eval "$as_ac_var=no"
82083 fi
82084 rm -f conftest.err conftest.$ac_objext \
82085 conftest$ac_exeext conftest.$ac_ext
82086 fi
82087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82089 if test `eval echo '${'$as_ac_var'}'` = yes; then
82090 cat >>confdefs.h <<_ACEOF
82091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82092 _ACEOF
82093
82094 else
82095 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82096 fi
82097 done
82098
82099
82100
82101 for ac_func in __signbit
82102 do
82103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82104 echo "$as_me:$LINENO: checking for $ac_func" >&5
82105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82106 if eval "test \"\${$as_ac_var+set}\" = set"; then
82107 echo $ECHO_N "(cached) $ECHO_C" >&6
82108 else
82109 if test x$gcc_no_link = xyes; then
82110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82112 { (exit 1); exit 1; }; }
82113 fi
82114 cat >conftest.$ac_ext <<_ACEOF
82115 /* confdefs.h. */
82116 _ACEOF
82117 cat confdefs.h >>conftest.$ac_ext
82118 cat >>conftest.$ac_ext <<_ACEOF
82119 /* end confdefs.h. */
82120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82122 #define $ac_func innocuous_$ac_func
82123
82124 /* System header to define __stub macros and hopefully few prototypes,
82125 which can conflict with char $ac_func (); below.
82126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82127 <limits.h> exists even on freestanding compilers. */
82128
82129 #ifdef __STDC__
82130 # include <limits.h>
82131 #else
82132 # include <assert.h>
82133 #endif
82134
82135 #undef $ac_func
82136
82137 /* Override any gcc2 internal prototype to avoid an error. */
82138 #ifdef __cplusplus
82139 extern "C"
82140 {
82141 #endif
82142 /* We use char because int might match the return type of a gcc2
82143 builtin and then its argument prototype would still apply. */
82144 char $ac_func ();
82145 /* The GNU C library defines this for functions which it implements
82146 to always fail with ENOSYS. Some functions are actually named
82147 something starting with __ and the normal name is an alias. */
82148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82149 choke me
82150 #else
82151 char (*f) () = $ac_func;
82152 #endif
82153 #ifdef __cplusplus
82154 }
82155 #endif
82156
82157 int
82158 main ()
82159 {
82160 return f != $ac_func;
82161 ;
82162 return 0;
82163 }
82164 _ACEOF
82165 rm -f conftest.$ac_objext conftest$ac_exeext
82166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82167 (eval $ac_link) 2>conftest.er1
82168 ac_status=$?
82169 grep -v '^ *+' conftest.er1 >conftest.err
82170 rm -f conftest.er1
82171 cat conftest.err >&5
82172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82173 (exit $ac_status); } &&
82174 { ac_try='test -z "$ac_c_werror_flag"
82175 || test ! -s conftest.err'
82176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82177 (eval $ac_try) 2>&5
82178 ac_status=$?
82179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82180 (exit $ac_status); }; } &&
82181 { ac_try='test -s conftest$ac_exeext'
82182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82183 (eval $ac_try) 2>&5
82184 ac_status=$?
82185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82186 (exit $ac_status); }; }; then
82187 eval "$as_ac_var=yes"
82188 else
82189 echo "$as_me: failed program was:" >&5
82190 sed 's/^/| /' conftest.$ac_ext >&5
82191
82192 eval "$as_ac_var=no"
82193 fi
82194 rm -f conftest.err conftest.$ac_objext \
82195 conftest$ac_exeext conftest.$ac_ext
82196 fi
82197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82199 if test `eval echo '${'$as_ac_var'}'` = yes; then
82200 cat >>confdefs.h <<_ACEOF
82201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82202 _ACEOF
82203
82204 else
82205 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82206 fi
82207 done
82208
82209
82210
82211 for ac_func in __signbitf
82212 do
82213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82214 echo "$as_me:$LINENO: checking for $ac_func" >&5
82215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82216 if eval "test \"\${$as_ac_var+set}\" = set"; then
82217 echo $ECHO_N "(cached) $ECHO_C" >&6
82218 else
82219 if test x$gcc_no_link = xyes; then
82220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82222 { (exit 1); exit 1; }; }
82223 fi
82224 cat >conftest.$ac_ext <<_ACEOF
82225 /* confdefs.h. */
82226 _ACEOF
82227 cat confdefs.h >>conftest.$ac_ext
82228 cat >>conftest.$ac_ext <<_ACEOF
82229 /* end confdefs.h. */
82230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82232 #define $ac_func innocuous_$ac_func
82233
82234 /* System header to define __stub macros and hopefully few prototypes,
82235 which can conflict with char $ac_func (); below.
82236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82237 <limits.h> exists even on freestanding compilers. */
82238
82239 #ifdef __STDC__
82240 # include <limits.h>
82241 #else
82242 # include <assert.h>
82243 #endif
82244
82245 #undef $ac_func
82246
82247 /* Override any gcc2 internal prototype to avoid an error. */
82248 #ifdef __cplusplus
82249 extern "C"
82250 {
82251 #endif
82252 /* We use char because int might match the return type of a gcc2
82253 builtin and then its argument prototype would still apply. */
82254 char $ac_func ();
82255 /* The GNU C library defines this for functions which it implements
82256 to always fail with ENOSYS. Some functions are actually named
82257 something starting with __ and the normal name is an alias. */
82258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82259 choke me
82260 #else
82261 char (*f) () = $ac_func;
82262 #endif
82263 #ifdef __cplusplus
82264 }
82265 #endif
82266
82267 int
82268 main ()
82269 {
82270 return f != $ac_func;
82271 ;
82272 return 0;
82273 }
82274 _ACEOF
82275 rm -f conftest.$ac_objext conftest$ac_exeext
82276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82277 (eval $ac_link) 2>conftest.er1
82278 ac_status=$?
82279 grep -v '^ *+' conftest.er1 >conftest.err
82280 rm -f conftest.er1
82281 cat conftest.err >&5
82282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82283 (exit $ac_status); } &&
82284 { ac_try='test -z "$ac_c_werror_flag"
82285 || test ! -s conftest.err'
82286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82287 (eval $ac_try) 2>&5
82288 ac_status=$?
82289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82290 (exit $ac_status); }; } &&
82291 { ac_try='test -s conftest$ac_exeext'
82292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82293 (eval $ac_try) 2>&5
82294 ac_status=$?
82295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82296 (exit $ac_status); }; }; then
82297 eval "$as_ac_var=yes"
82298 else
82299 echo "$as_me: failed program was:" >&5
82300 sed 's/^/| /' conftest.$ac_ext >&5
82301
82302 eval "$as_ac_var=no"
82303 fi
82304 rm -f conftest.err conftest.$ac_objext \
82305 conftest$ac_exeext conftest.$ac_ext
82306 fi
82307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82309 if test `eval echo '${'$as_ac_var'}'` = yes; then
82310 cat >>confdefs.h <<_ACEOF
82311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82312 _ACEOF
82313
82314 else
82315 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82316 fi
82317 done
82318
82319
82320 if test x$ac_cv_func_copysignl = x"yes"; then
82321
82322 for ac_func in __signbitl
82323 do
82324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82325 echo "$as_me:$LINENO: checking for $ac_func" >&5
82326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82327 if eval "test \"\${$as_ac_var+set}\" = set"; then
82328 echo $ECHO_N "(cached) $ECHO_C" >&6
82329 else
82330 if test x$gcc_no_link = xyes; then
82331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82333 { (exit 1); exit 1; }; }
82334 fi
82335 cat >conftest.$ac_ext <<_ACEOF
82336 /* confdefs.h. */
82337 _ACEOF
82338 cat confdefs.h >>conftest.$ac_ext
82339 cat >>conftest.$ac_ext <<_ACEOF
82340 /* end confdefs.h. */
82341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82343 #define $ac_func innocuous_$ac_func
82344
82345 /* System header to define __stub macros and hopefully few prototypes,
82346 which can conflict with char $ac_func (); below.
82347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82348 <limits.h> exists even on freestanding compilers. */
82349
82350 #ifdef __STDC__
82351 # include <limits.h>
82352 #else
82353 # include <assert.h>
82354 #endif
82355
82356 #undef $ac_func
82357
82358 /* Override any gcc2 internal prototype to avoid an error. */
82359 #ifdef __cplusplus
82360 extern "C"
82361 {
82362 #endif
82363 /* We use char because int might match the return type of a gcc2
82364 builtin and then its argument prototype would still apply. */
82365 char $ac_func ();
82366 /* The GNU C library defines this for functions which it implements
82367 to always fail with ENOSYS. Some functions are actually named
82368 something starting with __ and the normal name is an alias. */
82369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82370 choke me
82371 #else
82372 char (*f) () = $ac_func;
82373 #endif
82374 #ifdef __cplusplus
82375 }
82376 #endif
82377
82378 int
82379 main ()
82380 {
82381 return f != $ac_func;
82382 ;
82383 return 0;
82384 }
82385 _ACEOF
82386 rm -f conftest.$ac_objext conftest$ac_exeext
82387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82388 (eval $ac_link) 2>conftest.er1
82389 ac_status=$?
82390 grep -v '^ *+' conftest.er1 >conftest.err
82391 rm -f conftest.er1
82392 cat conftest.err >&5
82393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82394 (exit $ac_status); } &&
82395 { ac_try='test -z "$ac_c_werror_flag"
82396 || test ! -s conftest.err'
82397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82398 (eval $ac_try) 2>&5
82399 ac_status=$?
82400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82401 (exit $ac_status); }; } &&
82402 { ac_try='test -s conftest$ac_exeext'
82403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82404 (eval $ac_try) 2>&5
82405 ac_status=$?
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); }; }; then
82408 eval "$as_ac_var=yes"
82409 else
82410 echo "$as_me: failed program was:" >&5
82411 sed 's/^/| /' conftest.$ac_ext >&5
82412
82413 eval "$as_ac_var=no"
82414 fi
82415 rm -f conftest.err conftest.$ac_objext \
82416 conftest$ac_exeext conftest.$ac_ext
82417 fi
82418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82420 if test `eval echo '${'$as_ac_var'}'` = yes; then
82421 cat >>confdefs.h <<_ACEOF
82422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82423 _ACEOF
82424
82425 else
82426 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82427 fi
82428 done
82429
82430 fi
82431
82432 # Used in libmath/Makefile.am.
82433 if test -n "$LIBMATHOBJS"; then
82434 need_libmath=yes
82435 fi
82436
82437
82438
82439
82440 enable_iconv=no
82441 # Only continue checking if the ISO C99 headers exist and support is on.
82442 if test x"$enable_wchar_t" = xyes; then
82443
82444 # Use iconv for wchar_t to char conversions. As such, check for
82445 # X/Open Portability Guide, version 2 features (XPG2).
82446 if test "${ac_cv_header_iconv_h+set}" = set; then
82447 echo "$as_me:$LINENO: checking for iconv.h" >&5
82448 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82449 if test "${ac_cv_header_iconv_h+set}" = set; then
82450 echo $ECHO_N "(cached) $ECHO_C" >&6
82451 fi
82452 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82453 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82454 else
82455 # Is the header compilable?
82456 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82457 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82458 cat >conftest.$ac_ext <<_ACEOF
82459 /* confdefs.h. */
82460 _ACEOF
82461 cat confdefs.h >>conftest.$ac_ext
82462 cat >>conftest.$ac_ext <<_ACEOF
82463 /* end confdefs.h. */
82464 $ac_includes_default
82465 #include <iconv.h>
82466 _ACEOF
82467 rm -f conftest.$ac_objext
82468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82469 (eval $ac_compile) 2>conftest.er1
82470 ac_status=$?
82471 grep -v '^ *+' conftest.er1 >conftest.err
82472 rm -f conftest.er1
82473 cat conftest.err >&5
82474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82475 (exit $ac_status); } &&
82476 { ac_try='test -z "$ac_c_werror_flag"
82477 || test ! -s conftest.err'
82478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82479 (eval $ac_try) 2>&5
82480 ac_status=$?
82481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82482 (exit $ac_status); }; } &&
82483 { ac_try='test -s conftest.$ac_objext'
82484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82485 (eval $ac_try) 2>&5
82486 ac_status=$?
82487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82488 (exit $ac_status); }; }; then
82489 ac_header_compiler=yes
82490 else
82491 echo "$as_me: failed program was:" >&5
82492 sed 's/^/| /' conftest.$ac_ext >&5
82493
82494 ac_header_compiler=no
82495 fi
82496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82498 echo "${ECHO_T}$ac_header_compiler" >&6
82499
82500 # Is the header present?
82501 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82502 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82503 cat >conftest.$ac_ext <<_ACEOF
82504 /* confdefs.h. */
82505 _ACEOF
82506 cat confdefs.h >>conftest.$ac_ext
82507 cat >>conftest.$ac_ext <<_ACEOF
82508 /* end confdefs.h. */
82509 #include <iconv.h>
82510 _ACEOF
82511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82513 ac_status=$?
82514 grep -v '^ *+' conftest.er1 >conftest.err
82515 rm -f conftest.er1
82516 cat conftest.err >&5
82517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82518 (exit $ac_status); } >/dev/null; then
82519 if test -s conftest.err; then
82520 ac_cpp_err=$ac_c_preproc_warn_flag
82521 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82522 else
82523 ac_cpp_err=
82524 fi
82525 else
82526 ac_cpp_err=yes
82527 fi
82528 if test -z "$ac_cpp_err"; then
82529 ac_header_preproc=yes
82530 else
82531 echo "$as_me: failed program was:" >&5
82532 sed 's/^/| /' conftest.$ac_ext >&5
82533
82534 ac_header_preproc=no
82535 fi
82536 rm -f conftest.err conftest.$ac_ext
82537 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82538 echo "${ECHO_T}$ac_header_preproc" >&6
82539
82540 # So? What about this header?
82541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82542 yes:no: )
82543 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82544 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82545 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82546 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82547 ac_header_preproc=yes
82548 ;;
82549 no:yes:* )
82550 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82551 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82552 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82553 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82554 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82555 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82556 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82557 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82558 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82559 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82560 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82561 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82562 (
82563 cat <<\_ASBOX
82564 ## ----------------------------------------- ##
82565 ## Report this to the package-unused lists. ##
82566 ## ----------------------------------------- ##
82567 _ASBOX
82568 ) |
82569 sed "s/^/$as_me: WARNING: /" >&2
82570 ;;
82571 esac
82572 echo "$as_me:$LINENO: checking for iconv.h" >&5
82573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82574 if test "${ac_cv_header_iconv_h+set}" = set; then
82575 echo $ECHO_N "(cached) $ECHO_C" >&6
82576 else
82577 ac_cv_header_iconv_h=$ac_header_preproc
82578 fi
82579 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82580 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82581
82582 fi
82583 if test $ac_cv_header_iconv_h = yes; then
82584 ac_has_iconv_h=yes
82585 else
82586 ac_has_iconv_h=no
82587 fi
82588
82589
82590 if test "${ac_cv_header_langinfo_h+set}" = set; then
82591 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82592 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82593 if test "${ac_cv_header_langinfo_h+set}" = set; then
82594 echo $ECHO_N "(cached) $ECHO_C" >&6
82595 fi
82596 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82597 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82598 else
82599 # Is the header compilable?
82600 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82601 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82602 cat >conftest.$ac_ext <<_ACEOF
82603 /* confdefs.h. */
82604 _ACEOF
82605 cat confdefs.h >>conftest.$ac_ext
82606 cat >>conftest.$ac_ext <<_ACEOF
82607 /* end confdefs.h. */
82608 $ac_includes_default
82609 #include <langinfo.h>
82610 _ACEOF
82611 rm -f conftest.$ac_objext
82612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82613 (eval $ac_compile) 2>conftest.er1
82614 ac_status=$?
82615 grep -v '^ *+' conftest.er1 >conftest.err
82616 rm -f conftest.er1
82617 cat conftest.err >&5
82618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82619 (exit $ac_status); } &&
82620 { ac_try='test -z "$ac_c_werror_flag"
82621 || test ! -s conftest.err'
82622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82623 (eval $ac_try) 2>&5
82624 ac_status=$?
82625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82626 (exit $ac_status); }; } &&
82627 { ac_try='test -s conftest.$ac_objext'
82628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82629 (eval $ac_try) 2>&5
82630 ac_status=$?
82631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82632 (exit $ac_status); }; }; then
82633 ac_header_compiler=yes
82634 else
82635 echo "$as_me: failed program was:" >&5
82636 sed 's/^/| /' conftest.$ac_ext >&5
82637
82638 ac_header_compiler=no
82639 fi
82640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82642 echo "${ECHO_T}$ac_header_compiler" >&6
82643
82644 # Is the header present?
82645 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82646 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82647 cat >conftest.$ac_ext <<_ACEOF
82648 /* confdefs.h. */
82649 _ACEOF
82650 cat confdefs.h >>conftest.$ac_ext
82651 cat >>conftest.$ac_ext <<_ACEOF
82652 /* end confdefs.h. */
82653 #include <langinfo.h>
82654 _ACEOF
82655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82657 ac_status=$?
82658 grep -v '^ *+' conftest.er1 >conftest.err
82659 rm -f conftest.er1
82660 cat conftest.err >&5
82661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82662 (exit $ac_status); } >/dev/null; then
82663 if test -s conftest.err; then
82664 ac_cpp_err=$ac_c_preproc_warn_flag
82665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82666 else
82667 ac_cpp_err=
82668 fi
82669 else
82670 ac_cpp_err=yes
82671 fi
82672 if test -z "$ac_cpp_err"; then
82673 ac_header_preproc=yes
82674 else
82675 echo "$as_me: failed program was:" >&5
82676 sed 's/^/| /' conftest.$ac_ext >&5
82677
82678 ac_header_preproc=no
82679 fi
82680 rm -f conftest.err conftest.$ac_ext
82681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82682 echo "${ECHO_T}$ac_header_preproc" >&6
82683
82684 # So? What about this header?
82685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82686 yes:no: )
82687 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82688 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82689 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82690 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82691 ac_header_preproc=yes
82692 ;;
82693 no:yes:* )
82694 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82695 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82696 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82697 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82698 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82699 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82700 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82701 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82702 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82703 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82704 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82705 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82706 (
82707 cat <<\_ASBOX
82708 ## ----------------------------------------- ##
82709 ## Report this to the package-unused lists. ##
82710 ## ----------------------------------------- ##
82711 _ASBOX
82712 ) |
82713 sed "s/^/$as_me: WARNING: /" >&2
82714 ;;
82715 esac
82716 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82717 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82718 if test "${ac_cv_header_langinfo_h+set}" = set; then
82719 echo $ECHO_N "(cached) $ECHO_C" >&6
82720 else
82721 ac_cv_header_langinfo_h=$ac_header_preproc
82722 fi
82723 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82724 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82725
82726 fi
82727 if test $ac_cv_header_langinfo_h = yes; then
82728 ac_has_langinfo_h=yes
82729 else
82730 ac_has_langinfo_h=no
82731 fi
82732
82733
82734
82735 # Check for existence of libiconv.a providing XPG2 wchar_t support.
82736 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
82737 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
82738 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
82739 echo $ECHO_N "(cached) $ECHO_C" >&6
82740 else
82741 ac_check_lib_save_LIBS=$LIBS
82742 LIBS="-liconv $LIBS"
82743 if test x$gcc_no_link = xyes; then
82744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82746 { (exit 1); exit 1; }; }
82747 fi
82748 cat >conftest.$ac_ext <<_ACEOF
82749 /* confdefs.h. */
82750 _ACEOF
82751 cat confdefs.h >>conftest.$ac_ext
82752 cat >>conftest.$ac_ext <<_ACEOF
82753 /* end confdefs.h. */
82754
82755 /* Override any gcc2 internal prototype to avoid an error. */
82756 #ifdef __cplusplus
82757 extern "C"
82758 #endif
82759 /* We use char because int might match the return type of a gcc2
82760 builtin and then its argument prototype would still apply. */
82761 char iconv ();
82762 int
82763 main ()
82764 {
82765 iconv ();
82766 ;
82767 return 0;
82768 }
82769 _ACEOF
82770 rm -f conftest.$ac_objext conftest$ac_exeext
82771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82772 (eval $ac_link) 2>conftest.er1
82773 ac_status=$?
82774 grep -v '^ *+' conftest.er1 >conftest.err
82775 rm -f conftest.er1
82776 cat conftest.err >&5
82777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82778 (exit $ac_status); } &&
82779 { ac_try='test -z "$ac_c_werror_flag"
82780 || test ! -s conftest.err'
82781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82782 (eval $ac_try) 2>&5
82783 ac_status=$?
82784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82785 (exit $ac_status); }; } &&
82786 { ac_try='test -s conftest$ac_exeext'
82787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82788 (eval $ac_try) 2>&5
82789 ac_status=$?
82790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82791 (exit $ac_status); }; }; then
82792 ac_cv_lib_iconv_iconv=yes
82793 else
82794 echo "$as_me: failed program was:" >&5
82795 sed 's/^/| /' conftest.$ac_ext >&5
82796
82797 ac_cv_lib_iconv_iconv=no
82798 fi
82799 rm -f conftest.err conftest.$ac_objext \
82800 conftest$ac_exeext conftest.$ac_ext
82801 LIBS=$ac_check_lib_save_LIBS
82802 fi
82803 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
82804 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
82805 if test $ac_cv_lib_iconv_iconv = yes; then
82806 LIBICONV="-liconv"
82807 fi
82808
82809 ac_save_LIBS="$LIBS"
82810 LIBS="$LIBS $LIBICONV"
82811
82812
82813
82814
82815
82816
82817 for ac_func in iconv_open iconv_close iconv nl_langinfo
82818 do
82819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82820 echo "$as_me:$LINENO: checking for $ac_func" >&5
82821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82822 if eval "test \"\${$as_ac_var+set}\" = set"; then
82823 echo $ECHO_N "(cached) $ECHO_C" >&6
82824 else
82825 if test x$gcc_no_link = xyes; then
82826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82828 { (exit 1); exit 1; }; }
82829 fi
82830 cat >conftest.$ac_ext <<_ACEOF
82831 /* confdefs.h. */
82832 _ACEOF
82833 cat confdefs.h >>conftest.$ac_ext
82834 cat >>conftest.$ac_ext <<_ACEOF
82835 /* end confdefs.h. */
82836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82838 #define $ac_func innocuous_$ac_func
82839
82840 /* System header to define __stub macros and hopefully few prototypes,
82841 which can conflict with char $ac_func (); below.
82842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82843 <limits.h> exists even on freestanding compilers. */
82844
82845 #ifdef __STDC__
82846 # include <limits.h>
82847 #else
82848 # include <assert.h>
82849 #endif
82850
82851 #undef $ac_func
82852
82853 /* Override any gcc2 internal prototype to avoid an error. */
82854 #ifdef __cplusplus
82855 extern "C"
82856 {
82857 #endif
82858 /* We use char because int might match the return type of a gcc2
82859 builtin and then its argument prototype would still apply. */
82860 char $ac_func ();
82861 /* The GNU C library defines this for functions which it implements
82862 to always fail with ENOSYS. Some functions are actually named
82863 something starting with __ and the normal name is an alias. */
82864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82865 choke me
82866 #else
82867 char (*f) () = $ac_func;
82868 #endif
82869 #ifdef __cplusplus
82870 }
82871 #endif
82872
82873 int
82874 main ()
82875 {
82876 return f != $ac_func;
82877 ;
82878 return 0;
82879 }
82880 _ACEOF
82881 rm -f conftest.$ac_objext conftest$ac_exeext
82882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82883 (eval $ac_link) 2>conftest.er1
82884 ac_status=$?
82885 grep -v '^ *+' conftest.er1 >conftest.err
82886 rm -f conftest.er1
82887 cat conftest.err >&5
82888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82889 (exit $ac_status); } &&
82890 { ac_try='test -z "$ac_c_werror_flag"
82891 || test ! -s conftest.err'
82892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82893 (eval $ac_try) 2>&5
82894 ac_status=$?
82895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82896 (exit $ac_status); }; } &&
82897 { ac_try='test -s conftest$ac_exeext'
82898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82899 (eval $ac_try) 2>&5
82900 ac_status=$?
82901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82902 (exit $ac_status); }; }; then
82903 eval "$as_ac_var=yes"
82904 else
82905 echo "$as_me: failed program was:" >&5
82906 sed 's/^/| /' conftest.$ac_ext >&5
82907
82908 eval "$as_ac_var=no"
82909 fi
82910 rm -f conftest.err conftest.$ac_objext \
82911 conftest$ac_exeext conftest.$ac_ext
82912 fi
82913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82915 if test `eval echo '${'$as_ac_var'}'` = yes; then
82916 cat >>confdefs.h <<_ACEOF
82917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82918 _ACEOF
82919 ac_XPG2funcs=yes
82920 else
82921 ac_XPG2funcs=no
82922 fi
82923 done
82924
82925
82926 LIBS="$ac_save_LIBS"
82927
82928 if test x"$ac_has_iconv_h" = xyes &&
82929 test x"$ac_has_langinfo_h" = xyes &&
82930 test x"$ac_XPG2funcs" = xyes;
82931 then
82932
82933 cat >>confdefs.h <<\_ACEOF
82934 #define _GLIBCXX_USE_ICONV 1
82935 _ACEOF
82936
82937 enable_iconv=yes
82938 fi
82939 fi
82940 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
82941 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
82942 echo "$as_me:$LINENO: result: $enable_iconv" >&5
82943 echo "${ECHO_T}$enable_iconv" >&6
82944
82945 cat >>confdefs.h <<\_ACEOF
82946 #define HAVE_COSF 1
82947 _ACEOF
82948
82949 cat >>confdefs.h <<\_ACEOF
82950 #define HAVE_COSL 1
82951 _ACEOF
82952
82953 cat >>confdefs.h <<\_ACEOF
82954 #define HAVE_COSHF 1
82955 _ACEOF
82956
82957 cat >>confdefs.h <<\_ACEOF
82958 #define HAVE_COSHL 1
82959 _ACEOF
82960
82961 cat >>confdefs.h <<\_ACEOF
82962 #define HAVE_LOGF 1
82963 _ACEOF
82964
82965 cat >>confdefs.h <<\_ACEOF
82966 #define HAVE_LOGL 1
82967 _ACEOF
82968
82969 cat >>confdefs.h <<\_ACEOF
82970 #define HAVE_LOG10F 1
82971 _ACEOF
82972
82973 cat >>confdefs.h <<\_ACEOF
82974 #define HAVE_LOG10L 1
82975 _ACEOF
82976
82977 cat >>confdefs.h <<\_ACEOF
82978 #define HAVE_SINF 1
82979 _ACEOF
82980
82981 cat >>confdefs.h <<\_ACEOF
82982 #define HAVE_SINL 1
82983 _ACEOF
82984
82985 cat >>confdefs.h <<\_ACEOF
82986 #define HAVE_SINHF 1
82987 _ACEOF
82988
82989 cat >>confdefs.h <<\_ACEOF
82990 #define HAVE_SINHL 1
82991 _ACEOF
82992
82993 ;;
82994 *-solaris*)
82995 case "$target" in
82996 # *-solaris2.5)
82997 # os_include_dir="os/solaris/solaris2.5"
82998 # ;;
82999 # *-solaris2.6)
83000 # os_include_dir="os/solaris/solaris2.6"
83001 # ;;
83002 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
83003 cat >>confdefs.h <<\_ACEOF
83004 #define HAVE_GETPAGESIZE 1
83005 _ACEOF
83006
83007 cat >>confdefs.h <<\_ACEOF
83008 #define HAVE_SIGSETJMP 1
83009 _ACEOF
83010
83011 cat >>confdefs.h <<\_ACEOF
83012 #define HAVE_MBSTATE_T 1
83013 _ACEOF
83014
83015 cat >>confdefs.h <<\_ACEOF
83016 #define HAVE_POLL 1
83017 _ACEOF
83018
83019 cat >>confdefs.h <<\_ACEOF
83020 #define HAVE_S_ISREG 1
83021 _ACEOF
83022
83023 cat >>confdefs.h <<\_ACEOF
83024 #define HAVE_LC_MESSAGES 1
83025 _ACEOF
83026
83027 cat >>confdefs.h <<\_ACEOF
83028 #define HAVE_FINITE 1
83029 _ACEOF
83030
83031 cat >>confdefs.h <<\_ACEOF
83032 #define HAVE_FPCLASS 1
83033 _ACEOF
83034
83035 cat >>confdefs.h <<\_ACEOF
83036 #define HAVE_GETPAGESIZE 1
83037 _ACEOF
83038
83039 cat >>confdefs.h <<\_ACEOF
83040 #define HAVE_NL_LANGINFO 1
83041 _ACEOF
83042
83043 cat >>confdefs.h <<\_ACEOF
83044 #define HAVE_ICONV 1
83045 _ACEOF
83046
83047 cat >>confdefs.h <<\_ACEOF
83048 #define HAVE_ICONV_CLOSE 1
83049 _ACEOF
83050
83051 cat >>confdefs.h <<\_ACEOF
83052 #define HAVE_ICONV_OPEN 1
83053 _ACEOF
83054
83055 # Look for the pieces required for wchar_t support in order to
83056 # get all the right HAVE_* macros defined.
83057
83058
83059 enable_iconv=no
83060 # Only continue checking if the ISO C99 headers exist and support is on.
83061 if test x"$enable_wchar_t" = xyes; then
83062
83063 # Use iconv for wchar_t to char conversions. As such, check for
83064 # X/Open Portability Guide, version 2 features (XPG2).
83065 if test "${ac_cv_header_iconv_h+set}" = set; then
83066 echo "$as_me:$LINENO: checking for iconv.h" >&5
83067 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83068 if test "${ac_cv_header_iconv_h+set}" = set; then
83069 echo $ECHO_N "(cached) $ECHO_C" >&6
83070 fi
83071 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83072 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83073 else
83074 # Is the header compilable?
83075 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83076 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83077 cat >conftest.$ac_ext <<_ACEOF
83078 /* confdefs.h. */
83079 _ACEOF
83080 cat confdefs.h >>conftest.$ac_ext
83081 cat >>conftest.$ac_ext <<_ACEOF
83082 /* end confdefs.h. */
83083 $ac_includes_default
83084 #include <iconv.h>
83085 _ACEOF
83086 rm -f conftest.$ac_objext
83087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83088 (eval $ac_compile) 2>conftest.er1
83089 ac_status=$?
83090 grep -v '^ *+' conftest.er1 >conftest.err
83091 rm -f conftest.er1
83092 cat conftest.err >&5
83093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83094 (exit $ac_status); } &&
83095 { ac_try='test -z "$ac_c_werror_flag"
83096 || test ! -s conftest.err'
83097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83098 (eval $ac_try) 2>&5
83099 ac_status=$?
83100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83101 (exit $ac_status); }; } &&
83102 { ac_try='test -s conftest.$ac_objext'
83103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83104 (eval $ac_try) 2>&5
83105 ac_status=$?
83106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83107 (exit $ac_status); }; }; then
83108 ac_header_compiler=yes
83109 else
83110 echo "$as_me: failed program was:" >&5
83111 sed 's/^/| /' conftest.$ac_ext >&5
83112
83113 ac_header_compiler=no
83114 fi
83115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83117 echo "${ECHO_T}$ac_header_compiler" >&6
83118
83119 # Is the header present?
83120 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83121 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83122 cat >conftest.$ac_ext <<_ACEOF
83123 /* confdefs.h. */
83124 _ACEOF
83125 cat confdefs.h >>conftest.$ac_ext
83126 cat >>conftest.$ac_ext <<_ACEOF
83127 /* end confdefs.h. */
83128 #include <iconv.h>
83129 _ACEOF
83130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83132 ac_status=$?
83133 grep -v '^ *+' conftest.er1 >conftest.err
83134 rm -f conftest.er1
83135 cat conftest.err >&5
83136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83137 (exit $ac_status); } >/dev/null; then
83138 if test -s conftest.err; then
83139 ac_cpp_err=$ac_c_preproc_warn_flag
83140 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83141 else
83142 ac_cpp_err=
83143 fi
83144 else
83145 ac_cpp_err=yes
83146 fi
83147 if test -z "$ac_cpp_err"; then
83148 ac_header_preproc=yes
83149 else
83150 echo "$as_me: failed program was:" >&5
83151 sed 's/^/| /' conftest.$ac_ext >&5
83152
83153 ac_header_preproc=no
83154 fi
83155 rm -f conftest.err conftest.$ac_ext
83156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83157 echo "${ECHO_T}$ac_header_preproc" >&6
83158
83159 # So? What about this header?
83160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83161 yes:no: )
83162 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83163 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83164 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83165 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83166 ac_header_preproc=yes
83167 ;;
83168 no:yes:* )
83169 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83170 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83171 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
83172 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
83173 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83174 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83175 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
83176 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
83177 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83178 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83179 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83180 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83181 (
83182 cat <<\_ASBOX
83183 ## ----------------------------------------- ##
83184 ## Report this to the package-unused lists. ##
83185 ## ----------------------------------------- ##
83186 _ASBOX
83187 ) |
83188 sed "s/^/$as_me: WARNING: /" >&2
83189 ;;
83190 esac
83191 echo "$as_me:$LINENO: checking for iconv.h" >&5
83192 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83193 if test "${ac_cv_header_iconv_h+set}" = set; then
83194 echo $ECHO_N "(cached) $ECHO_C" >&6
83195 else
83196 ac_cv_header_iconv_h=$ac_header_preproc
83197 fi
83198 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83199 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83200
83201 fi
83202 if test $ac_cv_header_iconv_h = yes; then
83203 ac_has_iconv_h=yes
83204 else
83205 ac_has_iconv_h=no
83206 fi
83207
83208
83209 if test "${ac_cv_header_langinfo_h+set}" = set; then
83210 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83211 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83212 if test "${ac_cv_header_langinfo_h+set}" = set; then
83213 echo $ECHO_N "(cached) $ECHO_C" >&6
83214 fi
83215 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83216 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83217 else
83218 # Is the header compilable?
83219 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83220 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83221 cat >conftest.$ac_ext <<_ACEOF
83222 /* confdefs.h. */
83223 _ACEOF
83224 cat confdefs.h >>conftest.$ac_ext
83225 cat >>conftest.$ac_ext <<_ACEOF
83226 /* end confdefs.h. */
83227 $ac_includes_default
83228 #include <langinfo.h>
83229 _ACEOF
83230 rm -f conftest.$ac_objext
83231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83232 (eval $ac_compile) 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_objext'
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 ac_header_compiler=yes
83253 else
83254 echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83256
83257 ac_header_compiler=no
83258 fi
83259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83261 echo "${ECHO_T}$ac_header_compiler" >&6
83262
83263 # Is the header present?
83264 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83265 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83266 cat >conftest.$ac_ext <<_ACEOF
83267 /* confdefs.h. */
83268 _ACEOF
83269 cat confdefs.h >>conftest.$ac_ext
83270 cat >>conftest.$ac_ext <<_ACEOF
83271 /* end confdefs.h. */
83272 #include <langinfo.h>
83273 _ACEOF
83274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83276 ac_status=$?
83277 grep -v '^ *+' conftest.er1 >conftest.err
83278 rm -f conftest.er1
83279 cat conftest.err >&5
83280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83281 (exit $ac_status); } >/dev/null; then
83282 if test -s conftest.err; then
83283 ac_cpp_err=$ac_c_preproc_warn_flag
83284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83285 else
83286 ac_cpp_err=
83287 fi
83288 else
83289 ac_cpp_err=yes
83290 fi
83291 if test -z "$ac_cpp_err"; then
83292 ac_header_preproc=yes
83293 else
83294 echo "$as_me: failed program was:" >&5
83295 sed 's/^/| /' conftest.$ac_ext >&5
83296
83297 ac_header_preproc=no
83298 fi
83299 rm -f conftest.err conftest.$ac_ext
83300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83301 echo "${ECHO_T}$ac_header_preproc" >&6
83302
83303 # So? What about this header?
83304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83305 yes:no: )
83306 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83307 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83308 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83309 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83310 ac_header_preproc=yes
83311 ;;
83312 no:yes:* )
83313 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83314 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83315 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
83316 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
83317 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83318 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83319 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
83320 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
83321 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83322 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83323 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83324 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83325 (
83326 cat <<\_ASBOX
83327 ## ----------------------------------------- ##
83328 ## Report this to the package-unused lists. ##
83329 ## ----------------------------------------- ##
83330 _ASBOX
83331 ) |
83332 sed "s/^/$as_me: WARNING: /" >&2
83333 ;;
83334 esac
83335 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83336 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83337 if test "${ac_cv_header_langinfo_h+set}" = set; then
83338 echo $ECHO_N "(cached) $ECHO_C" >&6
83339 else
83340 ac_cv_header_langinfo_h=$ac_header_preproc
83341 fi
83342 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83343 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83344
83345 fi
83346 if test $ac_cv_header_langinfo_h = yes; then
83347 ac_has_langinfo_h=yes
83348 else
83349 ac_has_langinfo_h=no
83350 fi
83351
83352
83353
83354 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83355 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83356 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83357 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83358 echo $ECHO_N "(cached) $ECHO_C" >&6
83359 else
83360 ac_check_lib_save_LIBS=$LIBS
83361 LIBS="-liconv $LIBS"
83362 if test x$gcc_no_link = xyes; then
83363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83365 { (exit 1); exit 1; }; }
83366 fi
83367 cat >conftest.$ac_ext <<_ACEOF
83368 /* confdefs.h. */
83369 _ACEOF
83370 cat confdefs.h >>conftest.$ac_ext
83371 cat >>conftest.$ac_ext <<_ACEOF
83372 /* end confdefs.h. */
83373
83374 /* Override any gcc2 internal prototype to avoid an error. */
83375 #ifdef __cplusplus
83376 extern "C"
83377 #endif
83378 /* We use char because int might match the return type of a gcc2
83379 builtin and then its argument prototype would still apply. */
83380 char iconv ();
83381 int
83382 main ()
83383 {
83384 iconv ();
83385 ;
83386 return 0;
83387 }
83388 _ACEOF
83389 rm -f conftest.$ac_objext conftest$ac_exeext
83390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83391 (eval $ac_link) 2>conftest.er1
83392 ac_status=$?
83393 grep -v '^ *+' conftest.er1 >conftest.err
83394 rm -f conftest.er1
83395 cat conftest.err >&5
83396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83397 (exit $ac_status); } &&
83398 { ac_try='test -z "$ac_c_werror_flag"
83399 || test ! -s conftest.err'
83400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83401 (eval $ac_try) 2>&5
83402 ac_status=$?
83403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404 (exit $ac_status); }; } &&
83405 { ac_try='test -s conftest$ac_exeext'
83406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83407 (eval $ac_try) 2>&5
83408 ac_status=$?
83409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83410 (exit $ac_status); }; }; then
83411 ac_cv_lib_iconv_iconv=yes
83412 else
83413 echo "$as_me: failed program was:" >&5
83414 sed 's/^/| /' conftest.$ac_ext >&5
83415
83416 ac_cv_lib_iconv_iconv=no
83417 fi
83418 rm -f conftest.err conftest.$ac_objext \
83419 conftest$ac_exeext conftest.$ac_ext
83420 LIBS=$ac_check_lib_save_LIBS
83421 fi
83422 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83423 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83424 if test $ac_cv_lib_iconv_iconv = yes; then
83425 LIBICONV="-liconv"
83426 fi
83427
83428 ac_save_LIBS="$LIBS"
83429 LIBS="$LIBS $LIBICONV"
83430
83431
83432
83433
83434
83435
83436 for ac_func in iconv_open iconv_close iconv nl_langinfo
83437 do
83438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83439 echo "$as_me:$LINENO: checking for $ac_func" >&5
83440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83441 if eval "test \"\${$as_ac_var+set}\" = set"; then
83442 echo $ECHO_N "(cached) $ECHO_C" >&6
83443 else
83444 if test x$gcc_no_link = xyes; then
83445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83447 { (exit 1); exit 1; }; }
83448 fi
83449 cat >conftest.$ac_ext <<_ACEOF
83450 /* confdefs.h. */
83451 _ACEOF
83452 cat confdefs.h >>conftest.$ac_ext
83453 cat >>conftest.$ac_ext <<_ACEOF
83454 /* end confdefs.h. */
83455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83457 #define $ac_func innocuous_$ac_func
83458
83459 /* System header to define __stub macros and hopefully few prototypes,
83460 which can conflict with char $ac_func (); below.
83461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83462 <limits.h> exists even on freestanding compilers. */
83463
83464 #ifdef __STDC__
83465 # include <limits.h>
83466 #else
83467 # include <assert.h>
83468 #endif
83469
83470 #undef $ac_func
83471
83472 /* Override any gcc2 internal prototype to avoid an error. */
83473 #ifdef __cplusplus
83474 extern "C"
83475 {
83476 #endif
83477 /* We use char because int might match the return type of a gcc2
83478 builtin and then its argument prototype would still apply. */
83479 char $ac_func ();
83480 /* The GNU C library defines this for functions which it implements
83481 to always fail with ENOSYS. Some functions are actually named
83482 something starting with __ and the normal name is an alias. */
83483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83484 choke me
83485 #else
83486 char (*f) () = $ac_func;
83487 #endif
83488 #ifdef __cplusplus
83489 }
83490 #endif
83491
83492 int
83493 main ()
83494 {
83495 return f != $ac_func;
83496 ;
83497 return 0;
83498 }
83499 _ACEOF
83500 rm -f conftest.$ac_objext conftest$ac_exeext
83501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83502 (eval $ac_link) 2>conftest.er1
83503 ac_status=$?
83504 grep -v '^ *+' conftest.er1 >conftest.err
83505 rm -f conftest.er1
83506 cat conftest.err >&5
83507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83508 (exit $ac_status); } &&
83509 { ac_try='test -z "$ac_c_werror_flag"
83510 || test ! -s conftest.err'
83511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83512 (eval $ac_try) 2>&5
83513 ac_status=$?
83514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83515 (exit $ac_status); }; } &&
83516 { ac_try='test -s conftest$ac_exeext'
83517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83518 (eval $ac_try) 2>&5
83519 ac_status=$?
83520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83521 (exit $ac_status); }; }; then
83522 eval "$as_ac_var=yes"
83523 else
83524 echo "$as_me: failed program was:" >&5
83525 sed 's/^/| /' conftest.$ac_ext >&5
83526
83527 eval "$as_ac_var=no"
83528 fi
83529 rm -f conftest.err conftest.$ac_objext \
83530 conftest$ac_exeext conftest.$ac_ext
83531 fi
83532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83534 if test `eval echo '${'$as_ac_var'}'` = yes; then
83535 cat >>confdefs.h <<_ACEOF
83536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83537 _ACEOF
83538 ac_XPG2funcs=yes
83539 else
83540 ac_XPG2funcs=no
83541 fi
83542 done
83543
83544
83545 LIBS="$ac_save_LIBS"
83546
83547 if test x"$ac_has_iconv_h" = xyes &&
83548 test x"$ac_has_langinfo_h" = xyes &&
83549 test x"$ac_XPG2funcs" = xyes;
83550 then
83551
83552 cat >>confdefs.h <<\_ACEOF
83553 #define _GLIBCXX_USE_ICONV 1
83554 _ACEOF
83555
83556 enable_iconv=yes
83557 fi
83558 fi
83559 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83560 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83561 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83562 echo "${ECHO_T}$enable_iconv" >&6
83563
83564 # All of the dependencies for wide character support are here, so
83565 # turn it on. This requires some syncronization with the
83566 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
83567 cat >>confdefs.h <<\_ACEOF
83568 #define _GLIBCXX_USE_WCHAR_T 1
83569 _ACEOF
83570
83571 # Are these tested for even when cross?
83572 cat >>confdefs.h <<\_ACEOF
83573 #define HAVE_FLOAT_H 1
83574 _ACEOF
83575
83576 cat >>confdefs.h <<\_ACEOF
83577 #define HAVE_IEEEFP_H 1
83578 _ACEOF
83579
83580 cat >>confdefs.h <<\_ACEOF
83581 #define HAVE_INTTYPES_H 1
83582 _ACEOF
83583
83584 cat >>confdefs.h <<\_ACEOF
83585 #define HAVE_LOCALE_H 1
83586 _ACEOF
83587
83588 cat >>confdefs.h <<\_ACEOF
83589 #define HAVE_NAN_H 1
83590 _ACEOF
83591
83592 cat >>confdefs.h <<\_ACEOF
83593 #define HAVE_SYS_FILIO_H 1
83594 _ACEOF
83595
83596 cat >>confdefs.h <<\_ACEOF
83597 #define HAVE_SYS_IOCTL_H 1
83598 _ACEOF
83599
83600 cat >>confdefs.h <<\_ACEOF
83601 #define HAVE_SYS_ISA_DEFS_H 1
83602 _ACEOF
83603
83604 cat >>confdefs.h <<\_ACEOF
83605 #define HAVE_SYS_RESOURCE_H 1
83606 _ACEOF
83607
83608 cat >>confdefs.h <<\_ACEOF
83609 #define HAVE_SYS_TIME_H 1
83610 _ACEOF
83611
83612 cat >>confdefs.h <<\_ACEOF
83613 #define HAVE_SYS_TYPES_H 1
83614 _ACEOF
83615
83616 cat >>confdefs.h <<\_ACEOF
83617 #define HAVE_UNISTD_H 1
83618 _ACEOF
83619
83620 cat >>confdefs.h <<\_ACEOF
83621 #define HAVE_WCHAR_H 1
83622 _ACEOF
83623
83624 cat >>confdefs.h <<\_ACEOF
83625 #define HAVE_WCTYPE_H 1
83626 _ACEOF
83627
83628 cat >>confdefs.h <<\_ACEOF
83629 #define HAVE_LIBM 1
83630 _ACEOF
83631
83632 ;;
83633 esac
83634 case "$target" in
83635 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
83636 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
83637 cat >>confdefs.h <<\_ACEOF
83638 #define HAVE___BUILTIN_ABS 1
83639 _ACEOF
83640
83641 cat >>confdefs.h <<\_ACEOF
83642 #define HAVE___BUILTIN_LABS 1
83643 _ACEOF
83644
83645 cat >>confdefs.h <<\_ACEOF
83646 #define HAVE___BUILTIN_FABS 1
83647 _ACEOF
83648
83649 cat >>confdefs.h <<\_ACEOF
83650 #define HAVE___BUILTIN_FABSF 1
83651 _ACEOF
83652
83653 cat >>confdefs.h <<\_ACEOF
83654 #define HAVE___BUILTIN_FABSL 1
83655 _ACEOF
83656
83657 cat >>confdefs.h <<\_ACEOF
83658 #define HAVE___BUILTIN_COS 1
83659 _ACEOF
83660
83661 cat >>confdefs.h <<\_ACEOF
83662 #define HAVE___BUILTIN_COSF 1
83663 _ACEOF
83664
83665 cat >>confdefs.h <<\_ACEOF
83666 #define HAVE___BUILTIN_SIN 1
83667 _ACEOF
83668
83669 cat >>confdefs.h <<\_ACEOF
83670 #define HAVE___BUILTIN_SINF 1
83671 _ACEOF
83672
83673 ;;
83674 esac
83675 case "$target" in
83676 *-*-solaris2.10)
83677 # These two C99 functions are present only in Solaris >= 10
83678 cat >>confdefs.h <<\_ACEOF
83679 #define HAVE_STRTOF 1
83680 _ACEOF
83681
83682 cat >>confdefs.h <<\_ACEOF
83683 #define HAVE_STRTOLD 1
83684 _ACEOF
83685
83686 ;;
83687 esac
83688 cat >>confdefs.h <<\_ACEOF
83689 #define HAVE_MMAP 1
83690 _ACEOF
83691
83692 cat >>confdefs.h <<\_ACEOF
83693 #define HAVE_COPYSIGN 1
83694 _ACEOF
83695
83696 cat >>confdefs.h <<\_ACEOF
83697 #define HAVE_ISNAN 1
83698 _ACEOF
83699
83700 cat >>confdefs.h <<\_ACEOF
83701 #define HAVE_ISNANF 1
83702 _ACEOF
83703
83704 cat >>confdefs.h <<\_ACEOF
83705 #define HAVE_MODFF 1
83706 _ACEOF
83707
83708 cat >>confdefs.h <<\_ACEOF
83709 #define HAVE_HYPOT 1
83710 _ACEOF
83711
83712 ;;
83713 *-tpf)
83714
83715
83716
83717
83718
83719
83720
83721
83722 for ac_header in nan.h endian.h machine/endian.h \
83723 sys/param.h sys/types.h locale.h float.h inttypes.h
83724 do
83725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83727 echo "$as_me:$LINENO: checking for $ac_header" >&5
83728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83730 echo $ECHO_N "(cached) $ECHO_C" >&6
83731 fi
83732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83734 else
83735 # Is the header compilable?
83736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83738 cat >conftest.$ac_ext <<_ACEOF
83739 /* confdefs.h. */
83740 _ACEOF
83741 cat confdefs.h >>conftest.$ac_ext
83742 cat >>conftest.$ac_ext <<_ACEOF
83743 /* end confdefs.h. */
83744 $ac_includes_default
83745 #include <$ac_header>
83746 _ACEOF
83747 rm -f conftest.$ac_objext
83748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83749 (eval $ac_compile) 2>conftest.er1
83750 ac_status=$?
83751 grep -v '^ *+' conftest.er1 >conftest.err
83752 rm -f conftest.er1
83753 cat conftest.err >&5
83754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755 (exit $ac_status); } &&
83756 { ac_try='test -z "$ac_c_werror_flag"
83757 || test ! -s conftest.err'
83758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83759 (eval $ac_try) 2>&5
83760 ac_status=$?
83761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83762 (exit $ac_status); }; } &&
83763 { ac_try='test -s conftest.$ac_objext'
83764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83765 (eval $ac_try) 2>&5
83766 ac_status=$?
83767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83768 (exit $ac_status); }; }; then
83769 ac_header_compiler=yes
83770 else
83771 echo "$as_me: failed program was:" >&5
83772 sed 's/^/| /' conftest.$ac_ext >&5
83773
83774 ac_header_compiler=no
83775 fi
83776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83778 echo "${ECHO_T}$ac_header_compiler" >&6
83779
83780 # Is the header present?
83781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83783 cat >conftest.$ac_ext <<_ACEOF
83784 /* confdefs.h. */
83785 _ACEOF
83786 cat confdefs.h >>conftest.$ac_ext
83787 cat >>conftest.$ac_ext <<_ACEOF
83788 /* end confdefs.h. */
83789 #include <$ac_header>
83790 _ACEOF
83791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83793 ac_status=$?
83794 grep -v '^ *+' conftest.er1 >conftest.err
83795 rm -f conftest.er1
83796 cat conftest.err >&5
83797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83798 (exit $ac_status); } >/dev/null; then
83799 if test -s conftest.err; then
83800 ac_cpp_err=$ac_c_preproc_warn_flag
83801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83802 else
83803 ac_cpp_err=
83804 fi
83805 else
83806 ac_cpp_err=yes
83807 fi
83808 if test -z "$ac_cpp_err"; then
83809 ac_header_preproc=yes
83810 else
83811 echo "$as_me: failed program was:" >&5
83812 sed 's/^/| /' conftest.$ac_ext >&5
83813
83814 ac_header_preproc=no
83815 fi
83816 rm -f conftest.err conftest.$ac_ext
83817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83818 echo "${ECHO_T}$ac_header_preproc" >&6
83819
83820 # So? What about this header?
83821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83822 yes:no: )
83823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83827 ac_header_preproc=yes
83828 ;;
83829 no:yes:* )
83830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83842 (
83843 cat <<\_ASBOX
83844 ## ----------------------------------------- ##
83845 ## Report this to the package-unused lists. ##
83846 ## ----------------------------------------- ##
83847 _ASBOX
83848 ) |
83849 sed "s/^/$as_me: WARNING: /" >&2
83850 ;;
83851 esac
83852 echo "$as_me:$LINENO: checking for $ac_header" >&5
83853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83855 echo $ECHO_N "(cached) $ECHO_C" >&6
83856 else
83857 eval "$as_ac_Header=\$ac_header_preproc"
83858 fi
83859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83861
83862 fi
83863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83864 cat >>confdefs.h <<_ACEOF
83865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83866 _ACEOF
83867
83868 fi
83869
83870 done
83871
83872 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83873
83874
83875 # If we're not using GNU ld, then there's no point in even trying these
83876 # tests. Check for that first. We should have already tested for gld
83877 # by now (in libtool), but require it now just to be safe...
83878 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83879 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83880
83881
83882
83883 # The name set by libtool depends on the version of libtool. Shame on us
83884 # for depending on an impl detail, but c'est la vie. Older versions used
83885 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83886 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83887 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83888 # set (hence we're using an older libtool), then set it.
83889 if test x${with_gnu_ld+set} != xset; then
83890 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83891 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83892 with_gnu_ld=no
83893 else
83894 with_gnu_ld=$ac_cv_prog_gnu_ld
83895 fi
83896 fi
83897
83898 # Start by getting the version number. I think the libtool test already
83899 # does some of this, but throws away the result.
83900
83901 ldver=`$LD --version 2>/dev/null | head -1 | \
83902 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83903
83904 glibcxx_gnu_ld_version=`echo $ldver | \
83905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83906
83907 # Set --gc-sections.
83908 if test "$with_gnu_ld" = "notbroken"; then
83909 # GNU ld it is! Joy and bunny rabbits!
83910
83911 # All these tests are for C++; save the language and the compiler flags.
83912 # Need to do this so that g++ won't try to link in libstdc++
83913 ac_test_CFLAGS="${CFLAGS+set}"
83914 ac_save_CFLAGS="$CFLAGS"
83915 CFLAGS='-x c++ -Wl,--gc-sections'
83916
83917 # Check for -Wl,--gc-sections
83918 # XXX This test is broken at the moment, as symbols required for linking
83919 # are now in libsupc++ (not built yet). In addition, this test has
83920 # cored on solaris in the past. In addition, --gc-sections doesn't
83921 # really work at the moment (keeps on discarding used sections, first
83922 # .eh_frame and now some of the glibc sections for iconv).
83923 # Bzzzzt. Thanks for playing, maybe next time.
83924 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83925 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83926 if test "$cross_compiling" = yes; then
83927 ac_sectionLDflags=yes
83928 else
83929 cat >conftest.$ac_ext <<_ACEOF
83930 /* confdefs.h. */
83931 _ACEOF
83932 cat confdefs.h >>conftest.$ac_ext
83933 cat >>conftest.$ac_ext <<_ACEOF
83934 /* end confdefs.h. */
83935
83936 int main(void)
83937 {
83938 try { throw 1; }
83939 catch (...) { };
83940 return 0;
83941 }
83942
83943 _ACEOF
83944 rm -f conftest$ac_exeext
83945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83946 (eval $ac_link) 2>&5
83947 ac_status=$?
83948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83949 (exit $ac_status); } && { ac_try='./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 ac_sectionLDflags=yes
83956 else
83957 echo "$as_me: program exited with status $ac_status" >&5
83958 echo "$as_me: failed program was:" >&5
83959 sed 's/^/| /' conftest.$ac_ext >&5
83960
83961 ( exit $ac_status )
83962 ac_sectionLDflags=no
83963 fi
83964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83965 fi
83966 if test "$ac_test_CFLAGS" = set; then
83967 CFLAGS="$ac_save_CFLAGS"
83968 else
83969 # this is the suspicious part
83970 CFLAGS=''
83971 fi
83972 if test "$ac_sectionLDflags" = "yes"; then
83973 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83974 fi
83975 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83976 echo "${ECHO_T}$ac_sectionLDflags" >&6
83977 fi
83978
83979 # Set linker optimization flags.
83980 if test x"$with_gnu_ld" = x"yes"; then
83981 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83982 fi
83983
83984
83985
83986
83987
83988
83989 echo "$as_me:$LINENO: checking for main in -lm" >&5
83990 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83991 if test "${ac_cv_lib_m_main+set}" = set; then
83992 echo $ECHO_N "(cached) $ECHO_C" >&6
83993 else
83994 ac_check_lib_save_LIBS=$LIBS
83995 LIBS="-lm $LIBS"
83996 if test x$gcc_no_link = xyes; then
83997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83999 { (exit 1); exit 1; }; }
84000 fi
84001 cat >conftest.$ac_ext <<_ACEOF
84002 /* confdefs.h. */
84003 _ACEOF
84004 cat confdefs.h >>conftest.$ac_ext
84005 cat >>conftest.$ac_ext <<_ACEOF
84006 /* end confdefs.h. */
84007
84008
84009 int
84010 main ()
84011 {
84012 main ();
84013 ;
84014 return 0;
84015 }
84016 _ACEOF
84017 rm -f conftest.$ac_objext conftest$ac_exeext
84018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84019 (eval $ac_link) 2>conftest.er1
84020 ac_status=$?
84021 grep -v '^ *+' conftest.er1 >conftest.err
84022 rm -f conftest.er1
84023 cat conftest.err >&5
84024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84025 (exit $ac_status); } &&
84026 { ac_try='test -z "$ac_c_werror_flag"
84027 || test ! -s conftest.err'
84028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84029 (eval $ac_try) 2>&5
84030 ac_status=$?
84031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84032 (exit $ac_status); }; } &&
84033 { ac_try='test -s conftest$ac_exeext'
84034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84035 (eval $ac_try) 2>&5
84036 ac_status=$?
84037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038 (exit $ac_status); }; }; then
84039 ac_cv_lib_m_main=yes
84040 else
84041 echo "$as_me: failed program was:" >&5
84042 sed 's/^/| /' conftest.$ac_ext >&5
84043
84044 ac_cv_lib_m_main=no
84045 fi
84046 rm -f conftest.err conftest.$ac_objext \
84047 conftest$ac_exeext conftest.$ac_ext
84048 LIBS=$ac_check_lib_save_LIBS
84049 fi
84050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84051 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84052 if test $ac_cv_lib_m_main = yes; then
84053 cat >>confdefs.h <<_ACEOF
84054 #define HAVE_LIBM 1
84055 _ACEOF
84056
84057 LIBS="-lm $LIBS"
84058
84059 fi
84060
84061
84062 for ac_func in copysignf
84063 do
84064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84065 echo "$as_me:$LINENO: checking for $ac_func" >&5
84066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84067 if eval "test \"\${$as_ac_var+set}\" = set"; then
84068 echo $ECHO_N "(cached) $ECHO_C" >&6
84069 else
84070 if test x$gcc_no_link = xyes; then
84071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84073 { (exit 1); exit 1; }; }
84074 fi
84075 cat >conftest.$ac_ext <<_ACEOF
84076 /* confdefs.h. */
84077 _ACEOF
84078 cat confdefs.h >>conftest.$ac_ext
84079 cat >>conftest.$ac_ext <<_ACEOF
84080 /* end confdefs.h. */
84081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84083 #define $ac_func innocuous_$ac_func
84084
84085 /* System header to define __stub macros and hopefully few prototypes,
84086 which can conflict with char $ac_func (); below.
84087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84088 <limits.h> exists even on freestanding compilers. */
84089
84090 #ifdef __STDC__
84091 # include <limits.h>
84092 #else
84093 # include <assert.h>
84094 #endif
84095
84096 #undef $ac_func
84097
84098 /* Override any gcc2 internal prototype to avoid an error. */
84099 #ifdef __cplusplus
84100 extern "C"
84101 {
84102 #endif
84103 /* We use char because int might match the return type of a gcc2
84104 builtin and then its argument prototype would still apply. */
84105 char $ac_func ();
84106 /* The GNU C library defines this for functions which it implements
84107 to always fail with ENOSYS. Some functions are actually named
84108 something starting with __ and the normal name is an alias. */
84109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84110 choke me
84111 #else
84112 char (*f) () = $ac_func;
84113 #endif
84114 #ifdef __cplusplus
84115 }
84116 #endif
84117
84118 int
84119 main ()
84120 {
84121 return f != $ac_func;
84122 ;
84123 return 0;
84124 }
84125 _ACEOF
84126 rm -f conftest.$ac_objext conftest$ac_exeext
84127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84128 (eval $ac_link) 2>conftest.er1
84129 ac_status=$?
84130 grep -v '^ *+' conftest.er1 >conftest.err
84131 rm -f conftest.er1
84132 cat conftest.err >&5
84133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134 (exit $ac_status); } &&
84135 { ac_try='test -z "$ac_c_werror_flag"
84136 || test ! -s conftest.err'
84137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84138 (eval $ac_try) 2>&5
84139 ac_status=$?
84140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84141 (exit $ac_status); }; } &&
84142 { ac_try='test -s conftest$ac_exeext'
84143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84144 (eval $ac_try) 2>&5
84145 ac_status=$?
84146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84147 (exit $ac_status); }; }; then
84148 eval "$as_ac_var=yes"
84149 else
84150 echo "$as_me: failed program was:" >&5
84151 sed 's/^/| /' conftest.$ac_ext >&5
84152
84153 eval "$as_ac_var=no"
84154 fi
84155 rm -f conftest.err conftest.$ac_objext \
84156 conftest$ac_exeext conftest.$ac_ext
84157 fi
84158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84160 if test `eval echo '${'$as_ac_var'}'` = yes; then
84161 cat >>confdefs.h <<_ACEOF
84162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84163 _ACEOF
84164
84165 else
84166 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84167 fi
84168 done
84169
84170
84171
84172 for ac_func in __signbit
84173 do
84174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84175 echo "$as_me:$LINENO: checking for $ac_func" >&5
84176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84177 if eval "test \"\${$as_ac_var+set}\" = set"; then
84178 echo $ECHO_N "(cached) $ECHO_C" >&6
84179 else
84180 if test x$gcc_no_link = xyes; then
84181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84183 { (exit 1); exit 1; }; }
84184 fi
84185 cat >conftest.$ac_ext <<_ACEOF
84186 /* confdefs.h. */
84187 _ACEOF
84188 cat confdefs.h >>conftest.$ac_ext
84189 cat >>conftest.$ac_ext <<_ACEOF
84190 /* end confdefs.h. */
84191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84193 #define $ac_func innocuous_$ac_func
84194
84195 /* System header to define __stub macros and hopefully few prototypes,
84196 which can conflict with char $ac_func (); below.
84197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84198 <limits.h> exists even on freestanding compilers. */
84199
84200 #ifdef __STDC__
84201 # include <limits.h>
84202 #else
84203 # include <assert.h>
84204 #endif
84205
84206 #undef $ac_func
84207
84208 /* Override any gcc2 internal prototype to avoid an error. */
84209 #ifdef __cplusplus
84210 extern "C"
84211 {
84212 #endif
84213 /* We use char because int might match the return type of a gcc2
84214 builtin and then its argument prototype would still apply. */
84215 char $ac_func ();
84216 /* The GNU C library defines this for functions which it implements
84217 to always fail with ENOSYS. Some functions are actually named
84218 something starting with __ and the normal name is an alias. */
84219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84220 choke me
84221 #else
84222 char (*f) () = $ac_func;
84223 #endif
84224 #ifdef __cplusplus
84225 }
84226 #endif
84227
84228 int
84229 main ()
84230 {
84231 return f != $ac_func;
84232 ;
84233 return 0;
84234 }
84235 _ACEOF
84236 rm -f conftest.$ac_objext conftest$ac_exeext
84237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84238 (eval $ac_link) 2>conftest.er1
84239 ac_status=$?
84240 grep -v '^ *+' conftest.er1 >conftest.err
84241 rm -f conftest.er1
84242 cat conftest.err >&5
84243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84244 (exit $ac_status); } &&
84245 { ac_try='test -z "$ac_c_werror_flag"
84246 || test ! -s conftest.err'
84247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84248 (eval $ac_try) 2>&5
84249 ac_status=$?
84250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84251 (exit $ac_status); }; } &&
84252 { ac_try='test -s conftest$ac_exeext'
84253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84254 (eval $ac_try) 2>&5
84255 ac_status=$?
84256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84257 (exit $ac_status); }; }; then
84258 eval "$as_ac_var=yes"
84259 else
84260 echo "$as_me: failed program was:" >&5
84261 sed 's/^/| /' conftest.$ac_ext >&5
84262
84263 eval "$as_ac_var=no"
84264 fi
84265 rm -f conftest.err conftest.$ac_objext \
84266 conftest$ac_exeext conftest.$ac_ext
84267 fi
84268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84270 if test `eval echo '${'$as_ac_var'}'` = yes; then
84271 cat >>confdefs.h <<_ACEOF
84272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84273 _ACEOF
84274
84275 else
84276 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84277 fi
84278 done
84279
84280
84281
84282 for ac_func in __signbitf
84283 do
84284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84285 echo "$as_me:$LINENO: checking for $ac_func" >&5
84286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84287 if eval "test \"\${$as_ac_var+set}\" = set"; then
84288 echo $ECHO_N "(cached) $ECHO_C" >&6
84289 else
84290 if test x$gcc_no_link = xyes; then
84291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84293 { (exit 1); exit 1; }; }
84294 fi
84295 cat >conftest.$ac_ext <<_ACEOF
84296 /* confdefs.h. */
84297 _ACEOF
84298 cat confdefs.h >>conftest.$ac_ext
84299 cat >>conftest.$ac_ext <<_ACEOF
84300 /* end confdefs.h. */
84301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84303 #define $ac_func innocuous_$ac_func
84304
84305 /* System header to define __stub macros and hopefully few prototypes,
84306 which can conflict with char $ac_func (); below.
84307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84308 <limits.h> exists even on freestanding compilers. */
84309
84310 #ifdef __STDC__
84311 # include <limits.h>
84312 #else
84313 # include <assert.h>
84314 #endif
84315
84316 #undef $ac_func
84317
84318 /* Override any gcc2 internal prototype to avoid an error. */
84319 #ifdef __cplusplus
84320 extern "C"
84321 {
84322 #endif
84323 /* We use char because int might match the return type of a gcc2
84324 builtin and then its argument prototype would still apply. */
84325 char $ac_func ();
84326 /* The GNU C library defines this for functions which it implements
84327 to always fail with ENOSYS. Some functions are actually named
84328 something starting with __ and the normal name is an alias. */
84329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84330 choke me
84331 #else
84332 char (*f) () = $ac_func;
84333 #endif
84334 #ifdef __cplusplus
84335 }
84336 #endif
84337
84338 int
84339 main ()
84340 {
84341 return f != $ac_func;
84342 ;
84343 return 0;
84344 }
84345 _ACEOF
84346 rm -f conftest.$ac_objext conftest$ac_exeext
84347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84348 (eval $ac_link) 2>conftest.er1
84349 ac_status=$?
84350 grep -v '^ *+' conftest.er1 >conftest.err
84351 rm -f conftest.er1
84352 cat conftest.err >&5
84353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84354 (exit $ac_status); } &&
84355 { ac_try='test -z "$ac_c_werror_flag"
84356 || test ! -s conftest.err'
84357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84358 (eval $ac_try) 2>&5
84359 ac_status=$?
84360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84361 (exit $ac_status); }; } &&
84362 { ac_try='test -s conftest$ac_exeext'
84363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84364 (eval $ac_try) 2>&5
84365 ac_status=$?
84366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84367 (exit $ac_status); }; }; then
84368 eval "$as_ac_var=yes"
84369 else
84370 echo "$as_me: failed program was:" >&5
84371 sed 's/^/| /' conftest.$ac_ext >&5
84372
84373 eval "$as_ac_var=no"
84374 fi
84375 rm -f conftest.err conftest.$ac_objext \
84376 conftest$ac_exeext conftest.$ac_ext
84377 fi
84378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84380 if test `eval echo '${'$as_ac_var'}'` = yes; then
84381 cat >>confdefs.h <<_ACEOF
84382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84383 _ACEOF
84384
84385 else
84386 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84387 fi
84388 done
84389
84390
84391 if test x$ac_cv_func_copysignl = x"yes"; then
84392
84393 for ac_func in __signbitl
84394 do
84395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84396 echo "$as_me:$LINENO: checking for $ac_func" >&5
84397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84398 if eval "test \"\${$as_ac_var+set}\" = set"; then
84399 echo $ECHO_N "(cached) $ECHO_C" >&6
84400 else
84401 if test x$gcc_no_link = xyes; then
84402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84404 { (exit 1); exit 1; }; }
84405 fi
84406 cat >conftest.$ac_ext <<_ACEOF
84407 /* confdefs.h. */
84408 _ACEOF
84409 cat confdefs.h >>conftest.$ac_ext
84410 cat >>conftest.$ac_ext <<_ACEOF
84411 /* end confdefs.h. */
84412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84414 #define $ac_func innocuous_$ac_func
84415
84416 /* System header to define __stub macros and hopefully few prototypes,
84417 which can conflict with char $ac_func (); below.
84418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84419 <limits.h> exists even on freestanding compilers. */
84420
84421 #ifdef __STDC__
84422 # include <limits.h>
84423 #else
84424 # include <assert.h>
84425 #endif
84426
84427 #undef $ac_func
84428
84429 /* Override any gcc2 internal prototype to avoid an error. */
84430 #ifdef __cplusplus
84431 extern "C"
84432 {
84433 #endif
84434 /* We use char because int might match the return type of a gcc2
84435 builtin and then its argument prototype would still apply. */
84436 char $ac_func ();
84437 /* The GNU C library defines this for functions which it implements
84438 to always fail with ENOSYS. Some functions are actually named
84439 something starting with __ and the normal name is an alias. */
84440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84441 choke me
84442 #else
84443 char (*f) () = $ac_func;
84444 #endif
84445 #ifdef __cplusplus
84446 }
84447 #endif
84448
84449 int
84450 main ()
84451 {
84452 return f != $ac_func;
84453 ;
84454 return 0;
84455 }
84456 _ACEOF
84457 rm -f conftest.$ac_objext conftest$ac_exeext
84458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84459 (eval $ac_link) 2>conftest.er1
84460 ac_status=$?
84461 grep -v '^ *+' conftest.er1 >conftest.err
84462 rm -f conftest.er1
84463 cat conftest.err >&5
84464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84465 (exit $ac_status); } &&
84466 { ac_try='test -z "$ac_c_werror_flag"
84467 || test ! -s conftest.err'
84468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84469 (eval $ac_try) 2>&5
84470 ac_status=$?
84471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84472 (exit $ac_status); }; } &&
84473 { ac_try='test -s conftest$ac_exeext'
84474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84475 (eval $ac_try) 2>&5
84476 ac_status=$?
84477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84478 (exit $ac_status); }; }; then
84479 eval "$as_ac_var=yes"
84480 else
84481 echo "$as_me: failed program was:" >&5
84482 sed 's/^/| /' conftest.$ac_ext >&5
84483
84484 eval "$as_ac_var=no"
84485 fi
84486 rm -f conftest.err conftest.$ac_objext \
84487 conftest$ac_exeext conftest.$ac_ext
84488 fi
84489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84491 if test `eval echo '${'$as_ac_var'}'` = yes; then
84492 cat >>confdefs.h <<_ACEOF
84493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84494 _ACEOF
84495
84496 else
84497 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84498 fi
84499 done
84500
84501 fi
84502
84503 # Used in libmath/Makefile.am.
84504 if test -n "$LIBMATHOBJS"; then
84505 need_libmath=yes
84506 fi
84507
84508
84509
84510
84511 enable_iconv=no
84512 # Only continue checking if the ISO C99 headers exist and support is on.
84513 if test x"$enable_wchar_t" = xyes; then
84514
84515 # Use iconv for wchar_t to char conversions. As such, check for
84516 # X/Open Portability Guide, version 2 features (XPG2).
84517 if test "${ac_cv_header_iconv_h+set}" = set; then
84518 echo "$as_me:$LINENO: checking for iconv.h" >&5
84519 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84520 if test "${ac_cv_header_iconv_h+set}" = set; then
84521 echo $ECHO_N "(cached) $ECHO_C" >&6
84522 fi
84523 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84524 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84525 else
84526 # Is the header compilable?
84527 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84528 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84529 cat >conftest.$ac_ext <<_ACEOF
84530 /* confdefs.h. */
84531 _ACEOF
84532 cat confdefs.h >>conftest.$ac_ext
84533 cat >>conftest.$ac_ext <<_ACEOF
84534 /* end confdefs.h. */
84535 $ac_includes_default
84536 #include <iconv.h>
84537 _ACEOF
84538 rm -f conftest.$ac_objext
84539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84540 (eval $ac_compile) 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_objext'
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_header_compiler=yes
84561 else
84562 echo "$as_me: failed program was:" >&5
84563 sed 's/^/| /' conftest.$ac_ext >&5
84564
84565 ac_header_compiler=no
84566 fi
84567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84568 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84569 echo "${ECHO_T}$ac_header_compiler" >&6
84570
84571 # Is the header present?
84572 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84573 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84574 cat >conftest.$ac_ext <<_ACEOF
84575 /* confdefs.h. */
84576 _ACEOF
84577 cat confdefs.h >>conftest.$ac_ext
84578 cat >>conftest.$ac_ext <<_ACEOF
84579 /* end confdefs.h. */
84580 #include <iconv.h>
84581 _ACEOF
84582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84584 ac_status=$?
84585 grep -v '^ *+' conftest.er1 >conftest.err
84586 rm -f conftest.er1
84587 cat conftest.err >&5
84588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84589 (exit $ac_status); } >/dev/null; then
84590 if test -s conftest.err; then
84591 ac_cpp_err=$ac_c_preproc_warn_flag
84592 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84593 else
84594 ac_cpp_err=
84595 fi
84596 else
84597 ac_cpp_err=yes
84598 fi
84599 if test -z "$ac_cpp_err"; then
84600 ac_header_preproc=yes
84601 else
84602 echo "$as_me: failed program was:" >&5
84603 sed 's/^/| /' conftest.$ac_ext >&5
84604
84605 ac_header_preproc=no
84606 fi
84607 rm -f conftest.err conftest.$ac_ext
84608 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84609 echo "${ECHO_T}$ac_header_preproc" >&6
84610
84611 # So? What about this header?
84612 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84613 yes:no: )
84614 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84615 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84616 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84617 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84618 ac_header_preproc=yes
84619 ;;
84620 no:yes:* )
84621 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84622 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84623 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84624 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84625 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84626 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84627 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84628 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84629 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84630 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84631 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84632 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84633 (
84634 cat <<\_ASBOX
84635 ## ----------------------------------------- ##
84636 ## Report this to the package-unused lists. ##
84637 ## ----------------------------------------- ##
84638 _ASBOX
84639 ) |
84640 sed "s/^/$as_me: WARNING: /" >&2
84641 ;;
84642 esac
84643 echo "$as_me:$LINENO: checking for iconv.h" >&5
84644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84645 if test "${ac_cv_header_iconv_h+set}" = set; then
84646 echo $ECHO_N "(cached) $ECHO_C" >&6
84647 else
84648 ac_cv_header_iconv_h=$ac_header_preproc
84649 fi
84650 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84651 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84652
84653 fi
84654 if test $ac_cv_header_iconv_h = yes; then
84655 ac_has_iconv_h=yes
84656 else
84657 ac_has_iconv_h=no
84658 fi
84659
84660
84661 if test "${ac_cv_header_langinfo_h+set}" = set; then
84662 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84663 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84664 if test "${ac_cv_header_langinfo_h+set}" = set; then
84665 echo $ECHO_N "(cached) $ECHO_C" >&6
84666 fi
84667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84669 else
84670 # Is the header compilable?
84671 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84672 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84673 cat >conftest.$ac_ext <<_ACEOF
84674 /* confdefs.h. */
84675 _ACEOF
84676 cat confdefs.h >>conftest.$ac_ext
84677 cat >>conftest.$ac_ext <<_ACEOF
84678 /* end confdefs.h. */
84679 $ac_includes_default
84680 #include <langinfo.h>
84681 _ACEOF
84682 rm -f conftest.$ac_objext
84683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84684 (eval $ac_compile) 2>conftest.er1
84685 ac_status=$?
84686 grep -v '^ *+' conftest.er1 >conftest.err
84687 rm -f conftest.er1
84688 cat conftest.err >&5
84689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84690 (exit $ac_status); } &&
84691 { ac_try='test -z "$ac_c_werror_flag"
84692 || test ! -s conftest.err'
84693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84694 (eval $ac_try) 2>&5
84695 ac_status=$?
84696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84697 (exit $ac_status); }; } &&
84698 { ac_try='test -s conftest.$ac_objext'
84699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84700 (eval $ac_try) 2>&5
84701 ac_status=$?
84702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84703 (exit $ac_status); }; }; then
84704 ac_header_compiler=yes
84705 else
84706 echo "$as_me: failed program was:" >&5
84707 sed 's/^/| /' conftest.$ac_ext >&5
84708
84709 ac_header_compiler=no
84710 fi
84711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84712 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84713 echo "${ECHO_T}$ac_header_compiler" >&6
84714
84715 # Is the header present?
84716 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84717 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84718 cat >conftest.$ac_ext <<_ACEOF
84719 /* confdefs.h. */
84720 _ACEOF
84721 cat confdefs.h >>conftest.$ac_ext
84722 cat >>conftest.$ac_ext <<_ACEOF
84723 /* end confdefs.h. */
84724 #include <langinfo.h>
84725 _ACEOF
84726 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84727 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84728 ac_status=$?
84729 grep -v '^ *+' conftest.er1 >conftest.err
84730 rm -f conftest.er1
84731 cat conftest.err >&5
84732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84733 (exit $ac_status); } >/dev/null; then
84734 if test -s conftest.err; then
84735 ac_cpp_err=$ac_c_preproc_warn_flag
84736 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84737 else
84738 ac_cpp_err=
84739 fi
84740 else
84741 ac_cpp_err=yes
84742 fi
84743 if test -z "$ac_cpp_err"; then
84744 ac_header_preproc=yes
84745 else
84746 echo "$as_me: failed program was:" >&5
84747 sed 's/^/| /' conftest.$ac_ext >&5
84748
84749 ac_header_preproc=no
84750 fi
84751 rm -f conftest.err conftest.$ac_ext
84752 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84753 echo "${ECHO_T}$ac_header_preproc" >&6
84754
84755 # So? What about this header?
84756 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84757 yes:no: )
84758 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84759 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84760 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84761 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84762 ac_header_preproc=yes
84763 ;;
84764 no:yes:* )
84765 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84766 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84767 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84768 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84769 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84770 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84771 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84772 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84773 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84774 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84775 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84776 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84777 (
84778 cat <<\_ASBOX
84779 ## ----------------------------------------- ##
84780 ## Report this to the package-unused lists. ##
84781 ## ----------------------------------------- ##
84782 _ASBOX
84783 ) |
84784 sed "s/^/$as_me: WARNING: /" >&2
84785 ;;
84786 esac
84787 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84788 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84789 if test "${ac_cv_header_langinfo_h+set}" = set; then
84790 echo $ECHO_N "(cached) $ECHO_C" >&6
84791 else
84792 ac_cv_header_langinfo_h=$ac_header_preproc
84793 fi
84794 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84795 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84796
84797 fi
84798 if test $ac_cv_header_langinfo_h = yes; then
84799 ac_has_langinfo_h=yes
84800 else
84801 ac_has_langinfo_h=no
84802 fi
84803
84804
84805
84806 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84807 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84808 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84809 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84810 echo $ECHO_N "(cached) $ECHO_C" >&6
84811 else
84812 ac_check_lib_save_LIBS=$LIBS
84813 LIBS="-liconv $LIBS"
84814 if test x$gcc_no_link = xyes; then
84815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84817 { (exit 1); exit 1; }; }
84818 fi
84819 cat >conftest.$ac_ext <<_ACEOF
84820 /* confdefs.h. */
84821 _ACEOF
84822 cat confdefs.h >>conftest.$ac_ext
84823 cat >>conftest.$ac_ext <<_ACEOF
84824 /* end confdefs.h. */
84825
84826 /* Override any gcc2 internal prototype to avoid an error. */
84827 #ifdef __cplusplus
84828 extern "C"
84829 #endif
84830 /* We use char because int might match the return type of a gcc2
84831 builtin and then its argument prototype would still apply. */
84832 char iconv ();
84833 int
84834 main ()
84835 {
84836 iconv ();
84837 ;
84838 return 0;
84839 }
84840 _ACEOF
84841 rm -f conftest.$ac_objext conftest$ac_exeext
84842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84843 (eval $ac_link) 2>conftest.er1
84844 ac_status=$?
84845 grep -v '^ *+' conftest.er1 >conftest.err
84846 rm -f conftest.er1
84847 cat conftest.err >&5
84848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84849 (exit $ac_status); } &&
84850 { ac_try='test -z "$ac_c_werror_flag"
84851 || test ! -s conftest.err'
84852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84853 (eval $ac_try) 2>&5
84854 ac_status=$?
84855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84856 (exit $ac_status); }; } &&
84857 { ac_try='test -s conftest$ac_exeext'
84858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84859 (eval $ac_try) 2>&5
84860 ac_status=$?
84861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84862 (exit $ac_status); }; }; then
84863 ac_cv_lib_iconv_iconv=yes
84864 else
84865 echo "$as_me: failed program was:" >&5
84866 sed 's/^/| /' conftest.$ac_ext >&5
84867
84868 ac_cv_lib_iconv_iconv=no
84869 fi
84870 rm -f conftest.err conftest.$ac_objext \
84871 conftest$ac_exeext conftest.$ac_ext
84872 LIBS=$ac_check_lib_save_LIBS
84873 fi
84874 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84875 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84876 if test $ac_cv_lib_iconv_iconv = yes; then
84877 LIBICONV="-liconv"
84878 fi
84879
84880 ac_save_LIBS="$LIBS"
84881 LIBS="$LIBS $LIBICONV"
84882
84883
84884
84885
84886
84887
84888 for ac_func in iconv_open iconv_close iconv nl_langinfo
84889 do
84890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84891 echo "$as_me:$LINENO: checking for $ac_func" >&5
84892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84893 if eval "test \"\${$as_ac_var+set}\" = set"; then
84894 echo $ECHO_N "(cached) $ECHO_C" >&6
84895 else
84896 if test x$gcc_no_link = xyes; then
84897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84899 { (exit 1); exit 1; }; }
84900 fi
84901 cat >conftest.$ac_ext <<_ACEOF
84902 /* confdefs.h. */
84903 _ACEOF
84904 cat confdefs.h >>conftest.$ac_ext
84905 cat >>conftest.$ac_ext <<_ACEOF
84906 /* end confdefs.h. */
84907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84909 #define $ac_func innocuous_$ac_func
84910
84911 /* System header to define __stub macros and hopefully few prototypes,
84912 which can conflict with char $ac_func (); below.
84913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84914 <limits.h> exists even on freestanding compilers. */
84915
84916 #ifdef __STDC__
84917 # include <limits.h>
84918 #else
84919 # include <assert.h>
84920 #endif
84921
84922 #undef $ac_func
84923
84924 /* Override any gcc2 internal prototype to avoid an error. */
84925 #ifdef __cplusplus
84926 extern "C"
84927 {
84928 #endif
84929 /* We use char because int might match the return type of a gcc2
84930 builtin and then its argument prototype would still apply. */
84931 char $ac_func ();
84932 /* The GNU C library defines this for functions which it implements
84933 to always fail with ENOSYS. Some functions are actually named
84934 something starting with __ and the normal name is an alias. */
84935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84936 choke me
84937 #else
84938 char (*f) () = $ac_func;
84939 #endif
84940 #ifdef __cplusplus
84941 }
84942 #endif
84943
84944 int
84945 main ()
84946 {
84947 return f != $ac_func;
84948 ;
84949 return 0;
84950 }
84951 _ACEOF
84952 rm -f conftest.$ac_objext conftest$ac_exeext
84953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84954 (eval $ac_link) 2>conftest.er1
84955 ac_status=$?
84956 grep -v '^ *+' conftest.er1 >conftest.err
84957 rm -f conftest.er1
84958 cat conftest.err >&5
84959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84960 (exit $ac_status); } &&
84961 { ac_try='test -z "$ac_c_werror_flag"
84962 || test ! -s conftest.err'
84963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84964 (eval $ac_try) 2>&5
84965 ac_status=$?
84966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84967 (exit $ac_status); }; } &&
84968 { ac_try='test -s conftest$ac_exeext'
84969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84970 (eval $ac_try) 2>&5
84971 ac_status=$?
84972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84973 (exit $ac_status); }; }; then
84974 eval "$as_ac_var=yes"
84975 else
84976 echo "$as_me: failed program was:" >&5
84977 sed 's/^/| /' conftest.$ac_ext >&5
84978
84979 eval "$as_ac_var=no"
84980 fi
84981 rm -f conftest.err conftest.$ac_objext \
84982 conftest$ac_exeext conftest.$ac_ext
84983 fi
84984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84986 if test `eval echo '${'$as_ac_var'}'` = yes; then
84987 cat >>confdefs.h <<_ACEOF
84988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84989 _ACEOF
84990 ac_XPG2funcs=yes
84991 else
84992 ac_XPG2funcs=no
84993 fi
84994 done
84995
84996
84997 LIBS="$ac_save_LIBS"
84998
84999 if test x"$ac_has_iconv_h" = xyes &&
85000 test x"$ac_has_langinfo_h" = xyes &&
85001 test x"$ac_XPG2funcs" = xyes;
85002 then
85003
85004 cat >>confdefs.h <<\_ACEOF
85005 #define _GLIBCXX_USE_ICONV 1
85006 _ACEOF
85007
85008 enable_iconv=yes
85009 fi
85010 fi
85011 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85012 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85013 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85014 echo "${ECHO_T}$enable_iconv" >&6
85015
85016 cat >>confdefs.h <<\_ACEOF
85017 #define HAVE_COPYSIGN 1
85018 _ACEOF
85019
85020 cat >>confdefs.h <<\_ACEOF
85021 #define HAVE_COPYSIGNF 1
85022 _ACEOF
85023
85024 cat >>confdefs.h <<\_ACEOF
85025 #define HAVE_FINITE 1
85026 _ACEOF
85027
85028 cat >>confdefs.h <<\_ACEOF
85029 #define HAVE_FINITEF 1
85030 _ACEOF
85031
85032 cat >>confdefs.h <<\_ACEOF
85033 #define HAVE_FREXPF 1
85034 _ACEOF
85035
85036 cat >>confdefs.h <<\_ACEOF
85037 #define HAVE_HYPOTF 1
85038 _ACEOF
85039
85040 cat >>confdefs.h <<\_ACEOF
85041 #define HAVE_ISINF 1
85042 _ACEOF
85043
85044 cat >>confdefs.h <<\_ACEOF
85045 #define HAVE_ISINFF 1
85046 _ACEOF
85047
85048 cat >>confdefs.h <<\_ACEOF
85049 #define HAVE_ISNAN 1
85050 _ACEOF
85051
85052 cat >>confdefs.h <<\_ACEOF
85053 #define HAVE_ISNANF 1
85054 _ACEOF
85055
85056 cat >>confdefs.h <<\_ACEOF
85057 #define HAVE_SINCOS 1
85058 _ACEOF
85059
85060 cat >>confdefs.h <<\_ACEOF
85061 #define HAVE_SINCOSF 1
85062 _ACEOF
85063
85064 if test x"long_double_math_on_this_cpu" = x"yes"; then
85065 cat >>confdefs.h <<\_ACEOF
85066 #define HAVE_FINITEL 1
85067 _ACEOF
85068
85069 cat >>confdefs.h <<\_ACEOF
85070 #define HAVE_HYPOTL 1
85071 _ACEOF
85072
85073 cat >>confdefs.h <<\_ACEOF
85074 #define HAVE_ISINFL 1
85075 _ACEOF
85076
85077 cat >>confdefs.h <<\_ACEOF
85078 #define HAVE_ISNANL 1
85079 _ACEOF
85080
85081 fi
85082 ;;
85083 *-vxworks)
85084 cat >>confdefs.h <<\_ACEOF
85085 #define HAVE_MMAP 1
85086 _ACEOF
85087
85088 cat >>confdefs.h <<\_ACEOF
85089 #define HAVE_ACOSF 1
85090 _ACEOF
85091
85092 cat >>confdefs.h <<\_ACEOF
85093 #define HAVE_ASINF 1
85094 _ACEOF
85095
85096 cat >>confdefs.h <<\_ACEOF
85097 #define HAVE_ATAN2F 1
85098 _ACEOF
85099
85100 cat >>confdefs.h <<\_ACEOF
85101 #define HAVE_ATANF 1
85102 _ACEOF
85103
85104 cat >>confdefs.h <<\_ACEOF
85105 #define HAVE_CEILF 1
85106 _ACEOF
85107
85108 cat >>confdefs.h <<\_ACEOF
85109 #define HAVE_COSF 1
85110 _ACEOF
85111
85112 cat >>confdefs.h <<\_ACEOF
85113 #define HAVE_COSHF 1
85114 _ACEOF
85115
85116 cat >>confdefs.h <<\_ACEOF
85117 #define HAVE_EXPF 1
85118 _ACEOF
85119
85120 cat >>confdefs.h <<\_ACEOF
85121 #define HAVE_FABSF 1
85122 _ACEOF
85123
85124 cat >>confdefs.h <<\_ACEOF
85125 #define HAVE_FLOORF 1
85126 _ACEOF
85127
85128 cat >>confdefs.h <<\_ACEOF
85129 #define HAVE_FMODF 1
85130 _ACEOF
85131
85132 cat >>confdefs.h <<\_ACEOF
85133 #define HAVE_HYPOT 1
85134 _ACEOF
85135
85136 cat >>confdefs.h <<\_ACEOF
85137 #define HAVE_LOG10F 1
85138 _ACEOF
85139
85140 cat >>confdefs.h <<\_ACEOF
85141 #define HAVE_LOGF 1
85142 _ACEOF
85143
85144 cat >>confdefs.h <<\_ACEOF
85145 #define HAVE_POWF 1
85146 _ACEOF
85147
85148 cat >>confdefs.h <<\_ACEOF
85149 #define HAVE_SINF 1
85150 _ACEOF
85151
85152 cat >>confdefs.h <<\_ACEOF
85153 #define HAVE_SINHF 1
85154 _ACEOF
85155
85156 cat >>confdefs.h <<\_ACEOF
85157 #define HAVE_SQRTF 1
85158 _ACEOF
85159
85160 cat >>confdefs.h <<\_ACEOF
85161 #define HAVE_TANF 1
85162 _ACEOF
85163
85164 cat >>confdefs.h <<\_ACEOF
85165 #define HAVE_TANHF 1
85166 _ACEOF
85167
85168 ;;
85169 *-windiss*)
85170 cat >>confdefs.h <<\_ACEOF
85171 #define HAVE_ACOSF 1
85172 _ACEOF
85173
85174 cat >>confdefs.h <<\_ACEOF
85175 #define HAVE_ACOSL 1
85176 _ACEOF
85177
85178 cat >>confdefs.h <<\_ACEOF
85179 #define HAVE_ASINF 1
85180 _ACEOF
85181
85182 cat >>confdefs.h <<\_ACEOF
85183 #define HAVE_ASINL 1
85184 _ACEOF
85185
85186 cat >>confdefs.h <<\_ACEOF
85187 #define HAVE_ATAN2F 1
85188 _ACEOF
85189
85190 cat >>confdefs.h <<\_ACEOF
85191 #define HAVE_ATAN2L 1
85192 _ACEOF
85193
85194 cat >>confdefs.h <<\_ACEOF
85195 #define HAVE_ATANF 1
85196 _ACEOF
85197
85198 cat >>confdefs.h <<\_ACEOF
85199 #define HAVE_ATANL 1
85200 _ACEOF
85201
85202 cat >>confdefs.h <<\_ACEOF
85203 #define HAVE_CEILF 1
85204 _ACEOF
85205
85206 cat >>confdefs.h <<\_ACEOF
85207 #define HAVE_CEILL 1
85208 _ACEOF
85209
85210 cat >>confdefs.h <<\_ACEOF
85211 #define HAVE_COPYSIGN 1
85212 _ACEOF
85213
85214 cat >>confdefs.h <<\_ACEOF
85215 #define HAVE_COPYSIGNF 1
85216 _ACEOF
85217
85218 cat >>confdefs.h <<\_ACEOF
85219 #define HAVE_COSF 1
85220 _ACEOF
85221
85222 cat >>confdefs.h <<\_ACEOF
85223 #define HAVE_COSL 1
85224 _ACEOF
85225
85226 cat >>confdefs.h <<\_ACEOF
85227 #define HAVE_COSHF 1
85228 _ACEOF
85229
85230 cat >>confdefs.h <<\_ACEOF
85231 #define HAVE_COSHL 1
85232 _ACEOF
85233
85234 cat >>confdefs.h <<\_ACEOF
85235 #define HAVE_EXPF 1
85236 _ACEOF
85237
85238 cat >>confdefs.h <<\_ACEOF
85239 #define HAVE_EXPL 1
85240 _ACEOF
85241
85242 cat >>confdefs.h <<\_ACEOF
85243 #define HAVE_FABSF 1
85244 _ACEOF
85245
85246 cat >>confdefs.h <<\_ACEOF
85247 #define HAVE_FABSL 1
85248 _ACEOF
85249
85250 cat >>confdefs.h <<\_ACEOF
85251 #define HAVE_FLOORF 1
85252 _ACEOF
85253
85254 cat >>confdefs.h <<\_ACEOF
85255 #define HAVE_FLOORL 1
85256 _ACEOF
85257
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_FMODF 1
85260 _ACEOF
85261
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_FMODL 1
85264 _ACEOF
85265
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_FREXPF 1
85268 _ACEOF
85269
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_FREXPL 1
85272 _ACEOF
85273
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_LDEXPF 1
85276 _ACEOF
85277
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_LDEXPL 1
85280 _ACEOF
85281
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_LOG10F 1
85284 _ACEOF
85285
85286 cat >>confdefs.h <<\_ACEOF
85287 #define HAVE_LOG10L 1
85288 _ACEOF
85289
85290 cat >>confdefs.h <<\_ACEOF
85291 #define HAVE_LOGF 1
85292 _ACEOF
85293
85294 cat >>confdefs.h <<\_ACEOF
85295 #define HAVE_MODFF 1
85296 _ACEOF
85297
85298 cat >>confdefs.h <<\_ACEOF
85299 #define HAVE_MODFL 1
85300 _ACEOF
85301
85302 cat >>confdefs.h <<\_ACEOF
85303 #define HAVE_POWF 1
85304 _ACEOF
85305
85306 cat >>confdefs.h <<\_ACEOF
85307 #define HAVE_POWL 1
85308 _ACEOF
85309
85310 cat >>confdefs.h <<\_ACEOF
85311 #define HAVE_SINF 1
85312 _ACEOF
85313
85314 cat >>confdefs.h <<\_ACEOF
85315 #define HAVE_SINL 1
85316 _ACEOF
85317
85318 cat >>confdefs.h <<\_ACEOF
85319 #define HAVE_SINHF 1
85320 _ACEOF
85321
85322 cat >>confdefs.h <<\_ACEOF
85323 #define HAVE_SINHL 1
85324 _ACEOF
85325
85326 cat >>confdefs.h <<\_ACEOF
85327 #define HAVE_SQRTF 1
85328 _ACEOF
85329
85330 cat >>confdefs.h <<\_ACEOF
85331 #define HAVE_SQRTL 1
85332 _ACEOF
85333
85334 cat >>confdefs.h <<\_ACEOF
85335 #define HAVE_TANF 1
85336 _ACEOF
85337
85338 cat >>confdefs.h <<\_ACEOF
85339 #define HAVE_TANL 1
85340 _ACEOF
85341
85342 cat >>confdefs.h <<\_ACEOF
85343 #define HAVE_TANHF 1
85344 _ACEOF
85345
85346 cat >>confdefs.h <<\_ACEOF
85347 #define HAVE_TANHL 1
85348 _ACEOF
85349
85350 ;;
85351 *)
85352 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
85353 echo "$as_me: error: No support for this host/target combination." >&2;}
85354 { (exit 1); exit 1; }; }
85355 ;;
85356 esac
85357
85358
85359 fi
85360
85361 # At some point, we should differentiate between architectures
85362 # like x86, which have long double versions, and alpha/powerpc/etc.,
85363 # which don't. For the time being, punt.
85364 if test x"long_double_math_on_this_cpu" = x"yes"; then
85365 cat >>confdefs.h <<\_ACEOF
85366 #define HAVE_ACOSL 1
85367 _ACEOF
85368
85369 cat >>confdefs.h <<\_ACEOF
85370 #define HAVE_ASINL 1
85371 _ACEOF
85372
85373 cat >>confdefs.h <<\_ACEOF
85374 #define HAVE_ATAN2L 1
85375 _ACEOF
85376
85377 cat >>confdefs.h <<\_ACEOF
85378 #define HAVE_ATANL 1
85379 _ACEOF
85380
85381 cat >>confdefs.h <<\_ACEOF
85382 #define HAVE_CEILL 1
85383 _ACEOF
85384
85385 cat >>confdefs.h <<\_ACEOF
85386 #define HAVE_COPYSIGNL 1
85387 _ACEOF
85388
85389 cat >>confdefs.h <<\_ACEOF
85390 #define HAVE_COSL 1
85391 _ACEOF
85392
85393 cat >>confdefs.h <<\_ACEOF
85394 #define HAVE_COSHL 1
85395 _ACEOF
85396
85397 cat >>confdefs.h <<\_ACEOF
85398 #define HAVE_EXPL 1
85399 _ACEOF
85400
85401 cat >>confdefs.h <<\_ACEOF
85402 #define HAVE_FABSL 1
85403 _ACEOF
85404
85405 cat >>confdefs.h <<\_ACEOF
85406 #define HAVE_FLOORL 1
85407 _ACEOF
85408
85409 cat >>confdefs.h <<\_ACEOF
85410 #define HAVE_FMODL 1
85411 _ACEOF
85412
85413 cat >>confdefs.h <<\_ACEOF
85414 #define HAVE_FREXPL 1
85415 _ACEOF
85416
85417 cat >>confdefs.h <<\_ACEOF
85418 #define HAVE_LDEXPL 1
85419 _ACEOF
85420
85421 cat >>confdefs.h <<\_ACEOF
85422 #define HAVE_LOG10L 1
85423 _ACEOF
85424
85425 cat >>confdefs.h <<\_ACEOF
85426 #define HAVE_LOGL 1
85427 _ACEOF
85428
85429 cat >>confdefs.h <<\_ACEOF
85430 #define HAVE_MODFL 1
85431 _ACEOF
85432
85433 cat >>confdefs.h <<\_ACEOF
85434 #define HAVE_POWL 1
85435 _ACEOF
85436
85437 cat >>confdefs.h <<\_ACEOF
85438 #define HAVE_SINCOSL 1
85439 _ACEOF
85440
85441 cat >>confdefs.h <<\_ACEOF
85442 #define HAVE_SINL 1
85443 _ACEOF
85444
85445 cat >>confdefs.h <<\_ACEOF
85446 #define HAVE_SINHL 1
85447 _ACEOF
85448
85449 cat >>confdefs.h <<\_ACEOF
85450 #define HAVE_SQRTL 1
85451 _ACEOF
85452
85453 cat >>confdefs.h <<\_ACEOF
85454 #define HAVE_TANL 1
85455 _ACEOF
85456
85457 cat >>confdefs.h <<\_ACEOF
85458 #define HAVE_TANHL 1
85459 _ACEOF
85460
85461 fi
85462
85463 fi
85464
85465 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
85466
85467
85468 # Check whether --enable-symvers or --disable-symvers was given.
85469 if test "${enable_symvers+set}" = set; then
85470 enableval="$enable_symvers"
85471
85472 case "$enableval" in
85473 yes|no|gnu) ;;
85474 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
85475 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
85476 { (exit 1); exit 1; }; } ;;
85477 esac
85478
85479 else
85480 enable_symvers=yes
85481 fi;
85482
85483
85484 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
85485 # don't know enough about $LD to do tricks...
85486
85487 # FIXME The following test is too strict, in theory.
85488 if test $enable_shared = no ||
85489 test "x$LD" = x ||
85490 test x$glibcxx_gnu_ld_version = x; then
85491 enable_symvers=no
85492 fi
85493
85494 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
85495 if test $enable_symvers != no; then
85496 echo "$as_me:$LINENO: checking for shared libgcc" >&5
85497 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
85498 ac_save_CFLAGS="$CFLAGS"
85499 CFLAGS=' -lgcc_s'
85500 if test x$gcc_no_link = xyes; then
85501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85503 { (exit 1); exit 1; }; }
85504 fi
85505 cat >conftest.$ac_ext <<_ACEOF
85506 /* confdefs.h. */
85507 _ACEOF
85508 cat confdefs.h >>conftest.$ac_ext
85509 cat >>conftest.$ac_ext <<_ACEOF
85510 /* end confdefs.h. */
85511
85512 int
85513 main ()
85514 {
85515 return 0;
85516 ;
85517 return 0;
85518 }
85519 _ACEOF
85520 rm -f conftest.$ac_objext conftest$ac_exeext
85521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85522 (eval $ac_link) 2>conftest.er1
85523 ac_status=$?
85524 grep -v '^ *+' conftest.er1 >conftest.err
85525 rm -f conftest.er1
85526 cat conftest.err >&5
85527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85528 (exit $ac_status); } &&
85529 { ac_try='test -z "$ac_c_werror_flag"
85530 || test ! -s conftest.err'
85531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85532 (eval $ac_try) 2>&5
85533 ac_status=$?
85534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85535 (exit $ac_status); }; } &&
85536 { ac_try='test -s conftest$ac_exeext'
85537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85538 (eval $ac_try) 2>&5
85539 ac_status=$?
85540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85541 (exit $ac_status); }; }; then
85542 glibcxx_shared_libgcc=yes
85543 else
85544 echo "$as_me: failed program was:" >&5
85545 sed 's/^/| /' conftest.$ac_ext >&5
85546
85547 glibcxx_shared_libgcc=no
85548 fi
85549 rm -f conftest.err conftest.$ac_objext \
85550 conftest$ac_exeext conftest.$ac_ext
85551 CFLAGS="$ac_save_CFLAGS"
85552 if test $glibcxx_shared_libgcc = no; then
85553 cat > conftest.c <<EOF
85554 int main (void) { return 0; }
85555 EOF
85556 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
85557 -shared -shared-libgcc -o conftest.so \
85558 conftest.c -v 2>&1 >/dev/null \
85559 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
85560 rm -f conftest.c conftest.so
85561 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
85562 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
85563 if test x$gcc_no_link = xyes; then
85564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85566 { (exit 1); exit 1; }; }
85567 fi
85568 cat >conftest.$ac_ext <<_ACEOF
85569 /* confdefs.h. */
85570 _ACEOF
85571 cat confdefs.h >>conftest.$ac_ext
85572 cat >>conftest.$ac_ext <<_ACEOF
85573 /* end confdefs.h. */
85574
85575 int
85576 main ()
85577 {
85578 return 0;
85579 ;
85580 return 0;
85581 }
85582 _ACEOF
85583 rm -f conftest.$ac_objext conftest$ac_exeext
85584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85585 (eval $ac_link) 2>conftest.er1
85586 ac_status=$?
85587 grep -v '^ *+' conftest.er1 >conftest.err
85588 rm -f conftest.er1
85589 cat conftest.err >&5
85590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85591 (exit $ac_status); } &&
85592 { ac_try='test -z "$ac_c_werror_flag"
85593 || test ! -s conftest.err'
85594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85595 (eval $ac_try) 2>&5
85596 ac_status=$?
85597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85598 (exit $ac_status); }; } &&
85599 { ac_try='test -s conftest$ac_exeext'
85600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85601 (eval $ac_try) 2>&5
85602 ac_status=$?
85603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85604 (exit $ac_status); }; }; then
85605 glibcxx_shared_libgcc=yes
85606 else
85607 echo "$as_me: failed program was:" >&5
85608 sed 's/^/| /' conftest.$ac_ext >&5
85609
85610 fi
85611 rm -f conftest.err conftest.$ac_objext \
85612 conftest$ac_exeext conftest.$ac_ext
85613 CFLAGS="$ac_save_CFLAGS"
85614 fi
85615 fi
85616 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
85617 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
85618 fi
85619
85620 # For GNU ld, we need at least this version. The format is described in
85621 # GLIBCXX_CHECK_LINKER_FEATURES above.
85622 glibcxx_min_gnu_ld_version=21400
85623 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
85624
85625 # Check to see if unspecified "yes" value can win, given results above.
85626 # Change "yes" into either "no" or a style name.
85627 if test $enable_symvers = yes; then
85628 if test $with_gnu_ld = yes &&
85629 test $glibcxx_shared_libgcc = yes;
85630 then
85631 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
85632 enable_symvers=gnu
85633 else
85634 # The right tools, the right setup, but too old. Fallbacks?
85635 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
85636 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
85637 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
85638 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
85639 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
85640 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
85641 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
85642 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
85643 if test $glibcxx_gnu_ld_version -ge 21200 ; then
85644 # Globbing fix is present, proper block support is not.
85645 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85646 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85647 enable_symvers=no
85648 else
85649 # 2.11 or older.
85650 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85651 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85652 enable_symvers=no
85653 fi
85654 fi
85655 else
85656 # just fail for now
85657 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
85658 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
85659 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
85660 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
85661 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
85662 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
85663 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
85664 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
85665 enable_symvers=no
85666 fi
85667 fi
85668
85669 # Everything parsed; figure out what file to use.
85670 case $enable_symvers in
85671 no)
85672 SYMVER_MAP=config/linker-map.dummy
85673 ;;
85674 gnu)
85675 SYMVER_MAP=config/linker-map.gnu
85676 cat >>confdefs.h <<\_ACEOF
85677 #define _GLIBCXX_SYMVER 1
85678 _ACEOF
85679
85680 ;;
85681 esac
85682
85683
85684
85685
85686 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
85687 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
85688
85689
85690 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
85691
85692 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
85693 # Do checks for resource limit functions.
85694
85695 setrlimit_have_headers=yes
85696
85697
85698
85699 for ac_header in unistd.h sys/time.h sys/resource.h
85700 do
85701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85703 echo "$as_me:$LINENO: checking for $ac_header" >&5
85704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85706 echo $ECHO_N "(cached) $ECHO_C" >&6
85707 fi
85708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85710 else
85711 # Is the header compilable?
85712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85714 cat >conftest.$ac_ext <<_ACEOF
85715 /* confdefs.h. */
85716 _ACEOF
85717 cat confdefs.h >>conftest.$ac_ext
85718 cat >>conftest.$ac_ext <<_ACEOF
85719 /* end confdefs.h. */
85720 $ac_includes_default
85721 #include <$ac_header>
85722 _ACEOF
85723 rm -f conftest.$ac_objext
85724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85725 (eval $ac_compile) 2>conftest.er1
85726 ac_status=$?
85727 grep -v '^ *+' conftest.er1 >conftest.err
85728 rm -f conftest.er1
85729 cat conftest.err >&5
85730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85731 (exit $ac_status); } &&
85732 { ac_try='test -z "$ac_c_werror_flag"
85733 || test ! -s conftest.err'
85734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85735 (eval $ac_try) 2>&5
85736 ac_status=$?
85737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85738 (exit $ac_status); }; } &&
85739 { ac_try='test -s conftest.$ac_objext'
85740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85741 (eval $ac_try) 2>&5
85742 ac_status=$?
85743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85744 (exit $ac_status); }; }; then
85745 ac_header_compiler=yes
85746 else
85747 echo "$as_me: failed program was:" >&5
85748 sed 's/^/| /' conftest.$ac_ext >&5
85749
85750 ac_header_compiler=no
85751 fi
85752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85754 echo "${ECHO_T}$ac_header_compiler" >&6
85755
85756 # Is the header present?
85757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85759 cat >conftest.$ac_ext <<_ACEOF
85760 /* confdefs.h. */
85761 _ACEOF
85762 cat confdefs.h >>conftest.$ac_ext
85763 cat >>conftest.$ac_ext <<_ACEOF
85764 /* end confdefs.h. */
85765 #include <$ac_header>
85766 _ACEOF
85767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85768 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85769 ac_status=$?
85770 grep -v '^ *+' conftest.er1 >conftest.err
85771 rm -f conftest.er1
85772 cat conftest.err >&5
85773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85774 (exit $ac_status); } >/dev/null; then
85775 if test -s conftest.err; then
85776 ac_cpp_err=$ac_c_preproc_warn_flag
85777 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85778 else
85779 ac_cpp_err=
85780 fi
85781 else
85782 ac_cpp_err=yes
85783 fi
85784 if test -z "$ac_cpp_err"; then
85785 ac_header_preproc=yes
85786 else
85787 echo "$as_me: failed program was:" >&5
85788 sed 's/^/| /' conftest.$ac_ext >&5
85789
85790 ac_header_preproc=no
85791 fi
85792 rm -f conftest.err conftest.$ac_ext
85793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85794 echo "${ECHO_T}$ac_header_preproc" >&6
85795
85796 # So? What about this header?
85797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85798 yes:no: )
85799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85803 ac_header_preproc=yes
85804 ;;
85805 no:yes:* )
85806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85818 (
85819 cat <<\_ASBOX
85820 ## ----------------------------------------- ##
85821 ## Report this to the package-unused lists. ##
85822 ## ----------------------------------------- ##
85823 _ASBOX
85824 ) |
85825 sed "s/^/$as_me: WARNING: /" >&2
85826 ;;
85827 esac
85828 echo "$as_me:$LINENO: checking for $ac_header" >&5
85829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85831 echo $ECHO_N "(cached) $ECHO_C" >&6
85832 else
85833 eval "$as_ac_Header=\$ac_header_preproc"
85834 fi
85835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85837
85838 fi
85839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85840 cat >>confdefs.h <<_ACEOF
85841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85842 _ACEOF
85843
85844 else
85845 setrlimit_have_headers=no
85846 fi
85847
85848 done
85849
85850 # If don't have the headers, then we can't run the tests now, and we
85851 # won't be seeing any of these during testsuite compilation.
85852 if test $setrlimit_have_headers = yes; then
85853 # Can't do these in a loop, else the resulting syntax is wrong.
85854
85855 cat >conftest.$ac_ext <<_ACEOF
85856 /* confdefs.h. */
85857 _ACEOF
85858 cat confdefs.h >>conftest.$ac_ext
85859 cat >>conftest.$ac_ext <<_ACEOF
85860 /* end confdefs.h. */
85861 #include <unistd.h>
85862 #include <sys/time.h>
85863 #include <sys/resource.h>
85864
85865 int
85866 main ()
85867 {
85868 int f = RLIMIT_DATA ;
85869 ;
85870 return 0;
85871 }
85872 _ACEOF
85873 rm -f conftest.$ac_objext
85874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85875 (eval $ac_compile) 2>conftest.er1
85876 ac_status=$?
85877 grep -v '^ *+' conftest.er1 >conftest.err
85878 rm -f conftest.er1
85879 cat conftest.err >&5
85880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85881 (exit $ac_status); } &&
85882 { ac_try='test -z "$ac_c_werror_flag"
85883 || test ! -s conftest.err'
85884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85885 (eval $ac_try) 2>&5
85886 ac_status=$?
85887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85888 (exit $ac_status); }; } &&
85889 { ac_try='test -s conftest.$ac_objext'
85890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85891 (eval $ac_try) 2>&5
85892 ac_status=$?
85893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85894 (exit $ac_status); }; }; then
85895 glibcxx_mresult=1
85896 else
85897 echo "$as_me: failed program was:" >&5
85898 sed 's/^/| /' conftest.$ac_ext >&5
85899
85900 glibcxx_mresult=0
85901 fi
85902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85903
85904 cat >>confdefs.h <<_ACEOF
85905 #define HAVE_LIMIT_DATA $glibcxx_mresult
85906 _ACEOF
85907
85908
85909
85910 cat >conftest.$ac_ext <<_ACEOF
85911 /* confdefs.h. */
85912 _ACEOF
85913 cat confdefs.h >>conftest.$ac_ext
85914 cat >>conftest.$ac_ext <<_ACEOF
85915 /* end confdefs.h. */
85916 #include <unistd.h>
85917 #include <sys/time.h>
85918 #include <sys/resource.h>
85919
85920 int
85921 main ()
85922 {
85923 int f = RLIMIT_RSS ;
85924 ;
85925 return 0;
85926 }
85927 _ACEOF
85928 rm -f conftest.$ac_objext
85929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85930 (eval $ac_compile) 2>conftest.er1
85931 ac_status=$?
85932 grep -v '^ *+' conftest.er1 >conftest.err
85933 rm -f conftest.er1
85934 cat conftest.err >&5
85935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936 (exit $ac_status); } &&
85937 { ac_try='test -z "$ac_c_werror_flag"
85938 || test ! -s conftest.err'
85939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85940 (eval $ac_try) 2>&5
85941 ac_status=$?
85942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85943 (exit $ac_status); }; } &&
85944 { ac_try='test -s conftest.$ac_objext'
85945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85946 (eval $ac_try) 2>&5
85947 ac_status=$?
85948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85949 (exit $ac_status); }; }; then
85950 glibcxx_mresult=1
85951 else
85952 echo "$as_me: failed program was:" >&5
85953 sed 's/^/| /' conftest.$ac_ext >&5
85954
85955 glibcxx_mresult=0
85956 fi
85957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85958
85959 cat >>confdefs.h <<_ACEOF
85960 #define HAVE_LIMIT_RSS $glibcxx_mresult
85961 _ACEOF
85962
85963
85964
85965 cat >conftest.$ac_ext <<_ACEOF
85966 /* confdefs.h. */
85967 _ACEOF
85968 cat confdefs.h >>conftest.$ac_ext
85969 cat >>conftest.$ac_ext <<_ACEOF
85970 /* end confdefs.h. */
85971 #include <unistd.h>
85972 #include <sys/time.h>
85973 #include <sys/resource.h>
85974
85975 int
85976 main ()
85977 {
85978 int f = RLIMIT_VMEM ;
85979 ;
85980 return 0;
85981 }
85982 _ACEOF
85983 rm -f conftest.$ac_objext
85984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85985 (eval $ac_compile) 2>conftest.er1
85986 ac_status=$?
85987 grep -v '^ *+' conftest.er1 >conftest.err
85988 rm -f conftest.er1
85989 cat conftest.err >&5
85990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85991 (exit $ac_status); } &&
85992 { ac_try='test -z "$ac_c_werror_flag"
85993 || test ! -s conftest.err'
85994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85995 (eval $ac_try) 2>&5
85996 ac_status=$?
85997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85998 (exit $ac_status); }; } &&
85999 { ac_try='test -s conftest.$ac_objext'
86000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86001 (eval $ac_try) 2>&5
86002 ac_status=$?
86003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86004 (exit $ac_status); }; }; then
86005 glibcxx_mresult=1
86006 else
86007 echo "$as_me: failed program was:" >&5
86008 sed 's/^/| /' conftest.$ac_ext >&5
86009
86010 glibcxx_mresult=0
86011 fi
86012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86013
86014 cat >>confdefs.h <<_ACEOF
86015 #define HAVE_LIMIT_VMEM $glibcxx_mresult
86016 _ACEOF
86017
86018
86019
86020 cat >conftest.$ac_ext <<_ACEOF
86021 /* confdefs.h. */
86022 _ACEOF
86023 cat confdefs.h >>conftest.$ac_ext
86024 cat >>conftest.$ac_ext <<_ACEOF
86025 /* end confdefs.h. */
86026 #include <unistd.h>
86027 #include <sys/time.h>
86028 #include <sys/resource.h>
86029
86030 int
86031 main ()
86032 {
86033 int f = RLIMIT_AS ;
86034 ;
86035 return 0;
86036 }
86037 _ACEOF
86038 rm -f conftest.$ac_objext
86039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86040 (eval $ac_compile) 2>conftest.er1
86041 ac_status=$?
86042 grep -v '^ *+' conftest.er1 >conftest.err
86043 rm -f conftest.er1
86044 cat conftest.err >&5
86045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86046 (exit $ac_status); } &&
86047 { ac_try='test -z "$ac_c_werror_flag"
86048 || test ! -s conftest.err'
86049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86050 (eval $ac_try) 2>&5
86051 ac_status=$?
86052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86053 (exit $ac_status); }; } &&
86054 { ac_try='test -s conftest.$ac_objext'
86055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86056 (eval $ac_try) 2>&5
86057 ac_status=$?
86058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86059 (exit $ac_status); }; }; then
86060 glibcxx_mresult=1
86061 else
86062 echo "$as_me: failed program was:" >&5
86063 sed 's/^/| /' conftest.$ac_ext >&5
86064
86065 glibcxx_mresult=0
86066 fi
86067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86068
86069 cat >>confdefs.h <<_ACEOF
86070 #define HAVE_LIMIT_AS $glibcxx_mresult
86071 _ACEOF
86072
86073
86074
86075 cat >conftest.$ac_ext <<_ACEOF
86076 /* confdefs.h. */
86077 _ACEOF
86078 cat confdefs.h >>conftest.$ac_ext
86079 cat >>conftest.$ac_ext <<_ACEOF
86080 /* end confdefs.h. */
86081 #include <unistd.h>
86082 #include <sys/time.h>
86083 #include <sys/resource.h>
86084
86085 int
86086 main ()
86087 {
86088 int f = RLIMIT_FSIZE ;
86089 ;
86090 return 0;
86091 }
86092 _ACEOF
86093 rm -f conftest.$ac_objext
86094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86095 (eval $ac_compile) 2>conftest.er1
86096 ac_status=$?
86097 grep -v '^ *+' conftest.er1 >conftest.err
86098 rm -f conftest.er1
86099 cat conftest.err >&5
86100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86101 (exit $ac_status); } &&
86102 { ac_try='test -z "$ac_c_werror_flag"
86103 || test ! -s conftest.err'
86104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86105 (eval $ac_try) 2>&5
86106 ac_status=$?
86107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86108 (exit $ac_status); }; } &&
86109 { ac_try='test -s conftest.$ac_objext'
86110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86111 (eval $ac_try) 2>&5
86112 ac_status=$?
86113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86114 (exit $ac_status); }; }; then
86115 glibcxx_mresult=1
86116 else
86117 echo "$as_me: failed program was:" >&5
86118 sed 's/^/| /' conftest.$ac_ext >&5
86119
86120 glibcxx_mresult=0
86121 fi
86122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86123
86124 cat >>confdefs.h <<_ACEOF
86125 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
86126 _ACEOF
86127
86128
86129
86130 # Check for rlimit, setrlimit.
86131 if test "${ac_setrlimit+set}" = set; then
86132 echo $ECHO_N "(cached) $ECHO_C" >&6
86133 else
86134
86135 cat >conftest.$ac_ext <<_ACEOF
86136 /* confdefs.h. */
86137 _ACEOF
86138 cat confdefs.h >>conftest.$ac_ext
86139 cat >>conftest.$ac_ext <<_ACEOF
86140 /* end confdefs.h. */
86141 #include <unistd.h>
86142 #include <sys/time.h>
86143 #include <sys/resource.h>
86144
86145 int
86146 main ()
86147 {
86148 struct rlimit r;
86149 setrlimit(0, &r);
86150 ;
86151 return 0;
86152 }
86153 _ACEOF
86154 rm -f conftest.$ac_objext
86155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86156 (eval $ac_compile) 2>conftest.er1
86157 ac_status=$?
86158 grep -v '^ *+' conftest.er1 >conftest.err
86159 rm -f conftest.er1
86160 cat conftest.err >&5
86161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86162 (exit $ac_status); } &&
86163 { ac_try='test -z "$ac_c_werror_flag"
86164 || test ! -s conftest.err'
86165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86166 (eval $ac_try) 2>&5
86167 ac_status=$?
86168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86169 (exit $ac_status); }; } &&
86170 { ac_try='test -s conftest.$ac_objext'
86171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86172 (eval $ac_try) 2>&5
86173 ac_status=$?
86174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86175 (exit $ac_status); }; }; then
86176 ac_setrlimit=yes
86177 else
86178 echo "$as_me: failed program was:" >&5
86179 sed 's/^/| /' conftest.$ac_ext >&5
86180
86181 ac_setrlimit=no
86182 fi
86183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86184
86185 fi
86186
86187 fi
86188
86189 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
86190 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
86191 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
86192 ac_res_limits=yes
86193 cat >>confdefs.h <<\_ACEOF
86194 #define _GLIBCXX_RES_LIMITS 1
86195 _ACEOF
86196
86197 else
86198 ac_res_limits=no
86199 fi
86200 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
86201 echo "${ECHO_T}$ac_res_limits" >&6
86202
86203
86204 # Look for setenv, so that extended locale tests can be performed.
86205
86206 echo "$as_me:$LINENO: checking for setenv declaration" >&5
86207 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
86208 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
86209 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
86210 echo $ECHO_N "(cached) $ECHO_C" >&6
86211 else
86212
86213
86214
86215 ac_ext=cc
86216 ac_cpp='$CXXCPP $CPPFLAGS'
86217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86220
86221 cat >conftest.$ac_ext <<_ACEOF
86222 /* confdefs.h. */
86223 _ACEOF
86224 cat confdefs.h >>conftest.$ac_ext
86225 cat >>conftest.$ac_ext <<_ACEOF
86226 /* end confdefs.h. */
86227 #include <stdlib.h>
86228 int
86229 main ()
86230 {
86231 setenv(0, 0, 0);
86232 ;
86233 return 0;
86234 }
86235 _ACEOF
86236 rm -f conftest.$ac_objext
86237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86238 (eval $ac_compile) 2>conftest.er1
86239 ac_status=$?
86240 grep -v '^ *+' conftest.er1 >conftest.err
86241 rm -f conftest.er1
86242 cat conftest.err >&5
86243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86244 (exit $ac_status); } &&
86245 { ac_try='test -z "$ac_cxx_werror_flag"
86246 || test ! -s conftest.err'
86247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86248 (eval $ac_try) 2>&5
86249 ac_status=$?
86250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86251 (exit $ac_status); }; } &&
86252 { ac_try='test -s conftest.$ac_objext'
86253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86254 (eval $ac_try) 2>&5
86255 ac_status=$?
86256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86257 (exit $ac_status); }; }; then
86258 glibcxx_cv_func_setenv_use=yes
86259 else
86260 echo "$as_me: failed program was:" >&5
86261 sed 's/^/| /' conftest.$ac_ext >&5
86262
86263 glibcxx_cv_func_setenv_use=no
86264 fi
86265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86266 ac_ext=c
86267 ac_cpp='$CPP $CPPFLAGS'
86268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86271
86272
86273 fi
86274
86275 fi
86276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
86277 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
86278 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
86279
86280 for ac_func in setenv
86281 do
86282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86283 echo "$as_me:$LINENO: checking for $ac_func" >&5
86284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86285 if eval "test \"\${$as_ac_var+set}\" = set"; then
86286 echo $ECHO_N "(cached) $ECHO_C" >&6
86287 else
86288 if test x$gcc_no_link = xyes; then
86289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86291 { (exit 1); exit 1; }; }
86292 fi
86293 cat >conftest.$ac_ext <<_ACEOF
86294 /* confdefs.h. */
86295 _ACEOF
86296 cat confdefs.h >>conftest.$ac_ext
86297 cat >>conftest.$ac_ext <<_ACEOF
86298 /* end confdefs.h. */
86299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86301 #define $ac_func innocuous_$ac_func
86302
86303 /* System header to define __stub macros and hopefully few prototypes,
86304 which can conflict with char $ac_func (); below.
86305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86306 <limits.h> exists even on freestanding compilers. */
86307
86308 #ifdef __STDC__
86309 # include <limits.h>
86310 #else
86311 # include <assert.h>
86312 #endif
86313
86314 #undef $ac_func
86315
86316 /* Override any gcc2 internal prototype to avoid an error. */
86317 #ifdef __cplusplus
86318 extern "C"
86319 {
86320 #endif
86321 /* We use char because int might match the return type of a gcc2
86322 builtin and then its argument prototype would still apply. */
86323 char $ac_func ();
86324 /* The GNU C library defines this for functions which it implements
86325 to always fail with ENOSYS. Some functions are actually named
86326 something starting with __ and the normal name is an alias. */
86327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86328 choke me
86329 #else
86330 char (*f) () = $ac_func;
86331 #endif
86332 #ifdef __cplusplus
86333 }
86334 #endif
86335
86336 int
86337 main ()
86338 {
86339 return f != $ac_func;
86340 ;
86341 return 0;
86342 }
86343 _ACEOF
86344 rm -f conftest.$ac_objext conftest$ac_exeext
86345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86346 (eval $ac_link) 2>conftest.er1
86347 ac_status=$?
86348 grep -v '^ *+' conftest.er1 >conftest.err
86349 rm -f conftest.er1
86350 cat conftest.err >&5
86351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86352 (exit $ac_status); } &&
86353 { ac_try='test -z "$ac_c_werror_flag"
86354 || test ! -s conftest.err'
86355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86356 (eval $ac_try) 2>&5
86357 ac_status=$?
86358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86359 (exit $ac_status); }; } &&
86360 { ac_try='test -s conftest$ac_exeext'
86361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86362 (eval $ac_try) 2>&5
86363 ac_status=$?
86364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86365 (exit $ac_status); }; }; then
86366 eval "$as_ac_var=yes"
86367 else
86368 echo "$as_me: failed program was:" >&5
86369 sed 's/^/| /' conftest.$ac_ext >&5
86370
86371 eval "$as_ac_var=no"
86372 fi
86373 rm -f conftest.err conftest.$ac_objext \
86374 conftest$ac_exeext conftest.$ac_ext
86375 fi
86376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86378 if test `eval echo '${'$as_ac_var'}'` = yes; then
86379 cat >>confdefs.h <<_ACEOF
86380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86381 _ACEOF
86382
86383 fi
86384 done
86385
86386 fi
86387
86388
86389 if test $enable_symvers = no; then
86390 enable_abi_check=no
86391 else
86392 case "$host" in
86393 *-*-cygwin*)
86394 enable_abi_check=no ;;
86395 *)
86396 enable_abi_check=yes ;;
86397 esac
86398 fi
86399 else
86400 # Only build this as native, since automake does not understand
86401 # CXX_FOR_BUILD.
86402 enable_abi_check=no
86403 fi
86404
86405 # Export file names for ABI checking.
86406 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
86407
86408
86409
86410
86411
86412
86413
86414 # Propagate the target-specific source directories through the build chain.
86415 ATOMICITY_SRCDIR=config/${atomicity_dir}
86416 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
86417 OS_INC_SRCDIR=config/${os_include_dir}
86418 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
86419
86420
86421
86422
86423
86424 # Determine cross-compile flags and AM_CONDITIONALs.
86425 #AC_SUBST(GLIBCXX_IS_NATIVE)
86426 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
86427 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
86428 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
86429
86430
86431 if test $is_hosted = yes; then
86432 GLIBCXX_HOSTED_TRUE=
86433 GLIBCXX_HOSTED_FALSE='#'
86434 else
86435 GLIBCXX_HOSTED_TRUE='#'
86436 GLIBCXX_HOSTED_FALSE=
86437 fi
86438
86439
86440
86441
86442 if test $enable_libstdcxx_pch = yes; then
86443 GLIBCXX_BUILD_PCH_TRUE=
86444 GLIBCXX_BUILD_PCH_FALSE='#'
86445 else
86446 GLIBCXX_BUILD_PCH_TRUE='#'
86447 GLIBCXX_BUILD_PCH_FALSE=
86448 fi
86449
86450
86451
86452
86453 if test $enable_cheaders = c; then
86454 GLIBCXX_C_HEADERS_C_TRUE=
86455 GLIBCXX_C_HEADERS_C_FALSE='#'
86456 else
86457 GLIBCXX_C_HEADERS_C_TRUE='#'
86458 GLIBCXX_C_HEADERS_C_FALSE=
86459 fi
86460
86461
86462
86463
86464 if test $enable_cheaders = c_std; then
86465 GLIBCXX_C_HEADERS_C_STD_TRUE=
86466 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
86467 else
86468 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
86469 GLIBCXX_C_HEADERS_C_STD_FALSE=
86470 fi
86471
86472
86473
86474
86475 if test $c_compatibility = yes; then
86476 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
86477 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
86478 else
86479 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
86480 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
86481 fi
86482
86483
86484
86485
86486 if test $enable_libstdcxx_debug = yes; then
86487 GLIBCXX_BUILD_DEBUG_TRUE=
86488 GLIBCXX_BUILD_DEBUG_FALSE='#'
86489 else
86490 GLIBCXX_BUILD_DEBUG_TRUE='#'
86491 GLIBCXX_BUILD_DEBUG_FALSE=
86492 fi
86493
86494
86495
86496
86497 if test $enable_symvers != no; then
86498 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
86499 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
86500 else
86501 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
86502 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
86503 fi
86504
86505
86506
86507
86508 if test $enable_wchar_t = yes; then
86509 GLIBCXX_TEST_WCHAR_T_TRUE=
86510 GLIBCXX_TEST_WCHAR_T_FALSE='#'
86511 else
86512 GLIBCXX_TEST_WCHAR_T_TRUE='#'
86513 GLIBCXX_TEST_WCHAR_T_FALSE=
86514 fi
86515
86516
86517
86518
86519 if test $enable_thread = yes; then
86520 GLIBCXX_TEST_THREAD_TRUE=
86521 GLIBCXX_TEST_THREAD_FALSE='#'
86522 else
86523 GLIBCXX_TEST_THREAD_TRUE='#'
86524 GLIBCXX_TEST_THREAD_FALSE=
86525 fi
86526
86527
86528
86529
86530 if test $enable_abi_check = yes; then
86531 GLIBCXX_TEST_ABI_TRUE=
86532 GLIBCXX_TEST_ABI_FALSE='#'
86533 else
86534 GLIBCXX_TEST_ABI_TRUE='#'
86535 GLIBCXX_TEST_ABI_FALSE=
86536 fi
86537
86538
86539
86540
86541 cat >confcache <<\_ACEOF
86542 # This file is a shell script that caches the results of configure
86543 # tests run on this system so they can be shared between configure
86544 # scripts and configure runs, see configure's option --config-cache.
86545 # It is not useful on other systems. If it contains results you don't
86546 # want to keep, you may remove or edit it.
86547 #
86548 # config.status only pays attention to the cache file if you give it
86549 # the --recheck option to rerun configure.
86550 #
86551 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86552 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86553 # following values.
86554
86555 _ACEOF
86556
86557 # The following way of writing the cache mishandles newlines in values,
86558 # but we know of no workaround that is simple, portable, and efficient.
86559 # So, don't put newlines in cache variables' values.
86560 # Ultrix sh set writes to stderr and can't be redirected directly,
86561 # and sets the high bit in the cache file unless we assign to the vars.
86562 {
86563 (set) 2>&1 |
86564 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86565 *ac_space=\ *)
86566 # `set' does not quote correctly, so add quotes (double-quote
86567 # substitution turns \\\\ into \\, and sed turns \\ into \).
86568 sed -n \
86569 "s/'/'\\\\''/g;
86570 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86571 ;;
86572 *)
86573 # `set' quotes correctly as required by POSIX, so do not add quotes.
86574 sed -n \
86575 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86576 ;;
86577 esac;
86578 } |
86579 sed '
86580 t clear
86581 : clear
86582 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86583 t end
86584 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86585 : end' >>confcache
86586 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86587 if test -w $cache_file; then
86588 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86589 cat confcache >$cache_file
86590 else
86591 echo "not updating unwritable cache $cache_file"
86592 fi
86593 fi
86594 rm -f confcache
86595
86596 if test ${multilib} = yes; then
86597 multilib_arg="--enable-multilib"
86598 else
86599 multilib_arg=
86600 fi
86601
86602 # Export all the install information.
86603
86604 glibcxx_toolexecdir=no
86605 glibcxx_toolexeclibdir=no
86606 glibcxx_prefixdir=$prefix
86607
86608 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
86609 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
86610
86611 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
86612 if test "${with_gxx_include_dir+set}" = set; then
86613 withval="$with_gxx_include_dir"
86614 case "$withval" in
86615 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
86616 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
86617 { (exit 1); exit 1; }; } ;;
86618 no) gxx_include_dir=no ;;
86619 *) gxx_include_dir=$withval ;;
86620 esac
86621 else
86622 gxx_include_dir=no
86623 fi;
86624 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86625 echo "${ECHO_T}$gxx_include_dir" >&6
86626
86627 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
86628 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
86629 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
86630 if test "${enable_version_specific_runtime_libs+set}" = set; then
86631 enableval="$enable_version_specific_runtime_libs"
86632 case "$enableval" in
86633 yes) version_specific_libs=yes ;;
86634 no) version_specific_libs=no ;;
86635 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
86636 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
86637 { (exit 1); exit 1; }; };;
86638 esac
86639 else
86640 version_specific_libs=no
86641 fi;
86642 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
86643 echo "${ECHO_T}$version_specific_libs" >&6
86644
86645 # Default case for install directory for include files.
86646 if test $version_specific_libs = no && test $gxx_include_dir = no; then
86647 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
86648 fi
86649
86650 # Version-specific runtime libs processing.
86651 if test $version_specific_libs = yes; then
86652 # Need the gcc compiler version to know where to install libraries
86653 # and header files if --enable-version-specific-runtime-libs option
86654 # is selected. FIXME: these variables are misnamed, there are
86655 # no executables installed in _toolexecdir or _toolexeclibdir.
86656 if test x"$gxx_include_dir" = x"no"; then
86657 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
86658 fi
86659 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86660 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
86661 fi
86662
86663 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
86664 # Install a library built with a cross compiler in tooldir, not libdir.
86665 if test x"$glibcxx_toolexecdir" = x"no"; then
86666 if test -n "$with_cross_host" &&
86667 test x"$with_cross_host" != x"no"; then
86668 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
86669 glibcxx_toolexeclibdir='${toolexecdir}/lib'
86670 else
86671 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
86672 glibcxx_toolexeclibdir='${libdir}'
86673 fi
86674 multi_os_directory=`$CXX -print-multi-os-directory`
86675 case $multi_os_directory in
86676 .) ;; # Avoid trailing /.
86677 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
86678 esac
86679 fi
86680
86681 echo "$as_me:$LINENO: checking for install location" >&5
86682 echo $ECHO_N "checking for install location... $ECHO_C" >&6
86683 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
86684 echo "${ECHO_T}$gxx_include_dir" >&6
86685
86686
86687
86688
86689
86690
86691
86692 # Export all the include and flag information to Makefiles.
86693
86694 # Used for every C++ compile we perform.
86695 GLIBCXX_INCLUDES="\
86696 -I$glibcxx_builddir/include/$host_alias \
86697 -I$glibcxx_builddir/include \
86698 -I$glibcxx_srcdir/libsupc++"
86699
86700 # For Canadian crosses, pick this up too.
86701 if test $CANADIAN = yes; then
86702 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
86703 fi
86704
86705 # Stuff in the actual top level. Currently only used by libsupc++ to
86706 # get unwind* headers from the gcc dir.
86707 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
86708 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
86709
86710 # Now, export this to all the little Makefiles....
86711
86712
86713
86714
86715 # Optimization flags that are probably a good idea for thrill-seekers. Just
86716 # uncomment the lines below and make, everything else is ready to go...
86717 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
86718 OPTIMIZE_CXXFLAGS=
86719
86720
86721 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
86722
86723
86724
86725 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
86726 grep "enable shared" > /dev/null;
86727 then
86728 LIBSUPCXX_PICFLAGS=-prefer-pic
86729 else
86730 LIBSUPCXX_PICFLAGS=
86731 fi
86732
86733
86734 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
86735
86736 ac_config_files="$ac_config_files scripts/check_survey"
86737
86738 ac_config_files="$ac_config_files scripts/testsuite_flags"
86739
86740
86741 ac_config_commands="$ac_config_commands default"
86742
86743
86744 cat >confcache <<\_ACEOF
86745 # This file is a shell script that caches the results of configure
86746 # tests run on this system so they can be shared between configure
86747 # scripts and configure runs, see configure's option --config-cache.
86748 # It is not useful on other systems. If it contains results you don't
86749 # want to keep, you may remove or edit it.
86750 #
86751 # config.status only pays attention to the cache file if you give it
86752 # the --recheck option to rerun configure.
86753 #
86754 # `ac_cv_env_foo' variables (set or unset) will be overridden when
86755 # loading this file, other *unset* `ac_cv_foo' will be assigned the
86756 # following values.
86757
86758 _ACEOF
86759
86760 # The following way of writing the cache mishandles newlines in values,
86761 # but we know of no workaround that is simple, portable, and efficient.
86762 # So, don't put newlines in cache variables' values.
86763 # Ultrix sh set writes to stderr and can't be redirected directly,
86764 # and sets the high bit in the cache file unless we assign to the vars.
86765 {
86766 (set) 2>&1 |
86767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
86768 *ac_space=\ *)
86769 # `set' does not quote correctly, so add quotes (double-quote
86770 # substitution turns \\\\ into \\, and sed turns \\ into \).
86771 sed -n \
86772 "s/'/'\\\\''/g;
86773 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
86774 ;;
86775 *)
86776 # `set' quotes correctly as required by POSIX, so do not add quotes.
86777 sed -n \
86778 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
86779 ;;
86780 esac;
86781 } |
86782 sed '
86783 t clear
86784 : clear
86785 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
86786 t end
86787 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
86788 : end' >>confcache
86789 if diff $cache_file confcache >/dev/null 2>&1; then :; else
86790 if test -w $cache_file; then
86791 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
86792 cat confcache >$cache_file
86793 else
86794 echo "not updating unwritable cache $cache_file"
86795 fi
86796 fi
86797 rm -f confcache
86798
86799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
86800 # Let make expand exec_prefix.
86801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
86802
86803 # VPATH may cause trouble with some makes, so we remove $(srcdir),
86804 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
86805 # trailing colons and then remove the whole line if VPATH becomes empty
86806 # (actually we leave an empty line to preserve line numbers).
86807 if test "x$srcdir" = x.; then
86808 ac_vpsub='/^[ ]*VPATH[ ]*=/{
86809 s/:*\$(srcdir):*/:/;
86810 s/:*\${srcdir}:*/:/;
86811 s/:*@srcdir@:*/:/;
86812 s/^\([^=]*=[ ]*\):*/\1/;
86813 s/:*$//;
86814 s/^[^=]*=[ ]*$//;
86815 }'
86816 fi
86817
86818 DEFS=-DHAVE_CONFIG_H
86819
86820 ac_libobjs=
86821 ac_ltlibobjs=
86822 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
86823 # 1. Remove the extension, and $U if already installed.
86824 ac_i=`echo "$ac_i" |
86825 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
86826 # 2. Add them.
86827 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
86828 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
86829 done
86830 LIBOBJS=$ac_libobjs
86831
86832 LTLIBOBJS=$ac_ltlibobjs
86833
86834
86835 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
86836 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
86837 Usually this means the macro was only invoked conditionally." >&5
86838 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
86839 Usually this means the macro was only invoked conditionally." >&2;}
86840 { (exit 1); exit 1; }; }
86841 fi
86842 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
86843 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86844 Usually this means the macro was only invoked conditionally." >&5
86845 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
86846 Usually this means the macro was only invoked conditionally." >&2;}
86847 { (exit 1); exit 1; }; }
86848 fi
86849 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
86850 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86851 Usually this means the macro was only invoked conditionally." >&5
86852 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
86853 Usually this means the macro was only invoked conditionally." >&2;}
86854 { (exit 1); exit 1; }; }
86855 fi
86856 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
86857 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86858 Usually this means the macro was only invoked conditionally." >&5
86859 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
86860 Usually this means the macro was only invoked conditionally." >&2;}
86861 { (exit 1); exit 1; }; }
86862 fi
86863 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
86864 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86865 Usually this means the macro was only invoked conditionally." >&5
86866 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
86867 Usually this means the macro was only invoked conditionally." >&2;}
86868 { (exit 1); exit 1; }; }
86869 fi
86870 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
86871 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86872 Usually this means the macro was only invoked conditionally." >&5
86873 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
86874 Usually this means the macro was only invoked conditionally." >&2;}
86875 { (exit 1); exit 1; }; }
86876 fi
86877 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
86878 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86879 Usually this means the macro was only invoked conditionally." >&5
86880 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
86881 Usually this means the macro was only invoked conditionally." >&2;}
86882 { (exit 1); exit 1; }; }
86883 fi
86884 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
86885 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86886 Usually this means the macro was only invoked conditionally." >&5
86887 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
86888 Usually this means the macro was only invoked conditionally." >&2;}
86889 { (exit 1); exit 1; }; }
86890 fi
86891 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
86892 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86893 Usually this means the macro was only invoked conditionally." >&5
86894 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
86895 Usually this means the macro was only invoked conditionally." >&2;}
86896 { (exit 1); exit 1; }; }
86897 fi
86898 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
86899 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86900 Usually this means the macro was only invoked conditionally." >&5
86901 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
86902 Usually this means the macro was only invoked conditionally." >&2;}
86903 { (exit 1); exit 1; }; }
86904 fi
86905 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
86906 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86907 Usually this means the macro was only invoked conditionally." >&5
86908 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
86909 Usually this means the macro was only invoked conditionally." >&2;}
86910 { (exit 1); exit 1; }; }
86911 fi
86912
86913 : ${CONFIG_STATUS=./config.status}
86914 ac_clean_files_save=$ac_clean_files
86915 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
86916 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
86917 echo "$as_me: creating $CONFIG_STATUS" >&6;}
86918 cat >$CONFIG_STATUS <<_ACEOF
86919 #! $SHELL
86920 # Generated by $as_me.
86921 # Run this file to recreate the current configuration.
86922 # Compiler output produced by configure, useful for debugging
86923 # configure, is in config.log if it exists.
86924
86925 debug=false
86926 ac_cs_recheck=false
86927 ac_cs_silent=false
86928 SHELL=\${CONFIG_SHELL-$SHELL}
86929 _ACEOF
86930
86931 cat >>$CONFIG_STATUS <<\_ACEOF
86932 ## --------------------- ##
86933 ## M4sh Initialization. ##
86934 ## --------------------- ##
86935
86936 # Be Bourne compatible
86937 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
86938 emulate sh
86939 NULLCMD=:
86940 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
86941 # is contrary to our usage. Disable this feature.
86942 alias -g '${1+"$@"}'='"$@"'
86943 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
86944 set -o posix
86945 fi
86946 DUALCASE=1; export DUALCASE # for MKS sh
86947
86948 # Support unset when possible.
86949 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86950 as_unset=unset
86951 else
86952 as_unset=false
86953 fi
86954
86955
86956 # Work around bugs in pre-3.0 UWIN ksh.
86957 $as_unset ENV MAIL MAILPATH
86958 PS1='$ '
86959 PS2='> '
86960 PS4='+ '
86961
86962 # NLS nuisances.
86963 for as_var in \
86964 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
86965 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
86966 LC_TELEPHONE LC_TIME
86967 do
86968 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
86969 eval $as_var=C; export $as_var
86970 else
86971 $as_unset $as_var
86972 fi
86973 done
86974
86975 # Required to use basename.
86976 if expr a : '\(a\)' >/dev/null 2>&1; then
86977 as_expr=expr
86978 else
86979 as_expr=false
86980 fi
86981
86982 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
86983 as_basename=basename
86984 else
86985 as_basename=false
86986 fi
86987
86988
86989 # Name of the executable.
86990 as_me=`$as_basename "$0" ||
86991 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
86992 X"$0" : 'X\(//\)$' \| \
86993 X"$0" : 'X\(/\)$' \| \
86994 . : '\(.\)' 2>/dev/null ||
86995 echo X/"$0" |
86996 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
86997 /^X\/\(\/\/\)$/{ s//\1/; q; }
86998 /^X\/\(\/\).*/{ s//\1/; q; }
86999 s/.*/./; q'`
87000
87001
87002 # PATH needs CR, and LINENO needs CR and PATH.
87003 # Avoid depending upon Character Ranges.
87004 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
87005 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
87006 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
87007 as_cr_digits='0123456789'
87008 as_cr_alnum=$as_cr_Letters$as_cr_digits
87009
87010 # The user is always right.
87011 if test "${PATH_SEPARATOR+set}" != set; then
87012 echo "#! /bin/sh" >conf$$.sh
87013 echo "exit 0" >>conf$$.sh
87014 chmod +x conf$$.sh
87015 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
87016 PATH_SEPARATOR=';'
87017 else
87018 PATH_SEPARATOR=:
87019 fi
87020 rm -f conf$$.sh
87021 fi
87022
87023
87024 as_lineno_1=$LINENO
87025 as_lineno_2=$LINENO
87026 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87027 test "x$as_lineno_1" != "x$as_lineno_2" &&
87028 test "x$as_lineno_3" = "x$as_lineno_2" || {
87029 # Find who we are. Look in the path if we contain no path at all
87030 # relative or not.
87031 case $0 in
87032 *[\\/]* ) as_myself=$0 ;;
87033 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87034 for as_dir in $PATH
87035 do
87036 IFS=$as_save_IFS
87037 test -z "$as_dir" && as_dir=.
87038 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
87039 done
87040
87041 ;;
87042 esac
87043 # We did not find ourselves, most probably we were run as `sh COMMAND'
87044 # in which case we are not to be found in the path.
87045 if test "x$as_myself" = x; then
87046 as_myself=$0
87047 fi
87048 if test ! -f "$as_myself"; then
87049 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
87050 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
87051 { (exit 1); exit 1; }; }
87052 fi
87053 case $CONFIG_SHELL in
87054 '')
87055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
87056 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
87057 do
87058 IFS=$as_save_IFS
87059 test -z "$as_dir" && as_dir=.
87060 for as_base in sh bash ksh sh5; do
87061 case $as_dir in
87062 /*)
87063 if ("$as_dir/$as_base" -c '
87064 as_lineno_1=$LINENO
87065 as_lineno_2=$LINENO
87066 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
87067 test "x$as_lineno_1" != "x$as_lineno_2" &&
87068 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
87069 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
87070 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
87071 CONFIG_SHELL=$as_dir/$as_base
87072 export CONFIG_SHELL
87073 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
87074 fi;;
87075 esac
87076 done
87077 done
87078 ;;
87079 esac
87080
87081 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
87082 # uniformly replaced by the line number. The first 'sed' inserts a
87083 # line-number line before each line; the second 'sed' does the real
87084 # work. The second script uses 'N' to pair each line-number line
87085 # with the numbered line, and appends trailing '-' during
87086 # substitution so that $LINENO is not a special case at line end.
87087 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
87088 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
87089 sed '=' <$as_myself |
87090 sed '
87091 N
87092 s,$,-,
87093 : loop
87094 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
87095 t loop
87096 s,-$,,
87097 s,^['$as_cr_digits']*\n,,
87098 ' >$as_me.lineno &&
87099 chmod +x $as_me.lineno ||
87100 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
87101 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
87102 { (exit 1); exit 1; }; }
87103
87104 # Don't try to exec as it changes $[0], causing all sort of problems
87105 # (the dirname of $[0] is not the place where we might find the
87106 # original and so on. Autoconf is especially sensible to this).
87107 . ./$as_me.lineno
87108 # Exit status is that of the last command.
87109 exit
87110 }
87111
87112
87113 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
87114 *c*,-n*) ECHO_N= ECHO_C='
87115 ' ECHO_T=' ' ;;
87116 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
87117 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
87118 esac
87119
87120 if expr a : '\(a\)' >/dev/null 2>&1; then
87121 as_expr=expr
87122 else
87123 as_expr=false
87124 fi
87125
87126 rm -f conf$$ conf$$.exe conf$$.file
87127 echo >conf$$.file
87128 if ln -s conf$$.file conf$$ 2>/dev/null; then
87129 # We could just check for DJGPP; but this test a) works b) is more generic
87130 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
87131 if test -f conf$$.exe; then
87132 # Don't use ln at all; we don't have any links
87133 as_ln_s='cp -p'
87134 else
87135 as_ln_s='ln -s'
87136 fi
87137 elif ln conf$$.file conf$$ 2>/dev/null; then
87138 as_ln_s=ln
87139 else
87140 as_ln_s='cp -p'
87141 fi
87142 rm -f conf$$ conf$$.exe conf$$.file
87143
87144 if mkdir -p . 2>/dev/null; then
87145 as_mkdir_p=:
87146 else
87147 test -d ./-p && rmdir ./-p
87148 as_mkdir_p=false
87149 fi
87150
87151 as_executable_p="test -f"
87152
87153 # Sed expression to map a string onto a valid CPP name.
87154 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
87155
87156 # Sed expression to map a string onto a valid variable name.
87157 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
87158
87159
87160 # IFS
87161 # We need space, tab and new line, in precisely that order.
87162 as_nl='
87163 '
87164 IFS=" $as_nl"
87165
87166 # CDPATH.
87167 $as_unset CDPATH
87168
87169 exec 6>&1
87170
87171 # Open the log real soon, to keep \$[0] and so on meaningful, and to
87172 # report actual input values of CONFIG_FILES etc. instead of their
87173 # values after options handling. Logging --version etc. is OK.
87174 exec 5>>config.log
87175 {
87176 echo
87177 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
87178 ## Running $as_me. ##
87179 _ASBOX
87180 } >&5
87181 cat >&5 <<_CSEOF
87182
87183 This file was extended by package-unused $as_me version-unused, which was
87184 generated by GNU Autoconf 2.59. Invocation command line was
87185
87186 CONFIG_FILES = $CONFIG_FILES
87187 CONFIG_HEADERS = $CONFIG_HEADERS
87188 CONFIG_LINKS = $CONFIG_LINKS
87189 CONFIG_COMMANDS = $CONFIG_COMMANDS
87190 $ $0 $@
87191
87192 _CSEOF
87193 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
87194 echo >&5
87195 _ACEOF
87196
87197 # Files that config.status was made for.
87198 if test -n "$ac_config_files"; then
87199 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
87200 fi
87201
87202 if test -n "$ac_config_headers"; then
87203 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
87204 fi
87205
87206 if test -n "$ac_config_links"; then
87207 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
87208 fi
87209
87210 if test -n "$ac_config_commands"; then
87211 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
87212 fi
87213
87214 cat >>$CONFIG_STATUS <<\_ACEOF
87215
87216 ac_cs_usage="\
87217 \`$as_me' instantiates files from templates according to the
87218 current configuration.
87219
87220 Usage: $0 [OPTIONS] [FILE]...
87221
87222 -h, --help print this help, then exit
87223 -V, --version print version number, then exit
87224 -q, --quiet do not print progress messages
87225 -d, --debug don't remove temporary files
87226 --recheck update $as_me by reconfiguring in the same conditions
87227 --file=FILE[:TEMPLATE]
87228 instantiate the configuration file FILE
87229 --header=FILE[:TEMPLATE]
87230 instantiate the configuration header FILE
87231
87232 Configuration files:
87233 $config_files
87234
87235 Configuration headers:
87236 $config_headers
87237
87238 Configuration commands:
87239 $config_commands
87240
87241 Report bugs to <bug-autoconf@gnu.org>."
87242 _ACEOF
87243
87244 cat >>$CONFIG_STATUS <<_ACEOF
87245 ac_cs_version="\\
87246 package-unused config.status version-unused
87247 configured by $0, generated by GNU Autoconf 2.59,
87248 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
87249
87250 Copyright (C) 2003 Free Software Foundation, Inc.
87251 This config.status script is free software; the Free Software Foundation
87252 gives unlimited permission to copy, distribute and modify it."
87253 srcdir=$srcdir
87254 INSTALL="$INSTALL"
87255 _ACEOF
87256
87257 cat >>$CONFIG_STATUS <<\_ACEOF
87258 # If no file are specified by the user, then we need to provide default
87259 # value. By we need to know if files were specified by the user.
87260 ac_need_defaults=:
87261 while test $# != 0
87262 do
87263 case $1 in
87264 --*=*)
87265 ac_option=`expr "x$1" : 'x\([^=]*\)='`
87266 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
87267 ac_shift=:
87268 ;;
87269 -*)
87270 ac_option=$1
87271 ac_optarg=$2
87272 ac_shift=shift
87273 ;;
87274 *) # This is not an option, so the user has probably given explicit
87275 # arguments.
87276 ac_option=$1
87277 ac_need_defaults=false;;
87278 esac
87279
87280 case $ac_option in
87281 # Handling of the options.
87282 _ACEOF
87283 cat >>$CONFIG_STATUS <<\_ACEOF
87284 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
87285 ac_cs_recheck=: ;;
87286 --version | --vers* | -V )
87287 echo "$ac_cs_version"; exit 0 ;;
87288 --he | --h)
87289 # Conflict between --help and --header
87290 { { echo "$as_me:$LINENO: error: ambiguous option: $1
87291 Try \`$0 --help' for more information." >&5
87292 echo "$as_me: error: ambiguous option: $1
87293 Try \`$0 --help' for more information." >&2;}
87294 { (exit 1); exit 1; }; };;
87295 --help | --hel | -h )
87296 echo "$ac_cs_usage"; exit 0 ;;
87297 --debug | --d* | -d )
87298 debug=: ;;
87299 --file | --fil | --fi | --f )
87300 $ac_shift
87301 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
87302 ac_need_defaults=false;;
87303 --header | --heade | --head | --hea )
87304 $ac_shift
87305 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
87306 ac_need_defaults=false;;
87307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
87308 | -silent | --silent | --silen | --sile | --sil | --si | --s)
87309 ac_cs_silent=: ;;
87310
87311 # This is an error.
87312 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
87313 Try \`$0 --help' for more information." >&5
87314 echo "$as_me: error: unrecognized option: $1
87315 Try \`$0 --help' for more information." >&2;}
87316 { (exit 1); exit 1; }; } ;;
87317
87318 *) ac_config_targets="$ac_config_targets $1" ;;
87319
87320 esac
87321 shift
87322 done
87323
87324 ac_configure_extra_args=
87325
87326 if $ac_cs_silent; then
87327 exec 6>/dev/null
87328 ac_configure_extra_args="$ac_configure_extra_args --silent"
87329 fi
87330
87331 _ACEOF
87332 cat >>$CONFIG_STATUS <<_ACEOF
87333 if \$ac_cs_recheck; then
87334 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
87335 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
87336 fi
87337
87338 _ACEOF
87339
87340 cat >>$CONFIG_STATUS <<_ACEOF
87341 #
87342 # INIT-COMMANDS section.
87343 #
87344
87345
87346 srcdir="$srcdir"
87347 host="$host"
87348 target="$target"
87349 with_multisubdir="$with_multisubdir"
87350 with_multisrctop="$with_multisrctop"
87351 with_target_subdir="$with_target_subdir"
87352 ac_configure_args="${multilib_arg} ${ac_configure_args}"
87353 multi_basedir="$multi_basedir"
87354 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
87355 CC="$CC"
87356
87357 # Variables needed in config.status (file generation) which aren't already
87358 # passed by autoconf.
87359 SUBDIRS="$SUBDIRS"
87360
87361
87362 _ACEOF
87363
87364
87365
87366 cat >>$CONFIG_STATUS <<\_ACEOF
87367 for ac_config_target in $ac_config_targets
87368 do
87369 case "$ac_config_target" in
87370 # Handling of arguments.
87371 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
87372 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
87373 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
87374 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
87375 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
87376 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
87377 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
87378 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
87379 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
87380 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
87381 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
87382 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
87383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
87384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
87385 { (exit 1); exit 1; }; };;
87386 esac
87387 done
87388
87389 # If the user did not use the arguments to specify the items to instantiate,
87390 # then the envvar interface is used. Set only those that are not.
87391 # We use the long form for the default assignment because of an extremely
87392 # bizarre bug on SunOS 4.1.3.
87393 if $ac_need_defaults; then
87394 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
87395 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
87396 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
87397 fi
87398
87399 # Have a temporary directory for convenience. Make it in the build tree
87400 # simply because there is no reason to put it here, and in addition,
87401 # creating and moving files from /tmp can sometimes cause problems.
87402 # Create a temporary directory, and hook for its removal unless debugging.
87403 $debug ||
87404 {
87405 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
87406 trap '{ (exit 1); exit 1; }' 1 2 13 15
87407 }
87408
87409 # Create a (secure) tmp directory for tmp files.
87410
87411 {
87412 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
87413 test -n "$tmp" && test -d "$tmp"
87414 } ||
87415 {
87416 tmp=./confstat$$-$RANDOM
87417 (umask 077 && mkdir $tmp)
87418 } ||
87419 {
87420 echo "$me: cannot create a temporary directory in ." >&2
87421 { (exit 1); exit 1; }
87422 }
87423
87424 _ACEOF
87425
87426 cat >>$CONFIG_STATUS <<_ACEOF
87427
87428 #
87429 # CONFIG_FILES section.
87430 #
87431
87432 # No need to generate the scripts if there are no CONFIG_FILES.
87433 # This happens for instance when ./config.status config.h
87434 if test -n "\$CONFIG_FILES"; then
87435 # Protect against being on the right side of a sed subst in config.status.
87436 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
87437 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
87438 s,@SHELL@,$SHELL,;t t
87439 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
87440 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
87441 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
87442 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
87443 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
87444 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
87445 s,@exec_prefix@,$exec_prefix,;t t
87446 s,@prefix@,$prefix,;t t
87447 s,@program_transform_name@,$program_transform_name,;t t
87448 s,@bindir@,$bindir,;t t
87449 s,@sbindir@,$sbindir,;t t
87450 s,@libexecdir@,$libexecdir,;t t
87451 s,@datadir@,$datadir,;t t
87452 s,@sysconfdir@,$sysconfdir,;t t
87453 s,@sharedstatedir@,$sharedstatedir,;t t
87454 s,@localstatedir@,$localstatedir,;t t
87455 s,@libdir@,$libdir,;t t
87456 s,@includedir@,$includedir,;t t
87457 s,@oldincludedir@,$oldincludedir,;t t
87458 s,@infodir@,$infodir,;t t
87459 s,@mandir@,$mandir,;t t
87460 s,@build_alias@,$build_alias,;t t
87461 s,@host_alias@,$host_alias,;t t
87462 s,@target_alias@,$target_alias,;t t
87463 s,@DEFS@,$DEFS,;t t
87464 s,@ECHO_C@,$ECHO_C,;t t
87465 s,@ECHO_N@,$ECHO_N,;t t
87466 s,@ECHO_T@,$ECHO_T,;t t
87467 s,@LIBS@,$LIBS,;t t
87468 s,@libtool_VERSION@,$libtool_VERSION,;t t
87469 s,@multi_basedir@,$multi_basedir,;t t
87470 s,@build@,$build,;t t
87471 s,@build_cpu@,$build_cpu,;t t
87472 s,@build_vendor@,$build_vendor,;t t
87473 s,@build_os@,$build_os,;t t
87474 s,@host@,$host,;t t
87475 s,@host_cpu@,$host_cpu,;t t
87476 s,@host_vendor@,$host_vendor,;t t
87477 s,@host_os@,$host_os,;t t
87478 s,@target@,$target,;t t
87479 s,@target_cpu@,$target_cpu,;t t
87480 s,@target_vendor@,$target_vendor,;t t
87481 s,@target_os@,$target_os,;t t
87482 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
87483 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
87484 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
87485 s,@CYGPATH_W@,$CYGPATH_W,;t t
87486 s,@PACKAGE@,$PACKAGE,;t t
87487 s,@VERSION@,$VERSION,;t t
87488 s,@ACLOCAL@,$ACLOCAL,;t t
87489 s,@AUTOCONF@,$AUTOCONF,;t t
87490 s,@AUTOMAKE@,$AUTOMAKE,;t t
87491 s,@AUTOHEADER@,$AUTOHEADER,;t t
87492 s,@MAKEINFO@,$MAKEINFO,;t t
87493 s,@install_sh@,$install_sh,;t t
87494 s,@STRIP@,$STRIP,;t t
87495 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
87496 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
87497 s,@mkdir_p@,$mkdir_p,;t t
87498 s,@AWK@,$AWK,;t t
87499 s,@SET_MAKE@,$SET_MAKE,;t t
87500 s,@am__leading_dot@,$am__leading_dot,;t t
87501 s,@AMTAR@,$AMTAR,;t t
87502 s,@am__tar@,$am__tar,;t t
87503 s,@am__untar@,$am__untar,;t t
87504 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
87505 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
87506 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
87507 s,@CC@,$CC,;t t
87508 s,@ac_ct_CC@,$ac_ct_CC,;t t
87509 s,@EXEEXT@,$EXEEXT,;t t
87510 s,@OBJEXT@,$OBJEXT,;t t
87511 s,@CXX@,$CXX,;t t
87512 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
87513 s,@CFLAGS@,$CFLAGS,;t t
87514 s,@CXXFLAGS@,$CXXFLAGS,;t t
87515 s,@LN_S@,$LN_S,;t t
87516 s,@AS@,$AS,;t t
87517 s,@ac_ct_AS@,$ac_ct_AS,;t t
87518 s,@AR@,$AR,;t t
87519 s,@ac_ct_AR@,$ac_ct_AR,;t t
87520 s,@RANLIB@,$RANLIB,;t t
87521 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
87522 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
87523 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
87524 s,@MAINT@,$MAINT,;t t
87525 s,@LIBTOOL@,$LIBTOOL,;t t
87526 s,@CXXCPP@,$CXXCPP,;t t
87527 s,@CPPFLAGS@,$CPPFLAGS,;t t
87528 s,@enable_shared@,$enable_shared,;t t
87529 s,@enable_static@,$enable_static,;t t
87530 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
87531 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
87532 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
87533 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
87534 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
87535 s,@CSTDIO_H@,$CSTDIO_H,;t t
87536 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
87537 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
87538 s,@CPP@,$CPP,;t t
87539 s,@EGREP@,$EGREP,;t t
87540 s,@check_msgfmt@,$check_msgfmt,;t t
87541 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
87542 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
87543 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
87544 s,@USE_NLS@,$USE_NLS,;t t
87545 s,@CLOCALE_H@,$CLOCALE_H,;t t
87546 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
87547 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
87548 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
87549 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
87550 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
87551 s,@CMONEY_CC@,$CMONEY_CC,;t t
87552 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
87553 s,@CTIME_H@,$CTIME_H,;t t
87554 s,@CTIME_CC@,$CTIME_CC,;t t
87555 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
87556 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
87557 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
87558 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
87559 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
87560 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
87561 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
87562 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
87563 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
87564 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
87565 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
87566 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
87567 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
87568 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
87569 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
87570 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
87571 s,@WERROR@,$WERROR,;t t
87572 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
87573 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
87574 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
87575 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
87576 s,@LIBICONV@,$LIBICONV,;t t
87577 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
87578 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
87579 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
87580 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
87581 s,@baseline_dir@,$baseline_dir,;t t
87582 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
87583 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
87584 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
87585 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
87586 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
87587 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
87588 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
87589 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
87590 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
87591 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
87592 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
87593 s,@gxx_include_dir@,$gxx_include_dir,;t t
87594 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
87595 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
87596 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
87597 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
87598 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
87599 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
87600 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
87601 s,@LIBOBJS@,$LIBOBJS,;t t
87602 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
87603 CEOF
87604
87605 _ACEOF
87606
87607 cat >>$CONFIG_STATUS <<\_ACEOF
87608 # Split the substitutions into bite-sized pieces for seds with
87609 # small command number limits, like on Digital OSF/1 and HP-UX.
87610 ac_max_sed_lines=48
87611 ac_sed_frag=1 # Number of current file.
87612 ac_beg=1 # First line for current file.
87613 ac_end=$ac_max_sed_lines # Line after last line for current file.
87614 ac_more_lines=:
87615 ac_sed_cmds=
87616 while $ac_more_lines; do
87617 if test $ac_beg -gt 1; then
87618 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87619 else
87620 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
87621 fi
87622 if test ! -s $tmp/subs.frag; then
87623 ac_more_lines=false
87624 else
87625 # The purpose of the label and of the branching condition is to
87626 # speed up the sed processing (if there are no `@' at all, there
87627 # is no need to browse any of the substitutions).
87628 # These are the two extra sed commands mentioned above.
87629 (echo ':t
87630 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
87631 if test -z "$ac_sed_cmds"; then
87632 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
87633 else
87634 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
87635 fi
87636 ac_sed_frag=`expr $ac_sed_frag + 1`
87637 ac_beg=$ac_end
87638 ac_end=`expr $ac_end + $ac_max_sed_lines`
87639 fi
87640 done
87641 if test -z "$ac_sed_cmds"; then
87642 ac_sed_cmds=cat
87643 fi
87644 fi # test -n "$CONFIG_FILES"
87645
87646 _ACEOF
87647 cat >>$CONFIG_STATUS <<\_ACEOF
87648 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
87649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87650 case $ac_file in
87651 - | *:- | *:-:* ) # input from stdin
87652 cat >$tmp/stdin
87653 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87654 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87655 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87656 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87657 * ) ac_file_in=$ac_file.in ;;
87658 esac
87659
87660 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
87661 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
87662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87663 X"$ac_file" : 'X\(//\)[^/]' \| \
87664 X"$ac_file" : 'X\(//\)$' \| \
87665 X"$ac_file" : 'X\(/\)' \| \
87666 . : '\(.\)' 2>/dev/null ||
87667 echo X"$ac_file" |
87668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87669 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87670 /^X\(\/\/\)$/{ s//\1/; q; }
87671 /^X\(\/\).*/{ s//\1/; q; }
87672 s/.*/./; q'`
87673 { if $as_mkdir_p; then
87674 mkdir -p "$ac_dir"
87675 else
87676 as_dir="$ac_dir"
87677 as_dirs=
87678 while test ! -d "$as_dir"; do
87679 as_dirs="$as_dir $as_dirs"
87680 as_dir=`(dirname "$as_dir") 2>/dev/null ||
87681 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
87682 X"$as_dir" : 'X\(//\)[^/]' \| \
87683 X"$as_dir" : 'X\(//\)$' \| \
87684 X"$as_dir" : 'X\(/\)' \| \
87685 . : '\(.\)' 2>/dev/null ||
87686 echo X"$as_dir" |
87687 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
87688 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
87689 /^X\(\/\/\)$/{ s//\1/; q; }
87690 /^X\(\/\).*/{ s//\1/; q; }
87691 s/.*/./; q'`
87692 done
87693 test ! -n "$as_dirs" || mkdir $as_dirs
87694 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
87695 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
87696 { (exit 1); exit 1; }; }; }
87697
87698 ac_builddir=.
87699
87700 if test "$ac_dir" != .; then
87701 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
87702 # A "../" for each directory in $ac_dir_suffix.
87703 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
87704 else
87705 ac_dir_suffix= ac_top_builddir=
87706 fi
87707
87708 case $srcdir in
87709 .) # No --srcdir option. We are building in place.
87710 ac_srcdir=.
87711 if test -z "$ac_top_builddir"; then
87712 ac_top_srcdir=.
87713 else
87714 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
87715 fi ;;
87716 [\\/]* | ?:[\\/]* ) # Absolute path.
87717 ac_srcdir=$srcdir$ac_dir_suffix;
87718 ac_top_srcdir=$srcdir ;;
87719 *) # Relative path.
87720 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
87721 ac_top_srcdir=$ac_top_builddir$srcdir ;;
87722 esac
87723
87724 # Do not use `cd foo && pwd` to compute absolute paths, because
87725 # the directories may not exist.
87726 case `pwd` in
87727 .) ac_abs_builddir="$ac_dir";;
87728 *)
87729 case "$ac_dir" in
87730 .) ac_abs_builddir=`pwd`;;
87731 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
87732 *) ac_abs_builddir=`pwd`/"$ac_dir";;
87733 esac;;
87734 esac
87735 case $ac_abs_builddir in
87736 .) ac_abs_top_builddir=${ac_top_builddir}.;;
87737 *)
87738 case ${ac_top_builddir}. in
87739 .) ac_abs_top_builddir=$ac_abs_builddir;;
87740 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
87741 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
87742 esac;;
87743 esac
87744 case $ac_abs_builddir in
87745 .) ac_abs_srcdir=$ac_srcdir;;
87746 *)
87747 case $ac_srcdir in
87748 .) ac_abs_srcdir=$ac_abs_builddir;;
87749 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
87750 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
87751 esac;;
87752 esac
87753 case $ac_abs_builddir in
87754 .) ac_abs_top_srcdir=$ac_top_srcdir;;
87755 *)
87756 case $ac_top_srcdir in
87757 .) ac_abs_top_srcdir=$ac_abs_builddir;;
87758 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
87759 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
87760 esac;;
87761 esac
87762
87763
87764 case $INSTALL in
87765 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
87766 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
87767 esac
87768
87769 if test x"$ac_file" != x-; then
87770 { echo "$as_me:$LINENO: creating $ac_file" >&5
87771 echo "$as_me: creating $ac_file" >&6;}
87772 rm -f "$ac_file"
87773 fi
87774 # Let's still pretend it is `configure' which instantiates (i.e., don't
87775 # use $as_me), people would be surprised to read:
87776 # /* config.h. Generated by config.status. */
87777 if test x"$ac_file" = x-; then
87778 configure_input=
87779 else
87780 configure_input="$ac_file. "
87781 fi
87782 configure_input=$configure_input"Generated from `echo $ac_file_in |
87783 sed 's,.*/,,'` by configure."
87784
87785 # First look for the input files in the build tree, otherwise in the
87786 # src tree.
87787 ac_file_inputs=`IFS=:
87788 for f in $ac_file_in; do
87789 case $f in
87790 -) echo $tmp/stdin ;;
87791 [\\/$]*)
87792 # Absolute (can't be DOS-style, as IFS=:)
87793 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87794 echo "$as_me: error: cannot find input file: $f" >&2;}
87795 { (exit 1); exit 1; }; }
87796 echo "$f";;
87797 *) # Relative
87798 if test -f "$f"; then
87799 # Build tree
87800 echo "$f"
87801 elif test -f "$srcdir/$f"; then
87802 # Source tree
87803 echo "$srcdir/$f"
87804 else
87805 # /dev/null tree
87806 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87807 echo "$as_me: error: cannot find input file: $f" >&2;}
87808 { (exit 1); exit 1; }; }
87809 fi;;
87810 esac
87811 done` || { (exit 1); exit 1; }
87812 _ACEOF
87813 cat >>$CONFIG_STATUS <<_ACEOF
87814 sed "$ac_vpsub
87815 $extrasub
87816 _ACEOF
87817 cat >>$CONFIG_STATUS <<\_ACEOF
87818 :t
87819 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
87820 s,@configure_input@,$configure_input,;t t
87821 s,@srcdir@,$ac_srcdir,;t t
87822 s,@abs_srcdir@,$ac_abs_srcdir,;t t
87823 s,@top_srcdir@,$ac_top_srcdir,;t t
87824 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
87825 s,@builddir@,$ac_builddir,;t t
87826 s,@abs_builddir@,$ac_abs_builddir,;t t
87827 s,@top_builddir@,$ac_top_builddir,;t t
87828 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
87829 s,@INSTALL@,$ac_INSTALL,;t t
87830 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
87831 rm -f $tmp/stdin
87832 if test x"$ac_file" != x-; then
87833 mv $tmp/out $ac_file
87834 else
87835 cat $tmp/out
87836 rm -f $tmp/out
87837 fi
87838
87839 # Run the commands associated with the file.
87840 case $ac_file in
87841 scripts/check_survey ) chmod +x scripts/check_survey ;;
87842 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
87843 esac
87844 done
87845 _ACEOF
87846 cat >>$CONFIG_STATUS <<\_ACEOF
87847
87848 #
87849 # CONFIG_HEADER section.
87850 #
87851
87852 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
87853 # NAME is the cpp macro being defined and VALUE is the value it is being given.
87854 #
87855 # ac_d sets the value in "#define NAME VALUE" lines.
87856 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
87857 ac_dB='[ ].*$,\1#\2'
87858 ac_dC=' '
87859 ac_dD=',;t'
87860 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
87861 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
87862 ac_uB='$,\1#\2define\3'
87863 ac_uC=' '
87864 ac_uD=',;t'
87865
87866 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
87867 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
87868 case $ac_file in
87869 - | *:- | *:-:* ) # input from stdin
87870 cat >$tmp/stdin
87871 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87872 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87873 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
87874 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
87875 * ) ac_file_in=$ac_file.in ;;
87876 esac
87877
87878 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
87879 echo "$as_me: creating $ac_file" >&6;}
87880
87881 # First look for the input files in the build tree, otherwise in the
87882 # src tree.
87883 ac_file_inputs=`IFS=:
87884 for f in $ac_file_in; do
87885 case $f in
87886 -) echo $tmp/stdin ;;
87887 [\\/$]*)
87888 # Absolute (can't be DOS-style, as IFS=:)
87889 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87890 echo "$as_me: error: cannot find input file: $f" >&2;}
87891 { (exit 1); exit 1; }; }
87892 # Do quote $f, to prevent DOS paths from being IFS'd.
87893 echo "$f";;
87894 *) # Relative
87895 if test -f "$f"; then
87896 # Build tree
87897 echo "$f"
87898 elif test -f "$srcdir/$f"; then
87899 # Source tree
87900 echo "$srcdir/$f"
87901 else
87902 # /dev/null tree
87903 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
87904 echo "$as_me: error: cannot find input file: $f" >&2;}
87905 { (exit 1); exit 1; }; }
87906 fi;;
87907 esac
87908 done` || { (exit 1); exit 1; }
87909 # Remove the trailing spaces.
87910 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
87911
87912 _ACEOF
87913
87914 # Transform confdefs.h into two sed scripts, `conftest.defines' and
87915 # `conftest.undefs', that substitutes the proper values into
87916 # config.h.in to produce config.h. The first handles `#define'
87917 # templates, and the second `#undef' templates.
87918 # And first: Protect against being on the right side of a sed subst in
87919 # config.status. Protect against being in an unquoted here document
87920 # in config.status.
87921 rm -f conftest.defines conftest.undefs
87922 # Using a here document instead of a string reduces the quoting nightmare.
87923 # Putting comments in sed scripts is not portable.
87924 #
87925 # `end' is used to avoid that the second main sed command (meant for
87926 # 0-ary CPP macros) applies to n-ary macro definitions.
87927 # See the Autoconf documentation for `clear'.
87928 cat >confdef2sed.sed <<\_ACEOF
87929 s/[\\&,]/\\&/g
87930 s,[\\$`],\\&,g
87931 t clear
87932 : clear
87933 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
87934 t end
87935 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
87936 : end
87937 _ACEOF
87938 # If some macros were called several times there might be several times
87939 # the same #defines, which is useless. Nevertheless, we may not want to
87940 # sort them, since we want the *last* AC-DEFINE to be honored.
87941 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
87942 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
87943 rm -f confdef2sed.sed
87944
87945 # This sed command replaces #undef with comments. This is necessary, for
87946 # example, in the case of _POSIX_SOURCE, which is predefined and required
87947 # on some systems where configure will not decide to define it.
87948 cat >>conftest.undefs <<\_ACEOF
87949 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
87950 _ACEOF
87951
87952 # Break up conftest.defines because some shells have a limit on the size
87953 # of here documents, and old seds have small limits too (100 cmds).
87954 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
87955 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
87956 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
87957 echo ' :' >>$CONFIG_STATUS
87958 rm -f conftest.tail
87959 while grep . conftest.defines >/dev/null
87960 do
87961 # Write a limited-size here document to $tmp/defines.sed.
87962 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
87963 # Speed up: don't consider the non `#define' lines.
87964 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
87965 # Work around the forget-to-reset-the-flag bug.
87966 echo 't clr' >>$CONFIG_STATUS
87967 echo ': clr' >>$CONFIG_STATUS
87968 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
87969 echo 'CEOF
87970 sed -f $tmp/defines.sed $tmp/in >$tmp/out
87971 rm -f $tmp/in
87972 mv $tmp/out $tmp/in
87973 ' >>$CONFIG_STATUS
87974 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
87975 rm -f conftest.defines
87976 mv conftest.tail conftest.defines
87977 done
87978 rm -f conftest.defines
87979 echo ' fi # grep' >>$CONFIG_STATUS
87980 echo >>$CONFIG_STATUS
87981
87982 # Break up conftest.undefs because some shells have a limit on the size
87983 # of here documents, and old seds have small limits too (100 cmds).
87984 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
87985 rm -f conftest.tail
87986 while grep . conftest.undefs >/dev/null
87987 do
87988 # Write a limited-size here document to $tmp/undefs.sed.
87989 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
87990 # Speed up: don't consider the non `#undef'
87991 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
87992 # Work around the forget-to-reset-the-flag bug.
87993 echo 't clr' >>$CONFIG_STATUS
87994 echo ': clr' >>$CONFIG_STATUS
87995 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
87996 echo 'CEOF
87997 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
87998 rm -f $tmp/in
87999 mv $tmp/out $tmp/in
88000 ' >>$CONFIG_STATUS
88001 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
88002 rm -f conftest.undefs
88003 mv conftest.tail conftest.undefs
88004 done
88005 rm -f conftest.undefs
88006
88007 cat >>$CONFIG_STATUS <<\_ACEOF
88008 # Let's still pretend it is `configure' which instantiates (i.e., don't
88009 # use $as_me), people would be surprised to read:
88010 # /* config.h. Generated by config.status. */
88011 if test x"$ac_file" = x-; then
88012 echo "/* Generated by configure. */" >$tmp/config.h
88013 else
88014 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
88015 fi
88016 cat $tmp/in >>$tmp/config.h
88017 rm -f $tmp/in
88018 if test x"$ac_file" != x-; then
88019 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
88020 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
88021 echo "$as_me: $ac_file is unchanged" >&6;}
88022 else
88023 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
88024 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88025 X"$ac_file" : 'X\(//\)[^/]' \| \
88026 X"$ac_file" : 'X\(//\)$' \| \
88027 X"$ac_file" : 'X\(/\)' \| \
88028 . : '\(.\)' 2>/dev/null ||
88029 echo X"$ac_file" |
88030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88032 /^X\(\/\/\)$/{ s//\1/; q; }
88033 /^X\(\/\).*/{ s//\1/; q; }
88034 s/.*/./; q'`
88035 { if $as_mkdir_p; then
88036 mkdir -p "$ac_dir"
88037 else
88038 as_dir="$ac_dir"
88039 as_dirs=
88040 while test ! -d "$as_dir"; do
88041 as_dirs="$as_dir $as_dirs"
88042 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88043 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88044 X"$as_dir" : 'X\(//\)[^/]' \| \
88045 X"$as_dir" : 'X\(//\)$' \| \
88046 X"$as_dir" : 'X\(/\)' \| \
88047 . : '\(.\)' 2>/dev/null ||
88048 echo X"$as_dir" |
88049 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88050 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88051 /^X\(\/\/\)$/{ s//\1/; q; }
88052 /^X\(\/\).*/{ s//\1/; q; }
88053 s/.*/./; q'`
88054 done
88055 test ! -n "$as_dirs" || mkdir $as_dirs
88056 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88057 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88058 { (exit 1); exit 1; }; }; }
88059
88060 rm -f $ac_file
88061 mv $tmp/config.h $ac_file
88062 fi
88063 else
88064 cat $tmp/config.h
88065 rm -f $tmp/config.h
88066 fi
88067 # Compute $ac_file's index in $config_headers.
88068 _am_stamp_count=1
88069 for _am_header in $config_headers :; do
88070 case $_am_header in
88071 $ac_file | $ac_file:* )
88072 break ;;
88073 * )
88074 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
88075 esac
88076 done
88077 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
88078 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88079 X$ac_file : 'X\(//\)[^/]' \| \
88080 X$ac_file : 'X\(//\)$' \| \
88081 X$ac_file : 'X\(/\)' \| \
88082 . : '\(.\)' 2>/dev/null ||
88083 echo X$ac_file |
88084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88086 /^X\(\/\/\)$/{ s//\1/; q; }
88087 /^X\(\/\).*/{ s//\1/; q; }
88088 s/.*/./; q'`/stamp-h$_am_stamp_count
88089 done
88090 _ACEOF
88091 cat >>$CONFIG_STATUS <<\_ACEOF
88092
88093 #
88094 # CONFIG_COMMANDS section.
88095 #
88096 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
88097 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
88098 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
88099 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
88100 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88101 X"$ac_dest" : 'X\(//\)[^/]' \| \
88102 X"$ac_dest" : 'X\(//\)$' \| \
88103 X"$ac_dest" : 'X\(/\)' \| \
88104 . : '\(.\)' 2>/dev/null ||
88105 echo X"$ac_dest" |
88106 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88107 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88108 /^X\(\/\/\)$/{ s//\1/; q; }
88109 /^X\(\/\).*/{ s//\1/; q; }
88110 s/.*/./; q'`
88111 { if $as_mkdir_p; then
88112 mkdir -p "$ac_dir"
88113 else
88114 as_dir="$ac_dir"
88115 as_dirs=
88116 while test ! -d "$as_dir"; do
88117 as_dirs="$as_dir $as_dirs"
88118 as_dir=`(dirname "$as_dir") 2>/dev/null ||
88119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
88120 X"$as_dir" : 'X\(//\)[^/]' \| \
88121 X"$as_dir" : 'X\(//\)$' \| \
88122 X"$as_dir" : 'X\(/\)' \| \
88123 . : '\(.\)' 2>/dev/null ||
88124 echo X"$as_dir" |
88125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
88126 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
88127 /^X\(\/\/\)$/{ s//\1/; q; }
88128 /^X\(\/\).*/{ s//\1/; q; }
88129 s/.*/./; q'`
88130 done
88131 test ! -n "$as_dirs" || mkdir $as_dirs
88132 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
88133 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
88134 { (exit 1); exit 1; }; }; }
88135
88136 ac_builddir=.
88137
88138 if test "$ac_dir" != .; then
88139 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
88140 # A "../" for each directory in $ac_dir_suffix.
88141 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
88142 else
88143 ac_dir_suffix= ac_top_builddir=
88144 fi
88145
88146 case $srcdir in
88147 .) # No --srcdir option. We are building in place.
88148 ac_srcdir=.
88149 if test -z "$ac_top_builddir"; then
88150 ac_top_srcdir=.
88151 else
88152 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
88153 fi ;;
88154 [\\/]* | ?:[\\/]* ) # Absolute path.
88155 ac_srcdir=$srcdir$ac_dir_suffix;
88156 ac_top_srcdir=$srcdir ;;
88157 *) # Relative path.
88158 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
88159 ac_top_srcdir=$ac_top_builddir$srcdir ;;
88160 esac
88161
88162 # Do not use `cd foo && pwd` to compute absolute paths, because
88163 # the directories may not exist.
88164 case `pwd` in
88165 .) ac_abs_builddir="$ac_dir";;
88166 *)
88167 case "$ac_dir" in
88168 .) ac_abs_builddir=`pwd`;;
88169 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
88170 *) ac_abs_builddir=`pwd`/"$ac_dir";;
88171 esac;;
88172 esac
88173 case $ac_abs_builddir in
88174 .) ac_abs_top_builddir=${ac_top_builddir}.;;
88175 *)
88176 case ${ac_top_builddir}. in
88177 .) ac_abs_top_builddir=$ac_abs_builddir;;
88178 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
88179 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
88180 esac;;
88181 esac
88182 case $ac_abs_builddir in
88183 .) ac_abs_srcdir=$ac_srcdir;;
88184 *)
88185 case $ac_srcdir in
88186 .) ac_abs_srcdir=$ac_abs_builddir;;
88187 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
88188 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
88189 esac;;
88190 esac
88191 case $ac_abs_builddir in
88192 .) ac_abs_top_srcdir=$ac_top_srcdir;;
88193 *)
88194 case $ac_top_srcdir in
88195 .) ac_abs_top_srcdir=$ac_abs_builddir;;
88196 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
88197 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
88198 esac;;
88199 esac
88200
88201
88202 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
88203 echo "$as_me: executing $ac_dest commands" >&6;}
88204 case $ac_dest in
88205 default-1 )
88206 # Only add multilib support code if we just rebuilt the top-level
88207 # Makefile.
88208 case " $CONFIG_FILES " in
88209 *" Makefile "*)
88210 ac_file=Makefile . ${multi_basedir}/config-ml.in
88211 ;;
88212 esac ;;
88213 default ) if test -n "$CONFIG_FILES"; then
88214 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
88215 # that multilib installs will end up installed in the correct place.
88216 # The testsuite needs it for multilib-aware ABI baseline files.
88217 # To work around this not being passed down from config-ml.in ->
88218 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
88219 # append it here. Only modify Makefiles that have just been created.
88220 #
88221 # Also, get rid of this simulated-VPATH thing that automake does.
88222 cat > vpsed << \_EOF
88223 s!`test -f '$<' || echo '$(srcdir)/'`!!
88224 _EOF
88225 for i in $SUBDIRS; do
88226 case $CONFIG_FILES in
88227 *${i}/Makefile*)
88228 #echo "Adding MULTISUBDIR to $i/Makefile"
88229 sed -f vpsed $i/Makefile > tmp
88230 grep '^MULTISUBDIR =' Makefile >> tmp
88231 mv tmp $i/Makefile
88232 ;;
88233 esac
88234 done
88235 rm vpsed
88236 fi
88237 (cd include && ${MAKE-make})
88238 ;;
88239 esac
88240 done
88241 _ACEOF
88242
88243 cat >>$CONFIG_STATUS <<\_ACEOF
88244
88245 { (exit 0); exit 0; }
88246 _ACEOF
88247 chmod +x $CONFIG_STATUS
88248 ac_clean_files=$ac_clean_files_save
88249
88250
88251 # configure is writing to config.log, and then calls config.status.
88252 # config.status does its own redirection, appending to config.log.
88253 # Unfortunately, on DOS this fails, as config.log is still kept open
88254 # by configure, so config.status won't be able to write to it; its
88255 # output is simply discarded. So we exec the FD to /dev/null,
88256 # effectively closing config.log, so it can be properly (re)opened and
88257 # appended to by config.status. When coming back to configure, we
88258 # need to make the FD available again.
88259 if test "$no_create" != yes; then
88260 ac_cs_success=:
88261 ac_config_status_args=
88262 test "$silent" = yes &&
88263 ac_config_status_args="$ac_config_status_args --quiet"
88264 exec 5>/dev/null
88265 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
88266 exec 5>>config.log
88267 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
88268 # would make configure fail if this is the last instruction.
88269 $ac_cs_success || { (exit 1); exit 1; }
88270 fi
88271