]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/configure
acinclude.m4: Use -Wl,-z,relro if possible.
[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_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
361 fi
362
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365 # Accept the important Cygnus configure options, so we can diagnose typos.
366
367 case $ac_option in
368
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
373
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
378
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
385
386 --config-cache | -C)
387 cache_file=config.cache ;;
388
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
394
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
403
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
416
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
425
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
429
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
436
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
441
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
448
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
453
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
458
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
465
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
474
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
479
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
483
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
487
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
491
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
500
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
505
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
512
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
519
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
536
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
540
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
546
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
557
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
562
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
567
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
574
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
579
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
582
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
585
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
598
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
607
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
611
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
618
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
625
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
629 ;;
630
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
640
641 *)
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647 ;;
648
649 esac
650 done
651
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
672 do
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
696 fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
724 fi
725 else
726 ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
735 fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_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 _g_switchUse thread-local storage
891 [default=yes]
892 --enable-symvers=STYLE enables symbol versioning of the shared library
893 [default=yes]
894 --enable-version-specific-runtime-libs
895 Specify that runtime libraries should be installed
896 in a compiler-specific directory
897
898 Optional Packages:
899 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
900 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
901 --with-target-subdir=SUBDIR
902 configuring in a subdirectory
903 --with-cross-host=HOST configuring with a cross compiler
904 --with-newlib assume newlib as a system C library
905 --with-gnu-ld assume the C compiler uses GNU ld default=no
906 --with-pic try to use only PIC/non-PIC objects default=use both
907 --with-gxx-include-dir=DIR
908 installation directory for include files
909
910 Some influential environment variables:
911 CC C compiler command
912 CFLAGS C compiler flags
913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
914 nonstandard directory <lib dir>
915 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
916 headers in a nonstandard directory <include dir>
917 CXX C++ compiler command
918 CXXFLAGS C++ compiler flags
919 CXXCPP C++ preprocessor
920 CPP C preprocessor
921
922 Use these variables to override the choices made by `configure' or to help
923 it to find libraries and programs with nonstandard names/locations.
924
925 _ACEOF
926 fi
927
928 if test "$ac_init_help" = "recursive"; then
929 # If there are subdirs, report their specific --help.
930 ac_popdir=`pwd`
931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
932 test -d $ac_dir || continue
933 ac_builddir=.
934
935 if test "$ac_dir" != .; then
936 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
937 # A "../" for each directory in $ac_dir_suffix.
938 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
939 else
940 ac_dir_suffix= ac_top_builddir=
941 fi
942
943 case $srcdir in
944 .) # No --srcdir option. We are building in place.
945 ac_srcdir=.
946 if test -z "$ac_top_builddir"; then
947 ac_top_srcdir=.
948 else
949 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
950 fi ;;
951 [\\/]* | ?:[\\/]* ) # Absolute path.
952 ac_srcdir=$srcdir$ac_dir_suffix;
953 ac_top_srcdir=$srcdir ;;
954 *) # Relative path.
955 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
956 ac_top_srcdir=$ac_top_builddir$srcdir ;;
957 esac
958
959 # Do not use `cd foo && pwd` to compute absolute paths, because
960 # the directories may not exist.
961 case `pwd` in
962 .) ac_abs_builddir="$ac_dir";;
963 *)
964 case "$ac_dir" in
965 .) ac_abs_builddir=`pwd`;;
966 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
967 *) ac_abs_builddir=`pwd`/"$ac_dir";;
968 esac;;
969 esac
970 case $ac_abs_builddir in
971 .) ac_abs_top_builddir=${ac_top_builddir}.;;
972 *)
973 case ${ac_top_builddir}. in
974 .) ac_abs_top_builddir=$ac_abs_builddir;;
975 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
976 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
977 esac;;
978 esac
979 case $ac_abs_builddir in
980 .) ac_abs_srcdir=$ac_srcdir;;
981 *)
982 case $ac_srcdir in
983 .) ac_abs_srcdir=$ac_abs_builddir;;
984 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
985 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
986 esac;;
987 esac
988 case $ac_abs_builddir in
989 .) ac_abs_top_srcdir=$ac_top_srcdir;;
990 *)
991 case $ac_top_srcdir in
992 .) ac_abs_top_srcdir=$ac_abs_builddir;;
993 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
994 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
995 esac;;
996 esac
997
998 cd $ac_dir
999 # Check for guested configure; otherwise get Cygnus style configure.
1000 if test -f $ac_srcdir/configure.gnu; then
1001 echo
1002 $SHELL $ac_srcdir/configure.gnu --help=recursive
1003 elif test -f $ac_srcdir/configure; then
1004 echo
1005 $SHELL $ac_srcdir/configure --help=recursive
1006 elif test -f $ac_srcdir/configure.ac ||
1007 test -f $ac_srcdir/configure.in; then
1008 echo
1009 $ac_configure --help
1010 else
1011 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1012 fi
1013 cd $ac_popdir
1014 done
1015 fi
1016
1017 test -n "$ac_init_help" && exit 0
1018 if $ac_init_version; then
1019 cat <<\_ACEOF
1020 package-unused configure version-unused
1021 generated by GNU Autoconf 2.59
1022
1023 Copyright (C) 2003 Free Software Foundation, Inc.
1024 This configure script is free software; the Free Software Foundation
1025 gives unlimited permission to copy, distribute and modify it.
1026 _ACEOF
1027 exit 0
1028 fi
1029 exec 5>config.log
1030 cat >&5 <<_ACEOF
1031 This file contains any messages produced by compilers while
1032 running configure, to aid debugging if configure makes a mistake.
1033
1034 It was created by package-unused $as_me version-unused, which was
1035 generated by GNU Autoconf 2.59. Invocation command line was
1036
1037 $ $0 $@
1038
1039 _ACEOF
1040 {
1041 cat <<_ASUNAME
1042 ## --------- ##
1043 ## Platform. ##
1044 ## --------- ##
1045
1046 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1047 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1048 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1049 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1050 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1051
1052 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1053 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1054
1055 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1056 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1057 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1058 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1059 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1060 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1061 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1062
1063 _ASUNAME
1064
1065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1066 for as_dir in $PATH
1067 do
1068 IFS=$as_save_IFS
1069 test -z "$as_dir" && as_dir=.
1070 echo "PATH: $as_dir"
1071 done
1072
1073 } >&5
1074
1075 cat >&5 <<_ACEOF
1076
1077
1078 ## ----------- ##
1079 ## Core tests. ##
1080 ## ----------- ##
1081
1082 _ACEOF
1083
1084
1085 # Keep a trace of the command line.
1086 # Strip out --no-create and --no-recursion so they do not pile up.
1087 # Strip out --silent because we don't want to record it for future runs.
1088 # Also quote any args containing shell meta-characters.
1089 # Make two passes to allow for proper duplicate-argument suppression.
1090 ac_configure_args=
1091 ac_configure_args0=
1092 ac_configure_args1=
1093 ac_sep=
1094 ac_must_keep_next=false
1095 for ac_pass in 1 2
1096 do
1097 for ac_arg
1098 do
1099 case $ac_arg in
1100 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1101 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1102 | -silent | --silent | --silen | --sile | --sil)
1103 continue ;;
1104 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1105 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106 esac
1107 case $ac_pass in
1108 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1109 2)
1110 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1111 if test $ac_must_keep_next = true; then
1112 ac_must_keep_next=false # Got value, back to normal.
1113 else
1114 case $ac_arg in
1115 *=* | --config-cache | -C | -disable-* | --disable-* \
1116 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1117 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1118 | -with-* | --with-* | -without-* | --without-* | --x)
1119 case "$ac_configure_args0 " in
1120 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121 esac
1122 ;;
1123 -* ) ac_must_keep_next=true ;;
1124 esac
1125 fi
1126 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1127 # Get rid of the leading space.
1128 ac_sep=" "
1129 ;;
1130 esac
1131 done
1132 done
1133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1135
1136 # When interrupted or exit'd, cleanup temporary files, and complete
1137 # config.log. We remove comments because anyway the quotes in there
1138 # would cause problems or look ugly.
1139 # WARNING: Be sure not to use single quotes in there, as some shells,
1140 # such as our DU 5.0 friend, will then `close' the trap.
1141 trap 'exit_status=$?
1142 # Save into config.log some information that might help in debugging.
1143 {
1144 echo
1145
1146 cat <<\_ASBOX
1147 ## ---------------- ##
1148 ## Cache variables. ##
1149 ## ---------------- ##
1150 _ASBOX
1151 echo
1152 # The following way of writing the cache mishandles newlines in values,
1153 {
1154 (set) 2>&1 |
1155 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1156 *ac_space=\ *)
1157 sed -n \
1158 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1159 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 ;;
1161 *)
1162 sed -n \
1163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1164 ;;
1165 esac;
1166 }
1167 echo
1168
1169 cat <<\_ASBOX
1170 ## ----------------- ##
1171 ## Output variables. ##
1172 ## ----------------- ##
1173 _ASBOX
1174 echo
1175 for ac_var in $ac_subst_vars
1176 do
1177 eval ac_val=$`echo $ac_var`
1178 echo "$ac_var='"'"'$ac_val'"'"'"
1179 done | sort
1180 echo
1181
1182 if test -n "$ac_subst_files"; then
1183 cat <<\_ASBOX
1184 ## ------------- ##
1185 ## Output files. ##
1186 ## ------------- ##
1187 _ASBOX
1188 echo
1189 for ac_var in $ac_subst_files
1190 do
1191 eval ac_val=$`echo $ac_var`
1192 echo "$ac_var='"'"'$ac_val'"'"'"
1193 done | sort
1194 echo
1195 fi
1196
1197 if test -s confdefs.h; then
1198 cat <<\_ASBOX
1199 ## ----------- ##
1200 ## confdefs.h. ##
1201 ## ----------- ##
1202 _ASBOX
1203 echo
1204 sed "/^$/d" confdefs.h | sort
1205 echo
1206 fi
1207 test "$ac_signal" != 0 &&
1208 echo "$as_me: caught signal $ac_signal"
1209 echo "$as_me: exit $exit_status"
1210 } >&5
1211 rm -f core *.core &&
1212 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1213 exit $exit_status
1214 ' 0
1215 for ac_signal in 1 2 13 15; do
1216 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1217 done
1218 ac_signal=0
1219
1220 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1221 rm -rf conftest* confdefs.h
1222 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1223 echo >confdefs.h
1224
1225 # Predefined preprocessor variables.
1226
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_NAME "$PACKAGE_NAME"
1229 _ACEOF
1230
1231
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1234 _ACEOF
1235
1236
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1239 _ACEOF
1240
1241
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_STRING "$PACKAGE_STRING"
1244 _ACEOF
1245
1246
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1249 _ACEOF
1250
1251
1252 # Let the site file select an alternate cache file if it wants to.
1253 # Prefer explicitly selected file to automatically selected ones.
1254 if test -z "$CONFIG_SITE"; then
1255 if test "x$prefix" != xNONE; then
1256 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1257 else
1258 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 fi
1260 fi
1261 for ac_site_file in $CONFIG_SITE; do
1262 if test -r "$ac_site_file"; then
1263 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1264 echo "$as_me: loading site script $ac_site_file" >&6;}
1265 sed 's/^/| /' "$ac_site_file" >&5
1266 . "$ac_site_file"
1267 fi
1268 done
1269
1270 if test -r "$cache_file"; then
1271 # Some versions of bash will fail to source /dev/null (special
1272 # files actually), so we avoid doing that.
1273 if test -f "$cache_file"; then
1274 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1275 echo "$as_me: loading cache $cache_file" >&6;}
1276 case $cache_file in
1277 [\\/]* | ?:[\\/]* ) . $cache_file;;
1278 *) . ./$cache_file;;
1279 esac
1280 fi
1281 else
1282 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1283 echo "$as_me: creating cache $cache_file" >&6;}
1284 >$cache_file
1285 fi
1286
1287 # Check that the precious variables saved in the cache have kept the same
1288 # value.
1289 ac_cache_corrupted=false
1290 for ac_var in `(set) 2>&1 |
1291 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1292 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1293 eval ac_new_set=\$ac_env_${ac_var}_set
1294 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1295 eval ac_new_val="\$ac_env_${ac_var}_value"
1296 case $ac_old_set,$ac_new_set in
1297 set,)
1298 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1299 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1300 ac_cache_corrupted=: ;;
1301 ,set)
1302 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1303 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1304 ac_cache_corrupted=: ;;
1305 ,);;
1306 *)
1307 if test "x$ac_old_val" != "x$ac_new_val"; then
1308 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1309 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1310 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1311 echo "$as_me: former value: $ac_old_val" >&2;}
1312 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1313 echo "$as_me: current value: $ac_new_val" >&2;}
1314 ac_cache_corrupted=:
1315 fi;;
1316 esac
1317 # Pass precious variables to config.status.
1318 if test "$ac_new_set" = set; then
1319 case $ac_new_val in
1320 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1321 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1322 *) ac_arg=$ac_var=$ac_new_val ;;
1323 esac
1324 case " $ac_configure_args " in
1325 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1326 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1327 esac
1328 fi
1329 done
1330 if $ac_cache_corrupted; then
1331 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1332 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1333 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1334 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1335 { (exit 1); exit 1; }; }
1336 fi
1337
1338 ac_ext=c
1339 ac_cpp='$CPP $CPPFLAGS'
1340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371 ac_config_headers="$ac_config_headers config.h"
1372
1373
1374 # This works around the fact that libtool configuration may change LD
1375 # for this particular configuration, but some shells, instead of
1376 # keeping the changes in LD private, export them just because LD is
1377 # exported. Only used at the end of this file.
1378 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1379
1380 # For libtool versioning info, format is CURRENT:REVISION:AGE
1381 libtool_VERSION=6:7:0
1382
1383
1384 # Find the rest of the source tree framework.
1385 # Default to --enable-multilib
1386 # Check whether --enable-multilib or --disable-multilib was given.
1387 if test "${enable_multilib+set}" = set; then
1388 enableval="$enable_multilib"
1389 case "$enableval" in
1390 yes) multilib=yes ;;
1391 no) multilib=no ;;
1392 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1393 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1394 { (exit 1); exit 1; }; } ;;
1395 esac
1396 else
1397 multilib=yes
1398 fi;
1399
1400 # We may get other options which we leave undocumented:
1401 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1402 # See config-ml.in if you want the gory details.
1403
1404 if test "$srcdir" = "."; then
1405 if test "$with_target_subdir" != "."; then
1406 multi_basedir="$srcdir/$with_multisrctop../.."
1407 else
1408 multi_basedir="$srcdir/$with_multisrctop.."
1409 fi
1410 else
1411 multi_basedir="$srcdir/.."
1412 fi
1413
1414
1415 ac_config_commands="$ac_config_commands default-1"
1416
1417
1418 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1419 #
1420 # You will slowly go insane if you do not grok the following fact: when
1421 # building v3 as part of the compiler, the top-level /target/ becomes the
1422 # library's /host/. configure then causes --target to default to --host,
1423 # exactly like any other package using autoconf. Therefore, 'target' and
1424 # 'host' will always be the same. This makes sense both for native and
1425 # cross compilers, just think about it for a little while. :-)
1426 #
1427 # Also, if v3 is being configured as part of a cross compiler, the top-level
1428 # configure script will pass the "real" host as $with_cross_host.
1429 #
1430 # Do not delete or change the following two lines. For why, see
1431 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1432 ac_aux_dir=
1433 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1434 if test -f $ac_dir/install-sh; then
1435 ac_aux_dir=$ac_dir
1436 ac_install_sh="$ac_aux_dir/install-sh -c"
1437 break
1438 elif test -f $ac_dir/install.sh; then
1439 ac_aux_dir=$ac_dir
1440 ac_install_sh="$ac_aux_dir/install.sh -c"
1441 break
1442 elif test -f $ac_dir/shtool; then
1443 ac_aux_dir=$ac_dir
1444 ac_install_sh="$ac_aux_dir/shtool install -c"
1445 break
1446 fi
1447 done
1448 if test -z "$ac_aux_dir"; then
1449 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1450 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1451 { (exit 1); exit 1; }; }
1452 fi
1453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1455 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1456
1457 # Make sure we can run config.sub.
1458 $ac_config_sub sun4 >/dev/null 2>&1 ||
1459 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1460 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1461 { (exit 1); exit 1; }; }
1462
1463 echo "$as_me:$LINENO: checking build system type" >&5
1464 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1465 if test "${ac_cv_build+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1467 else
1468 ac_cv_build_alias=$build_alias
1469 test -z "$ac_cv_build_alias" &&
1470 ac_cv_build_alias=`$ac_config_guess`
1471 test -z "$ac_cv_build_alias" &&
1472 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1473 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1474 { (exit 1); exit 1; }; }
1475 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1476 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1477 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1478 { (exit 1); exit 1; }; }
1479
1480 fi
1481 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1482 echo "${ECHO_T}$ac_cv_build" >&6
1483 build=$ac_cv_build
1484 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1485 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1486 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487
1488
1489 echo "$as_me:$LINENO: checking host system type" >&5
1490 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1491 if test "${ac_cv_host+set}" = set; then
1492 echo $ECHO_N "(cached) $ECHO_C" >&6
1493 else
1494 ac_cv_host_alias=$host_alias
1495 test -z "$ac_cv_host_alias" &&
1496 ac_cv_host_alias=$ac_cv_build_alias
1497 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1498 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1499 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1500 { (exit 1); exit 1; }; }
1501
1502 fi
1503 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1504 echo "${ECHO_T}$ac_cv_host" >&6
1505 host=$ac_cv_host
1506 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1507 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1508 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509
1510
1511 echo "$as_me:$LINENO: checking target system type" >&5
1512 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1513 if test "${ac_cv_target+set}" = set; then
1514 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 else
1516 ac_cv_target_alias=$target_alias
1517 test "x$ac_cv_target_alias" = "x" &&
1518 ac_cv_target_alias=$ac_cv_host_alias
1519 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1520 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1521 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1522 { (exit 1); exit 1; }; }
1523
1524 fi
1525 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1526 echo "${ECHO_T}$ac_cv_target" >&6
1527 target=$ac_cv_target
1528 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1529 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1530 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531
1532
1533 # The aliases save the names the user supplied, while $host etc.
1534 # will get canonicalized.
1535 test -n "$target_alias" &&
1536 test "$program_prefix$program_suffix$program_transform_name" = \
1537 NONENONEs,x,x, &&
1538 program_prefix=${target_alias}-
1539 target_alias=${target_alias-$host_alias}
1540
1541 # Handy for debugging:
1542 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1543
1544 if test "$build" != "$host"; then
1545 # We are being configured with some form of cross compiler.
1546 GLIBCXX_IS_NATIVE=false
1547 case "$host","$target" in
1548 # Darwin crosses can use the host system's libraries and headers,
1549 # because of the fat library support. Of course, it must be the
1550 # same version of Darwin on both sides. Allow the user to
1551 # just say --target=foo-darwin without a version number to mean
1552 # "the version on this system".
1553 *-*-darwin*,*-*-darwin*)
1554 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1555 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1556 if test $hostos = $targetos -o $targetos = darwin ; then
1557 GLIBCXX_IS_NATIVE=true
1558 fi
1559 ;;
1560
1561 *)
1562
1563 ;;
1564 esac
1565 else
1566 GLIBCXX_IS_NATIVE=true
1567 fi
1568
1569 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1570 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1571 # 1.x: minimum required version
1572 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1573 # of other PACKAGE_* variables will, however, and there's nothing
1574 # we can do about that; they come from AC_INIT).
1575 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1576 # file in the top srcdir, etc, etc), so stop complaining.
1577 # no-dependencies: turns off auto dependency generation (just for now)
1578 # -Wall: turns on all automake warnings...
1579 # -Wno-portability: ...except this one, since GNU make is now required.
1580 am__api_version="1.9"
1581 # Find a good install program. We prefer a C program (faster),
1582 # so one script is as good as another. But avoid the broken or
1583 # incompatible versions:
1584 # SysV /etc/install, /usr/sbin/install
1585 # SunOS /usr/etc/install
1586 # IRIX /sbin/install
1587 # AIX /bin/install
1588 # AmigaOS /C/install, which installs bootblocks on floppy discs
1589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1592 # OS/2's system install, which has a completely different semantic
1593 # ./install, which can be erroneously created by make from ./install.sh.
1594 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1595 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1596 if test -z "$INSTALL"; then
1597 if test "${ac_cv_path_install+set}" = set; then
1598 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 else
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 for as_dir in $PATH
1602 do
1603 IFS=$as_save_IFS
1604 test -z "$as_dir" && as_dir=.
1605 # Account for people who put trailing slashes in PATH elements.
1606 case $as_dir/ in
1607 ./ | .// | /cC/* | \
1608 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1609 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1610 /usr/ucb/* ) ;;
1611 *)
1612 # OSF1 and SCO ODT 3.0 have their own names for install.
1613 # Don't use installbsd from OSF since it installs stuff as root
1614 # by default.
1615 for ac_prog in ginstall scoinst install; do
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1618 if test $ac_prog = install &&
1619 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1620 # AIX install. It has an incompatible calling convention.
1621 :
1622 elif test $ac_prog = install &&
1623 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1624 # program-specific install script used by HP pwplus--don't use.
1625 :
1626 else
1627 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1628 break 3
1629 fi
1630 fi
1631 done
1632 done
1633 ;;
1634 esac
1635 done
1636
1637
1638 fi
1639 if test "${ac_cv_path_install+set}" = set; then
1640 INSTALL=$ac_cv_path_install
1641 else
1642 # As a last resort, use the slow shell script. We don't cache a
1643 # path for INSTALL within a source directory, because that will
1644 # break other packages using the cache if that directory is
1645 # removed, or if the path is relative.
1646 INSTALL=$ac_install_sh
1647 fi
1648 fi
1649 echo "$as_me:$LINENO: result: $INSTALL" >&5
1650 echo "${ECHO_T}$INSTALL" >&6
1651
1652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1653 # It thinks the first close brace ends the variable substitution.
1654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1655
1656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1657
1658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1659
1660 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1661 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1662 # Just in case
1663 sleep 1
1664 echo timestamp > conftest.file
1665 # Do `set' in a subshell so we don't clobber the current shell's
1666 # arguments. Must try -L first in case configure is actually a
1667 # symlink; some systems play weird games with the mod time of symlinks
1668 # (eg FreeBSD returns the mod time of the symlink's containing
1669 # directory).
1670 if (
1671 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1672 if test "$*" = "X"; then
1673 # -L didn't work.
1674 set X `ls -t $srcdir/configure conftest.file`
1675 fi
1676 rm -f conftest.file
1677 if test "$*" != "X $srcdir/configure conftest.file" \
1678 && test "$*" != "X conftest.file $srcdir/configure"; then
1679
1680 # If neither matched, then we have a broken ls. This can happen
1681 # if, for instance, CONFIG_SHELL is bash and it inherits a
1682 # broken ls alias from the environment. This has actually
1683 # happened. Such a system could not be considered "sane".
1684 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1685 alias in your environment" >&5
1686 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1687 alias in your environment" >&2;}
1688 { (exit 1); exit 1; }; }
1689 fi
1690
1691 test "$2" = conftest.file
1692 )
1693 then
1694 # Ok.
1695 :
1696 else
1697 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1698 Check your system clock" >&5
1699 echo "$as_me: error: newly created file is older than distributed files!
1700 Check your system clock" >&2;}
1701 { (exit 1); exit 1; }; }
1702 fi
1703 echo "$as_me:$LINENO: result: yes" >&5
1704 echo "${ECHO_T}yes" >&6
1705 test "$program_prefix" != NONE &&
1706 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1707 # Use a double $ so make ignores it.
1708 test "$program_suffix" != NONE &&
1709 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1710 # Double any \ or $. echo might interpret backslashes.
1711 # By default was `s,x,x', remove it if useless.
1712 cat <<\_ACEOF >conftest.sed
1713 s/[\\$]/&&/g;s/;s,x,x,$//
1714 _ACEOF
1715 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1716 rm conftest.sed
1717
1718 # expand $ac_aux_dir to an absolute path
1719 am_aux_dir=`cd $ac_aux_dir && pwd`
1720
1721 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1722 # Use eval to expand $SHELL
1723 if eval "$MISSING --run true"; then
1724 am_missing_run="$MISSING --run "
1725 else
1726 am_missing_run=
1727 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1728 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1729 fi
1730
1731 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1732 # We used to keeping the `.' as first argument, in order to
1733 # allow $(mkdir_p) to be used without argument. As in
1734 # $(mkdir_p) $(somedir)
1735 # where $(somedir) is conditionally defined. However this is wrong
1736 # for two reasons:
1737 # 1. if the package is installed by a user who cannot write `.'
1738 # make install will fail,
1739 # 2. the above comment should most certainly read
1740 # $(mkdir_p) $(DESTDIR)$(somedir)
1741 # so it does not work when $(somedir) is undefined and
1742 # $(DESTDIR) is not.
1743 # To support the latter case, we have to write
1744 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1745 # so the `.' trick is pointless.
1746 mkdir_p='mkdir -p --'
1747 else
1748 # On NextStep and OpenStep, the `mkdir' command does not
1749 # recognize any option. It will interpret all options as
1750 # directories to create, and then abort because `.' already
1751 # exists.
1752 for d in ./-p ./--version;
1753 do
1754 test -d $d && rmdir $d
1755 done
1756 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1757 if test -f "$ac_aux_dir/mkinstalldirs"; then
1758 mkdir_p='$(mkinstalldirs)'
1759 else
1760 mkdir_p='$(install_sh) -d'
1761 fi
1762 fi
1763
1764 for ac_prog in gawk mawk nawk awk
1765 do
1766 # Extract the first word of "$ac_prog", so it can be a program name with args.
1767 set dummy $ac_prog; ac_word=$2
1768 echo "$as_me:$LINENO: checking for $ac_word" >&5
1769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1770 if test "${ac_cv_prog_AWK+set}" = set; then
1771 echo $ECHO_N "(cached) $ECHO_C" >&6
1772 else
1773 if test -n "$AWK"; then
1774 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1775 else
1776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777 for as_dir in $PATH
1778 do
1779 IFS=$as_save_IFS
1780 test -z "$as_dir" && as_dir=.
1781 for ac_exec_ext in '' $ac_executable_extensions; do
1782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1783 ac_cv_prog_AWK="$ac_prog"
1784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 break 2
1786 fi
1787 done
1788 done
1789
1790 fi
1791 fi
1792 AWK=$ac_cv_prog_AWK
1793 if test -n "$AWK"; then
1794 echo "$as_me:$LINENO: result: $AWK" >&5
1795 echo "${ECHO_T}$AWK" >&6
1796 else
1797 echo "$as_me:$LINENO: result: no" >&5
1798 echo "${ECHO_T}no" >&6
1799 fi
1800
1801 test -n "$AWK" && break
1802 done
1803
1804 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1805 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1806 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1807 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1808 echo $ECHO_N "(cached) $ECHO_C" >&6
1809 else
1810 cat >conftest.make <<\_ACEOF
1811 all:
1812 @echo 'ac_maketemp="$(MAKE)"'
1813 _ACEOF
1814 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1815 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1816 if test -n "$ac_maketemp"; then
1817 eval ac_cv_prog_make_${ac_make}_set=yes
1818 else
1819 eval ac_cv_prog_make_${ac_make}_set=no
1820 fi
1821 rm -f conftest.make
1822 fi
1823 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1824 echo "$as_me:$LINENO: result: yes" >&5
1825 echo "${ECHO_T}yes" >&6
1826 SET_MAKE=
1827 else
1828 echo "$as_me:$LINENO: result: no" >&5
1829 echo "${ECHO_T}no" >&6
1830 SET_MAKE="MAKE=${MAKE-make}"
1831 fi
1832
1833 rm -rf .tst 2>/dev/null
1834 mkdir .tst 2>/dev/null
1835 if test -d .tst; then
1836 am__leading_dot=.
1837 else
1838 am__leading_dot=_
1839 fi
1840 rmdir .tst 2>/dev/null
1841
1842 # test to see if srcdir already configured
1843 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1844 test -f $srcdir/config.status; then
1845 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1846 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1847 { (exit 1); exit 1; }; }
1848 fi
1849
1850 # test whether we have cygpath
1851 if test -z "$CYGPATH_W"; then
1852 if (cygpath --version) >/dev/null 2>/dev/null; then
1853 CYGPATH_W='cygpath -w'
1854 else
1855 CYGPATH_W=echo
1856 fi
1857 fi
1858
1859
1860 # Define the identity of the package.
1861 PACKAGE='libstdc++'
1862 VERSION='version-unused'
1863
1864
1865 # Some tools Automake needs.
1866
1867 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1868
1869
1870 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1871
1872
1873 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1874
1875
1876 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1877
1878
1879 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1880
1881 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1882
1883 # Installed binaries are usually stripped using `strip' when the user
1884 # run `make install-strip'. However `strip' might not be the right
1885 # tool to use in cross-compilation environments, therefore Automake
1886 # will honor the `STRIP' environment variable to overrule this program.
1887 if test "$cross_compiling" != no; then
1888 if test -n "$ac_tool_prefix"; then
1889 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1890 set dummy ${ac_tool_prefix}strip; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_STRIP+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 if test -n "$STRIP"; then
1897 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1898 else
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900 for as_dir in $PATH
1901 do
1902 IFS=$as_save_IFS
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 break 2
1909 fi
1910 done
1911 done
1912
1913 fi
1914 fi
1915 STRIP=$ac_cv_prog_STRIP
1916 if test -n "$STRIP"; then
1917 echo "$as_me:$LINENO: result: $STRIP" >&5
1918 echo "${ECHO_T}$STRIP" >&6
1919 else
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1922 fi
1923
1924 fi
1925 if test -z "$ac_cv_prog_STRIP"; then
1926 ac_ct_STRIP=$STRIP
1927 # Extract the first word of "strip", so it can be a program name with args.
1928 set dummy strip; ac_word=$2
1929 echo "$as_me:$LINENO: checking for $ac_word" >&5
1930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1931 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test -n "$ac_ct_STRIP"; then
1935 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1936 else
1937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1938 for as_dir in $PATH
1939 do
1940 IFS=$as_save_IFS
1941 test -z "$as_dir" && as_dir=.
1942 for ac_exec_ext in '' $ac_executable_extensions; do
1943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1944 ac_cv_prog_ac_ct_STRIP="strip"
1945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1946 break 2
1947 fi
1948 done
1949 done
1950
1951 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1952 fi
1953 fi
1954 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1955 if test -n "$ac_ct_STRIP"; then
1956 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1957 echo "${ECHO_T}$ac_ct_STRIP" >&6
1958 else
1959 echo "$as_me:$LINENO: result: no" >&5
1960 echo "${ECHO_T}no" >&6
1961 fi
1962
1963 STRIP=$ac_ct_STRIP
1964 else
1965 STRIP="$ac_cv_prog_STRIP"
1966 fi
1967
1968 fi
1969 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1970
1971 # We need awk for the "check" target. The system "awk" is bad on
1972 # some platforms.
1973 # Always define AMTAR for backward compatibility.
1974
1975 AMTAR=${AMTAR-"${am_missing_run}tar"}
1976
1977 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1989 # up critical shell variables.
1990
1991 # Keep these sync'd with the list in Makefile.am. The first provides an
1992 # expandable list at autoconf time; the second provides an expandable list
1993 # (i.e., shell variable) at configure time.
1994
1995 SUBDIRS='include libmath libsupc++ src po testsuite'
1996
1997 # These need to be absolute paths, yet at the same time need to
1998 # canonicalize only relative paths, because then amd will not unmount
1999 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2000 glibcxx_builddir=`${PWDCMD-pwd}`
2001 case $srcdir in
2002 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2003 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2004 esac
2005 toplevel_srcdir=${glibcxx_srcdir}/..
2006
2007
2008
2009
2010 # We use these options to decide which functions to include. They are
2011 # set from the top level.
2012
2013 # Check whether --with-target-subdir or --without-target-subdir was given.
2014 if test "${with_target_subdir+set}" = set; then
2015 withval="$with_target_subdir"
2016
2017 fi;
2018
2019
2020 # Check whether --with-cross-host or --without-cross-host was given.
2021 if test "${with_cross_host+set}" = set; then
2022 withval="$with_cross_host"
2023
2024 fi;
2025
2026
2027 # Check whether --with-newlib or --without-newlib was given.
2028 if test "${with_newlib+set}" = set; then
2029 withval="$with_newlib"
2030
2031 fi;
2032
2033 # We're almost certainly being configured before anything else which uses
2034 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2035 # we not cache the value of CXX that we "discover" here, because it's set
2036 # to something unique for us and libjava. Other target libraries need to
2037 # find CXX for themselves. We yank the rug out from under the normal AC_*
2038 # process by sneakily renaming the cache variable. This also lets us debug
2039 # the value of "our" CXX in postmortems.
2040 #
2041 # We must also force CXX to /not/ be a precious variable, otherwise the
2042 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2043 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2044 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2045 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2046 #
2047 # -fno-builtin must be present here so that a non-conflicting form of
2048 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2049
2050
2051
2052
2053 save_CXXFLAGS="$CXXFLAGS"
2054 CXXFLAGS="$CXXFLAGS -fno-builtin"
2055 ac_ext=c
2056 ac_cpp='$CPP $CPPFLAGS'
2057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2060 if test -n "$ac_tool_prefix"; then
2061 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2062 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$CC"; then
2069 ac_cv_prog_CC="$CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2073 do
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2081 fi
2082 done
2083 done
2084
2085 fi
2086 fi
2087 CC=$ac_cv_prog_CC
2088 if test -n "$CC"; then
2089 echo "$as_me:$LINENO: result: $CC" >&5
2090 echo "${ECHO_T}$CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2094 fi
2095
2096 fi
2097 if test -z "$ac_cv_prog_CC"; then
2098 ac_ct_CC=$CC
2099 # Extract the first word of "gcc", so it can be a program name with args.
2100 set dummy gcc; ac_word=$2
2101 echo "$as_me:$LINENO: checking for $ac_word" >&5
2102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2103 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2104 echo $ECHO_N "(cached) $ECHO_C" >&6
2105 else
2106 if test -n "$ac_ct_CC"; then
2107 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108 else
2109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110 for as_dir in $PATH
2111 do
2112 IFS=$as_save_IFS
2113 test -z "$as_dir" && as_dir=.
2114 for ac_exec_ext in '' $ac_executable_extensions; do
2115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2116 ac_cv_prog_ac_ct_CC="gcc"
2117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 break 2
2119 fi
2120 done
2121 done
2122
2123 fi
2124 fi
2125 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126 if test -n "$ac_ct_CC"; then
2127 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128 echo "${ECHO_T}$ac_ct_CC" >&6
2129 else
2130 echo "$as_me:$LINENO: result: no" >&5
2131 echo "${ECHO_T}no" >&6
2132 fi
2133
2134 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2137 fi
2138
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2161 fi
2162 done
2163 done
2164
2165 fi
2166 fi
2167 CC=$ac_cv_prog_CC
2168 if test -n "$CC"; then
2169 echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2174 fi
2175
2176 fi
2177 if test -z "$ac_cv_prog_CC"; then
2178 ac_ct_CC=$CC
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 else
2186 if test -n "$ac_ct_CC"; then
2187 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2188 else
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 for as_dir in $PATH
2191 do
2192 IFS=$as_save_IFS
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2196 ac_cv_prog_ac_ct_CC="cc"
2197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2198 break 2
2199 fi
2200 done
2201 done
2202
2203 fi
2204 fi
2205 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2206 if test -n "$ac_ct_CC"; then
2207 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2208 echo "${ECHO_T}$ac_ct_CC" >&6
2209 else
2210 echo "$as_me:$LINENO: result: no" >&5
2211 echo "${ECHO_T}no" >&6
2212 fi
2213
2214 CC=$ac_ct_CC
2215 else
2216 CC="$ac_cv_prog_CC"
2217 fi
2218
2219 fi
2220 if test -z "$CC"; then
2221 # Extract the first word of "cc", so it can be a program name with args.
2222 set dummy cc; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 else
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2230 else
2231 ac_prog_rejected=no
2232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233 for as_dir in $PATH
2234 do
2235 IFS=$as_save_IFS
2236 test -z "$as_dir" && as_dir=.
2237 for ac_exec_ext in '' $ac_executable_extensions; do
2238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2239 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2240 ac_prog_rejected=yes
2241 continue
2242 fi
2243 ac_cv_prog_CC="cc"
2244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 break 2
2246 fi
2247 done
2248 done
2249
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2253 shift
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2258 shift
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260 fi
2261 fi
2262 fi
2263 fi
2264 CC=$ac_cv_prog_CC
2265 if test -n "$CC"; then
2266 echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6
2268 else
2269 echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6
2271 fi
2272
2273 fi
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 for ac_prog in cl
2277 do
2278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2280 echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2282 if test "${ac_cv_prog_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$CC"; then
2286 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2290 do
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2295 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2298 fi
2299 done
2300 done
2301
2302 fi
2303 fi
2304 CC=$ac_cv_prog_CC
2305 if test -n "$CC"; then
2306 echo "$as_me:$LINENO: result: $CC" >&5
2307 echo "${ECHO_T}$CC" >&6
2308 else
2309 echo "$as_me:$LINENO: result: no" >&5
2310 echo "${ECHO_T}no" >&6
2311 fi
2312
2313 test -n "$CC" && break
2314 done
2315 fi
2316 if test -z "$CC"; then
2317 ac_ct_CC=$CC
2318 for ac_prog in cl
2319 do
2320 # Extract the first word of "$ac_prog", so it can be a program name with args.
2321 set dummy $ac_prog; ac_word=$2
2322 echo "$as_me:$LINENO: checking for $ac_word" >&5
2323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2326 else
2327 if test -n "$ac_ct_CC"; then
2328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2329 else
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 for as_dir in $PATH
2332 do
2333 IFS=$as_save_IFS
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339 break 2
2340 fi
2341 done
2342 done
2343
2344 fi
2345 fi
2346 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2347 if test -n "$ac_ct_CC"; then
2348 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2349 echo "${ECHO_T}$ac_ct_CC" >&6
2350 else
2351 echo "$as_me:$LINENO: result: no" >&5
2352 echo "${ECHO_T}no" >&6
2353 fi
2354
2355 test -n "$ac_ct_CC" && break
2356 done
2357
2358 CC=$ac_ct_CC
2359 fi
2360
2361 fi
2362
2363
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details." >&2;}
2368 { (exit 1); exit 1; }; }
2369
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO:" \
2372 "checking for C compiler version" >&5
2373 ac_compiler=`set X $ac_compile; echo $2`
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2375 (eval $ac_compiler --version </dev/null >&5) 2>&5
2376 ac_status=$?
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2379 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2380 (eval $ac_compiler -v </dev/null >&5) 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2384 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2385 (eval $ac_compiler -V </dev/null >&5) 2>&5
2386 ac_status=$?
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }
2389
2390 cat >conftest.$ac_ext <<_ACEOF
2391 /* confdefs.h. */
2392 _ACEOF
2393 cat confdefs.h >>conftest.$ac_ext
2394 cat >>conftest.$ac_ext <<_ACEOF
2395 /* end confdefs.h. */
2396
2397 int
2398 main ()
2399 {
2400
2401 ;
2402 return 0;
2403 }
2404 _ACEOF
2405 # FIXME: Cleanup?
2406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2407 (eval $ac_link) 2>&5
2408 ac_status=$?
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); }; then
2411 gcc_no_link=no
2412 else
2413 gcc_no_link=yes
2414 fi
2415
2416 if test x$gcc_no_link = xyes; then
2417 # Setting cross_compile will disable run tests; it will
2418 # also disable AC_CHECK_FILE but that's generally
2419 # correct if we can't link.
2420 cross_compiling=yes
2421 EXEEXT=
2422 else
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h. */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2429
2430 int
2431 main ()
2432 {
2433
2434 ;
2435 return 0;
2436 }
2437 _ACEOF
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2442 # of exeext.
2443 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2444 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2446 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2447 (eval $ac_link_default) 2>&5
2448 ac_status=$?
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; then
2451 # Find the output, starting from the most likely. This scheme is
2452 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2453 # resort.
2454
2455 # Be careful to initialize this variable, since it used to be cached.
2456 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2457 ac_cv_exeext=
2458 # b.out is created by i960 compilers.
2459 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2460 do
2461 test -f "$ac_file" || continue
2462 case $ac_file in
2463 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2464 ;;
2465 conftest.$ac_ext )
2466 # This is the source file.
2467 ;;
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2474 # FIXME: I believe we export ac_cv_exeext for Libtool,
2475 # but it would be cool to find out if it's true. Does anybody
2476 # maintain Libtool? --akim.
2477 export ac_cv_exeext
2478 break;;
2479 * )
2480 break;;
2481 esac
2482 done
2483 else
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2486
2487 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&5
2489 echo "$as_me: error: C compiler cannot create executables
2490 See \`config.log' for more details." >&2;}
2491 { (exit 77); exit 77; }; }
2492 fi
2493
2494 ac_exeext=$ac_cv_exeext
2495 echo "$as_me:$LINENO: result: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6
2497
2498 # Check the compiler produces executables we can run. If not, either
2499 # the compiler is broken, or we cross compile.
2500 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2501 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2502 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2503 # If not cross compiling, check that we can run a simple program.
2504 if test "$cross_compiling" != yes; then
2505 if { ac_try='./$ac_file'
2506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 (eval $ac_try) 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2523 fi
2524 fi
2525 fi
2526 echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6
2528
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2535 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6
2537
2538 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2541 (eval $ac_link) 2>&5
2542 ac_status=$?
2543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2544 (exit $ac_status); }; then
2545 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2546 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2547 # work properly (i.e., refer to `conftest.exe'), while it won't with
2548 # `rm'.
2549 for ac_file in conftest.exe conftest conftest.*; do
2550 test -f "$ac_file" || continue
2551 case $ac_file in
2552 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2553 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 export ac_cv_exeext
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2565 fi
2566
2567 rm -f conftest$ac_cv_exeext
2568 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6
2570
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 fi
2575 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2586
2587 int
2588 main ()
2589 {
2590
2591 ;
2592 return 0;
2593 }
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2602 case $ac_file in
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2605 break;;
2606 esac
2607 done
2608 else
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2611
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details." >&5
2614 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2617 fi
2618
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2620 fi
2621 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6
2623 OBJEXT=$ac_cv_objext
2624 ac_objext=$OBJEXT
2625 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 else
2630 cat >conftest.$ac_ext <<_ACEOF
2631 /* confdefs.h. */
2632 _ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2636
2637 int
2638 main ()
2639 {
2640 #ifndef __GNUC__
2641 choke me
2642 #endif
2643
2644 ;
2645 return 0;
2646 }
2647 _ACEOF
2648 rm -f conftest.$ac_objext
2649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2650 (eval $ac_compile) 2>conftest.er1
2651 ac_status=$?
2652 grep -v '^ *+' conftest.er1 >conftest.err
2653 rm -f conftest.er1
2654 cat conftest.err >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); } &&
2657 { ac_try='test -z "$ac_c_werror_flag"
2658 || test ! -s conftest.err'
2659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 (eval $ac_try) 2>&5
2661 ac_status=$?
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); }; } &&
2664 { ac_try='test -s conftest.$ac_objext'
2665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666 (eval $ac_try) 2>&5
2667 ac_status=$?
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); }; }; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2674
2675 ac_compiler_gnu=no
2676 fi
2677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679
2680 fi
2681 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 CFLAGS="-g"
2687 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 cat >conftest.$ac_ext <<_ACEOF
2693 /* confdefs.h. */
2694 _ACEOF
2695 cat confdefs.h >>conftest.$ac_ext
2696 cat >>conftest.$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2698
2699 int
2700 main ()
2701 {
2702
2703 ;
2704 return 0;
2705 }
2706 _ACEOF
2707 rm -f conftest.$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag"
2717 || test ! -s conftest.err'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719 (eval $ac_try) 2>&5
2720 ac_status=$?
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; } &&
2723 { ac_try='test -s conftest.$ac_objext'
2724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725 (eval $ac_try) 2>&5
2726 ac_status=$?
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); }; }; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2733
2734 ac_cv_prog_cc_g=no
2735 fi
2736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2737 fi
2738 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2739 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2740 if test "$ac_test_CFLAGS" = set; then
2741 CFLAGS=$ac_save_CFLAGS
2742 elif test $ac_cv_prog_cc_g = yes; then
2743 if test "$GCC" = yes; then
2744 CFLAGS="-g -O2"
2745 else
2746 CFLAGS="-g"
2747 fi
2748 else
2749 if test "$GCC" = yes; then
2750 CFLAGS="-O2"
2751 else
2752 CFLAGS=
2753 fi
2754 fi
2755 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2756 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2757 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2758 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 else
2760 ac_cv_prog_cc_stdc=no
2761 ac_save_CC=$CC
2762 cat >conftest.$ac_ext <<_ACEOF
2763 /* confdefs.h. */
2764 _ACEOF
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2768 #include <stdarg.h>
2769 #include <stdio.h>
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2776 char **p;
2777 int i;
2778 {
2779 return p[i];
2780 }
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2782 {
2783 char *s;
2784 va_list v;
2785 va_start (v,p);
2786 s = g (p, va_arg (v,int));
2787 va_end (v);
2788 return s;
2789 }
2790
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std1 is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std1. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2799
2800 int test (int i, double x);
2801 struct s1 {int (*f) (int a);};
2802 struct s2 {int (*f) (double a);};
2803 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2804 int argc;
2805 char **argv;
2806 int
2807 main ()
2808 {
2809 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2810 ;
2811 return 0;
2812 }
2813 _ACEOF
2814 # Don't try gcc -ansi; that turns off useful extensions and
2815 # breaks some systems' header files.
2816 # AIX -qlanglvl=ansi
2817 # Ultrix and OSF/1 -std1
2818 # HP-UX 10.20 and later -Ae
2819 # HP-UX older versions -Aa -D_HPUX_SOURCE
2820 # SVR4 -Xc -D__EXTENSIONS__
2821 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2822 do
2823 CC="$ac_save_CC $ac_arg"
2824 rm -f conftest.$ac_objext
2825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 (eval $ac_compile) 2>conftest.er1
2827 ac_status=$?
2828 grep -v '^ *+' conftest.er1 >conftest.err
2829 rm -f conftest.er1
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } &&
2833 { ac_try='test -z "$ac_c_werror_flag"
2834 || test ! -s conftest.err'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 (eval $ac_try) 2>&5
2837 ac_status=$?
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; } &&
2840 { ac_try='test -s conftest.$ac_objext'
2841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842 (eval $ac_try) 2>&5
2843 ac_status=$?
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }; }; then
2846 ac_cv_prog_cc_stdc=$ac_arg
2847 break
2848 else
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2851
2852 fi
2853 rm -f conftest.err conftest.$ac_objext
2854 done
2855 rm -f conftest.$ac_ext conftest.$ac_objext
2856 CC=$ac_save_CC
2857
2858 fi
2859
2860 case "x$ac_cv_prog_cc_stdc" in
2861 x|xno)
2862 echo "$as_me:$LINENO: result: none needed" >&5
2863 echo "${ECHO_T}none needed" >&6 ;;
2864 *)
2865 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2866 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2867 CC="$CC $ac_cv_prog_cc_stdc" ;;
2868 esac
2869
2870 # Some people use a C++ compiler to compile C. Since we use `exit',
2871 # in C++ we need to declare it. In case someone uses the same compiler
2872 # for both compiling C and C++ we need to have the C++ compiler decide
2873 # the declaration of exit, since it's the most demanding environment.
2874 cat >conftest.$ac_ext <<_ACEOF
2875 #ifndef __cplusplus
2876 choke me
2877 #endif
2878 _ACEOF
2879 rm -f conftest.$ac_objext
2880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2881 (eval $ac_compile) 2>conftest.er1
2882 ac_status=$?
2883 grep -v '^ *+' conftest.er1 >conftest.err
2884 rm -f conftest.er1
2885 cat conftest.err >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); } &&
2888 { ac_try='test -z "$ac_c_werror_flag"
2889 || test ! -s conftest.err'
2890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2891 (eval $ac_try) 2>&5
2892 ac_status=$?
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); }; } &&
2895 { ac_try='test -s conftest.$ac_objext'
2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2897 (eval $ac_try) 2>&5
2898 ac_status=$?
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); }; }; then
2901 for ac_declaration in \
2902 '' \
2903 'extern "C" void std::exit (int) throw (); using std::exit;' \
2904 'extern "C" void std::exit (int); using std::exit;' \
2905 'extern "C" void exit (int) throw ();' \
2906 'extern "C" void exit (int);' \
2907 'void exit (int);'
2908 do
2909 cat >conftest.$ac_ext <<_ACEOF
2910 /* confdefs.h. */
2911 _ACEOF
2912 cat confdefs.h >>conftest.$ac_ext
2913 cat >>conftest.$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2915 $ac_declaration
2916 #include <stdlib.h>
2917 int
2918 main ()
2919 {
2920 exit (42);
2921 ;
2922 return 0;
2923 }
2924 _ACEOF
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2928 ac_status=$?
2929 grep -v '^ *+' conftest.er1 >conftest.err
2930 rm -f conftest.er1
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2943 (eval $ac_try) 2>&5
2944 ac_status=$?
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2947 :
2948 else
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2951
2952 continue
2953 fi
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2955 cat >conftest.$ac_ext <<_ACEOF
2956 /* confdefs.h. */
2957 _ACEOF
2958 cat confdefs.h >>conftest.$ac_ext
2959 cat >>conftest.$ac_ext <<_ACEOF
2960 /* end confdefs.h. */
2961 $ac_declaration
2962 int
2963 main ()
2964 {
2965 exit (42);
2966 ;
2967 return 0;
2968 }
2969 _ACEOF
2970 rm -f conftest.$ac_objext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2972 (eval $ac_compile) 2>conftest.er1
2973 ac_status=$?
2974 grep -v '^ *+' conftest.er1 >conftest.err
2975 rm -f conftest.er1
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982 (eval $ac_try) 2>&5
2983 ac_status=$?
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest.$ac_objext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2988 (eval $ac_try) 2>&5
2989 ac_status=$?
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 break
2993 else
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2996
2997 fi
2998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2999 done
3000 rm -f conftest*
3001 if test -n "$ac_declaration"; then
3002 echo '#ifdef __cplusplus' >>confdefs.h
3003 echo $ac_declaration >>confdefs.h
3004 echo '#endif' >>confdefs.h
3005 fi
3006
3007 else
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3010
3011 fi
3012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ac_ext=c
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3018
3019 ac_ext=cc
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -n "$ac_tool_prefix"; then
3025 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3026 do
3027 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3028 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3029 echo "$as_me:$LINENO: checking for $ac_word" >&5
3030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3031 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3033 else
3034 if test -n "$CXX"; then
3035 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3036 else
3037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3038 for as_dir in $PATH
3039 do
3040 IFS=$as_save_IFS
3041 test -z "$as_dir" && as_dir=.
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3044 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 break 2
3047 fi
3048 done
3049 done
3050
3051 fi
3052 fi
3053 CXX=$glibcxx_cv_prog_CXX
3054 if test -n "$CXX"; then
3055 echo "$as_me:$LINENO: result: $CXX" >&5
3056 echo "${ECHO_T}$CXX" >&6
3057 else
3058 echo "$as_me:$LINENO: result: no" >&5
3059 echo "${ECHO_T}no" >&6
3060 fi
3061
3062 test -n "$CXX" && break
3063 done
3064 fi
3065 if test -z "$CXX"; then
3066 ac_ct_CXX=$CXX
3067 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3068 do
3069 # Extract the first word of "$ac_prog", so it can be a program name with args.
3070 set dummy $ac_prog; ac_word=$2
3071 echo "$as_me:$LINENO: checking for $ac_word" >&5
3072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3073 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3074 echo $ECHO_N "(cached) $ECHO_C" >&6
3075 else
3076 if test -n "$ac_ct_CXX"; then
3077 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 for ac_exec_ext in '' $ac_executable_extensions; do
3085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3086 ac_cv_prog_ac_ct_CXX="$ac_prog"
3087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3088 break 2
3089 fi
3090 done
3091 done
3092
3093 fi
3094 fi
3095 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3096 if test -n "$ac_ct_CXX"; then
3097 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3098 echo "${ECHO_T}$ac_ct_CXX" >&6
3099 else
3100 echo "$as_me:$LINENO: result: no" >&5
3101 echo "${ECHO_T}no" >&6
3102 fi
3103
3104 test -n "$ac_ct_CXX" && break
3105 done
3106 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3107
3108 CXX=$ac_ct_CXX
3109 fi
3110
3111
3112 # Provide some information about the compiler.
3113 echo "$as_me:$LINENO:" \
3114 "checking for C++ compiler version" >&5
3115 ac_compiler=`set X $ac_compile; echo $2`
3116 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3117 (eval $ac_compiler --version </dev/null >&5) 2>&5
3118 ac_status=$?
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }
3121 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3122 (eval $ac_compiler -v </dev/null >&5) 2>&5
3123 ac_status=$?
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); }
3126 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3127 (eval $ac_compiler -V </dev/null >&5) 2>&5
3128 ac_status=$?
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); }
3131
3132 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3133 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3134 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3135 echo $ECHO_N "(cached) $ECHO_C" >&6
3136 else
3137 cat >conftest.$ac_ext <<_ACEOF
3138 /* confdefs.h. */
3139 _ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143
3144 int
3145 main ()
3146 {
3147 #ifndef __GNUC__
3148 choke me
3149 #endif
3150
3151 ;
3152 return 0;
3153 }
3154 _ACEOF
3155 rm -f conftest.$ac_objext
3156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3157 (eval $ac_compile) 2>conftest.er1
3158 ac_status=$?
3159 grep -v '^ *+' conftest.er1 >conftest.err
3160 rm -f conftest.er1
3161 cat conftest.err >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } &&
3164 { ac_try='test -z "$ac_cxx_werror_flag"
3165 || test ! -s conftest.err'
3166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3167 (eval $ac_try) 2>&5
3168 ac_status=$?
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); }; } &&
3171 { ac_try='test -s conftest.$ac_objext'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 (eval $ac_try) 2>&5
3174 ac_status=$?
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; }; then
3177 ac_compiler_gnu=yes
3178 else
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3181
3182 ac_compiler_gnu=no
3183 fi
3184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3186
3187 fi
3188 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3189 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3190 GXX=`test $ac_compiler_gnu = yes && echo yes`
3191 ac_test_CXXFLAGS=${CXXFLAGS+set}
3192 ac_save_CXXFLAGS=$CXXFLAGS
3193 CXXFLAGS="-g"
3194 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3195 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3196 if test "${ac_cv_prog_cxx_g+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3198 else
3199 cat >conftest.$ac_ext <<_ACEOF
3200 /* confdefs.h. */
3201 _ACEOF
3202 cat confdefs.h >>conftest.$ac_ext
3203 cat >>conftest.$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3205
3206 int
3207 main ()
3208 {
3209
3210 ;
3211 return 0;
3212 }
3213 _ACEOF
3214 rm -f conftest.$ac_objext
3215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3216 (eval $ac_compile) 2>conftest.er1
3217 ac_status=$?
3218 grep -v '^ *+' conftest.er1 >conftest.err
3219 rm -f conftest.er1
3220 cat conftest.err >&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); } &&
3223 { ac_try='test -z "$ac_cxx_werror_flag"
3224 || test ! -s conftest.err'
3225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 (eval $ac_try) 2>&5
3227 ac_status=$?
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); }; } &&
3230 { ac_try='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3232 (eval $ac_try) 2>&5
3233 ac_status=$?
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 ac_cv_prog_cxx_g=yes
3237 else
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3240
3241 ac_cv_prog_cxx_g=no
3242 fi
3243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3244 fi
3245 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3246 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3247 if test "$ac_test_CXXFLAGS" = set; then
3248 CXXFLAGS=$ac_save_CXXFLAGS
3249 elif test $ac_cv_prog_cxx_g = yes; then
3250 if test "$GXX" = yes; then
3251 CXXFLAGS="-g -O2"
3252 else
3253 CXXFLAGS="-g"
3254 fi
3255 else
3256 if test "$GXX" = yes; then
3257 CXXFLAGS="-O2"
3258 else
3259 CXXFLAGS=
3260 fi
3261 fi
3262 for ac_declaration in \
3263 '' \
3264 'extern "C" void std::exit (int) throw (); using std::exit;' \
3265 'extern "C" void std::exit (int); using std::exit;' \
3266 'extern "C" void exit (int) throw ();' \
3267 'extern "C" void exit (int);' \
3268 'void exit (int);'
3269 do
3270 cat >conftest.$ac_ext <<_ACEOF
3271 /* confdefs.h. */
3272 _ACEOF
3273 cat confdefs.h >>conftest.$ac_ext
3274 cat >>conftest.$ac_ext <<_ACEOF
3275 /* end confdefs.h. */
3276 $ac_declaration
3277 #include <stdlib.h>
3278 int
3279 main ()
3280 {
3281 exit (42);
3282 ;
3283 return 0;
3284 }
3285 _ACEOF
3286 rm -f conftest.$ac_objext
3287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3288 (eval $ac_compile) 2>conftest.er1
3289 ac_status=$?
3290 grep -v '^ *+' conftest.er1 >conftest.err
3291 rm -f conftest.er1
3292 cat conftest.err >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); } &&
3295 { ac_try='test -z "$ac_cxx_werror_flag"
3296 || test ! -s conftest.err'
3297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298 (eval $ac_try) 2>&5
3299 ac_status=$?
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); }; } &&
3302 { ac_try='test -s conftest.$ac_objext'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 :
3309 else
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3312
3313 continue
3314 fi
3315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3316 cat >conftest.$ac_ext <<_ACEOF
3317 /* confdefs.h. */
3318 _ACEOF
3319 cat confdefs.h >>conftest.$ac_ext
3320 cat >>conftest.$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3322 $ac_declaration
3323 int
3324 main ()
3325 {
3326 exit (42);
3327 ;
3328 return 0;
3329 }
3330 _ACEOF
3331 rm -f conftest.$ac_objext
3332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3333 (eval $ac_compile) 2>conftest.er1
3334 ac_status=$?
3335 grep -v '^ *+' conftest.er1 >conftest.err
3336 rm -f conftest.er1
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } &&
3340 { ac_try='test -z "$ac_cxx_werror_flag"
3341 || test ! -s conftest.err'
3342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 (eval $ac_try) 2>&5
3344 ac_status=$?
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); }; } &&
3347 { ac_try='test -s conftest.$ac_objext'
3348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3349 (eval $ac_try) 2>&5
3350 ac_status=$?
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3353 break
3354 else
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3357
3358 fi
3359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3360 done
3361 rm -f conftest*
3362 if test -n "$ac_declaration"; then
3363 echo '#ifdef __cplusplus' >>confdefs.h
3364 echo $ac_declaration >>confdefs.h
3365 echo '#endif' >>confdefs.h
3366 fi
3367
3368 ac_ext=c
3369 ac_cpp='$CPP $CPPFLAGS'
3370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3373
3374 CXXFLAGS="$save_CXXFLAGS"
3375
3376
3377
3378
3379 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3380 # available). Uncomment the next line to force a particular method.
3381 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3382 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3383 LN_S=$as_ln_s
3384 if test "$LN_S" = "ln -s"; then
3385 echo "$as_me:$LINENO: result: yes" >&5
3386 echo "${ECHO_T}yes" >&6
3387 else
3388 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3389 echo "${ECHO_T}no, using $LN_S" >&6
3390 fi
3391
3392 #LN_S='cp -p'
3393
3394 if test -n "$ac_tool_prefix"; then
3395 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3396 set dummy ${ac_tool_prefix}as; ac_word=$2
3397 echo "$as_me:$LINENO: checking for $ac_word" >&5
3398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3399 if test "${ac_cv_prog_AS+set}" = set; then
3400 echo $ECHO_N "(cached) $ECHO_C" >&6
3401 else
3402 if test -n "$AS"; then
3403 ac_cv_prog_AS="$AS" # Let the user override the test.
3404 else
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406 for as_dir in $PATH
3407 do
3408 IFS=$as_save_IFS
3409 test -z "$as_dir" && as_dir=.
3410 for ac_exec_ext in '' $ac_executable_extensions; do
3411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3412 ac_cv_prog_AS="${ac_tool_prefix}as"
3413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3414 break 2
3415 fi
3416 done
3417 done
3418
3419 fi
3420 fi
3421 AS=$ac_cv_prog_AS
3422 if test -n "$AS"; then
3423 echo "$as_me:$LINENO: result: $AS" >&5
3424 echo "${ECHO_T}$AS" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430 fi
3431 if test -z "$ac_cv_prog_AS"; then
3432 ac_ct_AS=$AS
3433 # Extract the first word of "as", so it can be a program name with args.
3434 set dummy as; ac_word=$2
3435 echo "$as_me:$LINENO: checking for $ac_word" >&5
3436 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3437 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3438 echo $ECHO_N "(cached) $ECHO_C" >&6
3439 else
3440 if test -n "$ac_ct_AS"; then
3441 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3445 do
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3450 ac_cv_prog_ac_ct_AS="as"
3451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3452 break 2
3453 fi
3454 done
3455 done
3456
3457 fi
3458 fi
3459 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3460 if test -n "$ac_ct_AS"; then
3461 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3462 echo "${ECHO_T}$ac_ct_AS" >&6
3463 else
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 fi
3467
3468 AS=$ac_ct_AS
3469 else
3470 AS="$ac_cv_prog_AS"
3471 fi
3472
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}ar; ac_word=$2
3476 echo "$as_me:$LINENO: checking for $ac_word" >&5
3477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3478 if test "${ac_cv_prog_AR+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 else
3481 if test -n "$AR"; then
3482 ac_cv_prog_AR="$AR" # Let the user override the test.
3483 else
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3486 do
3487 IFS=$as_save_IFS
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3491 ac_cv_prog_AR="${ac_tool_prefix}ar"
3492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3493 break 2
3494 fi
3495 done
3496 done
3497
3498 fi
3499 fi
3500 AR=$ac_cv_prog_AR
3501 if test -n "$AR"; then
3502 echo "$as_me:$LINENO: result: $AR" >&5
3503 echo "${ECHO_T}$AR" >&6
3504 else
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3507 fi
3508
3509 fi
3510 if test -z "$ac_cv_prog_AR"; then
3511 ac_ct_AR=$AR
3512 # Extract the first word of "ar", so it can be a program name with args.
3513 set dummy ar; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 else
3519 if test -n "$ac_ct_AR"; then
3520 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3521 else
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3523 for as_dir in $PATH
3524 do
3525 IFS=$as_save_IFS
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_ac_ct_AR="ar"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 break 2
3532 fi
3533 done
3534 done
3535
3536 fi
3537 fi
3538 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3539 if test -n "$ac_ct_AR"; then
3540 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3541 echo "${ECHO_T}$ac_ct_AR" >&6
3542 else
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3545 fi
3546
3547 AR=$ac_ct_AR
3548 else
3549 AR="$ac_cv_prog_AR"
3550 fi
3551
3552 if test -n "$ac_tool_prefix"; then
3553 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3554 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3555 echo "$as_me:$LINENO: checking for $ac_word" >&5
3556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3557 if test "${ac_cv_prog_RANLIB+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 else
3560 if test -n "$RANLIB"; then
3561 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3562 else
3563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3564 for as_dir in $PATH
3565 do
3566 IFS=$as_save_IFS
3567 test -z "$as_dir" && as_dir=.
3568 for ac_exec_ext in '' $ac_executable_extensions; do
3569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3570 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 break 2
3573 fi
3574 done
3575 done
3576
3577 fi
3578 fi
3579 RANLIB=$ac_cv_prog_RANLIB
3580 if test -n "$RANLIB"; then
3581 echo "$as_me:$LINENO: result: $RANLIB" >&5
3582 echo "${ECHO_T}$RANLIB" >&6
3583 else
3584 echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6
3586 fi
3587
3588 fi
3589 if test -z "$ac_cv_prog_RANLIB"; then
3590 ac_ct_RANLIB=$RANLIB
3591 # Extract the first word of "ranlib", so it can be a program name with args.
3592 set dummy ranlib; ac_word=$2
3593 echo "$as_me:$LINENO: checking for $ac_word" >&5
3594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3595 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 else
3598 if test -n "$ac_ct_RANLIB"; then
3599 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3600 else
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3602 for as_dir in $PATH
3603 do
3604 IFS=$as_save_IFS
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_prog_ac_ct_RANLIB="ranlib"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 break 2
3611 fi
3612 done
3613 done
3614
3615 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3616 fi
3617 fi
3618 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3619 if test -n "$ac_ct_RANLIB"; then
3620 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3621 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3622 else
3623 echo "$as_me:$LINENO: result: no" >&5
3624 echo "${ECHO_T}no" >&6
3625 fi
3626
3627 RANLIB=$ac_ct_RANLIB
3628 else
3629 RANLIB="$ac_cv_prog_RANLIB"
3630 fi
3631
3632
3633 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3634 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3635 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3636 if test "${enable_maintainer_mode+set}" = set; then
3637 enableval="$enable_maintainer_mode"
3638 USE_MAINTAINER_MODE=$enableval
3639 else
3640 USE_MAINTAINER_MODE=no
3641 fi;
3642 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3643 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3644
3645
3646 if test $USE_MAINTAINER_MODE = yes; then
3647 MAINTAINER_MODE_TRUE=
3648 MAINTAINER_MODE_FALSE='#'
3649 else
3650 MAINTAINER_MODE_TRUE='#'
3651 MAINTAINER_MODE_FALSE=
3652 fi
3653
3654 MAINT=$MAINTAINER_MODE_TRUE
3655
3656
3657
3658 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3659 # which are themselves conditionally expanded.
3660 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3661 ## other macros from doing the same. This should be automated.) -pme
3662 need_libmath=no
3663
3664 # Find platform-specific directories containing configuration info.
3665 # Also possibly modify flags used elsewhere, as needed by the platform.
3666
3667 . $glibcxx_srcdir/configure.host
3668 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3669 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3670 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3671 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3672
3673
3674
3675
3676 # Check whether --enable-shared or --disable-shared was given.
3677 if test "${enable_shared+set}" = set; then
3678 enableval="$enable_shared"
3679 p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_shared=yes ;;
3682 no) enable_shared=no ;;
3683 *)
3684 enable_shared=no
3685 # Look at the argument we got. We use all the common list separators.
3686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687 for pkg in $enableval; do
3688 if test "X$pkg" = "X$p"; then
3689 enable_shared=yes
3690 fi
3691 done
3692 IFS="$ac_save_ifs"
3693 ;;
3694 esac
3695 else
3696 enable_shared=yes
3697 fi;
3698 # Check whether --enable-static or --disable-static was given.
3699 if test "${enable_static+set}" = set; then
3700 enableval="$enable_static"
3701 p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_static=yes ;;
3704 no) enable_static=no ;;
3705 *)
3706 enable_static=no
3707 # Look at the argument we got. We use all the common list separators.
3708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709 for pkg in $enableval; do
3710 if test "X$pkg" = "X$p"; then
3711 enable_static=yes
3712 fi
3713 done
3714 IFS="$ac_save_ifs"
3715 ;;
3716 esac
3717 else
3718 enable_static=yes
3719 fi;
3720 # Check whether --enable-fast-install or --disable-fast-install was given.
3721 if test "${enable_fast_install+set}" = set; then
3722 enableval="$enable_fast_install"
3723 p=${PACKAGE-default}
3724 case $enableval in
3725 yes) enable_fast_install=yes ;;
3726 no) enable_fast_install=no ;;
3727 *)
3728 enable_fast_install=no
3729 # Look at the argument we got. We use all the common list separators.
3730 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3731 for pkg in $enableval; do
3732 if test "X$pkg" = "X$p"; then
3733 enable_fast_install=yes
3734 fi
3735 done
3736 IFS="$ac_save_ifs"
3737 ;;
3738 esac
3739 else
3740 enable_fast_install=yes
3741 fi;
3742
3743 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3744 if test "${with_gnu_ld+set}" = set; then
3745 withval="$with_gnu_ld"
3746 test "$withval" = no || with_gnu_ld=yes
3747 else
3748 with_gnu_ld=no
3749 fi;
3750 ac_prog=ld
3751 if test "$GCC" = yes; then
3752 # Check if gcc -print-prog-name=ld gives a path.
3753 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3754 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3755 case $host in
3756 *-*-mingw*)
3757 # gcc leaves a trailing carriage return which upsets mingw
3758 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3759 *)
3760 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3761 esac
3762 case $ac_prog in
3763 # Accept absolute paths.
3764 [\\/]* | [A-Za-z]:[\\/]*)
3765 re_direlt='/[^/][^/]*/\.\./'
3766 # Canonicalize the path of ld
3767 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3768 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3769 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3770 done
3771 test -z "$LD" && LD="$ac_prog"
3772 ;;
3773 "")
3774 # If it fails, then pretend we aren't using GCC.
3775 ac_prog=ld
3776 ;;
3777 *)
3778 # If it is relative, then search for the first ld in PATH.
3779 with_gnu_ld=unknown
3780 ;;
3781 esac
3782 elif test "$with_gnu_ld" = yes; then
3783 echo "$as_me:$LINENO: checking for GNU ld" >&5
3784 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3785 else
3786 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3787 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3788 fi
3789 if test "${lt_cv_path_LD+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 else
3792 if test -z "$LD"; then
3793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3794 for ac_dir in $PATH; do
3795 test -z "$ac_dir" && ac_dir=.
3796 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3797 lt_cv_path_LD="$ac_dir/$ac_prog"
3798 # Check to see if the program is GNU ld. I'd rather use --version,
3799 # but apparently some GNU ld's only accept -v.
3800 # Break only if it was the GNU/non-GNU ld that we prefer.
3801 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3802 test "$with_gnu_ld" != no && break
3803 else
3804 test "$with_gnu_ld" != yes && break
3805 fi
3806 fi
3807 done
3808 IFS="$ac_save_ifs"
3809 else
3810 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3811 fi
3812 fi
3813
3814 LD="$lt_cv_path_LD"
3815 if test -n "$LD"; then
3816 echo "$as_me:$LINENO: result: $LD" >&5
3817 echo "${ECHO_T}$LD" >&6
3818 else
3819 echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6
3821 fi
3822 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3823 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3824 { (exit 1); exit 1; }; }
3825 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3826 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3827 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3828 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 else
3830 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3831 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3832 lt_cv_prog_gnu_ld=yes
3833 else
3834 lt_cv_prog_gnu_ld=no
3835 fi
3836 fi
3837 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3838 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3839 with_gnu_ld=$lt_cv_prog_gnu_ld
3840
3841
3842 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3843 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3844 if test "${lt_cv_ld_reload_flag+set}" = set; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 else
3847 lt_cv_ld_reload_flag='-r'
3848 fi
3849 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3850 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3851 reload_flag=$lt_cv_ld_reload_flag
3852 test -n "$reload_flag" && reload_flag=" $reload_flag"
3853
3854 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3855 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3856 if test "${lt_cv_path_NM+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 else
3859 if test -n "$NM"; then
3860 # Let the user override the test.
3861 lt_cv_path_NM="$NM"
3862 else
3863 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3864 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3865 test -z "$ac_dir" && ac_dir=.
3866 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3867 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3868 # Check to see if the nm accepts a BSD-compat flag.
3869 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3870 # nm: unknown option "B" ignored
3871 # Tru64's nm complains that /dev/null is an invalid object file
3872 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3873 lt_cv_path_NM="$tmp_nm -B"
3874 break
3875 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3876 lt_cv_path_NM="$tmp_nm -p"
3877 break
3878 else
3879 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3880 continue # so that we can try to find one that supports BSD flags
3881 fi
3882 fi
3883 done
3884 IFS="$ac_save_ifs"
3885 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3886 fi
3887 fi
3888
3889 NM="$lt_cv_path_NM"
3890 echo "$as_me:$LINENO: result: $NM" >&5
3891 echo "${ECHO_T}$NM" >&6
3892
3893 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3894 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3895 if test "${lt_cv_deplibs_check_method+set}" = set; then
3896 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 else
3898 lt_cv_file_magic_cmd='$MAGIC_CMD'
3899 lt_cv_file_magic_test_file=
3900 lt_cv_deplibs_check_method='unknown'
3901 # Need to set the preceding variable on all platforms that support
3902 # interlibrary dependencies.
3903 # 'none' -- dependencies not supported.
3904 # `unknown' -- same as none, but documents that we really don't know.
3905 # 'pass_all' -- all dependencies passed with no checks.
3906 # 'test_compile' -- check by making test program.
3907 # 'file_magic [regex]' -- check by looking for files in library path
3908 # which responds to the $file_magic_cmd with a given egrep regex.
3909 # If you have `file' or equivalent on your system and you're not sure
3910 # whether `pass_all' will *always* work, you probably want this one.
3911
3912 case $host_os in
3913 aix*)
3914 lt_cv_deplibs_check_method=pass_all
3915 ;;
3916
3917 beos*)
3918 lt_cv_deplibs_check_method=pass_all
3919 ;;
3920
3921 bsdi4*)
3922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3923 lt_cv_file_magic_cmd='/usr/bin/file -L'
3924 lt_cv_file_magic_test_file=/shlib/libc.so
3925 ;;
3926
3927 cygwin* | mingw* |pw32*)
3928 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3929 lt_cv_file_magic_cmd='$OBJDUMP -f'
3930 ;;
3931
3932 darwin* | rhapsody*)
3933 # this will be overwritten by pass_all, but leave it in just in case
3934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3935 lt_cv_file_magic_cmd='/usr/bin/file -L'
3936 case "$host_os" in
3937 rhapsody* | darwin1.012)
3938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3939 ;;
3940 *) # Darwin 1.3 on
3941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3942 ;;
3943 esac
3944 lt_cv_deplibs_check_method=pass_all
3945 ;;
3946
3947 freebsd* | kfreebsd*-gnu)
3948 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3949 case $host_cpu in
3950 i*86 )
3951 # Not sure whether the presence of OpenBSD here was a mistake.
3952 # Let's accept both of them until this is cleared up.
3953 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3954 lt_cv_file_magic_cmd=/usr/bin/file
3955 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3956 ;;
3957 esac
3958 else
3959 lt_cv_deplibs_check_method=pass_all
3960 fi
3961 ;;
3962
3963 gnu*)
3964 lt_cv_deplibs_check_method=pass_all
3965 ;;
3966
3967 hpux10.20*|hpux11*)
3968 case $host_cpu in
3969 hppa*)
3970 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3971 lt_cv_file_magic_cmd=/usr/bin/file
3972 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3973 ;;
3974 ia64*)
3975 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3976 lt_cv_file_magic_cmd=/usr/bin/file
3977 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3978 ;;
3979 esac
3980 ;;
3981
3982 irix5* | irix6*)
3983 case $host_os in
3984 irix5*)
3985 # this will be overridden with pass_all, but let us keep it just in case
3986 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3987 ;;
3988 *)
3989 case $LD in
3990 *-32|*"-32 ") libmagic=32-bit;;
3991 *-n32|*"-n32 ") libmagic=N32;;
3992 *-64|*"-64 ") libmagic=64-bit;;
3993 *) libmagic=never-match;;
3994 esac
3995 # this will be overridden with pass_all, but let us keep it just in case
3996 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3997 ;;
3998 esac
3999 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4000 lt_cv_deplibs_check_method=pass_all
4001 ;;
4002
4003 # This must be Linux ELF.
4004 linux-gnu*)
4005 lt_cv_deplibs_check_method=pass_all
4006 ;;
4007
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4013 fi
4014 ;;
4015
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4020 ;;
4021
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4027 ;;
4028
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4031 ;;
4032
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4036 ;;
4037
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4040 ;;
4041
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4046 ;;
4047 motorola)
4048 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]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4050 ;;
4051 esac
4052 ;;
4053 esac
4054
4055 fi
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4060
4061
4062
4063
4064
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4066
4067 # find the maximum length of command line arguments
4068 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4069 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4070 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4072 else
4073 i=0
4074 teststring="ABCD"
4075
4076 case $build_os in
4077 msdosdjgpp*)
4078 # On DJGPP, this test can blow up pretty badly due to problems in libc
4079 # (any single argument exceeding 2000 bytes causes a buffer overrun
4080 # during glob expansion). Even if it were fixed, the result of this
4081 # check would be larger than it should be.
4082 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4083 ;;
4084
4085 cygwin* | mingw*)
4086 # On Win9x/ME, this test blows up -- it succeeds, but takes
4087 # about 5 minutes as the teststring grows exponentially.
4088 # Worse, since 9x/ME are not pre-emptively multitasking,
4089 # you end up with a "frozen" computer, even though with patience
4090 # the test eventually succeeds (with a max line length of 256k).
4091 # Instead, let's just punt: use the minimum linelength reported by
4092 # all of the supported platforms: 8192 (on NT/2K/XP).
4093 lt_cv_sys_max_cmd_len=8192;
4094 ;;
4095
4096 amigaos*)
4097 # On AmigaOS with pdksh, this test takes hours, literally.
4098 # So we just punt and use a minimum line length of 8192.
4099 lt_cv_sys_max_cmd_len=8192;
4100 ;;
4101
4102 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4103 # This has been around since 386BSD, at least. Likely further.
4104 if test -x /sbin/sysctl; then
4105 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4106 elif test -x /usr/sbin/sysctl; then
4107 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4108 else
4109 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD
4110 fi
4111 # And add a safety zone
4112 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4113 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4114 ;;
4115 esac
4116
4117 fi
4118
4119 if test -n "$lt_cv_sys_max_cmd_len" ; then
4120 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4121 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4122 else
4123 echo "$as_me:$LINENO: result: none" >&5
4124 echo "${ECHO_T}none" >&6
4125 fi
4126
4127
4128 # Only perform the check for file, if the check method requires it
4129 case $deplibs_check_method in
4130 file_magic*)
4131 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4132 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4133 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4134 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 case $MAGIC_CMD in
4138 /*)
4139 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4140 ;;
4141 ?:/*)
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4143 ;;
4144 *)
4145 ac_save_MAGIC_CMD="$MAGIC_CMD"
4146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4147 ac_dummy="/usr/bin:$PATH"
4148 for ac_dir in $ac_dummy; do
4149 test -z "$ac_dir" && ac_dir=.
4150 if test -f $ac_dir/${ac_tool_prefix}file; then
4151 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4152 if test -n "$file_magic_test_file"; then
4153 case $deplibs_check_method in
4154 "file_magic "*)
4155 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4156 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4157 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4158 egrep "$file_magic_regex" > /dev/null; then
4159 :
4160 else
4161 cat <<EOF 1>&2
4162
4163 *** Warning: the command libtool uses to detect shared libraries,
4164 *** $file_magic_cmd, produces output that libtool cannot recognize.
4165 *** The result is that libtool may fail to recognize shared libraries
4166 *** as such. This will affect the creation of libtool libraries that
4167 *** depend on shared libraries, but programs linked with such libtool
4168 *** libraries will work regardless of this problem. Nevertheless, you
4169 *** may want to report the problem to your system manager and/or to
4170 *** bug-libtool@gnu.org
4171
4172 EOF
4173 fi ;;
4174 esac
4175 fi
4176 break
4177 fi
4178 done
4179 IFS="$ac_save_ifs"
4180 MAGIC_CMD="$ac_save_MAGIC_CMD"
4181 ;;
4182 esac
4183 fi
4184
4185 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4186 if test -n "$MAGIC_CMD"; then
4187 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4188 echo "${ECHO_T}$MAGIC_CMD" >&6
4189 else
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4192 fi
4193
4194 if test -z "$lt_cv_path_MAGIC_CMD"; then
4195 if test -n "$ac_tool_prefix"; then
4196 echo "$as_me:$LINENO: checking for file" >&5
4197 echo $ECHO_N "checking for file... $ECHO_C" >&6
4198 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 else
4201 case $MAGIC_CMD in
4202 /*)
4203 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4204 ;;
4205 ?:/*)
4206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4207 ;;
4208 *)
4209 ac_save_MAGIC_CMD="$MAGIC_CMD"
4210 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4211 ac_dummy="/usr/bin:$PATH"
4212 for ac_dir in $ac_dummy; do
4213 test -z "$ac_dir" && ac_dir=.
4214 if test -f $ac_dir/file; then
4215 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4216 if test -n "$file_magic_test_file"; then
4217 case $deplibs_check_method in
4218 "file_magic "*)
4219 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4220 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4221 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4222 egrep "$file_magic_regex" > /dev/null; then
4223 :
4224 else
4225 cat <<EOF 1>&2
4226
4227 *** Warning: the command libtool uses to detect shared libraries,
4228 *** $file_magic_cmd, produces output that libtool cannot recognize.
4229 *** The result is that libtool may fail to recognize shared libraries
4230 *** as such. This will affect the creation of libtool libraries that
4231 *** depend on shared libraries, but programs linked with such libtool
4232 *** libraries will work regardless of this problem. Nevertheless, you
4233 *** may want to report the problem to your system manager and/or to
4234 *** bug-libtool@gnu.org
4235
4236 EOF
4237 fi ;;
4238 esac
4239 fi
4240 break
4241 fi
4242 done
4243 IFS="$ac_save_ifs"
4244 MAGIC_CMD="$ac_save_MAGIC_CMD"
4245 ;;
4246 esac
4247 fi
4248
4249 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4250 if test -n "$MAGIC_CMD"; then
4251 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4252 echo "${ECHO_T}$MAGIC_CMD" >&6
4253 else
4254 echo "$as_me:$LINENO: result: no" >&5
4255 echo "${ECHO_T}no" >&6
4256 fi
4257
4258 else
4259 MAGIC_CMD=:
4260 fi
4261 fi
4262
4263 fi
4264 ;;
4265 esac
4266
4267 if test -n "$ac_tool_prefix"; then
4268 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4270 echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4272 if test "${ac_cv_prog_RANLIB+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275 if test -n "$RANLIB"; then
4276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4277 else
4278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 for as_dir in $PATH
4280 do
4281 IFS=$as_save_IFS
4282 test -z "$as_dir" && as_dir=.
4283 for ac_exec_ext in '' $ac_executable_extensions; do
4284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4285 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 break 2
4288 fi
4289 done
4290 done
4291
4292 fi
4293 fi
4294 RANLIB=$ac_cv_prog_RANLIB
4295 if test -n "$RANLIB"; then
4296 echo "$as_me:$LINENO: result: $RANLIB" >&5
4297 echo "${ECHO_T}$RANLIB" >&6
4298 else
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4301 fi
4302
4303 fi
4304 if test -z "$ac_cv_prog_RANLIB"; then
4305 ac_ct_RANLIB=$RANLIB
4306 # Extract the first word of "ranlib", so it can be a program name with args.
4307 set dummy ranlib; ac_word=$2
4308 echo "$as_me:$LINENO: checking for $ac_word" >&5
4309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4312 else
4313 if test -n "$ac_ct_RANLIB"; then
4314 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4315 else
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 for as_dir in $PATH
4318 do
4319 IFS=$as_save_IFS
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4323 ac_cv_prog_ac_ct_RANLIB="ranlib"
4324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4325 break 2
4326 fi
4327 done
4328 done
4329
4330 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4331 fi
4332 fi
4333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4334 if test -n "$ac_ct_RANLIB"; then
4335 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4337 else
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4340 fi
4341
4342 RANLIB=$ac_ct_RANLIB
4343 else
4344 RANLIB="$ac_cv_prog_RANLIB"
4345 fi
4346
4347 if test -n "$ac_tool_prefix"; then
4348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4349 set dummy ${ac_tool_prefix}strip; ac_word=$2
4350 echo "$as_me:$LINENO: checking for $ac_word" >&5
4351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4352 if test "${ac_cv_prog_STRIP+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355 if test -n "$STRIP"; then
4356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4357 else
4358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 for as_dir in $PATH
4360 do
4361 IFS=$as_save_IFS
4362 test -z "$as_dir" && as_dir=.
4363 for ac_exec_ext in '' $ac_executable_extensions; do
4364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4365 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 break 2
4368 fi
4369 done
4370 done
4371
4372 fi
4373 fi
4374 STRIP=$ac_cv_prog_STRIP
4375 if test -n "$STRIP"; then
4376 echo "$as_me:$LINENO: result: $STRIP" >&5
4377 echo "${ECHO_T}$STRIP" >&6
4378 else
4379 echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6
4381 fi
4382
4383 fi
4384 if test -z "$ac_cv_prog_STRIP"; then
4385 ac_ct_STRIP=$STRIP
4386 # Extract the first word of "strip", so it can be a program name with args.
4387 set dummy strip; ac_word=$2
4388 echo "$as_me:$LINENO: checking for $ac_word" >&5
4389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4390 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 if test -n "$ac_ct_STRIP"; then
4394 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 else
4396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 for as_dir in $PATH
4398 do
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
4401 for ac_exec_ext in '' $ac_executable_extensions; do
4402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4403 ac_cv_prog_ac_ct_STRIP="strip"
4404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4405 break 2
4406 fi
4407 done
4408 done
4409
4410 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4411 fi
4412 fi
4413 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4414 if test -n "$ac_ct_STRIP"; then
4415 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4416 echo "${ECHO_T}$ac_ct_STRIP" >&6
4417 else
4418 echo "$as_me:$LINENO: result: no" >&5
4419 echo "${ECHO_T}no" >&6
4420 fi
4421
4422 STRIP=$ac_ct_STRIP
4423 else
4424 STRIP="$ac_cv_prog_STRIP"
4425 fi
4426
4427
4428 # Check for any special flags to pass to ltconfig.
4429 libtool_flags="--cache-file=$cache_file"
4430 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4431 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4432 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4433 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4434 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4435
4436
4437 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4438 if test "${enable_libtool_lock+set}" = set; then
4439 enableval="$enable_libtool_lock"
4440
4441 fi;
4442 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4443 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4444
4445
4446 # Check whether --with-pic or --without-pic was given.
4447 if test "${with_pic+set}" = set; then
4448 withval="$with_pic"
4449 pic_mode="$withval"
4450 else
4451 pic_mode=default
4452 fi;
4453 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4454 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4455
4456 # Some flags need to be propagated to the compiler or linker for good
4457 # libtool support.
4458 case $host in
4459 *-*-irix6*)
4460 # Find out which ABI we are using.
4461 echo '#line 4461 "configure"' > conftest.$ac_ext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4463 (eval $ac_compile) 2>&5
4464 ac_status=$?
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); }; then
4467 if test "$lt_cv_prog_gnu_ld" = yes; then
4468 case `/usr/bin/file conftest.$ac_objext` in
4469 *32-bit*)
4470 LD="${LD-ld} -melf32bsmip"
4471 ;;
4472 *N32*)
4473 LD="${LD-ld} -melf32bmipn32"
4474 ;;
4475 *64-bit*)
4476 LD="${LD-ld} -melf64bmip"
4477 ;;
4478 esac
4479 else
4480 case `/usr/bin/file conftest.$ac_objext` in
4481 *32-bit*)
4482 LD="${LD-ld} -32"
4483 ;;
4484 *N32*)
4485 LD="${LD-ld} -n32"
4486 ;;
4487 *64-bit*)
4488 LD="${LD-ld} -64"
4489 ;;
4490 esac
4491 fi
4492 fi
4493 rm -rf conftest*
4494 ;;
4495
4496 ia64-*-hpux*)
4497 # Find out which ABI we are using.
4498 echo 'int i;' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4501 ac_status=$?
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; then
4504 case "`/usr/bin/file conftest.o`" in
4505 *ELF-32*)
4506 HPUX_IA64_MODE="32"
4507 ;;
4508 *ELF-64*)
4509 HPUX_IA64_MODE="64"
4510 ;;
4511 esac
4512 fi
4513 rm -rf conftest*
4514 ;;
4515
4516 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4517 # Find out which ABI we are using.
4518 echo 'int i;' > conftest.$ac_ext
4519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4520 (eval $ac_compile) 2>&5
4521 ac_status=$?
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); }; then
4524 case "`/usr/bin/file conftest.o`" in
4525 *32-bit*)
4526 case $host in
4527 x86_64-*linux*)
4528 LD="${LD-ld} -m elf_i386"
4529 ;;
4530 ppc64-*linux*|powerpc64-*linux*)
4531 LD="${LD-ld} -m elf32ppclinux"
4532 ;;
4533 s390x-*linux*)
4534 LD="${LD-ld} -m elf_s390"
4535 ;;
4536 sparc64-*linux*)
4537 LD="${LD-ld} -m elf32_sparc"
4538 ;;
4539 esac
4540 ;;
4541 *64-bit*)
4542 case $host in
4543 x86_64-*linux*)
4544 LD="${LD-ld} -m elf_x86_64"
4545 ;;
4546 ppc*-*linux*|powerpc*-*linux*)
4547 LD="${LD-ld} -m elf64ppc"
4548 ;;
4549 s390*-*linux*)
4550 LD="${LD-ld} -m elf64_s390"
4551 ;;
4552 sparc*-*linux*)
4553 LD="${LD-ld} -m elf64_sparc"
4554 ;;
4555 esac
4556 ;;
4557 esac
4558 fi
4559 rm -rf conftest*
4560 ;;
4561
4562 *-*-sco3.2v5*)
4563 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4564 SAVE_CFLAGS="$CFLAGS"
4565 CFLAGS="$CFLAGS -belf"
4566 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4567 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4568 if test "${lt_cv_cc_needs_belf+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 else
4571
4572
4573 ac_ext=c
4574 ac_cpp='$CPP $CPPFLAGS'
4575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4578
4579 if test x$gcc_no_link = xyes; then
4580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4582 { (exit 1); exit 1; }; }
4583 fi
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4590
4591 int
4592 main ()
4593 {
4594
4595 ;
4596 return 0;
4597 }
4598 _ACEOF
4599 rm -f conftest.$ac_objext conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601 (eval $ac_link) 2>conftest.er1
4602 ac_status=$?
4603 grep -v '^ *+' conftest.er1 >conftest.err
4604 rm -f conftest.er1
4605 cat conftest.err >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); } &&
4608 { ac_try='test -z "$ac_c_werror_flag"
4609 || test ! -s conftest.err'
4610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 (eval $ac_try) 2>&5
4612 ac_status=$?
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); }; } &&
4615 { ac_try='test -s conftest$ac_exeext'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; }; then
4621 lt_cv_cc_needs_belf=yes
4622 else
4623 echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.$ac_ext >&5
4625
4626 lt_cv_cc_needs_belf=no
4627 fi
4628 rm -f conftest.err conftest.$ac_objext \
4629 conftest$ac_exeext conftest.$ac_ext
4630 ac_ext=c
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4635
4636 fi
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641 CFLAGS="$SAVE_CFLAGS"
4642 fi
4643 ;;
4644
4645
4646 esac
4647
4648
4649 # Save cache, so that ltconfig can load it
4650 cat >confcache <<\_ACEOF
4651 # This file is a shell script that caches the results of configure
4652 # tests run on this system so they can be shared between configure
4653 # scripts and configure runs, see configure's option --config-cache.
4654 # It is not useful on other systems. If it contains results you don't
4655 # want to keep, you may remove or edit it.
4656 #
4657 # config.status only pays attention to the cache file if you give it
4658 # the --recheck option to rerun configure.
4659 #
4660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4662 # following values.
4663
4664 _ACEOF
4665
4666 # The following way of writing the cache mishandles newlines in values,
4667 # but we know of no workaround that is simple, portable, and efficient.
4668 # So, don't put newlines in cache variables' values.
4669 # Ultrix sh set writes to stderr and can't be redirected directly,
4670 # and sets the high bit in the cache file unless we assign to the vars.
4671 {
4672 (set) 2>&1 |
4673 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4674 *ac_space=\ *)
4675 # `set' does not quote correctly, so add quotes (double-quote
4676 # substitution turns \\\\ into \\, and sed turns \\ into \).
4677 sed -n \
4678 "s/'/'\\\\''/g;
4679 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4680 ;;
4681 *)
4682 # `set' quotes correctly as required by POSIX, so do not add quotes.
4683 sed -n \
4684 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4685 ;;
4686 esac;
4687 } |
4688 sed '
4689 t clear
4690 : clear
4691 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4692 t end
4693 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4694 : end' >>confcache
4695 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4696 if test -w $cache_file; then
4697 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4698 cat confcache >$cache_file
4699 else
4700 echo "not updating unwritable cache $cache_file"
4701 fi
4702 fi
4703 rm -f confcache
4704
4705 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4706 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4707 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4708 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4709 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4710 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4711 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4712 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4713 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4714 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4715 echo "$as_me: error: libtool configure failed" >&2;}
4716 { (exit 1); exit 1; }; }
4717
4718 # Reload cache, that may have been modified by ltconfig
4719 if test -r "$cache_file"; then
4720 # Some versions of bash will fail to source /dev/null (special
4721 # files actually), so we avoid doing that.
4722 if test -f "$cache_file"; then
4723 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4724 echo "$as_me: loading cache $cache_file" >&6;}
4725 case $cache_file in
4726 [\\/]* | ?:[\\/]* ) . $cache_file;;
4727 *) . ./$cache_file;;
4728 esac
4729 fi
4730 else
4731 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4732 echo "$as_me: creating cache $cache_file" >&6;}
4733 >$cache_file
4734 fi
4735
4736
4737 # This can be used to rebuild libtool when needed
4738 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4739
4740 # Always use our own libtool.
4741 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4742
4743 # Redirect the config.log output again, so that the ltconfig log is not
4744 # clobbered by the next message.
4745 exec 5>>./config.log
4746
4747 ac_ext=cc
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4753 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4754 if test -z "$CXXCPP"; then
4755 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4756 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 else
4758 # Double quotes because CXXCPP needs to be expanded
4759 for CXXCPP in "$CXX -E" "/lib/cpp"
4760 do
4761 ac_preproc_ok=false
4762 for ac_cxx_preproc_warn_flag in '' yes
4763 do
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 #ifdef __STDC__
4777 # include <limits.h>
4778 #else
4779 # include <assert.h>
4780 #endif
4781 Syntax error
4782 _ACEOF
4783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4785 ac_status=$?
4786 grep -v '^ *+' conftest.er1 >conftest.err
4787 rm -f conftest.er1
4788 cat conftest.err >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); } >/dev/null; then
4791 if test -s conftest.err; then
4792 ac_cpp_err=$ac_cxx_preproc_warn_flag
4793 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4794 else
4795 ac_cpp_err=
4796 fi
4797 else
4798 ac_cpp_err=yes
4799 fi
4800 if test -z "$ac_cpp_err"; then
4801 :
4802 else
4803 echo "$as_me: failed program was:" >&5
4804 sed 's/^/| /' conftest.$ac_ext >&5
4805
4806 # Broken: fails on valid input.
4807 continue
4808 fi
4809 rm -f conftest.err conftest.$ac_ext
4810
4811 # OK, works on sane cases. Now check whether non-existent headers
4812 # can be detected and how.
4813 cat >conftest.$ac_ext <<_ACEOF
4814 /* confdefs.h. */
4815 _ACEOF
4816 cat confdefs.h >>conftest.$ac_ext
4817 cat >>conftest.$ac_ext <<_ACEOF
4818 /* end confdefs.h. */
4819 #include <ac_nonexistent.h>
4820 _ACEOF
4821 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4822 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } >/dev/null; then
4829 if test -s conftest.err; then
4830 ac_cpp_err=$ac_cxx_preproc_warn_flag
4831 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4832 else
4833 ac_cpp_err=
4834 fi
4835 else
4836 ac_cpp_err=yes
4837 fi
4838 if test -z "$ac_cpp_err"; then
4839 # Broken: success on invalid input.
4840 continue
4841 else
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.$ac_ext >&5
4844
4845 # Passes both tests.
4846 ac_preproc_ok=:
4847 break
4848 fi
4849 rm -f conftest.err conftest.$ac_ext
4850
4851 done
4852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4853 rm -f conftest.err conftest.$ac_ext
4854 if $ac_preproc_ok; then
4855 break
4856 fi
4857
4858 done
4859 ac_cv_prog_CXXCPP=$CXXCPP
4860
4861 fi
4862 CXXCPP=$ac_cv_prog_CXXCPP
4863 else
4864 ac_cv_prog_CXXCPP=$CXXCPP
4865 fi
4866 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4867 echo "${ECHO_T}$CXXCPP" >&6
4868 ac_preproc_ok=false
4869 for ac_cxx_preproc_warn_flag in '' yes
4870 do
4871 # Use a header file that comes with gcc, so configuring glibc
4872 # with a fresh cross-compiler works.
4873 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4874 # <limits.h> exists even on freestanding compilers.
4875 # On the NeXT, cc -E runs the code through the compiler's parser,
4876 # not just through cpp. "Syntax error" is here to catch this case.
4877 cat >conftest.$ac_ext <<_ACEOF
4878 /* confdefs.h. */
4879 _ACEOF
4880 cat confdefs.h >>conftest.$ac_ext
4881 cat >>conftest.$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4883 #ifdef __STDC__
4884 # include <limits.h>
4885 #else
4886 # include <assert.h>
4887 #endif
4888 Syntax error
4889 _ACEOF
4890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892 ac_status=$?
4893 grep -v '^ *+' conftest.er1 >conftest.err
4894 rm -f conftest.er1
4895 cat conftest.err >&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } >/dev/null; then
4898 if test -s conftest.err; then
4899 ac_cpp_err=$ac_cxx_preproc_warn_flag
4900 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4901 else
4902 ac_cpp_err=
4903 fi
4904 else
4905 ac_cpp_err=yes
4906 fi
4907 if test -z "$ac_cpp_err"; then
4908 :
4909 else
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4912
4913 # Broken: fails on valid input.
4914 continue
4915 fi
4916 rm -f conftest.err conftest.$ac_ext
4917
4918 # OK, works on sane cases. Now check whether non-existent headers
4919 # can be detected and how.
4920 cat >conftest.$ac_ext <<_ACEOF
4921 /* confdefs.h. */
4922 _ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4926 #include <ac_nonexistent.h>
4927 _ACEOF
4928 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4929 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4930 ac_status=$?
4931 grep -v '^ *+' conftest.er1 >conftest.err
4932 rm -f conftest.er1
4933 cat conftest.err >&5
4934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev/null; then
4936 if test -s conftest.err; then
4937 ac_cpp_err=$ac_cxx_preproc_warn_flag
4938 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4939 else
4940 ac_cpp_err=
4941 fi
4942 else
4943 ac_cpp_err=yes
4944 fi
4945 if test -z "$ac_cpp_err"; then
4946 # Broken: success on invalid input.
4947 continue
4948 else
4949 echo "$as_me: failed program was:" >&5
4950 sed 's/^/| /' conftest.$ac_ext >&5
4951
4952 # Passes both tests.
4953 ac_preproc_ok=:
4954 break
4955 fi
4956 rm -f conftest.err conftest.$ac_ext
4957
4958 done
4959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4960 rm -f conftest.err conftest.$ac_ext
4961 if $ac_preproc_ok; then
4962 :
4963 else
4964 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4965 See \`config.log' for more details." >&5
4966 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4967 See \`config.log' for more details." >&2;}
4968 { (exit 1); exit 1; }; }
4969 fi
4970
4971 ac_ext=c
4972 ac_cpp='$CPP $CPPFLAGS'
4973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4976
4977
4978
4979 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4980 lt_save_CC="$CC"
4981 lt_save_CFLAGS="$CFLAGS"
4982 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4983 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4984 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4985 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4986 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4987 deplibs_check_method="$deplibs_check_method" \
4988 file_magic_cmd="$file_magic_cmd" \
4989 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4990 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4991 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4992 echo "$as_me: error: libtool tag configuration failed" >&2;}
4993 { (exit 1); exit 1; }; }
4994 CC="$lt_save_CC"
4995 CFLAGS="$lt_save_CFLAGS"
4996
4997 # Redirect the config.log output again, so that the ltconfig log is not
4998 # clobbered by the next message.
4999 exec 5>>./config.log
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009 # Possibly disable most of the library.
5010 ## TODO: Consider skipping unncessary tests altogether in this case, rather
5011 ## than just ignoring the results. Faster /and/ more correct, win win.
5012
5013 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
5014 if test "${enable_hosted_libstdcxx+set}" = set; then
5015 enableval="$enable_hosted_libstdcxx"
5016
5017 else
5018 case "$host" in
5019 arm*-*-symbianelf*)
5020 enable_hosted_libstdcxx=no
5021 ;;
5022 *)
5023 enable_hosted_libstdcxx=yes
5024 ;;
5025 esac
5026 fi;
5027 if test "$enable_hosted_libstdcxx" = no; then
5028 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
5029 echo "$as_me: Only freestanding libraries will be built" >&6;}
5030 is_hosted=no
5031 hosted_define=0
5032 enable_abi_check=no
5033 enable_libstdcxx_pch=no
5034 else
5035 is_hosted=yes
5036 hosted_define=1
5037 fi
5038
5039
5040 cat >>confdefs.h <<_ACEOF
5041 #define _GLIBCXX_HOSTED $hosted_define
5042 _ACEOF
5043
5044
5045
5046 # Check for compiler support that doesn't require linking.
5047
5048 echo "$as_me:$LINENO: checking for exception model to use" >&5
5049 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
5050
5051
5052 ac_ext=cc
5053 ac_cpp='$CXXCPP $CPPFLAGS'
5054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5057
5058 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
5059 if test "${enable_sjlj_exceptions+set}" = set; then
5060 enableval="$enable_sjlj_exceptions"
5061
5062 case "$enableval" in
5063 yes|no|auto) ;;
5064 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5065 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5066 { (exit 1); exit 1; }; } ;;
5067 esac
5068
5069 else
5070 enable_sjlj_exceptions=auto
5071 fi;
5072
5073
5074 if test $enable_sjlj_exceptions = auto; then
5075 # Botheration. Now we've got to detect the exception model. Link tests
5076 # against libgcc.a are problematic since we've not been given proper -L
5077 # bits for single-tree newlib and libgloss.
5078 #
5079 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5080 cat > conftest.$ac_ext << EOF
5081 #line 5081 "configure"
5082 struct S { ~S(); };
5083 void bar();
5084 void foo()
5085 {
5086 S s;
5087 bar();
5088 }
5089 EOF
5090 old_CXXFLAGS="$CXXFLAGS"
5091 CXXFLAGS=-S
5092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5093 (eval $ac_compile) 2>&5
5094 ac_status=$?
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; then
5097 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5098 enable_sjlj_exceptions=yes
5099 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5100 enable_sjlj_exceptions=no
5101 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
5102 enable_sjlj_exceptions=no
5103 fi
5104 fi
5105 CXXFLAGS="$old_CXXFLAGS"
5106 rm -f conftest*
5107 fi
5108
5109 # This is a tad weird, for hysterical raisins. We have to map
5110 # enable/disable to two different models.
5111 case $enable_sjlj_exceptions in
5112 yes)
5113
5114 cat >>confdefs.h <<\_ACEOF
5115 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5116 _ACEOF
5117
5118 ac_exception_model_name=sjlj
5119 ;;
5120 no)
5121 ac_exception_model_name="call frame"
5122 ;;
5123 *)
5124 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5125 echo "$as_me: error: unable to detect exception model" >&2;}
5126 { (exit 1); exit 1; }; }
5127 ;;
5128 esac
5129 ac_ext=c
5130 ac_cpp='$CPP $CPPFLAGS'
5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134
5135 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5136 echo "${ECHO_T}$ac_exception_model_name" >&6
5137
5138
5139 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5140 if test "${enable_libstdcxx_pch+set}" = set; then
5141 enableval="$enable_libstdcxx_pch"
5142
5143 case "$enableval" in
5144 yes|no) ;;
5145 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5146 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5147 { (exit 1); exit 1; }; } ;;
5148 esac
5149
5150 else
5151 enable_libstdcxx_pch=$is_hosted
5152 fi;
5153
5154 if test $enable_libstdcxx_pch = yes; then
5155 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5156 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5157 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 else
5160 ac_save_CXXFLAGS="$CXXFLAGS"
5161 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5162
5163
5164 ac_ext=cc
5165 ac_cpp='$CXXCPP $CPPFLAGS'
5166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5169
5170 echo '#include <math.h>' > conftest.h
5171 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5172 -o conftest.h.gch 1>&5 2>&1 &&
5173 echo '#error "pch failed"' > conftest.h &&
5174 echo '#include "conftest.h"' > conftest.cc &&
5175 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5176 then
5177 glibcxx_cv_prog_CXX_pch=yes
5178 else
5179 glibcxx_cv_prog_CXX_pch=no
5180 fi
5181 rm -f conftest*
5182 CXXFLAGS=$ac_save_CXXFLAGS
5183 ac_ext=c
5184 ac_cpp='$CPP $CPPFLAGS'
5185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5188
5189
5190 fi
5191 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5192 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5193 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5194 fi
5195
5196 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5197 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5198 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5199 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5200
5201
5202 if test $enable_libstdcxx_pch = yes; then
5203 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5204 else
5205 glibcxx_PCHFLAGS=""
5206 fi
5207
5208
5209
5210 # Enable all the variable C++ runtime options.
5211
5212 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5213 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5214 # Check whether --enable-cstdio or --disable-cstdio was given.
5215 if test "${enable_cstdio+set}" = set; then
5216 enableval="$enable_cstdio"
5217
5218 case "$enableval" in
5219 stdio) ;;
5220 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5221 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5222 { (exit 1); exit 1; }; } ;;
5223 esac
5224
5225 else
5226 enable_cstdio=stdio
5227 fi;
5228
5229
5230 # Now that libio has been removed, you can have any color you want as long
5231 # as it's black. This is one big no-op until other packages are added, but
5232 # showing the framework never hurts.
5233 case ${enable_cstdio} in
5234 stdio)
5235 CSTDIO_H=config/io/c_io_stdio.h
5236 BASIC_FILE_H=config/io/basic_file_stdio.h
5237 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5238 echo "$as_me:$LINENO: result: stdio" >&5
5239 echo "${ECHO_T}stdio" >&6
5240 ;;
5241 esac
5242
5243
5244
5245
5246
5247 ac_ext=c
5248 ac_cpp='$CPP $CPPFLAGS'
5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5252 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5254 # On Suns, sometimes $CPP names a directory.
5255 if test -n "$CPP" && test -d "$CPP"; then
5256 CPP=
5257 fi
5258 if test -z "$CPP"; then
5259 if test "${ac_cv_prog_CPP+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 else
5262 # Double quotes because CPP needs to be expanded
5263 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5264 do
5265 ac_preproc_ok=false
5266 for ac_c_preproc_warn_flag in '' yes
5267 do
5268 # Use a header file that comes with gcc, so configuring glibc
5269 # with a fresh cross-compiler works.
5270 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5271 # <limits.h> exists even on freestanding compilers.
5272 # On the NeXT, cc -E runs the code through the compiler's parser,
5273 # not just through cpp. "Syntax error" is here to catch this case.
5274 cat >conftest.$ac_ext <<_ACEOF
5275 /* confdefs.h. */
5276 _ACEOF
5277 cat confdefs.h >>conftest.$ac_ext
5278 cat >>conftest.$ac_ext <<_ACEOF
5279 /* end confdefs.h. */
5280 #ifdef __STDC__
5281 # include <limits.h>
5282 #else
5283 # include <assert.h>
5284 #endif
5285 Syntax error
5286 _ACEOF
5287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5288 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5289 ac_status=$?
5290 grep -v '^ *+' conftest.er1 >conftest.err
5291 rm -f conftest.er1
5292 cat conftest.err >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } >/dev/null; then
5295 if test -s conftest.err; then
5296 ac_cpp_err=$ac_c_preproc_warn_flag
5297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5298 else
5299 ac_cpp_err=
5300 fi
5301 else
5302 ac_cpp_err=yes
5303 fi
5304 if test -z "$ac_cpp_err"; then
5305 :
5306 else
5307 echo "$as_me: failed program was:" >&5
5308 sed 's/^/| /' conftest.$ac_ext >&5
5309
5310 # Broken: fails on valid input.
5311 continue
5312 fi
5313 rm -f conftest.err conftest.$ac_ext
5314
5315 # OK, works on sane cases. Now check whether non-existent headers
5316 # can be detected and how.
5317 cat >conftest.$ac_ext <<_ACEOF
5318 /* confdefs.h. */
5319 _ACEOF
5320 cat confdefs.h >>conftest.$ac_ext
5321 cat >>conftest.$ac_ext <<_ACEOF
5322 /* end confdefs.h. */
5323 #include <ac_nonexistent.h>
5324 _ACEOF
5325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5327 ac_status=$?
5328 grep -v '^ *+' conftest.er1 >conftest.err
5329 rm -f conftest.er1
5330 cat conftest.err >&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); } >/dev/null; then
5333 if test -s conftest.err; then
5334 ac_cpp_err=$ac_c_preproc_warn_flag
5335 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5336 else
5337 ac_cpp_err=
5338 fi
5339 else
5340 ac_cpp_err=yes
5341 fi
5342 if test -z "$ac_cpp_err"; then
5343 # Broken: success on invalid input.
5344 continue
5345 else
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5348
5349 # Passes both tests.
5350 ac_preproc_ok=:
5351 break
5352 fi
5353 rm -f conftest.err conftest.$ac_ext
5354
5355 done
5356 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5357 rm -f conftest.err conftest.$ac_ext
5358 if $ac_preproc_ok; then
5359 break
5360 fi
5361
5362 done
5363 ac_cv_prog_CPP=$CPP
5364
5365 fi
5366 CPP=$ac_cv_prog_CPP
5367 else
5368 ac_cv_prog_CPP=$CPP
5369 fi
5370 echo "$as_me:$LINENO: result: $CPP" >&5
5371 echo "${ECHO_T}$CPP" >&6
5372 ac_preproc_ok=false
5373 for ac_c_preproc_warn_flag in '' yes
5374 do
5375 # Use a header file that comes with gcc, so configuring glibc
5376 # with a fresh cross-compiler works.
5377 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5378 # <limits.h> exists even on freestanding compilers.
5379 # On the NeXT, cc -E runs the code through the compiler's parser,
5380 # not just through cpp. "Syntax error" is here to catch this case.
5381 cat >conftest.$ac_ext <<_ACEOF
5382 /* confdefs.h. */
5383 _ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5387 #ifdef __STDC__
5388 # include <limits.h>
5389 #else
5390 # include <assert.h>
5391 #endif
5392 Syntax error
5393 _ACEOF
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5396 ac_status=$?
5397 grep -v '^ *+' conftest.er1 >conftest.err
5398 rm -f conftest.er1
5399 cat conftest.err >&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev/null; then
5402 if test -s conftest.err; then
5403 ac_cpp_err=$ac_c_preproc_warn_flag
5404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5405 else
5406 ac_cpp_err=
5407 fi
5408 else
5409 ac_cpp_err=yes
5410 fi
5411 if test -z "$ac_cpp_err"; then
5412 :
5413 else
5414 echo "$as_me: failed program was:" >&5
5415 sed 's/^/| /' conftest.$ac_ext >&5
5416
5417 # Broken: fails on valid input.
5418 continue
5419 fi
5420 rm -f conftest.err conftest.$ac_ext
5421
5422 # OK, works on sane cases. Now check whether non-existent headers
5423 # can be detected and how.
5424 cat >conftest.$ac_ext <<_ACEOF
5425 /* confdefs.h. */
5426 _ACEOF
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5430 #include <ac_nonexistent.h>
5431 _ACEOF
5432 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5433 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5434 ac_status=$?
5435 grep -v '^ *+' conftest.er1 >conftest.err
5436 rm -f conftest.er1
5437 cat conftest.err >&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } >/dev/null; then
5440 if test -s conftest.err; then
5441 ac_cpp_err=$ac_c_preproc_warn_flag
5442 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5443 else
5444 ac_cpp_err=
5445 fi
5446 else
5447 ac_cpp_err=yes
5448 fi
5449 if test -z "$ac_cpp_err"; then
5450 # Broken: success on invalid input.
5451 continue
5452 else
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5455
5456 # Passes both tests.
5457 ac_preproc_ok=:
5458 break
5459 fi
5460 rm -f conftest.err conftest.$ac_ext
5461
5462 done
5463 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5464 rm -f conftest.err conftest.$ac_ext
5465 if $ac_preproc_ok; then
5466 :
5467 else
5468 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5469 See \`config.log' for more details." >&5
5470 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5471 See \`config.log' for more details." >&2;}
5472 { (exit 1); exit 1; }; }
5473 fi
5474
5475 ac_ext=c
5476 ac_cpp='$CPP $CPPFLAGS'
5477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5480
5481
5482 echo "$as_me:$LINENO: checking for egrep" >&5
5483 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5484 if test "${ac_cv_prog_egrep+set}" = set; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5488 then ac_cv_prog_egrep='grep -E'
5489 else ac_cv_prog_egrep='egrep'
5490 fi
5491 fi
5492 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5493 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5494 EGREP=$ac_cv_prog_egrep
5495
5496
5497 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5498 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5499 if test "${ac_cv_header_stdc+set}" = set; then
5500 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 else
5502 cat >conftest.$ac_ext <<_ACEOF
5503 /* confdefs.h. */
5504 _ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5508 #include <stdlib.h>
5509 #include <stdarg.h>
5510 #include <string.h>
5511 #include <float.h>
5512
5513 int
5514 main ()
5515 {
5516
5517 ;
5518 return 0;
5519 }
5520 _ACEOF
5521 rm -f conftest.$ac_objext
5522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5523 (eval $ac_compile) 2>conftest.er1
5524 ac_status=$?
5525 grep -v '^ *+' conftest.er1 >conftest.err
5526 rm -f conftest.er1
5527 cat conftest.err >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } &&
5530 { ac_try='test -z "$ac_c_werror_flag"
5531 || test ! -s conftest.err'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5533 (eval $ac_try) 2>&5
5534 ac_status=$?
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try='test -s conftest.$ac_objext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5539 (eval $ac_try) 2>&5
5540 ac_status=$?
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 ac_cv_header_stdc=yes
5544 else
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.$ac_ext >&5
5547
5548 ac_cv_header_stdc=no
5549 fi
5550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5551
5552 if test $ac_cv_header_stdc = yes; then
5553 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5554 cat >conftest.$ac_ext <<_ACEOF
5555 /* confdefs.h. */
5556 _ACEOF
5557 cat confdefs.h >>conftest.$ac_ext
5558 cat >>conftest.$ac_ext <<_ACEOF
5559 /* end confdefs.h. */
5560 #include <string.h>
5561
5562 _ACEOF
5563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5564 $EGREP "memchr" >/dev/null 2>&1; then
5565 :
5566 else
5567 ac_cv_header_stdc=no
5568 fi
5569 rm -f conftest*
5570
5571 fi
5572
5573 if test $ac_cv_header_stdc = yes; then
5574 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5575 cat >conftest.$ac_ext <<_ACEOF
5576 /* confdefs.h. */
5577 _ACEOF
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5581 #include <stdlib.h>
5582
5583 _ACEOF
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585 $EGREP "free" >/dev/null 2>&1; then
5586 :
5587 else
5588 ac_cv_header_stdc=no
5589 fi
5590 rm -f conftest*
5591
5592 fi
5593
5594 if test $ac_cv_header_stdc = yes; then
5595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5596 if test "$cross_compiling" = yes; then
5597 :
5598 else
5599 cat >conftest.$ac_ext <<_ACEOF
5600 /* confdefs.h. */
5601 _ACEOF
5602 cat confdefs.h >>conftest.$ac_ext
5603 cat >>conftest.$ac_ext <<_ACEOF
5604 /* end confdefs.h. */
5605 #include <ctype.h>
5606 #if ((' ' & 0x0FF) == 0x020)
5607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5609 #else
5610 # define ISLOWER(c) \
5611 (('a' <= (c) && (c) <= 'i') \
5612 || ('j' <= (c) && (c) <= 'r') \
5613 || ('s' <= (c) && (c) <= 'z'))
5614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5615 #endif
5616
5617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5618 int
5619 main ()
5620 {
5621 int i;
5622 for (i = 0; i < 256; i++)
5623 if (XOR (islower (i), ISLOWER (i))
5624 || toupper (i) != TOUPPER (i))
5625 exit(2);
5626 exit (0);
5627 }
5628 _ACEOF
5629 rm -f conftest$ac_exeext
5630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5631 (eval $ac_link) 2>&5
5632 ac_status=$?
5633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5636 (eval $ac_try) 2>&5
5637 ac_status=$?
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); }; }; then
5640 :
5641 else
5642 echo "$as_me: program exited with status $ac_status" >&5
5643 echo "$as_me: failed program was:" >&5
5644 sed 's/^/| /' conftest.$ac_ext >&5
5645
5646 ( exit $ac_status )
5647 ac_cv_header_stdc=no
5648 fi
5649 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5650 fi
5651 fi
5652 fi
5653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5655 if test $ac_cv_header_stdc = yes; then
5656
5657 cat >>confdefs.h <<\_ACEOF
5658 #define STDC_HEADERS 1
5659 _ACEOF
5660
5661 fi
5662
5663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5674 inttypes.h stdint.h unistd.h
5675 do
5676 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 echo "$as_me:$LINENO: checking for $ac_header" >&5
5678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5680 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 else
5682 cat >conftest.$ac_ext <<_ACEOF
5683 /* confdefs.h. */
5684 _ACEOF
5685 cat confdefs.h >>conftest.$ac_ext
5686 cat >>conftest.$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 $ac_includes_default
5689
5690 #include <$ac_header>
5691 _ACEOF
5692 rm -f conftest.$ac_objext
5693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5694 (eval $ac_compile) 2>conftest.er1
5695 ac_status=$?
5696 grep -v '^ *+' conftest.er1 >conftest.err
5697 rm -f conftest.er1
5698 cat conftest.err >&5
5699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5700 (exit $ac_status); } &&
5701 { ac_try='test -z "$ac_c_werror_flag"
5702 || test ! -s conftest.err'
5703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 (eval $ac_try) 2>&5
5705 ac_status=$?
5706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707 (exit $ac_status); }; } &&
5708 { ac_try='test -s conftest.$ac_objext'
5709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 (eval $ac_try) 2>&5
5711 ac_status=$?
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); }; }; then
5714 eval "$as_ac_Header=yes"
5715 else
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5718
5719 eval "$as_ac_Header=no"
5720 fi
5721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5722 fi
5723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5726 cat >>confdefs.h <<_ACEOF
5727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 _ACEOF
5729
5730 fi
5731
5732 done
5733
5734
5735
5736 echo "$as_me:$LINENO: checking for C locale to use" >&5
5737 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5738 # Check whether --enable-clocale or --disable-clocale was given.
5739 if test "${enable_clocale+set}" = set; then
5740 enableval="$enable_clocale"
5741
5742 case "$enableval" in
5743 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5744 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5745 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5746 { (exit 1); exit 1; }; } ;;
5747 esac
5748
5749 else
5750 enable_clocale=auto
5751 fi;
5752
5753
5754 # If they didn't use this option switch, or if they specified --enable
5755 # with no specific model, we'll have to look for one. If they
5756 # specified --disable (???), do likewise.
5757 if test $enable_clocale = no || test $enable_clocale = yes; then
5758 enable_clocale=auto
5759 fi
5760
5761 # Either a known package, or "auto"
5762 enable_clocale_flag=$enable_clocale
5763
5764 # Probe for locale support if no specific model is specified.
5765 # Default to "generic".
5766 if test $enable_clocale_flag = auto; then
5767 case ${target_os} in
5768 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5769 cat >conftest.$ac_ext <<_ACEOF
5770 /* confdefs.h. */
5771 _ACEOF
5772 cat confdefs.h >>conftest.$ac_ext
5773 cat >>conftest.$ac_ext <<_ACEOF
5774 /* end confdefs.h. */
5775
5776 #include <features.h>
5777 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5778 _GLIBCXX_ok
5779 #endif
5780
5781 _ACEOF
5782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5783 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5784 enable_clocale_flag=gnu
5785 else
5786 enable_clocale_flag=generic
5787 fi
5788 rm -f conftest*
5789
5790
5791 # Test for bugs early in glibc-2.2.x series
5792 if test $enable_clocale_flag = gnu; then
5793 if test "$cross_compiling" = yes; then
5794 enable_clocale_flag=generic
5795 else
5796 cat >conftest.$ac_ext <<_ACEOF
5797 /* confdefs.h. */
5798 _ACEOF
5799 cat confdefs.h >>conftest.$ac_ext
5800 cat >>conftest.$ac_ext <<_ACEOF
5801 /* end confdefs.h. */
5802
5803 #define _GNU_SOURCE 1
5804 #include <locale.h>
5805 #include <string.h>
5806 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5807 extern __typeof(newlocale) __newlocale;
5808 extern __typeof(duplocale) __duplocale;
5809 extern __typeof(strcoll_l) __strcoll_l;
5810 #endif
5811 int main()
5812 {
5813 const char __one[] = "Äuglein Augmen";
5814 const char __two[] = "Äuglein";
5815 int i;
5816 int j;
5817 __locale_t loc;
5818 __locale_t loc_dup;
5819 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5820 loc_dup = __duplocale(loc);
5821 i = __strcoll_l(__one, __two, loc);
5822 j = __strcoll_l(__one, __two, loc_dup);
5823 return 0;
5824 }
5825
5826 _ACEOF
5827 rm -f conftest$ac_exeext
5828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5829 (eval $ac_link) 2>&5
5830 ac_status=$?
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 (eval $ac_try) 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 enable_clocale_flag=gnu
5839 else
5840 echo "$as_me: program exited with status $ac_status" >&5
5841 echo "$as_me: failed program was:" >&5
5842 sed 's/^/| /' conftest.$ac_ext >&5
5843
5844 ( exit $ac_status )
5845 enable_clocale_flag=generic
5846 fi
5847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5848 fi
5849 fi
5850
5851 # ... at some point put __strxfrm_l tests in as well.
5852 ;;
5853 darwin* | freebsd*)
5854 enable_clocale_flag=darwin
5855 ;;
5856 *)
5857 enable_clocale_flag=generic
5858 ;;
5859 esac
5860 fi
5861
5862 # Deal with gettext issues. Default to not using it (=no) until we detect
5863 # support for it later. Let the user turn it off via --e/d, but let that
5864 # default to on for easier handling.
5865 USE_NLS=no
5866 # Check whether --enable-nls or --disable-nls was given.
5867 if test "${enable_nls+set}" = set; then
5868 enableval="$enable_nls"
5869
5870 else
5871 enable_nls=yes
5872 fi;
5873
5874 # Set configure bits for specified locale package
5875 case ${enable_clocale_flag} in
5876 generic)
5877 echo "$as_me:$LINENO: result: generic" >&5
5878 echo "${ECHO_T}generic" >&6
5879
5880 CLOCALE_H=config/locale/generic/c_locale.h
5881 CLOCALE_CC=config/locale/generic/c_locale.cc
5882 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5883 CCOLLATE_CC=config/locale/generic/collate_members.cc
5884 CCTYPE_CC=config/locale/generic/ctype_members.cc
5885 CMESSAGES_H=config/locale/generic/messages_members.h
5886 CMESSAGES_CC=config/locale/generic/messages_members.cc
5887 CMONEY_CC=config/locale/generic/monetary_members.cc
5888 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5889 CTIME_H=config/locale/generic/time_members.h
5890 CTIME_CC=config/locale/generic/time_members.cc
5891 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5892 ;;
5893 darwin)
5894 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5895 echo "${ECHO_T}darwin or freebsd" >&6
5896
5897 CLOCALE_H=config/locale/generic/c_locale.h
5898 CLOCALE_CC=config/locale/generic/c_locale.cc
5899 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5900 CCOLLATE_CC=config/locale/generic/collate_members.cc
5901 CCTYPE_CC=config/locale/darwin/ctype_members.cc
5902 CMESSAGES_H=config/locale/generic/messages_members.h
5903 CMESSAGES_CC=config/locale/generic/messages_members.cc
5904 CMONEY_CC=config/locale/generic/monetary_members.cc
5905 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5906 CTIME_H=config/locale/generic/time_members.h
5907 CTIME_CC=config/locale/generic/time_members.cc
5908 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5909 ;;
5910
5911 gnu)
5912 echo "$as_me:$LINENO: result: gnu" >&5
5913 echo "${ECHO_T}gnu" >&6
5914
5915 # Declare intention to use gettext, and add support for specific
5916 # languages.
5917 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5918 ALL_LINGUAS="de fr"
5919
5920 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5921 # Extract the first word of "msgfmt", so it can be a program name with args.
5922 set dummy msgfmt; ac_word=$2
5923 echo "$as_me:$LINENO: checking for $ac_word" >&5
5924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5925 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 if test -n "$check_msgfmt"; then
5929 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5933 do
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 for ac_exec_ext in '' $ac_executable_extensions; do
5937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5938 ac_cv_prog_check_msgfmt="yes"
5939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 break 2
5941 fi
5942 done
5943 done
5944
5945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5946 fi
5947 fi
5948 check_msgfmt=$ac_cv_prog_check_msgfmt
5949 if test -n "$check_msgfmt"; then
5950 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5951 echo "${ECHO_T}$check_msgfmt" >&6
5952 else
5953 echo "$as_me:$LINENO: result: no" >&5
5954 echo "${ECHO_T}no" >&6
5955 fi
5956
5957 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5958 USE_NLS=yes
5959 fi
5960 # Export the build objects.
5961 for ling in $ALL_LINGUAS; do \
5962 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5963 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5964 done
5965
5966
5967
5968 CLOCALE_H=config/locale/gnu/c_locale.h
5969 CLOCALE_CC=config/locale/gnu/c_locale.cc
5970 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5971 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5972 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5973 CMESSAGES_H=config/locale/gnu/messages_members.h
5974 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5975 CMONEY_CC=config/locale/gnu/monetary_members.cc
5976 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5977 CTIME_H=config/locale/gnu/time_members.h
5978 CTIME_CC=config/locale/gnu/time_members.cc
5979 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5980 ;;
5981 ieee_1003.1-2001)
5982 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5983 echo "${ECHO_T}IEEE 1003.1" >&6
5984
5985 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5986 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5987 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5988 CCOLLATE_CC=config/locale/generic/collate_members.cc
5989 CCTYPE_CC=config/locale/generic/ctype_members.cc
5990 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5991 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5992 CMONEY_CC=config/locale/generic/monetary_members.cc
5993 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5994 CTIME_H=config/locale/generic/time_members.h
5995 CTIME_CC=config/locale/generic/time_members.cc
5996 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5997 ;;
5998 esac
5999
6000 # This is where the testsuite looks for locale catalogs, using the
6001 # -DLOCALEDIR define during testsuite compilation.
6002 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
6003
6004
6005 # A standalone libintl (e.g., GNU libintl) may be in use.
6006 if test $USE_NLS = yes; then
6007
6008 for ac_header in libintl.h
6009 do
6010 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6012 echo "$as_me:$LINENO: checking for $ac_header" >&5
6013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6016 fi
6017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6019 else
6020 # Is the header compilable?
6021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6023 cat >conftest.$ac_ext <<_ACEOF
6024 /* confdefs.h. */
6025 _ACEOF
6026 cat confdefs.h >>conftest.$ac_ext
6027 cat >>conftest.$ac_ext <<_ACEOF
6028 /* end confdefs.h. */
6029 $ac_includes_default
6030 #include <$ac_header>
6031 _ACEOF
6032 rm -f conftest.$ac_objext
6033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6034 (eval $ac_compile) 2>conftest.er1
6035 ac_status=$?
6036 grep -v '^ *+' conftest.er1 >conftest.err
6037 rm -f conftest.er1
6038 cat conftest.err >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); } &&
6041 { ac_try='test -z "$ac_c_werror_flag"
6042 || test ! -s conftest.err'
6043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 (eval $ac_try) 2>&5
6045 ac_status=$?
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); }; } &&
6048 { ac_try='test -s conftest.$ac_objext'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 (eval $ac_try) 2>&5
6051 ac_status=$?
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; }; then
6054 ac_header_compiler=yes
6055 else
6056 echo "$as_me: failed program was:" >&5
6057 sed 's/^/| /' conftest.$ac_ext >&5
6058
6059 ac_header_compiler=no
6060 fi
6061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6063 echo "${ECHO_T}$ac_header_compiler" >&6
6064
6065 # Is the header present?
6066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6068 cat >conftest.$ac_ext <<_ACEOF
6069 /* confdefs.h. */
6070 _ACEOF
6071 cat confdefs.h >>conftest.$ac_ext
6072 cat >>conftest.$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 #include <$ac_header>
6075 _ACEOF
6076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6078 ac_status=$?
6079 grep -v '^ *+' conftest.er1 >conftest.err
6080 rm -f conftest.er1
6081 cat conftest.err >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); } >/dev/null; then
6084 if test -s conftest.err; then
6085 ac_cpp_err=$ac_c_preproc_warn_flag
6086 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6087 else
6088 ac_cpp_err=
6089 fi
6090 else
6091 ac_cpp_err=yes
6092 fi
6093 if test -z "$ac_cpp_err"; then
6094 ac_header_preproc=yes
6095 else
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6098
6099 ac_header_preproc=no
6100 fi
6101 rm -f conftest.err conftest.$ac_ext
6102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6103 echo "${ECHO_T}$ac_header_preproc" >&6
6104
6105 # So? What about this header?
6106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6107 yes:no: )
6108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6112 ac_header_preproc=yes
6113 ;;
6114 no:yes:* )
6115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6127 (
6128 cat <<\_ASBOX
6129 ## ----------------------------------------- ##
6130 ## Report this to the package-unused lists. ##
6131 ## ----------------------------------------- ##
6132 _ASBOX
6133 ) |
6134 sed "s/^/$as_me: WARNING: /" >&2
6135 ;;
6136 esac
6137 echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142 eval "$as_ac_Header=\$ac_header_preproc"
6143 fi
6144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6146
6147 fi
6148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6149 cat >>confdefs.h <<_ACEOF
6150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6151 _ACEOF
6152
6153 else
6154 USE_NLS=no
6155 fi
6156
6157 done
6158
6159 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6160 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6161 if test "${ac_cv_search_gettext+set}" = set; then
6162 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 else
6164 ac_func_search_save_LIBS=$LIBS
6165 ac_cv_search_gettext=no
6166 if test x$gcc_no_link = xyes; then
6167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6169 { (exit 1); exit 1; }; }
6170 fi
6171 cat >conftest.$ac_ext <<_ACEOF
6172 /* confdefs.h. */
6173 _ACEOF
6174 cat confdefs.h >>conftest.$ac_ext
6175 cat >>conftest.$ac_ext <<_ACEOF
6176 /* end confdefs.h. */
6177
6178 /* Override any gcc2 internal prototype to avoid an error. */
6179 #ifdef __cplusplus
6180 extern "C"
6181 #endif
6182 /* We use char because int might match the return type of a gcc2
6183 builtin and then its argument prototype would still apply. */
6184 char gettext ();
6185 int
6186 main ()
6187 {
6188 gettext ();
6189 ;
6190 return 0;
6191 }
6192 _ACEOF
6193 rm -f conftest.$ac_objext conftest$ac_exeext
6194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>conftest.er1
6196 ac_status=$?
6197 grep -v '^ *+' conftest.er1 >conftest.err
6198 rm -f conftest.er1
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try='test -s conftest$ac_exeext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 (eval $ac_try) 2>&5
6212 ac_status=$?
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 ac_cv_search_gettext="none required"
6216 else
6217 echo "$as_me: failed program was:" >&5
6218 sed 's/^/| /' conftest.$ac_ext >&5
6219
6220 fi
6221 rm -f conftest.err conftest.$ac_objext \
6222 conftest$ac_exeext conftest.$ac_ext
6223 if test "$ac_cv_search_gettext" = no; then
6224 for ac_lib in intl; do
6225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6226 if test x$gcc_no_link = xyes; then
6227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6229 { (exit 1); exit 1; }; }
6230 fi
6231 cat >conftest.$ac_ext <<_ACEOF
6232 /* confdefs.h. */
6233 _ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6237
6238 /* Override any gcc2 internal prototype to avoid an error. */
6239 #ifdef __cplusplus
6240 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6244 char gettext ();
6245 int
6246 main ()
6247 {
6248 gettext ();
6249 ;
6250 return 0;
6251 }
6252 _ACEOF
6253 rm -f conftest.$ac_objext conftest$ac_exeext
6254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6255 (eval $ac_link) 2>conftest.er1
6256 ac_status=$?
6257 grep -v '^ *+' conftest.er1 >conftest.err
6258 rm -f conftest.er1
6259 cat conftest.err >&5
6260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } &&
6262 { ac_try='test -z "$ac_c_werror_flag"
6263 || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 (eval $ac_try) 2>&5
6266 ac_status=$?
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6271 (eval $ac_try) 2>&5
6272 ac_status=$?
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 ac_cv_search_gettext="-l$ac_lib"
6276 break
6277 else
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.$ac_ext >&5
6280
6281 fi
6282 rm -f conftest.err conftest.$ac_objext \
6283 conftest$ac_exeext conftest.$ac_ext
6284 done
6285 fi
6286 LIBS=$ac_func_search_save_LIBS
6287 fi
6288 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6289 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6290 if test "$ac_cv_search_gettext" != no; then
6291 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6292
6293 else
6294 USE_NLS=no
6295 fi
6296
6297 fi
6298 if test $USE_NLS = yes; then
6299
6300 cat >>confdefs.h <<\_ACEOF
6301 #define _GLIBCXX_USE_NLS 1
6302 _ACEOF
6303
6304 fi
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
6322 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
6323 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6324 if test "${enable_libstdcxx_allocator+set}" = set; then
6325 enableval="$enable_libstdcxx_allocator"
6326
6327 case "$enableval" in
6328 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6329 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6330 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6331 { (exit 1); exit 1; }; } ;;
6332 esac
6333
6334 else
6335 enable_libstdcxx_allocator=auto
6336 fi;
6337
6338
6339 # If they didn't use this option switch, or if they specified --enable
6340 # with no specific model, we'll have to look for one. If they
6341 # specified --disable (???), do likewise.
6342 if test $enable_libstdcxx_allocator = no ||
6343 test $enable_libstdcxx_allocator = yes;
6344 then
6345 enable_libstdcxx_allocator=auto
6346 fi
6347
6348 # Either a known package, or "auto". Auto implies the default choice
6349 # for a particular platform.
6350 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6351
6352 # Probe for host-specific support if no specific model is specified.
6353 # Default to "new".
6354 if test $enable_libstdcxx_allocator_flag = auto; then
6355 case ${target_os} in
6356 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6357 enable_libstdcxx_allocator_flag=new
6358 ;;
6359 *)
6360 enable_libstdcxx_allocator_flag=new
6361 ;;
6362 esac
6363 fi
6364 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6365 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6366
6367
6368 # Set configure bits for specified locale package
6369 case ${enable_libstdcxx_allocator_flag} in
6370 bitmap)
6371 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6372 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6373 ;;
6374 malloc)
6375 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6376 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6377 ;;
6378 mt)
6379 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6380 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6381 ;;
6382 new)
6383 ALLOCATOR_H=config/allocator/new_allocator_base.h
6384 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6385 ;;
6386 pool)
6387 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6388 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6389 ;;
6390 esac
6391
6392
6393
6394
6395
6396 # Check whether --enable-cheaders or --disable-cheaders was given.
6397 if test "${enable_cheaders+set}" = set; then
6398 enableval="$enable_cheaders"
6399
6400 case "$enableval" in
6401 c|c_std) ;;
6402 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6403 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6404 { (exit 1); exit 1; }; } ;;
6405 esac
6406
6407 else
6408 enable_cheaders=$c_model
6409 fi;
6410
6411 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6412 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6413
6414 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6415
6416
6417
6418
6419
6420
6421
6422
6423 # Check whether --enable-c99 or --disable-c99 was given.
6424 if test "${enable_c99+set}" = set; then
6425 enableval="$enable_c99"
6426
6427 case "$enableval" in
6428 yes|no) ;;
6429 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6430 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6431 { (exit 1); exit 1; }; } ;;
6432 esac
6433
6434 else
6435 enable_c99=yes
6436 fi;
6437
6438
6439 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos
6440 # even if C99 support is turned off.
6441
6442 for ac_header in wchar.h
6443 do
6444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6446 echo "$as_me:$LINENO: checking for $ac_header" >&5
6447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6450 fi
6451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6453 else
6454 # Is the header compilable?
6455 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6457 cat >conftest.$ac_ext <<_ACEOF
6458 /* confdefs.h. */
6459 _ACEOF
6460 cat confdefs.h >>conftest.$ac_ext
6461 cat >>conftest.$ac_ext <<_ACEOF
6462 /* end confdefs.h. */
6463 $ac_includes_default
6464 #include <$ac_header>
6465 _ACEOF
6466 rm -f conftest.$ac_objext
6467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6468 (eval $ac_compile) 2>conftest.er1
6469 ac_status=$?
6470 grep -v '^ *+' conftest.er1 >conftest.err
6471 rm -f conftest.er1
6472 cat conftest.err >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); } &&
6475 { ac_try='test -z "$ac_c_werror_flag"
6476 || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 (eval $ac_try) 2>&5
6479 ac_status=$?
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try='test -s conftest.$ac_objext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6484 (eval $ac_try) 2>&5
6485 ac_status=$?
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6488 ac_header_compiler=yes
6489 else
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.$ac_ext >&5
6492
6493 ac_header_compiler=no
6494 fi
6495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6497 echo "${ECHO_T}$ac_header_compiler" >&6
6498
6499 # Is the header present?
6500 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6501 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6502 cat >conftest.$ac_ext <<_ACEOF
6503 /* confdefs.h. */
6504 _ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 #include <$ac_header>
6509 _ACEOF
6510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6512 ac_status=$?
6513 grep -v '^ *+' conftest.er1 >conftest.err
6514 rm -f conftest.er1
6515 cat conftest.err >&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } >/dev/null; then
6518 if test -s conftest.err; then
6519 ac_cpp_err=$ac_c_preproc_warn_flag
6520 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6521 else
6522 ac_cpp_err=
6523 fi
6524 else
6525 ac_cpp_err=yes
6526 fi
6527 if test -z "$ac_cpp_err"; then
6528 ac_header_preproc=yes
6529 else
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.$ac_ext >&5
6532
6533 ac_header_preproc=no
6534 fi
6535 rm -f conftest.err conftest.$ac_ext
6536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6537 echo "${ECHO_T}$ac_header_preproc" >&6
6538
6539 # So? What about this header?
6540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6541 yes:no: )
6542 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6543 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6545 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6546 ac_header_preproc=yes
6547 ;;
6548 no:yes:* )
6549 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6550 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6552 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6554 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6556 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6558 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6560 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6561 (
6562 cat <<\_ASBOX
6563 ## ----------------------------------------- ##
6564 ## Report this to the package-unused lists. ##
6565 ## ----------------------------------------- ##
6566 _ASBOX
6567 ) |
6568 sed "s/^/$as_me: WARNING: /" >&2
6569 ;;
6570 esac
6571 echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6575 else
6576 eval "$as_ac_Header=\$ac_header_preproc"
6577 fi
6578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6580
6581 fi
6582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6583 cat >>confdefs.h <<_ACEOF
6584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6585 _ACEOF
6586 ac_has_wchar_h=yes
6587 else
6588 ac_has_wchar_h=no
6589 fi
6590
6591 done
6592
6593 echo "$as_me:$LINENO: checking for mbstate_t" >&5
6594 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
6595 cat >conftest.$ac_ext <<_ACEOF
6596 /* confdefs.h. */
6597 _ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 #include <wchar.h>
6602 int
6603 main ()
6604 {
6605 mbstate_t teststate;
6606 ;
6607 return 0;
6608 }
6609 _ACEOF
6610 rm -f conftest.$ac_objext
6611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6612 (eval $ac_compile) 2>conftest.er1
6613 ac_status=$?
6614 grep -v '^ *+' conftest.er1 >conftest.err
6615 rm -f conftest.er1
6616 cat conftest.err >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); } &&
6619 { ac_try='test -z "$ac_c_werror_flag"
6620 || test ! -s conftest.err'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 (eval $ac_try) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; } &&
6626 { ac_try='test -s conftest.$ac_objext'
6627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6628 (eval $ac_try) 2>&5
6629 ac_status=$?
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); }; }; then
6632 have_mbstate_t=yes
6633 else
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6636
6637 have_mbstate_t=no
6638 fi
6639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6640 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
6641 echo "${ECHO_T}$have_mbstate_t" >&6
6642 if test x"$have_mbstate_t" = xyes; then
6643
6644 cat >>confdefs.h <<\_ACEOF
6645 #define HAVE_MBSTATE_T 1
6646 _ACEOF
6647
6648 fi
6649
6650 if test x"$enable_c99" = x"yes"; then
6651
6652
6653
6654 ac_ext=cc
6655 ac_cpp='$CXXCPP $CPPFLAGS'
6656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6659
6660
6661 # Check for the existence of <math.h> functions used if C99 is enabled.
6662 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6663 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6664 if test "${ac_c99_math+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6667
6668 cat >conftest.$ac_ext <<_ACEOF
6669 /* confdefs.h. */
6670 _ACEOF
6671 cat confdefs.h >>conftest.$ac_ext
6672 cat >>conftest.$ac_ext <<_ACEOF
6673 /* end confdefs.h. */
6674 #include <math.h>
6675 int
6676 main ()
6677 {
6678 fpclassify(0.0);
6679 isfinite(0.0);
6680 isinf(0.0);
6681 isnan(0.0);
6682 isnormal(0.0);
6683 signbit(0.0);
6684 isgreater(0.0,0.0);
6685 isgreaterequal(0.0,0.0);
6686 isless(0.0,0.0);
6687 islessequal(0.0,0.0);
6688 islessgreater(0.0,0.0);
6689 islessgreater(0.0,0.0);
6690 isunordered(0.0,0.0);
6691
6692 ;
6693 return 0;
6694 }
6695 _ACEOF
6696 rm -f conftest.$ac_objext
6697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6698 (eval $ac_compile) 2>conftest.er1
6699 ac_status=$?
6700 grep -v '^ *+' conftest.er1 >conftest.err
6701 rm -f conftest.er1
6702 cat conftest.err >&5
6703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6704 (exit $ac_status); } &&
6705 { ac_try='test -z "$ac_cxx_werror_flag"
6706 || test ! -s conftest.err'
6707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6708 (eval $ac_try) 2>&5
6709 ac_status=$?
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); }; } &&
6712 { ac_try='test -s conftest.$ac_objext'
6713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 (eval $ac_try) 2>&5
6715 ac_status=$?
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); }; }; then
6718 ac_c99_math=yes
6719 else
6720 echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.$ac_ext >&5
6722
6723 ac_c99_math=no
6724 fi
6725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6726
6727 fi
6728
6729 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6730 echo "${ECHO_T}$ac_c99_math" >&6
6731 if test x"$ac_c99_math" = x"yes"; then
6732
6733 cat >>confdefs.h <<\_ACEOF
6734 #define _GLIBCXX_USE_C99_MATH 1
6735 _ACEOF
6736
6737 fi
6738
6739 # Check for the existence of <complex.h> complex math functions.
6740 # This is necessary even though libstdc++ uses the builtin versions
6741 # of these functions, because if the builtin cannot be used, a reference
6742 # to the library function is emitted.
6743
6744 for ac_header in complex.h
6745 do
6746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748 echo "$as_me:$LINENO: checking for $ac_header" >&5
6749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6751 echo $ECHO_N "(cached) $ECHO_C" >&6
6752 fi
6753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6755 else
6756 # Is the header compilable?
6757 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6759 cat >conftest.$ac_ext <<_ACEOF
6760 /* confdefs.h. */
6761 _ACEOF
6762 cat confdefs.h >>conftest.$ac_ext
6763 cat >>conftest.$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 $ac_includes_default
6766 #include <$ac_header>
6767 _ACEOF
6768 rm -f conftest.$ac_objext
6769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6770 (eval $ac_compile) 2>conftest.er1
6771 ac_status=$?
6772 grep -v '^ *+' conftest.er1 >conftest.err
6773 rm -f conftest.er1
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } &&
6777 { ac_try='test -z "$ac_cxx_werror_flag"
6778 || test ! -s conftest.err'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6780 (eval $ac_try) 2>&5
6781 ac_status=$?
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; } &&
6784 { ac_try='test -s conftest.$ac_objext'
6785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6786 (eval $ac_try) 2>&5
6787 ac_status=$?
6788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); }; }; then
6790 ac_header_compiler=yes
6791 else
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6794
6795 ac_header_compiler=no
6796 fi
6797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6799 echo "${ECHO_T}$ac_header_compiler" >&6
6800
6801 # Is the header present?
6802 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6803 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6804 cat >conftest.$ac_ext <<_ACEOF
6805 /* confdefs.h. */
6806 _ACEOF
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6810 #include <$ac_header>
6811 _ACEOF
6812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6814 ac_status=$?
6815 grep -v '^ *+' conftest.er1 >conftest.err
6816 rm -f conftest.er1
6817 cat conftest.err >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); } >/dev/null; then
6820 if test -s conftest.err; then
6821 ac_cpp_err=$ac_cxx_preproc_warn_flag
6822 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6823 else
6824 ac_cpp_err=
6825 fi
6826 else
6827 ac_cpp_err=yes
6828 fi
6829 if test -z "$ac_cpp_err"; then
6830 ac_header_preproc=yes
6831 else
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6834
6835 ac_header_preproc=no
6836 fi
6837 rm -f conftest.err conftest.$ac_ext
6838 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6839 echo "${ECHO_T}$ac_header_preproc" >&6
6840
6841 # So? What about this header?
6842 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6843 yes:no: )
6844 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6845 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6846 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6847 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6848 ac_header_preproc=yes
6849 ;;
6850 no:yes:* )
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6852 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6853 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6854 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6855 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6856 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6857 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6858 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6861 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6862 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6863 (
6864 cat <<\_ASBOX
6865 ## ----------------------------------------- ##
6866 ## Report this to the package-unused lists. ##
6867 ## ----------------------------------------- ##
6868 _ASBOX
6869 ) |
6870 sed "s/^/$as_me: WARNING: /" >&2
6871 ;;
6872 esac
6873 echo "$as_me:$LINENO: checking for $ac_header" >&5
6874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6876 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 else
6878 eval "$as_ac_Header=\$ac_header_preproc"
6879 fi
6880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6882
6883 fi
6884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6885 cat >>confdefs.h <<_ACEOF
6886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6887 _ACEOF
6888 ac_has_complex_h=yes
6889 else
6890 ac_has_complex_h=no
6891 fi
6892
6893 done
6894
6895 ac_c99_complex=no;
6896 if test x"$ac_has_complex_h" = x"yes"; then
6897 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
6898 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
6899 cat >conftest.$ac_ext <<_ACEOF
6900 /* confdefs.h. */
6901 _ACEOF
6902 cat confdefs.h >>conftest.$ac_ext
6903 cat >>conftest.$ac_ext <<_ACEOF
6904 /* end confdefs.h. */
6905 #include <complex.h>
6906 int
6907 main ()
6908 {
6909 typedef __complex__ float float_type; float_type tmpf;
6910 cabsf(tmpf);
6911 cargf(tmpf);
6912 ccosf(tmpf);
6913 ccoshf(tmpf);
6914 cexpf(tmpf);
6915 clogf(tmpf);
6916 csinf(tmpf);
6917 csinhf(tmpf);
6918 csqrtf(tmpf);
6919 ctanf(tmpf);
6920 ctanhf(tmpf);
6921 cpowf(tmpf, tmpf);
6922 typedef __complex__ double double_type; double_type tmpd;
6923 cabs(tmpd);
6924 carg(tmpd);
6925 ccos(tmpd);
6926 ccosh(tmpd);
6927 cexp(tmpd);
6928 clog(tmpd);
6929 csin(tmpd);
6930 csinh(tmpd);
6931 csqrt(tmpd);
6932 ctan(tmpd);
6933 ctanh(tmpd);
6934 cpow(tmpd, tmpd);
6935 typedef __complex__ long double ld_type; ld_type tmpld;
6936 cabsl(tmpld);
6937 cargl(tmpld);
6938 ccosl(tmpld);
6939 ccoshl(tmpld);
6940 cexpl(tmpld);
6941 clogl(tmpld);
6942 csinl(tmpld);
6943 csinhl(tmpld);
6944 csqrtl(tmpld);
6945 ctanl(tmpld);
6946 ctanhl(tmpld);
6947 cpowl(tmpld, tmpld);
6948
6949 ;
6950 return 0;
6951 }
6952 _ACEOF
6953 rm -f conftest.$ac_objext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6955 (eval $ac_compile) 2>conftest.er1
6956 ac_status=$?
6957 grep -v '^ *+' conftest.er1 >conftest.err
6958 rm -f conftest.er1
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try='test -z "$ac_cxx_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6965 (eval $ac_try) 2>&5
6966 ac_status=$?
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try='test -s conftest.$ac_objext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6975 ac_c99_complex=yes
6976 else
6977 echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6979
6980 ac_c99_complex=no
6981 fi
6982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6983 fi
6984 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
6985 echo "${ECHO_T}$ac_c99_complex" >&6
6986 if test x"$ac_c99_complex" = x"yes"; then
6987
6988 cat >>confdefs.h <<\_ACEOF
6989 #define _GLIBCXX_USE_C99_COMPLEX 1
6990 _ACEOF
6991
6992 fi
6993
6994 # Check for the existence in <stdio.h> of vscanf, et. al.
6995 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6996 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6997 if test "${ac_c99_stdio+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 else
7000
7001 cat >conftest.$ac_ext <<_ACEOF
7002 /* confdefs.h. */
7003 _ACEOF
7004 cat confdefs.h >>conftest.$ac_ext
7005 cat >>conftest.$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 #include <stdio.h>
7008 #include <stdarg.h>
7009 void foo(char* fmt, ...)
7010 {
7011 va_list args; va_start(args, fmt);
7012 vfscanf(stderr, "%i", args);
7013 vscanf("%i", args);
7014 vsnprintf(fmt, 0, "%i", args);
7015 vsscanf(fmt, "%i", args);
7016 }
7017 int
7018 main ()
7019 {
7020 snprintf("12", 0, "%i");
7021 ;
7022 return 0;
7023 }
7024 _ACEOF
7025 rm -f conftest.$ac_objext
7026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7027 (eval $ac_compile) 2>conftest.er1
7028 ac_status=$?
7029 grep -v '^ *+' conftest.er1 >conftest.err
7030 rm -f conftest.er1
7031 cat conftest.err >&5
7032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7033 (exit $ac_status); } &&
7034 { ac_try='test -z "$ac_cxx_werror_flag"
7035 || test ! -s conftest.err'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7037 (eval $ac_try) 2>&5
7038 ac_status=$?
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; } &&
7041 { ac_try='test -s conftest.$ac_objext'
7042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7043 (eval $ac_try) 2>&5
7044 ac_status=$?
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); }; }; then
7047 ac_c99_stdio=yes
7048 else
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7051
7052 ac_c99_stdio=no
7053 fi
7054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7055
7056 fi
7057
7058 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7059 echo "${ECHO_T}$ac_c99_stdio" >&6
7060
7061 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7062 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7063 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7064 if test "${ac_c99_stdlib+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7066 else
7067
7068 cat >conftest.$ac_ext <<_ACEOF
7069 /* confdefs.h. */
7070 _ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7074 #include <stdlib.h>
7075 int
7076 main ()
7077 {
7078 char* tmp;
7079 strtof("gnu", &tmp);
7080 strtold("gnu", &tmp);
7081 strtoll("gnu", &tmp, 10);
7082 strtoull("gnu", &tmp, 10);
7083 llabs(10);
7084 lldiv(10,1);
7085 atoll("10");
7086 _Exit(0);
7087 lldiv_t mydivt;
7088 ;
7089 return 0;
7090 }
7091 _ACEOF
7092 rm -f conftest.$ac_objext
7093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7094 (eval $ac_compile) 2>conftest.er1
7095 ac_status=$?
7096 grep -v '^ *+' conftest.er1 >conftest.err
7097 rm -f conftest.er1
7098 cat conftest.err >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); } &&
7101 { ac_try='test -z "$ac_cxx_werror_flag"
7102 || test ! -s conftest.err'
7103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 (eval $ac_try) 2>&5
7105 ac_status=$?
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); }; } &&
7108 { ac_try='test -s conftest.$ac_objext'
7109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7110 (eval $ac_try) 2>&5
7111 ac_status=$?
7112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7113 (exit $ac_status); }; }; then
7114 ac_c99_stdlib=yes
7115 else
7116 echo "$as_me: failed program was:" >&5
7117 sed 's/^/| /' conftest.$ac_ext >&5
7118
7119 ac_c99_stdlib=no
7120 fi
7121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7122
7123 fi
7124
7125 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7126 echo "${ECHO_T}$ac_c99_stdlib" >&6
7127
7128 # Check for the existence in <wchar.h> of wcstoull, WEOF, etc.
7129
7130 for ac_header in wctype.h
7131 do
7132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7134 echo "$as_me:$LINENO: checking for $ac_header" >&5
7135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7138 fi
7139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7141 else
7142 # Is the header compilable?
7143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7145 cat >conftest.$ac_ext <<_ACEOF
7146 /* confdefs.h. */
7147 _ACEOF
7148 cat confdefs.h >>conftest.$ac_ext
7149 cat >>conftest.$ac_ext <<_ACEOF
7150 /* end confdefs.h. */
7151 $ac_includes_default
7152 #include <$ac_header>
7153 _ACEOF
7154 rm -f conftest.$ac_objext
7155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7156 (eval $ac_compile) 2>conftest.er1
7157 ac_status=$?
7158 grep -v '^ *+' conftest.er1 >conftest.err
7159 rm -f conftest.er1
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } &&
7163 { ac_try='test -z "$ac_cxx_werror_flag"
7164 || test ! -s conftest.err'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166 (eval $ac_try) 2>&5
7167 ac_status=$?
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; } &&
7170 { ac_try='test -s conftest.$ac_objext'
7171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 (eval $ac_try) 2>&5
7173 ac_status=$?
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; }; then
7176 ac_header_compiler=yes
7177 else
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.$ac_ext >&5
7180
7181 ac_header_compiler=no
7182 fi
7183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7184 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7185 echo "${ECHO_T}$ac_header_compiler" >&6
7186
7187 # Is the header present?
7188 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7189 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7191 /* confdefs.h. */
7192 _ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 #include <$ac_header>
7197 _ACEOF
7198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } >/dev/null; then
7206 if test -s conftest.err; then
7207 ac_cpp_err=$ac_cxx_preproc_warn_flag
7208 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7209 else
7210 ac_cpp_err=
7211 fi
7212 else
7213 ac_cpp_err=yes
7214 fi
7215 if test -z "$ac_cpp_err"; then
7216 ac_header_preproc=yes
7217 else
7218 echo "$as_me: failed program was:" >&5
7219 sed 's/^/| /' conftest.$ac_ext >&5
7220
7221 ac_header_preproc=no
7222 fi
7223 rm -f conftest.err conftest.$ac_ext
7224 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7225 echo "${ECHO_T}$ac_header_preproc" >&6
7226
7227 # So? What about this header?
7228 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7229 yes:no: )
7230 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7231 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7233 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7234 ac_header_preproc=yes
7235 ;;
7236 no:yes:* )
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7242 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7243 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7244 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7248 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7249 (
7250 cat <<\_ASBOX
7251 ## ----------------------------------------- ##
7252 ## Report this to the package-unused lists. ##
7253 ## ----------------------------------------- ##
7254 _ASBOX
7255 ) |
7256 sed "s/^/$as_me: WARNING: /" >&2
7257 ;;
7258 esac
7259 echo "$as_me:$LINENO: checking for $ac_header" >&5
7260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7261 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7262 echo $ECHO_N "(cached) $ECHO_C" >&6
7263 else
7264 eval "$as_ac_Header=\$ac_header_preproc"
7265 fi
7266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7268
7269 fi
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7274 ac_has_wctype_h=yes
7275 else
7276 ac_has_wctype_h=no
7277 fi
7278
7279 done
7280
7281 ac_c99_wchar=no;
7282 if test x"$ac_has_wchar_h" = xyes &&
7283 test x"$ac_has_wctype_h" = xyes; then
7284 cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h. */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 #include <wchar.h>
7291 #include <stddef.h>
7292 wint_t i;
7293 long l = WEOF;
7294 long j = WCHAR_MIN;
7295 long k = WCHAR_MAX;
7296 namespace test
7297 {
7298 using ::btowc;
7299 using ::fgetwc;
7300 using ::fgetws;
7301 using ::fputwc;
7302 using ::fputws;
7303 using ::fwide;
7304 using ::fwprintf;
7305 using ::fwscanf;
7306 using ::getwc;
7307 using ::getwchar;
7308 using ::mbrlen;
7309 using ::mbrtowc;
7310 using ::mbsinit;
7311 using ::mbsrtowcs;
7312 using ::putwc;
7313 using ::putwchar;
7314 using ::swprintf;
7315 using ::swscanf;
7316 using ::ungetwc;
7317 using ::vfwprintf;
7318 using ::vswprintf;
7319 using ::vwprintf;
7320 using ::wcrtomb;
7321 using ::wcscat;
7322 using ::wcschr;
7323 using ::wcscmp;
7324 using ::wcscoll;
7325 using ::wcscpy;
7326 using ::wcscspn;
7327 using ::wcsftime;
7328 using ::wcslen;
7329 using ::wcsncat;
7330 using ::wcsncmp;
7331 using ::wcsncpy;
7332 using ::wcspbrk;
7333 using ::wcsrchr;
7334 using ::wcsrtombs;
7335 using ::wcsspn;
7336 using ::wcsstr;
7337 using ::wcstod;
7338 using ::wcstok;
7339 using ::wcstol;
7340 using ::wcstold;
7341 using ::wcstoll;
7342 using ::wcstoul;
7343 using ::wcstoull;
7344 using ::wcsxfrm;
7345 using ::wctob;
7346 using ::wmemchr;
7347 using ::wmemcmp;
7348 using ::wmemcpy;
7349 using ::wmemmove;
7350 using ::wmemset;
7351 using ::wprintf;
7352 using ::wscanf;
7353 }
7354
7355 int
7356 main ()
7357 {
7358
7359 ;
7360 return 0;
7361 }
7362 _ACEOF
7363 rm -f conftest.$ac_objext
7364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7365 (eval $ac_compile) 2>conftest.er1
7366 ac_status=$?
7367 grep -v '^ *+' conftest.er1 >conftest.err
7368 rm -f conftest.er1
7369 cat conftest.err >&5
7370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 (exit $ac_status); } &&
7372 { ac_try='test -z "$ac_cxx_werror_flag"
7373 || test ! -s conftest.err'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; } &&
7379 { ac_try='test -s conftest.$ac_objext'
7380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 (eval $ac_try) 2>&5
7382 ac_status=$?
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); }; }; then
7385 ac_c99_wchar=yes
7386 else
7387 echo "$as_me: failed program was:" >&5
7388 sed 's/^/| /' conftest.$ac_ext >&5
7389
7390 ac_c99_wchar=no
7391 fi
7392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7393
7394 # Checks for wide character functions that may not be present.
7395 # Injection of these is wrapped with guard macros.
7396 # NB: only put functions here, instead of immediately above, if
7397 # absolutely necessary.
7398 cat >conftest.$ac_ext <<_ACEOF
7399 /* confdefs.h. */
7400 _ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <wchar.h>
7405 namespace test { using ::vfwscanf; }
7406 int
7407 main ()
7408 {
7409
7410 ;
7411 return 0;
7412 }
7413 _ACEOF
7414 rm -f conftest.$ac_objext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416 (eval $ac_compile) 2>conftest.er1
7417 ac_status=$?
7418 grep -v '^ *+' conftest.er1 >conftest.err
7419 rm -f conftest.er1
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try='test -z "$ac_cxx_werror_flag"
7424 || test ! -s conftest.err'
7425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7426 (eval $ac_try) 2>&5
7427 ac_status=$?
7428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429 (exit $ac_status); }; } &&
7430 { ac_try='test -s conftest.$ac_objext'
7431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7432 (eval $ac_try) 2>&5
7433 ac_status=$?
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }; }; then
7436
7437 cat >>confdefs.h <<\_ACEOF
7438 #define HAVE_VFWSCANF 1
7439 _ACEOF
7440
7441 else
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.$ac_ext >&5
7444
7445 fi
7446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7447
7448 cat >conftest.$ac_ext <<_ACEOF
7449 /* confdefs.h. */
7450 _ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 #include <wchar.h>
7455 namespace test { using ::vswscanf; }
7456 int
7457 main ()
7458 {
7459
7460 ;
7461 return 0;
7462 }
7463 _ACEOF
7464 rm -f conftest.$ac_objext
7465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7466 (eval $ac_compile) 2>conftest.er1
7467 ac_status=$?
7468 grep -v '^ *+' conftest.er1 >conftest.err
7469 rm -f conftest.er1
7470 cat conftest.err >&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } &&
7473 { ac_try='test -z "$ac_cxx_werror_flag"
7474 || test ! -s conftest.err'
7475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7476 (eval $ac_try) 2>&5
7477 ac_status=$?
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); }; } &&
7480 { ac_try='test -s conftest.$ac_objext'
7481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482 (eval $ac_try) 2>&5
7483 ac_status=$?
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); }; }; then
7486
7487 cat >>confdefs.h <<\_ACEOF
7488 #define HAVE_VSWSCANF 1
7489 _ACEOF
7490
7491 else
7492 echo "$as_me: failed program was:" >&5
7493 sed 's/^/| /' conftest.$ac_ext >&5
7494
7495 fi
7496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7497
7498 cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h. */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <wchar.h>
7505 namespace test { using ::vwscanf; }
7506 int
7507 main ()
7508 {
7509
7510 ;
7511 return 0;
7512 }
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7516 (eval $ac_compile) 2>conftest.er1
7517 ac_status=$?
7518 grep -v '^ *+' conftest.er1 >conftest.err
7519 rm -f conftest.er1
7520 cat conftest.err >&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } &&
7523 { ac_try='test -z "$ac_cxx_werror_flag"
7524 || test ! -s conftest.err'
7525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7526 (eval $ac_try) 2>&5
7527 ac_status=$?
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); }; } &&
7530 { ac_try='test -s conftest.$ac_objext'
7531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7532 (eval $ac_try) 2>&5
7533 ac_status=$?
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); }; }; then
7536
7537 cat >>confdefs.h <<\_ACEOF
7538 #define HAVE_VWSCANF 1
7539 _ACEOF
7540
7541 else
7542 echo "$as_me: failed program was:" >&5
7543 sed 's/^/| /' conftest.$ac_ext >&5
7544
7545 fi
7546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7547
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <wchar.h>
7555 namespace test { using ::wcstof; }
7556 int
7557 main ()
7558 {
7559
7560 ;
7561 return 0;
7562 }
7563 _ACEOF
7564 rm -f conftest.$ac_objext
7565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7566 (eval $ac_compile) 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } &&
7573 { ac_try='test -z "$ac_cxx_werror_flag"
7574 || test ! -s conftest.err'
7575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7576 (eval $ac_try) 2>&5
7577 ac_status=$?
7578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7579 (exit $ac_status); }; } &&
7580 { ac_try='test -s conftest.$ac_objext'
7581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 (eval $ac_try) 2>&5
7583 ac_status=$?
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); }; }; then
7586
7587 cat >>confdefs.h <<\_ACEOF
7588 #define HAVE_WCSTOF 1
7589 _ACEOF
7590
7591 else
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7594
7595 fi
7596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7597
7598 cat >conftest.$ac_ext <<_ACEOF
7599 /* confdefs.h. */
7600 _ACEOF
7601 cat confdefs.h >>conftest.$ac_ext
7602 cat >>conftest.$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 #include <wctype.h>
7605 int
7606 main ()
7607 {
7608 wint_t t; int i = iswblank(t);
7609 ;
7610 return 0;
7611 }
7612 _ACEOF
7613 rm -f conftest.$ac_objext
7614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7615 (eval $ac_compile) 2>conftest.er1
7616 ac_status=$?
7617 grep -v '^ *+' conftest.er1 >conftest.err
7618 rm -f conftest.er1
7619 cat conftest.err >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); } &&
7622 { ac_try='test -z "$ac_cxx_werror_flag"
7623 || test ! -s conftest.err'
7624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7625 (eval $ac_try) 2>&5
7626 ac_status=$?
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); }; } &&
7629 { ac_try='test -s conftest.$ac_objext'
7630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631 (eval $ac_try) 2>&5
7632 ac_status=$?
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); }; }; then
7635
7636 cat >>confdefs.h <<\_ACEOF
7637 #define HAVE_ISWBLANK 1
7638 _ACEOF
7639
7640 else
7641 echo "$as_me: failed program was:" >&5
7642 sed 's/^/| /' conftest.$ac_ext >&5
7643
7644 fi
7645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7646
7647 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
7648 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
7649 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7650 echo "${ECHO_T}$ac_c99_wchar" >&6
7651 fi
7652
7653 # Option parsed, now set things appropriately.
7654 if test x"$ac_c99_math" = x"no" ||
7655 test x"$ac_c99_complex" = x"no" ||
7656 test x"$ac_c99_stdio" = x"no" ||
7657 test x"$ac_c99_stdlib" = x"no" ||
7658 test x"$ac_c99_wchar" = x"no"; then
7659 enable_c99=no;
7660 else
7661
7662 cat >>confdefs.h <<\_ACEOF
7663 #define _GLIBCXX_USE_C99 1
7664 _ACEOF
7665
7666 fi
7667
7668 ac_ext=c
7669 ac_cpp='$CPP $CPPFLAGS'
7670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673
7674 fi
7675
7676 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
7677 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
7678 echo "$as_me:$LINENO: result: $enable_c99" >&5
7679 echo "${ECHO_T}$enable_c99" >&6
7680
7681
7682 # Check whether --enable-long-long or --disable-long-long was given.
7683 if test "${enable_long_long+set}" = set; then
7684 enableval="$enable_long_long"
7685
7686 case "$enableval" in
7687 yes|no) ;;
7688 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7689 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7690 { (exit 1); exit 1; }; } ;;
7691 esac
7692
7693 else
7694 enable_long_long=yes
7695 fi;
7696
7697 if test $enable_long_long = yes; then
7698
7699 cat >>confdefs.h <<\_ACEOF
7700 #define _GLIBCXX_USE_LONG_LONG 1
7701 _ACEOF
7702
7703 fi
7704 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
7705 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
7706 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7707 echo "${ECHO_T}$enable_long_long" >&6
7708
7709
7710 # Check whether --enable-wchar_t or --disable-wchar_t was given.
7711 if test "${enable_wchar_t+set}" = set; then
7712 enableval="$enable_wchar_t"
7713
7714 case "$enableval" in
7715 yes|no) ;;
7716 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
7717 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
7718 { (exit 1); exit 1; }; } ;;
7719 esac
7720
7721 else
7722 enable_wchar_t=yes
7723 fi;
7724
7725 if test x"$ac_c99_wchar" = x"yes" && test x"$enable_wchar_t" = x"yes"; then
7726
7727 cat >>confdefs.h <<\_ACEOF
7728 #define _GLIBCXX_USE_WCHAR_T 1
7729 _ACEOF
7730
7731 fi
7732 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
7733 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
7734 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
7735 echo "${ECHO_T}$enable_wchar_t" >&6
7736
7737
7738 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7739 if test "${enable_concept_checks+set}" = set; then
7740 enableval="$enable_concept_checks"
7741
7742 case "$enableval" in
7743 yes|no) ;;
7744 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7745 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7746 { (exit 1); exit 1; }; } ;;
7747 esac
7748
7749 else
7750 enable_concept_checks=no
7751 fi;
7752
7753 if test $enable_concept_checks = yes; then
7754
7755 cat >>confdefs.h <<\_ACEOF
7756 #define _GLIBCXX_CONCEPT_CHECKS 1
7757 _ACEOF
7758
7759 fi
7760
7761
7762 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7763 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7764 enableval="$enable_libstdcxx_debug_flags"
7765 case "x$enable_libstdcxx_debug_flags" in
7766 xno | x) enable_libstdcxx_debug_flags= ;;
7767 x-*) ;;
7768 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7769 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7770 { (exit 1); exit 1; }; } ;;
7771 esac
7772 else
7773 enable_libstdcxx_debug_flags="-g3 -O0"
7774 fi;
7775
7776
7777 # Option parsed, now set things appropriately
7778 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7779
7780
7781 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7782 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7783
7784
7785 echo "$as_me:$LINENO: checking for additional debug build" >&5
7786 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7787 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7788 if test "${enable_libstdcxx_debug+set}" = set; then
7789 enableval="$enable_libstdcxx_debug"
7790
7791 case "$enableval" in
7792 yes|no) ;;
7793 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7794 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7795 { (exit 1); exit 1; }; } ;;
7796 esac
7797
7798 else
7799 enable_libstdcxx_debug=no
7800 fi;
7801
7802 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7803 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7804
7805
7806 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7807 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7808 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7809 if test "${enable_cxx_flags+set}" = set; then
7810 enableval="$enable_cxx_flags"
7811 case "x$enable_cxx_flags" in
7812 xno | x) enable_cxx_flags= ;;
7813 x-*) ;;
7814 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7815 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7816 { (exit 1); exit 1; }; } ;;
7817 esac
7818 else
7819 enable_cxx_flags=
7820 fi;
7821
7822
7823 # Run through flags (either default or command-line) and set anything
7824 # extra (e.g., #defines) that must accompany particular g++ options.
7825 if test -n "$enable_cxx_flags"; then
7826 for f in $enable_cxx_flags; do
7827 case "$f" in
7828 -fhonor-std) ;;
7829 -*) ;;
7830 *) # and we're trying to pass /what/ exactly?
7831 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7832 echo "$as_me: error: compiler flags start with a -" >&2;}
7833 { (exit 1); exit 1; }; } ;;
7834 esac
7835 done
7836 fi
7837
7838 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7839 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7840 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7841
7842
7843
7844 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7845 if test "${enable_fully_dynamic_string+set}" = set; then
7846 enableval="$enable_fully_dynamic_string"
7847
7848 case "$enableval" in
7849 yes|no) ;;
7850 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7851 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7852 { (exit 1); exit 1; }; } ;;
7853 esac
7854
7855 else
7856 enable_fully_dynamic_string=no
7857 fi;
7858
7859 if test $enable_fully_dynamic_string = yes; then
7860
7861 cat >>confdefs.h <<\_ACEOF
7862 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7863 _ACEOF
7864
7865 fi
7866
7867
7868 # No surprises, no surprises...
7869
7870 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7871 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7872 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7873 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7874 echo "${ECHO_T}$target_thread_file" >&6
7875
7876 if test $target_thread_file != single; then
7877
7878 cat >>confdefs.h <<\_ACEOF
7879 #define HAVE_GTHR_DEFAULT 1
7880 _ACEOF
7881
7882 fi
7883
7884 glibcxx_thread_h=gthr-$target_thread_file.h
7885
7886 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7887 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7888 enable_thread=yes
7889 else
7890 enable_thread=no
7891 fi
7892
7893
7894
7895 if test $atomicity_dir = cpu/generic ; then
7896 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7897 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7898 if test $target_thread_file = single; then
7899 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7900 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7901 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7902 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7903 else
7904 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7905 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7906 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7907 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7908 fi
7909 fi
7910
7911
7912 if $GLIBCXX_IS_NATIVE; then
7913
7914 # We can do more elaborate tests that assume a working linker.
7915 CANADIAN=no
7916
7917 # Check for available headers.
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7934 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7935 sys/types.h sys/ipc.h sys/sem.h
7936 do
7937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7939 echo "$as_me:$LINENO: checking for $ac_header" >&5
7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7942 echo $ECHO_N "(cached) $ECHO_C" >&6
7943 fi
7944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946 else
7947 # Is the header compilable?
7948 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7950 cat >conftest.$ac_ext <<_ACEOF
7951 /* confdefs.h. */
7952 _ACEOF
7953 cat confdefs.h >>conftest.$ac_ext
7954 cat >>conftest.$ac_ext <<_ACEOF
7955 /* end confdefs.h. */
7956 $ac_includes_default
7957 #include <$ac_header>
7958 _ACEOF
7959 rm -f conftest.$ac_objext
7960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7961 (eval $ac_compile) 2>conftest.er1
7962 ac_status=$?
7963 grep -v '^ *+' conftest.er1 >conftest.err
7964 rm -f conftest.er1
7965 cat conftest.err >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); } &&
7968 { ac_try='test -z "$ac_c_werror_flag"
7969 || test ! -s conftest.err'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971 (eval $ac_try) 2>&5
7972 ac_status=$?
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; } &&
7975 { ac_try='test -s conftest.$ac_objext'
7976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977 (eval $ac_try) 2>&5
7978 ac_status=$?
7979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7980 (exit $ac_status); }; }; then
7981 ac_header_compiler=yes
7982 else
7983 echo "$as_me: failed program was:" >&5
7984 sed 's/^/| /' conftest.$ac_ext >&5
7985
7986 ac_header_compiler=no
7987 fi
7988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7990 echo "${ECHO_T}$ac_header_compiler" >&6
7991
7992 # Is the header present?
7993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 #include <$ac_header>
8002 _ACEOF
8003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } >/dev/null; then
8011 if test -s conftest.err; then
8012 ac_cpp_err=$ac_c_preproc_warn_flag
8013 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8014 else
8015 ac_cpp_err=
8016 fi
8017 else
8018 ac_cpp_err=yes
8019 fi
8020 if test -z "$ac_cpp_err"; then
8021 ac_header_preproc=yes
8022 else
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8025
8026 ac_header_preproc=no
8027 fi
8028 rm -f conftest.err conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8030 echo "${ECHO_T}$ac_header_preproc" >&6
8031
8032 # So? What about this header?
8033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8034 yes:no: )
8035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8039 ac_header_preproc=yes
8040 ;;
8041 no:yes:* )
8042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8054 (
8055 cat <<\_ASBOX
8056 ## ----------------------------------------- ##
8057 ## Report this to the package-unused lists. ##
8058 ## ----------------------------------------- ##
8059 _ASBOX
8060 ) |
8061 sed "s/^/$as_me: WARNING: /" >&2
8062 ;;
8063 esac
8064 echo "$as_me:$LINENO: checking for $ac_header" >&5
8065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 else
8069 eval "$as_ac_Header=\$ac_header_preproc"
8070 fi
8071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073
8074 fi
8075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8076 cat >>confdefs.h <<_ACEOF
8077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8078 _ACEOF
8079
8080 fi
8081
8082 done
8083
8084
8085
8086 # All these tests are for C++; save the language and the compiler flags.
8087 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8088 # found in GLIBCXX_CONFIGURE.
8089
8090
8091 ac_ext=cc
8092 ac_cpp='$CXXCPP $CPPFLAGS'
8093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8096
8097 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8098 ac_save_CXXFLAGS="$CXXFLAGS"
8099
8100 # Check for maintainer-mode bits.
8101 if test x"$USE_MAINTAINER_MODE" = xno; then
8102 WERROR=''
8103 else
8104 WERROR='-Werror'
8105 fi
8106
8107 # Check for -ffunction-sections -fdata-sections
8108 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8109 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8110 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8111 cat >conftest.$ac_ext <<_ACEOF
8112 /* confdefs.h. */
8113 _ACEOF
8114 cat confdefs.h >>conftest.$ac_ext
8115 cat >>conftest.$ac_ext <<_ACEOF
8116 /* end confdefs.h. */
8117
8118 int
8119 main ()
8120 {
8121 int foo;
8122 ;
8123 return 0;
8124 }
8125 _ACEOF
8126 rm -f conftest.$ac_objext
8127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8128 (eval $ac_compile) 2>conftest.er1
8129 ac_status=$?
8130 grep -v '^ *+' conftest.er1 >conftest.err
8131 rm -f conftest.er1
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } &&
8135 { ac_try='test -z "$ac_cxx_werror_flag"
8136 || test ! -s conftest.err'
8137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8138 (eval $ac_try) 2>&5
8139 ac_status=$?
8140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141 (exit $ac_status); }; } &&
8142 { ac_try='test -s conftest.$ac_objext'
8143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8144 (eval $ac_try) 2>&5
8145 ac_status=$?
8146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); }; }; then
8148 ac_fdsections=yes
8149 else
8150 echo "$as_me: failed program was:" >&5
8151 sed 's/^/| /' conftest.$ac_ext >&5
8152
8153 ac_fdsections=no
8154 fi
8155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8156 if test "$ac_test_CXXFLAGS" = set; then
8157 CXXFLAGS="$ac_save_CXXFLAGS"
8158 else
8159 # this is the suspicious part
8160 CXXFLAGS=''
8161 fi
8162 if test x"$ac_fdsections" = x"yes"; then
8163 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8164 fi
8165 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8166 echo "${ECHO_T}$ac_fdsections" >&6
8167
8168 ac_ext=c
8169 ac_cpp='$CPP $CPPFLAGS'
8170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8173
8174
8175
8176
8177
8178 # If we're not using GNU ld, then there's no point in even trying these
8179 # tests. Check for that first. We should have already tested for gld
8180 # by now (in libtool), but require it now just to be safe...
8181 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8182 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8183
8184
8185
8186 # The name set by libtool depends on the version of libtool. Shame on us
8187 # for depending on an impl detail, but c'est la vie. Older versions used
8188 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8189 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8190 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8191 # set (hence we're using an older libtool), then set it.
8192 if test x${with_gnu_ld+set} != xset; then
8193 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8194 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8195 with_gnu_ld=no
8196 else
8197 with_gnu_ld=$ac_cv_prog_gnu_ld
8198 fi
8199 fi
8200
8201 # Start by getting the version number. I think the libtool test already
8202 # does some of this, but throws away the result.
8203
8204 ldver=`$LD --version 2>/dev/null | head -1 | \
8205 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8206
8207 glibcxx_gnu_ld_version=`echo $ldver | \
8208 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8209
8210 # Set --gc-sections.
8211 if test "$with_gnu_ld" = "notbroken"; then
8212 # GNU ld it is! Joy and bunny rabbits!
8213
8214 # All these tests are for C++; save the language and the compiler flags.
8215 # Need to do this so that g++ won't try to link in libstdc++
8216 ac_test_CFLAGS="${CFLAGS+set}"
8217 ac_save_CFLAGS="$CFLAGS"
8218 CFLAGS='-x c++ -Wl,--gc-sections'
8219
8220 # Check for -Wl,--gc-sections
8221 # XXX This test is broken at the moment, as symbols required for linking
8222 # are now in libsupc++ (not built yet). In addition, this test has
8223 # cored on solaris in the past. In addition, --gc-sections doesn't
8224 # really work at the moment (keeps on discarding used sections, first
8225 # .eh_frame and now some of the glibc sections for iconv).
8226 # Bzzzzt. Thanks for playing, maybe next time.
8227 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8228 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8229 if test "$cross_compiling" = yes; then
8230 ac_sectionLDflags=yes
8231 else
8232 cat >conftest.$ac_ext <<_ACEOF
8233 /* confdefs.h. */
8234 _ACEOF
8235 cat confdefs.h >>conftest.$ac_ext
8236 cat >>conftest.$ac_ext <<_ACEOF
8237 /* end confdefs.h. */
8238
8239 int main(void)
8240 {
8241 try { throw 1; }
8242 catch (...) { };
8243 return 0;
8244 }
8245
8246 _ACEOF
8247 rm -f conftest$ac_exeext
8248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8249 (eval $ac_link) 2>&5
8250 ac_status=$?
8251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8252 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8254 (eval $ac_try) 2>&5
8255 ac_status=$?
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 ac_sectionLDflags=yes
8259 else
8260 echo "$as_me: program exited with status $ac_status" >&5
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8263
8264 ( exit $ac_status )
8265 ac_sectionLDflags=no
8266 fi
8267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8268 fi
8269 if test "$ac_test_CFLAGS" = set; then
8270 CFLAGS="$ac_save_CFLAGS"
8271 else
8272 # this is the suspicious part
8273 CFLAGS=''
8274 fi
8275 if test "$ac_sectionLDflags" = "yes"; then
8276 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8277 fi
8278 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8279 echo "${ECHO_T}$ac_sectionLDflags" >&6
8280 fi
8281
8282 # Set -z,relro.
8283 # Note this is only for shared objects
8284 ac_ld_relro=no
8285 if test x"$with_gnu_ld" = x"yes"; then
8286 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
8287 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
8288 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
8289 if test -n "$cxx_z_relo"; then
8290 OPT_LDFLAGS="-Wl,-z,relro"
8291 ac_ld_relro=yes
8292 fi
8293 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
8294 echo "${ECHO_T}$ac_ld_relro" >&6
8295 fi
8296
8297 # Set linker optimization flags.
8298 if test x"$with_gnu_ld" = x"yes"; then
8299 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8300 fi
8301
8302
8303
8304
8305
8306 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8307 ac_save_CXXFLAGS="$CXXFLAGS"
8308 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8309
8310 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8311 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8312 if test "${ac_cv_lib_m_sin+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 else
8315 ac_check_lib_save_LIBS=$LIBS
8316 LIBS="-lm $LIBS"
8317 if test x$gcc_no_link = xyes; then
8318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8320 { (exit 1); exit 1; }; }
8321 fi
8322 cat >conftest.$ac_ext <<_ACEOF
8323 /* confdefs.h. */
8324 _ACEOF
8325 cat confdefs.h >>conftest.$ac_ext
8326 cat >>conftest.$ac_ext <<_ACEOF
8327 /* end confdefs.h. */
8328
8329 /* Override any gcc2 internal prototype to avoid an error. */
8330 #ifdef __cplusplus
8331 extern "C"
8332 #endif
8333 /* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
8335 char sin ();
8336 int
8337 main ()
8338 {
8339 sin ();
8340 ;
8341 return 0;
8342 }
8343 _ACEOF
8344 rm -f conftest.$ac_objext conftest$ac_exeext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8346 (eval $ac_link) 2>conftest.er1
8347 ac_status=$?
8348 grep -v '^ *+' conftest.er1 >conftest.err
8349 rm -f conftest.er1
8350 cat conftest.err >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); } &&
8353 { ac_try='test -z "$ac_c_werror_flag"
8354 || test ! -s conftest.err'
8355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 (eval $ac_try) 2>&5
8357 ac_status=$?
8358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8359 (exit $ac_status); }; } &&
8360 { ac_try='test -s conftest$ac_exeext'
8361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 (eval $ac_try) 2>&5
8363 ac_status=$?
8364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8365 (exit $ac_status); }; }; then
8366 ac_cv_lib_m_sin=yes
8367 else
8368 echo "$as_me: failed program was:" >&5
8369 sed 's/^/| /' conftest.$ac_ext >&5
8370
8371 ac_cv_lib_m_sin=no
8372 fi
8373 rm -f conftest.err conftest.$ac_objext \
8374 conftest$ac_exeext conftest.$ac_ext
8375 LIBS=$ac_check_lib_save_LIBS
8376 fi
8377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8378 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8379 if test $ac_cv_lib_m_sin = yes; then
8380 libm="-lm"
8381 fi
8382
8383 ac_save_LIBS="$LIBS"
8384 LIBS="$LIBS $libm"
8385
8386
8387
8388 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8389 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8390 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8391 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8393 else
8394
8395
8396
8397 ac_ext=cc
8398 ac_cpp='$CXXCPP $CPPFLAGS'
8399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8402
8403 cat >conftest.$ac_ext <<_ACEOF
8404 /* confdefs.h. */
8405 _ACEOF
8406 cat confdefs.h >>conftest.$ac_ext
8407 cat >>conftest.$ac_ext <<_ACEOF
8408 /* end confdefs.h. */
8409 #include <math.h>
8410 #ifdef HAVE_IEEEFP_H
8411 #include <ieeefp.h>
8412 #endif
8413
8414 int
8415 main ()
8416 {
8417 isinf(0);
8418 ;
8419 return 0;
8420 }
8421 _ACEOF
8422 rm -f conftest.$ac_objext
8423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8424 (eval $ac_compile) 2>conftest.er1
8425 ac_status=$?
8426 grep -v '^ *+' conftest.er1 >conftest.err
8427 rm -f conftest.er1
8428 cat conftest.err >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); } &&
8431 { ac_try='test -z "$ac_cxx_werror_flag"
8432 || test ! -s conftest.err'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 (eval $ac_try) 2>&5
8435 ac_status=$?
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; } &&
8438 { ac_try='test -s conftest.$ac_objext'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8440 (eval $ac_try) 2>&5
8441 ac_status=$?
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; }; then
8444 glibcxx_cv_func_isinf_use=yes
8445 else
8446 echo "$as_me: failed program was:" >&5
8447 sed 's/^/| /' conftest.$ac_ext >&5
8448
8449 glibcxx_cv_func_isinf_use=no
8450 fi
8451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8452 ac_ext=c
8453 ac_cpp='$CPP $CPPFLAGS'
8454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8457
8458
8459 fi
8460
8461 fi
8462 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8463 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8464
8465 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8466
8467 for ac_func in isinf
8468 do
8469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8470 echo "$as_me:$LINENO: checking for $ac_func" >&5
8471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8472 if eval "test \"\${$as_ac_var+set}\" = set"; then
8473 echo $ECHO_N "(cached) $ECHO_C" >&6
8474 else
8475 if test x$gcc_no_link = xyes; then
8476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8478 { (exit 1); exit 1; }; }
8479 fi
8480 cat >conftest.$ac_ext <<_ACEOF
8481 /* confdefs.h. */
8482 _ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8488 #define $ac_func innocuous_$ac_func
8489
8490 /* System header to define __stub macros and hopefully few prototypes,
8491 which can conflict with char $ac_func (); below.
8492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8493 <limits.h> exists even on freestanding compilers. */
8494
8495 #ifdef __STDC__
8496 # include <limits.h>
8497 #else
8498 # include <assert.h>
8499 #endif
8500
8501 #undef $ac_func
8502
8503 /* Override any gcc2 internal prototype to avoid an error. */
8504 #ifdef __cplusplus
8505 extern "C"
8506 {
8507 #endif
8508 /* We use char because int might match the return type of a gcc2
8509 builtin and then its argument prototype would still apply. */
8510 char $ac_func ();
8511 /* The GNU C library defines this for functions which it implements
8512 to always fail with ENOSYS. Some functions are actually named
8513 something starting with __ and the normal name is an alias. */
8514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8515 choke me
8516 #else
8517 char (*f) () = $ac_func;
8518 #endif
8519 #ifdef __cplusplus
8520 }
8521 #endif
8522
8523 int
8524 main ()
8525 {
8526 return f != $ac_func;
8527 ;
8528 return 0;
8529 }
8530 _ACEOF
8531 rm -f conftest.$ac_objext conftest$ac_exeext
8532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8533 (eval $ac_link) 2>conftest.er1
8534 ac_status=$?
8535 grep -v '^ *+' conftest.er1 >conftest.err
8536 rm -f conftest.er1
8537 cat conftest.err >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try='test -z "$ac_c_werror_flag"
8541 || test ! -s conftest.err'
8542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8543 (eval $ac_try) 2>&5
8544 ac_status=$?
8545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8546 (exit $ac_status); }; } &&
8547 { ac_try='test -s conftest$ac_exeext'
8548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 (eval $ac_try) 2>&5
8550 ac_status=$?
8551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8552 (exit $ac_status); }; }; then
8553 eval "$as_ac_var=yes"
8554 else
8555 echo "$as_me: failed program was:" >&5
8556 sed 's/^/| /' conftest.$ac_ext >&5
8557
8558 eval "$as_ac_var=no"
8559 fi
8560 rm -f conftest.err conftest.$ac_objext \
8561 conftest$ac_exeext conftest.$ac_ext
8562 fi
8563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8565 if test `eval echo '${'$as_ac_var'}'` = yes; then
8566 cat >>confdefs.h <<_ACEOF
8567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8568 _ACEOF
8569
8570 fi
8571 done
8572
8573 else
8574
8575 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8576 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8577 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8578 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8579 echo $ECHO_N "(cached) $ECHO_C" >&6
8580 else
8581
8582
8583
8584 ac_ext=cc
8585 ac_cpp='$CXXCPP $CPPFLAGS'
8586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8589
8590 cat >conftest.$ac_ext <<_ACEOF
8591 /* confdefs.h. */
8592 _ACEOF
8593 cat confdefs.h >>conftest.$ac_ext
8594 cat >>conftest.$ac_ext <<_ACEOF
8595 /* end confdefs.h. */
8596 #include <math.h>
8597 #ifdef HAVE_IEEEFP_H
8598 #include <ieeefp.h>
8599 #endif
8600
8601 int
8602 main ()
8603 {
8604 _isinf(0);
8605 ;
8606 return 0;
8607 }
8608 _ACEOF
8609 rm -f conftest.$ac_objext
8610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8611 (eval $ac_compile) 2>conftest.er1
8612 ac_status=$?
8613 grep -v '^ *+' conftest.er1 >conftest.err
8614 rm -f conftest.er1
8615 cat conftest.err >&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } &&
8618 { ac_try='test -z "$ac_cxx_werror_flag"
8619 || test ! -s conftest.err'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8621 (eval $ac_try) 2>&5
8622 ac_status=$?
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; } &&
8625 { ac_try='test -s conftest.$ac_objext'
8626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8627 (eval $ac_try) 2>&5
8628 ac_status=$?
8629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8630 (exit $ac_status); }; }; then
8631 glibcxx_cv_func__isinf_use=yes
8632 else
8633 echo "$as_me: failed program was:" >&5
8634 sed 's/^/| /' conftest.$ac_ext >&5
8635
8636 glibcxx_cv_func__isinf_use=no
8637 fi
8638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8639 ac_ext=c
8640 ac_cpp='$CPP $CPPFLAGS'
8641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8644
8645
8646 fi
8647
8648 fi
8649 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8650 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8651
8652 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8653
8654 for ac_func in _isinf
8655 do
8656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8657 echo "$as_me:$LINENO: checking for $ac_func" >&5
8658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8659 if eval "test \"\${$as_ac_var+set}\" = set"; then
8660 echo $ECHO_N "(cached) $ECHO_C" >&6
8661 else
8662 if test x$gcc_no_link = xyes; then
8663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8665 { (exit 1); exit 1; }; }
8666 fi
8667 cat >conftest.$ac_ext <<_ACEOF
8668 /* confdefs.h. */
8669 _ACEOF
8670 cat confdefs.h >>conftest.$ac_ext
8671 cat >>conftest.$ac_ext <<_ACEOF
8672 /* end confdefs.h. */
8673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8675 #define $ac_func innocuous_$ac_func
8676
8677 /* System header to define __stub macros and hopefully few prototypes,
8678 which can conflict with char $ac_func (); below.
8679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8680 <limits.h> exists even on freestanding compilers. */
8681
8682 #ifdef __STDC__
8683 # include <limits.h>
8684 #else
8685 # include <assert.h>
8686 #endif
8687
8688 #undef $ac_func
8689
8690 /* Override any gcc2 internal prototype to avoid an error. */
8691 #ifdef __cplusplus
8692 extern "C"
8693 {
8694 #endif
8695 /* We use char because int might match the return type of a gcc2
8696 builtin and then its argument prototype would still apply. */
8697 char $ac_func ();
8698 /* The GNU C library defines this for functions which it implements
8699 to always fail with ENOSYS. Some functions are actually named
8700 something starting with __ and the normal name is an alias. */
8701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8702 choke me
8703 #else
8704 char (*f) () = $ac_func;
8705 #endif
8706 #ifdef __cplusplus
8707 }
8708 #endif
8709
8710 int
8711 main ()
8712 {
8713 return f != $ac_func;
8714 ;
8715 return 0;
8716 }
8717 _ACEOF
8718 rm -f conftest.$ac_objext conftest$ac_exeext
8719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8720 (eval $ac_link) 2>conftest.er1
8721 ac_status=$?
8722 grep -v '^ *+' conftest.er1 >conftest.err
8723 rm -f conftest.er1
8724 cat conftest.err >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } &&
8727 { ac_try='test -z "$ac_c_werror_flag"
8728 || test ! -s conftest.err'
8729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 (eval $ac_try) 2>&5
8731 ac_status=$?
8732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8733 (exit $ac_status); }; } &&
8734 { ac_try='test -s conftest$ac_exeext'
8735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736 (eval $ac_try) 2>&5
8737 ac_status=$?
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); }; }; then
8740 eval "$as_ac_var=yes"
8741 else
8742 echo "$as_me: failed program was:" >&5
8743 sed 's/^/| /' conftest.$ac_ext >&5
8744
8745 eval "$as_ac_var=no"
8746 fi
8747 rm -f conftest.err conftest.$ac_objext \
8748 conftest$ac_exeext conftest.$ac_ext
8749 fi
8750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8752 if test `eval echo '${'$as_ac_var'}'` = yes; then
8753 cat >>confdefs.h <<_ACEOF
8754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8755 _ACEOF
8756
8757 fi
8758 done
8759
8760 fi
8761 fi
8762
8763
8764
8765
8766
8767
8768 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8769 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8770 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8771 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8772 echo $ECHO_N "(cached) $ECHO_C" >&6
8773 else
8774
8775
8776
8777 ac_ext=cc
8778 ac_cpp='$CXXCPP $CPPFLAGS'
8779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8782
8783 cat >conftest.$ac_ext <<_ACEOF
8784 /* confdefs.h. */
8785 _ACEOF
8786 cat confdefs.h >>conftest.$ac_ext
8787 cat >>conftest.$ac_ext <<_ACEOF
8788 /* end confdefs.h. */
8789 #include <math.h>
8790 #ifdef HAVE_IEEEFP_H
8791 #include <ieeefp.h>
8792 #endif
8793
8794 int
8795 main ()
8796 {
8797 isnan(0);
8798 ;
8799 return 0;
8800 }
8801 _ACEOF
8802 rm -f conftest.$ac_objext
8803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8804 (eval $ac_compile) 2>conftest.er1
8805 ac_status=$?
8806 grep -v '^ *+' conftest.er1 >conftest.err
8807 rm -f conftest.er1
8808 cat conftest.err >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } &&
8811 { ac_try='test -z "$ac_cxx_werror_flag"
8812 || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814 (eval $ac_try) 2>&5
8815 ac_status=$?
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } &&
8818 { ac_try='test -s conftest.$ac_objext'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 (eval $ac_try) 2>&5
8821 ac_status=$?
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; }; then
8824 glibcxx_cv_func_isnan_use=yes
8825 else
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.$ac_ext >&5
8828
8829 glibcxx_cv_func_isnan_use=no
8830 fi
8831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8832 ac_ext=c
8833 ac_cpp='$CPP $CPPFLAGS'
8834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8837
8838
8839 fi
8840
8841 fi
8842 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8843 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8844
8845 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8846
8847 for ac_func in isnan
8848 do
8849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8850 echo "$as_me:$LINENO: checking for $ac_func" >&5
8851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8852 if eval "test \"\${$as_ac_var+set}\" = set"; then
8853 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 else
8855 if test x$gcc_no_link = xyes; then
8856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8858 { (exit 1); exit 1; }; }
8859 fi
8860 cat >conftest.$ac_ext <<_ACEOF
8861 /* confdefs.h. */
8862 _ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h. */
8866 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8868 #define $ac_func innocuous_$ac_func
8869
8870 /* System header to define __stub macros and hopefully few prototypes,
8871 which can conflict with char $ac_func (); below.
8872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8873 <limits.h> exists even on freestanding compilers. */
8874
8875 #ifdef __STDC__
8876 # include <limits.h>
8877 #else
8878 # include <assert.h>
8879 #endif
8880
8881 #undef $ac_func
8882
8883 /* Override any gcc2 internal prototype to avoid an error. */
8884 #ifdef __cplusplus
8885 extern "C"
8886 {
8887 #endif
8888 /* We use char because int might match the return type of a gcc2
8889 builtin and then its argument prototype would still apply. */
8890 char $ac_func ();
8891 /* The GNU C library defines this for functions which it implements
8892 to always fail with ENOSYS. Some functions are actually named
8893 something starting with __ and the normal name is an alias. */
8894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8895 choke me
8896 #else
8897 char (*f) () = $ac_func;
8898 #endif
8899 #ifdef __cplusplus
8900 }
8901 #endif
8902
8903 int
8904 main ()
8905 {
8906 return f != $ac_func;
8907 ;
8908 return 0;
8909 }
8910 _ACEOF
8911 rm -f conftest.$ac_objext conftest$ac_exeext
8912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8913 (eval $ac_link) 2>conftest.er1
8914 ac_status=$?
8915 grep -v '^ *+' conftest.er1 >conftest.err
8916 rm -f conftest.er1
8917 cat conftest.err >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); } &&
8920 { ac_try='test -z "$ac_c_werror_flag"
8921 || test ! -s conftest.err'
8922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923 (eval $ac_try) 2>&5
8924 ac_status=$?
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 (exit $ac_status); }; } &&
8927 { ac_try='test -s conftest$ac_exeext'
8928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8929 (eval $ac_try) 2>&5
8930 ac_status=$?
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); }; }; then
8933 eval "$as_ac_var=yes"
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8937
8938 eval "$as_ac_var=no"
8939 fi
8940 rm -f conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 fi
8943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8945 if test `eval echo '${'$as_ac_var'}'` = yes; then
8946 cat >>confdefs.h <<_ACEOF
8947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8948 _ACEOF
8949
8950 fi
8951 done
8952
8953 else
8954
8955 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8956 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8957 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8958 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8959 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 else
8961
8962
8963
8964 ac_ext=cc
8965 ac_cpp='$CXXCPP $CPPFLAGS'
8966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8969
8970 cat >conftest.$ac_ext <<_ACEOF
8971 /* confdefs.h. */
8972 _ACEOF
8973 cat confdefs.h >>conftest.$ac_ext
8974 cat >>conftest.$ac_ext <<_ACEOF
8975 /* end confdefs.h. */
8976 #include <math.h>
8977 #ifdef HAVE_IEEEFP_H
8978 #include <ieeefp.h>
8979 #endif
8980
8981 int
8982 main ()
8983 {
8984 _isnan(0);
8985 ;
8986 return 0;
8987 }
8988 _ACEOF
8989 rm -f conftest.$ac_objext
8990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8991 (eval $ac_compile) 2>conftest.er1
8992 ac_status=$?
8993 grep -v '^ *+' conftest.er1 >conftest.err
8994 rm -f conftest.er1
8995 cat conftest.err >&5
8996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } &&
8998 { ac_try='test -z "$ac_cxx_werror_flag"
8999 || test ! -s conftest.err'
9000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9001 (eval $ac_try) 2>&5
9002 ac_status=$?
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); }; } &&
9005 { ac_try='test -s conftest.$ac_objext'
9006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9007 (eval $ac_try) 2>&5
9008 ac_status=$?
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); }; }; then
9011 glibcxx_cv_func__isnan_use=yes
9012 else
9013 echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.$ac_ext >&5
9015
9016 glibcxx_cv_func__isnan_use=no
9017 fi
9018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9019 ac_ext=c
9020 ac_cpp='$CPP $CPPFLAGS'
9021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9024
9025
9026 fi
9027
9028 fi
9029 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
9030 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
9031
9032 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
9033
9034 for ac_func in _isnan
9035 do
9036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9037 echo "$as_me:$LINENO: checking for $ac_func" >&5
9038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9039 if eval "test \"\${$as_ac_var+set}\" = set"; then
9040 echo $ECHO_N "(cached) $ECHO_C" >&6
9041 else
9042 if test x$gcc_no_link = xyes; then
9043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9045 { (exit 1); exit 1; }; }
9046 fi
9047 cat >conftest.$ac_ext <<_ACEOF
9048 /* confdefs.h. */
9049 _ACEOF
9050 cat confdefs.h >>conftest.$ac_ext
9051 cat >>conftest.$ac_ext <<_ACEOF
9052 /* end confdefs.h. */
9053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9055 #define $ac_func innocuous_$ac_func
9056
9057 /* System header to define __stub macros and hopefully few prototypes,
9058 which can conflict with char $ac_func (); below.
9059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9060 <limits.h> exists even on freestanding compilers. */
9061
9062 #ifdef __STDC__
9063 # include <limits.h>
9064 #else
9065 # include <assert.h>
9066 #endif
9067
9068 #undef $ac_func
9069
9070 /* Override any gcc2 internal prototype to avoid an error. */
9071 #ifdef __cplusplus
9072 extern "C"
9073 {
9074 #endif
9075 /* We use char because int might match the return type of a gcc2
9076 builtin and then its argument prototype would still apply. */
9077 char $ac_func ();
9078 /* The GNU C library defines this for functions which it implements
9079 to always fail with ENOSYS. Some functions are actually named
9080 something starting with __ and the normal name is an alias. */
9081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9082 choke me
9083 #else
9084 char (*f) () = $ac_func;
9085 #endif
9086 #ifdef __cplusplus
9087 }
9088 #endif
9089
9090 int
9091 main ()
9092 {
9093 return f != $ac_func;
9094 ;
9095 return 0;
9096 }
9097 _ACEOF
9098 rm -f conftest.$ac_objext conftest$ac_exeext
9099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9100 (eval $ac_link) 2>conftest.er1
9101 ac_status=$?
9102 grep -v '^ *+' conftest.er1 >conftest.err
9103 rm -f conftest.er1
9104 cat conftest.err >&5
9105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106 (exit $ac_status); } &&
9107 { ac_try='test -z "$ac_c_werror_flag"
9108 || test ! -s conftest.err'
9109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9110 (eval $ac_try) 2>&5
9111 ac_status=$?
9112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9113 (exit $ac_status); }; } &&
9114 { ac_try='test -s conftest$ac_exeext'
9115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116 (eval $ac_try) 2>&5
9117 ac_status=$?
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); }; }; then
9120 eval "$as_ac_var=yes"
9121 else
9122 echo "$as_me: failed program was:" >&5
9123 sed 's/^/| /' conftest.$ac_ext >&5
9124
9125 eval "$as_ac_var=no"
9126 fi
9127 rm -f conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 fi
9130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9132 if test `eval echo '${'$as_ac_var'}'` = yes; then
9133 cat >>confdefs.h <<_ACEOF
9134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9135 _ACEOF
9136
9137 fi
9138 done
9139
9140 fi
9141 fi
9142
9143
9144
9145
9146
9147
9148 echo "$as_me:$LINENO: checking for finite declaration" >&5
9149 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9150 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9151 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9152 echo $ECHO_N "(cached) $ECHO_C" >&6
9153 else
9154
9155
9156
9157 ac_ext=cc
9158 ac_cpp='$CXXCPP $CPPFLAGS'
9159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9162
9163 cat >conftest.$ac_ext <<_ACEOF
9164 /* confdefs.h. */
9165 _ACEOF
9166 cat confdefs.h >>conftest.$ac_ext
9167 cat >>conftest.$ac_ext <<_ACEOF
9168 /* end confdefs.h. */
9169 #include <math.h>
9170 #ifdef HAVE_IEEEFP_H
9171 #include <ieeefp.h>
9172 #endif
9173
9174 int
9175 main ()
9176 {
9177 finite(0);
9178 ;
9179 return 0;
9180 }
9181 _ACEOF
9182 rm -f conftest.$ac_objext
9183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9184 (eval $ac_compile) 2>conftest.er1
9185 ac_status=$?
9186 grep -v '^ *+' conftest.er1 >conftest.err
9187 rm -f conftest.er1
9188 cat conftest.err >&5
9189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190 (exit $ac_status); } &&
9191 { ac_try='test -z "$ac_cxx_werror_flag"
9192 || test ! -s conftest.err'
9193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9194 (eval $ac_try) 2>&5
9195 ac_status=$?
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; } &&
9198 { ac_try='test -s conftest.$ac_objext'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9200 (eval $ac_try) 2>&5
9201 ac_status=$?
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; }; then
9204 glibcxx_cv_func_finite_use=yes
9205 else
9206 echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.$ac_ext >&5
9208
9209 glibcxx_cv_func_finite_use=no
9210 fi
9211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9212 ac_ext=c
9213 ac_cpp='$CPP $CPPFLAGS'
9214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9217
9218
9219 fi
9220
9221 fi
9222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9223 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9224
9225 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9226
9227 for ac_func in finite
9228 do
9229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9230 echo "$as_me:$LINENO: checking for $ac_func" >&5
9231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9232 if eval "test \"\${$as_ac_var+set}\" = set"; then
9233 echo $ECHO_N "(cached) $ECHO_C" >&6
9234 else
9235 if test x$gcc_no_link = xyes; then
9236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9238 { (exit 1); exit 1; }; }
9239 fi
9240 cat >conftest.$ac_ext <<_ACEOF
9241 /* confdefs.h. */
9242 _ACEOF
9243 cat confdefs.h >>conftest.$ac_ext
9244 cat >>conftest.$ac_ext <<_ACEOF
9245 /* end confdefs.h. */
9246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9248 #define $ac_func innocuous_$ac_func
9249
9250 /* System header to define __stub macros and hopefully few prototypes,
9251 which can conflict with char $ac_func (); below.
9252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9253 <limits.h> exists even on freestanding compilers. */
9254
9255 #ifdef __STDC__
9256 # include <limits.h>
9257 #else
9258 # include <assert.h>
9259 #endif
9260
9261 #undef $ac_func
9262
9263 /* Override any gcc2 internal prototype to avoid an error. */
9264 #ifdef __cplusplus
9265 extern "C"
9266 {
9267 #endif
9268 /* We use char because int might match the return type of a gcc2
9269 builtin and then its argument prototype would still apply. */
9270 char $ac_func ();
9271 /* The GNU C library defines this for functions which it implements
9272 to always fail with ENOSYS. Some functions are actually named
9273 something starting with __ and the normal name is an alias. */
9274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9275 choke me
9276 #else
9277 char (*f) () = $ac_func;
9278 #endif
9279 #ifdef __cplusplus
9280 }
9281 #endif
9282
9283 int
9284 main ()
9285 {
9286 return f != $ac_func;
9287 ;
9288 return 0;
9289 }
9290 _ACEOF
9291 rm -f conftest.$ac_objext conftest$ac_exeext
9292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9293 (eval $ac_link) 2>conftest.er1
9294 ac_status=$?
9295 grep -v '^ *+' conftest.er1 >conftest.err
9296 rm -f conftest.er1
9297 cat conftest.err >&5
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); } &&
9300 { ac_try='test -z "$ac_c_werror_flag"
9301 || test ! -s conftest.err'
9302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9303 (eval $ac_try) 2>&5
9304 ac_status=$?
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); }; } &&
9307 { ac_try='test -s conftest$ac_exeext'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 (eval $ac_try) 2>&5
9310 ac_status=$?
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; }; then
9313 eval "$as_ac_var=yes"
9314 else
9315 echo "$as_me: failed program was:" >&5
9316 sed 's/^/| /' conftest.$ac_ext >&5
9317
9318 eval "$as_ac_var=no"
9319 fi
9320 rm -f conftest.err conftest.$ac_objext \
9321 conftest$ac_exeext conftest.$ac_ext
9322 fi
9323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9325 if test `eval echo '${'$as_ac_var'}'` = yes; then
9326 cat >>confdefs.h <<_ACEOF
9327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9328 _ACEOF
9329
9330 fi
9331 done
9332
9333 else
9334
9335 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9336 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9337 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9338 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 else
9341
9342
9343
9344 ac_ext=cc
9345 ac_cpp='$CXXCPP $CPPFLAGS'
9346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9349
9350 cat >conftest.$ac_ext <<_ACEOF
9351 /* confdefs.h. */
9352 _ACEOF
9353 cat confdefs.h >>conftest.$ac_ext
9354 cat >>conftest.$ac_ext <<_ACEOF
9355 /* end confdefs.h. */
9356 #include <math.h>
9357 #ifdef HAVE_IEEEFP_H
9358 #include <ieeefp.h>
9359 #endif
9360
9361 int
9362 main ()
9363 {
9364 _finite(0);
9365 ;
9366 return 0;
9367 }
9368 _ACEOF
9369 rm -f conftest.$ac_objext
9370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9371 (eval $ac_compile) 2>conftest.er1
9372 ac_status=$?
9373 grep -v '^ *+' conftest.er1 >conftest.err
9374 rm -f conftest.er1
9375 cat conftest.err >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); } &&
9378 { ac_try='test -z "$ac_cxx_werror_flag"
9379 || test ! -s conftest.err'
9380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9381 (eval $ac_try) 2>&5
9382 ac_status=$?
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); }; } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9387 (eval $ac_try) 2>&5
9388 ac_status=$?
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 glibcxx_cv_func__finite_use=yes
9392 else
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9395
9396 glibcxx_cv_func__finite_use=no
9397 fi
9398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9399 ac_ext=c
9400 ac_cpp='$CPP $CPPFLAGS'
9401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9404
9405
9406 fi
9407
9408 fi
9409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9410 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9411
9412 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9413
9414 for ac_func in _finite
9415 do
9416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9417 echo "$as_me:$LINENO: checking for $ac_func" >&5
9418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9419 if eval "test \"\${$as_ac_var+set}\" = set"; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 else
9422 if test x$gcc_no_link = xyes; then
9423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9425 { (exit 1); exit 1; }; }
9426 fi
9427 cat >conftest.$ac_ext <<_ACEOF
9428 /* confdefs.h. */
9429 _ACEOF
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9435 #define $ac_func innocuous_$ac_func
9436
9437 /* System header to define __stub macros and hopefully few prototypes,
9438 which can conflict with char $ac_func (); below.
9439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9440 <limits.h> exists even on freestanding compilers. */
9441
9442 #ifdef __STDC__
9443 # include <limits.h>
9444 #else
9445 # include <assert.h>
9446 #endif
9447
9448 #undef $ac_func
9449
9450 /* Override any gcc2 internal prototype to avoid an error. */
9451 #ifdef __cplusplus
9452 extern "C"
9453 {
9454 #endif
9455 /* We use char because int might match the return type of a gcc2
9456 builtin and then its argument prototype would still apply. */
9457 char $ac_func ();
9458 /* The GNU C library defines this for functions which it implements
9459 to always fail with ENOSYS. Some functions are actually named
9460 something starting with __ and the normal name is an alias. */
9461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9462 choke me
9463 #else
9464 char (*f) () = $ac_func;
9465 #endif
9466 #ifdef __cplusplus
9467 }
9468 #endif
9469
9470 int
9471 main ()
9472 {
9473 return f != $ac_func;
9474 ;
9475 return 0;
9476 }
9477 _ACEOF
9478 rm -f conftest.$ac_objext conftest$ac_exeext
9479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9480 (eval $ac_link) 2>conftest.er1
9481 ac_status=$?
9482 grep -v '^ *+' conftest.er1 >conftest.err
9483 rm -f conftest.er1
9484 cat conftest.err >&5
9485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9486 (exit $ac_status); } &&
9487 { ac_try='test -z "$ac_c_werror_flag"
9488 || test ! -s conftest.err'
9489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9490 (eval $ac_try) 2>&5
9491 ac_status=$?
9492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9493 (exit $ac_status); }; } &&
9494 { ac_try='test -s conftest$ac_exeext'
9495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496 (eval $ac_try) 2>&5
9497 ac_status=$?
9498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499 (exit $ac_status); }; }; then
9500 eval "$as_ac_var=yes"
9501 else
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9504
9505 eval "$as_ac_var=no"
9506 fi
9507 rm -f conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 fi
9510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9512 if test `eval echo '${'$as_ac_var'}'` = yes; then
9513 cat >>confdefs.h <<_ACEOF
9514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9515 _ACEOF
9516
9517 fi
9518 done
9519
9520 fi
9521 fi
9522
9523
9524
9525
9526
9527
9528 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9529 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9530 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9531 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9532 echo $ECHO_N "(cached) $ECHO_C" >&6
9533 else
9534
9535
9536
9537 ac_ext=cc
9538 ac_cpp='$CXXCPP $CPPFLAGS'
9539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9542
9543 cat >conftest.$ac_ext <<_ACEOF
9544 /* confdefs.h. */
9545 _ACEOF
9546 cat confdefs.h >>conftest.$ac_ext
9547 cat >>conftest.$ac_ext <<_ACEOF
9548 /* end confdefs.h. */
9549 #include <math.h>
9550 int
9551 main ()
9552 {
9553 copysign(0, 0);
9554 ;
9555 return 0;
9556 }
9557 _ACEOF
9558 rm -f conftest.$ac_objext
9559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9560 (eval $ac_compile) 2>conftest.er1
9561 ac_status=$?
9562 grep -v '^ *+' conftest.er1 >conftest.err
9563 rm -f conftest.er1
9564 cat conftest.err >&5
9565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9566 (exit $ac_status); } &&
9567 { ac_try='test -z "$ac_cxx_werror_flag"
9568 || test ! -s conftest.err'
9569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 (eval $ac_try) 2>&5
9571 ac_status=$?
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); }; } &&
9574 { ac_try='test -s conftest.$ac_objext'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9576 (eval $ac_try) 2>&5
9577 ac_status=$?
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; }; then
9580 glibcxx_cv_func_copysign_use=yes
9581 else
9582 echo "$as_me: failed program was:" >&5
9583 sed 's/^/| /' conftest.$ac_ext >&5
9584
9585 glibcxx_cv_func_copysign_use=no
9586 fi
9587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9588 ac_ext=c
9589 ac_cpp='$CPP $CPPFLAGS'
9590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9593
9594
9595 fi
9596
9597 fi
9598 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9599 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9600
9601 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9602
9603 for ac_func in copysign
9604 do
9605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9606 echo "$as_me:$LINENO: checking for $ac_func" >&5
9607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9608 if eval "test \"\${$as_ac_var+set}\" = set"; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9610 else
9611 if test x$gcc_no_link = xyes; then
9612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9614 { (exit 1); exit 1; }; }
9615 fi
9616 cat >conftest.$ac_ext <<_ACEOF
9617 /* confdefs.h. */
9618 _ACEOF
9619 cat confdefs.h >>conftest.$ac_ext
9620 cat >>conftest.$ac_ext <<_ACEOF
9621 /* end confdefs.h. */
9622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9624 #define $ac_func innocuous_$ac_func
9625
9626 /* System header to define __stub macros and hopefully few prototypes,
9627 which can conflict with char $ac_func (); below.
9628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9629 <limits.h> exists even on freestanding compilers. */
9630
9631 #ifdef __STDC__
9632 # include <limits.h>
9633 #else
9634 # include <assert.h>
9635 #endif
9636
9637 #undef $ac_func
9638
9639 /* Override any gcc2 internal prototype to avoid an error. */
9640 #ifdef __cplusplus
9641 extern "C"
9642 {
9643 #endif
9644 /* We use char because int might match the return type of a gcc2
9645 builtin and then its argument prototype would still apply. */
9646 char $ac_func ();
9647 /* The GNU C library defines this for functions which it implements
9648 to always fail with ENOSYS. Some functions are actually named
9649 something starting with __ and the normal name is an alias. */
9650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9651 choke me
9652 #else
9653 char (*f) () = $ac_func;
9654 #endif
9655 #ifdef __cplusplus
9656 }
9657 #endif
9658
9659 int
9660 main ()
9661 {
9662 return f != $ac_func;
9663 ;
9664 return 0;
9665 }
9666 _ACEOF
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9669 (eval $ac_link) 2>conftest.er1
9670 ac_status=$?
9671 grep -v '^ *+' conftest.er1 >conftest.err
9672 rm -f conftest.er1
9673 cat conftest.err >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } &&
9676 { ac_try='test -z "$ac_c_werror_flag"
9677 || test ! -s conftest.err'
9678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9679 (eval $ac_try) 2>&5
9680 ac_status=$?
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; } &&
9683 { ac_try='test -s conftest$ac_exeext'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9685 (eval $ac_try) 2>&5
9686 ac_status=$?
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; }; then
9689 eval "$as_ac_var=yes"
9690 else
9691 echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9693
9694 eval "$as_ac_var=no"
9695 fi
9696 rm -f conftest.err conftest.$ac_objext \
9697 conftest$ac_exeext conftest.$ac_ext
9698 fi
9699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9701 if test `eval echo '${'$as_ac_var'}'` = yes; then
9702 cat >>confdefs.h <<_ACEOF
9703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9704 _ACEOF
9705
9706 fi
9707 done
9708
9709 else
9710
9711 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9712 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9713 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9714 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 else
9717
9718
9719
9720 ac_ext=cc
9721 ac_cpp='$CXXCPP $CPPFLAGS'
9722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9725
9726 cat >conftest.$ac_ext <<_ACEOF
9727 /* confdefs.h. */
9728 _ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h. */
9732 #include <math.h>
9733 int
9734 main ()
9735 {
9736 _copysign(0, 0);
9737 ;
9738 return 0;
9739 }
9740 _ACEOF
9741 rm -f conftest.$ac_objext
9742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9743 (eval $ac_compile) 2>conftest.er1
9744 ac_status=$?
9745 grep -v '^ *+' conftest.er1 >conftest.err
9746 rm -f conftest.er1
9747 cat conftest.err >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); } &&
9750 { ac_try='test -z "$ac_cxx_werror_flag"
9751 || test ! -s conftest.err'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 (eval $ac_try) 2>&5
9754 ac_status=$?
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; } &&
9757 { ac_try='test -s conftest.$ac_objext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 (eval $ac_try) 2>&5
9760 ac_status=$?
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9763 glibcxx_cv_func__copysign_use=yes
9764 else
9765 echo "$as_me: failed program was:" >&5
9766 sed 's/^/| /' conftest.$ac_ext >&5
9767
9768 glibcxx_cv_func__copysign_use=no
9769 fi
9770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9771 ac_ext=c
9772 ac_cpp='$CPP $CPPFLAGS'
9773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9776
9777
9778 fi
9779
9780 fi
9781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9782 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9783
9784 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9785
9786 for ac_func in _copysign
9787 do
9788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9789 echo "$as_me:$LINENO: checking for $ac_func" >&5
9790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9791 if eval "test \"\${$as_ac_var+set}\" = set"; then
9792 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 else
9794 if test x$gcc_no_link = xyes; then
9795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9797 { (exit 1); exit 1; }; }
9798 fi
9799 cat >conftest.$ac_ext <<_ACEOF
9800 /* confdefs.h. */
9801 _ACEOF
9802 cat confdefs.h >>conftest.$ac_ext
9803 cat >>conftest.$ac_ext <<_ACEOF
9804 /* end confdefs.h. */
9805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9807 #define $ac_func innocuous_$ac_func
9808
9809 /* System header to define __stub macros and hopefully few prototypes,
9810 which can conflict with char $ac_func (); below.
9811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9812 <limits.h> exists even on freestanding compilers. */
9813
9814 #ifdef __STDC__
9815 # include <limits.h>
9816 #else
9817 # include <assert.h>
9818 #endif
9819
9820 #undef $ac_func
9821
9822 /* Override any gcc2 internal prototype to avoid an error. */
9823 #ifdef __cplusplus
9824 extern "C"
9825 {
9826 #endif
9827 /* We use char because int might match the return type of a gcc2
9828 builtin and then its argument prototype would still apply. */
9829 char $ac_func ();
9830 /* The GNU C library defines this for functions which it implements
9831 to always fail with ENOSYS. Some functions are actually named
9832 something starting with __ and the normal name is an alias. */
9833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9834 choke me
9835 #else
9836 char (*f) () = $ac_func;
9837 #endif
9838 #ifdef __cplusplus
9839 }
9840 #endif
9841
9842 int
9843 main ()
9844 {
9845 return f != $ac_func;
9846 ;
9847 return 0;
9848 }
9849 _ACEOF
9850 rm -f conftest.$ac_objext conftest$ac_exeext
9851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9852 (eval $ac_link) 2>conftest.er1
9853 ac_status=$?
9854 grep -v '^ *+' conftest.er1 >conftest.err
9855 rm -f conftest.er1
9856 cat conftest.err >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); } &&
9859 { ac_try='test -z "$ac_c_werror_flag"
9860 || test ! -s conftest.err'
9861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9862 (eval $ac_try) 2>&5
9863 ac_status=$?
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); }; } &&
9866 { ac_try='test -s conftest$ac_exeext'
9867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9868 (eval $ac_try) 2>&5
9869 ac_status=$?
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); }; }; then
9872 eval "$as_ac_var=yes"
9873 else
9874 echo "$as_me: failed program was:" >&5
9875 sed 's/^/| /' conftest.$ac_ext >&5
9876
9877 eval "$as_ac_var=no"
9878 fi
9879 rm -f conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 fi
9882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9884 if test `eval echo '${'$as_ac_var'}'` = yes; then
9885 cat >>confdefs.h <<_ACEOF
9886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9887 _ACEOF
9888
9889 fi
9890 done
9891
9892 fi
9893 fi
9894
9895
9896
9897
9898
9899
9900 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9901 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9902 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9903 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9904 echo $ECHO_N "(cached) $ECHO_C" >&6
9905 else
9906
9907
9908
9909 ac_ext=cc
9910 ac_cpp='$CXXCPP $CPPFLAGS'
9911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9914
9915 cat >conftest.$ac_ext <<_ACEOF
9916 /* confdefs.h. */
9917 _ACEOF
9918 cat confdefs.h >>conftest.$ac_ext
9919 cat >>conftest.$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9921 #include <math.h>
9922 int
9923 main ()
9924 {
9925 sincos(0, 0, 0);
9926 ;
9927 return 0;
9928 }
9929 _ACEOF
9930 rm -f conftest.$ac_objext
9931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9932 (eval $ac_compile) 2>conftest.er1
9933 ac_status=$?
9934 grep -v '^ *+' conftest.er1 >conftest.err
9935 rm -f conftest.er1
9936 cat conftest.err >&5
9937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9938 (exit $ac_status); } &&
9939 { ac_try='test -z "$ac_cxx_werror_flag"
9940 || test ! -s conftest.err'
9941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9942 (eval $ac_try) 2>&5
9943 ac_status=$?
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); }; } &&
9946 { ac_try='test -s conftest.$ac_objext'
9947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9948 (eval $ac_try) 2>&5
9949 ac_status=$?
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); }; }; then
9952 glibcxx_cv_func_sincos_use=yes
9953 else
9954 echo "$as_me: failed program was:" >&5
9955 sed 's/^/| /' conftest.$ac_ext >&5
9956
9957 glibcxx_cv_func_sincos_use=no
9958 fi
9959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9960 ac_ext=c
9961 ac_cpp='$CPP $CPPFLAGS'
9962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9965
9966
9967 fi
9968
9969 fi
9970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9971 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9972
9973 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9974
9975 for ac_func in sincos
9976 do
9977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9978 echo "$as_me:$LINENO: checking for $ac_func" >&5
9979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9980 if eval "test \"\${$as_ac_var+set}\" = set"; then
9981 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 else
9983 if test x$gcc_no_link = xyes; then
9984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9986 { (exit 1); exit 1; }; }
9987 fi
9988 cat >conftest.$ac_ext <<_ACEOF
9989 /* confdefs.h. */
9990 _ACEOF
9991 cat confdefs.h >>conftest.$ac_ext
9992 cat >>conftest.$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9996 #define $ac_func innocuous_$ac_func
9997
9998 /* System header to define __stub macros and hopefully few prototypes,
9999 which can conflict with char $ac_func (); below.
10000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10001 <limits.h> exists even on freestanding compilers. */
10002
10003 #ifdef __STDC__
10004 # include <limits.h>
10005 #else
10006 # include <assert.h>
10007 #endif
10008
10009 #undef $ac_func
10010
10011 /* Override any gcc2 internal prototype to avoid an error. */
10012 #ifdef __cplusplus
10013 extern "C"
10014 {
10015 #endif
10016 /* We use char because int might match the return type of a gcc2
10017 builtin and then its argument prototype would still apply. */
10018 char $ac_func ();
10019 /* The GNU C library defines this for functions which it implements
10020 to always fail with ENOSYS. Some functions are actually named
10021 something starting with __ and the normal name is an alias. */
10022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10023 choke me
10024 #else
10025 char (*f) () = $ac_func;
10026 #endif
10027 #ifdef __cplusplus
10028 }
10029 #endif
10030
10031 int
10032 main ()
10033 {
10034 return f != $ac_func;
10035 ;
10036 return 0;
10037 }
10038 _ACEOF
10039 rm -f conftest.$ac_objext conftest$ac_exeext
10040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10041 (eval $ac_link) 2>conftest.er1
10042 ac_status=$?
10043 grep -v '^ *+' conftest.er1 >conftest.err
10044 rm -f conftest.er1
10045 cat conftest.err >&5
10046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); } &&
10048 { ac_try='test -z "$ac_c_werror_flag"
10049 || test ! -s conftest.err'
10050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10051 (eval $ac_try) 2>&5
10052 ac_status=$?
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); }; } &&
10055 { ac_try='test -s conftest$ac_exeext'
10056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10057 (eval $ac_try) 2>&5
10058 ac_status=$?
10059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10060 (exit $ac_status); }; }; then
10061 eval "$as_ac_var=yes"
10062 else
10063 echo "$as_me: failed program was:" >&5
10064 sed 's/^/| /' conftest.$ac_ext >&5
10065
10066 eval "$as_ac_var=no"
10067 fi
10068 rm -f conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 fi
10071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10073 if test `eval echo '${'$as_ac_var'}'` = yes; then
10074 cat >>confdefs.h <<_ACEOF
10075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10076 _ACEOF
10077
10078 fi
10079 done
10080
10081 else
10082
10083 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10084 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10085 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10086 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10087 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 else
10089
10090
10091
10092 ac_ext=cc
10093 ac_cpp='$CXXCPP $CPPFLAGS'
10094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10097
10098 cat >conftest.$ac_ext <<_ACEOF
10099 /* confdefs.h. */
10100 _ACEOF
10101 cat confdefs.h >>conftest.$ac_ext
10102 cat >>conftest.$ac_ext <<_ACEOF
10103 /* end confdefs.h. */
10104 #include <math.h>
10105 int
10106 main ()
10107 {
10108 _sincos(0, 0, 0);
10109 ;
10110 return 0;
10111 }
10112 _ACEOF
10113 rm -f conftest.$ac_objext
10114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10115 (eval $ac_compile) 2>conftest.er1
10116 ac_status=$?
10117 grep -v '^ *+' conftest.er1 >conftest.err
10118 rm -f conftest.er1
10119 cat conftest.err >&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
10122 { ac_try='test -z "$ac_cxx_werror_flag"
10123 || test ! -s conftest.err'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10126 ac_status=$?
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; } &&
10129 { ac_try='test -s conftest.$ac_objext'
10130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10131 (eval $ac_try) 2>&5
10132 ac_status=$?
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); }; }; then
10135 glibcxx_cv_func__sincos_use=yes
10136 else
10137 echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.$ac_ext >&5
10139
10140 glibcxx_cv_func__sincos_use=no
10141 fi
10142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10143 ac_ext=c
10144 ac_cpp='$CPP $CPPFLAGS'
10145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10148
10149
10150 fi
10151
10152 fi
10153 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10154 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10155
10156 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10157
10158 for ac_func in _sincos
10159 do
10160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10161 echo "$as_me:$LINENO: checking for $ac_func" >&5
10162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10163 if eval "test \"\${$as_ac_var+set}\" = set"; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 else
10166 if test x$gcc_no_link = xyes; then
10167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10169 { (exit 1); exit 1; }; }
10170 fi
10171 cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10179 #define $ac_func innocuous_$ac_func
10180
10181 /* System header to define __stub macros and hopefully few prototypes,
10182 which can conflict with char $ac_func (); below.
10183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10184 <limits.h> exists even on freestanding compilers. */
10185
10186 #ifdef __STDC__
10187 # include <limits.h>
10188 #else
10189 # include <assert.h>
10190 #endif
10191
10192 #undef $ac_func
10193
10194 /* Override any gcc2 internal prototype to avoid an error. */
10195 #ifdef __cplusplus
10196 extern "C"
10197 {
10198 #endif
10199 /* We use char because int might match the return type of a gcc2
10200 builtin and then its argument prototype would still apply. */
10201 char $ac_func ();
10202 /* The GNU C library defines this for functions which it implements
10203 to always fail with ENOSYS. Some functions are actually named
10204 something starting with __ and the normal name is an alias. */
10205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10206 choke me
10207 #else
10208 char (*f) () = $ac_func;
10209 #endif
10210 #ifdef __cplusplus
10211 }
10212 #endif
10213
10214 int
10215 main ()
10216 {
10217 return f != $ac_func;
10218 ;
10219 return 0;
10220 }
10221 _ACEOF
10222 rm -f conftest.$ac_objext conftest$ac_exeext
10223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10224 (eval $ac_link) 2>conftest.er1
10225 ac_status=$?
10226 grep -v '^ *+' conftest.er1 >conftest.err
10227 rm -f conftest.er1
10228 cat conftest.err >&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); } &&
10231 { ac_try='test -z "$ac_c_werror_flag"
10232 || test ! -s conftest.err'
10233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10234 (eval $ac_try) 2>&5
10235 ac_status=$?
10236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10237 (exit $ac_status); }; } &&
10238 { ac_try='test -s conftest$ac_exeext'
10239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10240 (eval $ac_try) 2>&5
10241 ac_status=$?
10242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10243 (exit $ac_status); }; }; then
10244 eval "$as_ac_var=yes"
10245 else
10246 echo "$as_me: failed program was:" >&5
10247 sed 's/^/| /' conftest.$ac_ext >&5
10248
10249 eval "$as_ac_var=no"
10250 fi
10251 rm -f conftest.err conftest.$ac_objext \
10252 conftest$ac_exeext conftest.$ac_ext
10253 fi
10254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10256 if test `eval echo '${'$as_ac_var'}'` = yes; then
10257 cat >>confdefs.h <<_ACEOF
10258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10259 _ACEOF
10260
10261 fi
10262 done
10263
10264 fi
10265 fi
10266
10267
10268
10269
10270
10271
10272 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10273 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10274 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10275 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10276 echo $ECHO_N "(cached) $ECHO_C" >&6
10277 else
10278
10279
10280
10281 ac_ext=cc
10282 ac_cpp='$CXXCPP $CPPFLAGS'
10283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10286
10287 cat >conftest.$ac_ext <<_ACEOF
10288 /* confdefs.h. */
10289 _ACEOF
10290 cat confdefs.h >>conftest.$ac_ext
10291 cat >>conftest.$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10293 #include <math.h>
10294 #ifdef HAVE_IEEEFP_H
10295 #include <ieeefp.h>
10296 #endif
10297
10298 int
10299 main ()
10300 {
10301 fpclass(0);
10302 ;
10303 return 0;
10304 }
10305 _ACEOF
10306 rm -f conftest.$ac_objext
10307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10308 (eval $ac_compile) 2>conftest.er1
10309 ac_status=$?
10310 grep -v '^ *+' conftest.er1 >conftest.err
10311 rm -f conftest.er1
10312 cat conftest.err >&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); } &&
10315 { ac_try='test -z "$ac_cxx_werror_flag"
10316 || test ! -s conftest.err'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10319 ac_status=$?
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; } &&
10322 { ac_try='test -s conftest.$ac_objext'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10325 ac_status=$?
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; }; then
10328 glibcxx_cv_func_fpclass_use=yes
10329 else
10330 echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.$ac_ext >&5
10332
10333 glibcxx_cv_func_fpclass_use=no
10334 fi
10335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10336 ac_ext=c
10337 ac_cpp='$CPP $CPPFLAGS'
10338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10341
10342
10343 fi
10344
10345 fi
10346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10347 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10348
10349 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10350
10351 for ac_func in fpclass
10352 do
10353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10354 echo "$as_me:$LINENO: checking for $ac_func" >&5
10355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10356 if eval "test \"\${$as_ac_var+set}\" = set"; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 else
10359 if test x$gcc_no_link = xyes; then
10360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10362 { (exit 1); exit 1; }; }
10363 fi
10364 cat >conftest.$ac_ext <<_ACEOF
10365 /* confdefs.h. */
10366 _ACEOF
10367 cat confdefs.h >>conftest.$ac_ext
10368 cat >>conftest.$ac_ext <<_ACEOF
10369 /* end confdefs.h. */
10370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10372 #define $ac_func innocuous_$ac_func
10373
10374 /* System header to define __stub macros and hopefully few prototypes,
10375 which can conflict with char $ac_func (); below.
10376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10377 <limits.h> exists even on freestanding compilers. */
10378
10379 #ifdef __STDC__
10380 # include <limits.h>
10381 #else
10382 # include <assert.h>
10383 #endif
10384
10385 #undef $ac_func
10386
10387 /* Override any gcc2 internal prototype to avoid an error. */
10388 #ifdef __cplusplus
10389 extern "C"
10390 {
10391 #endif
10392 /* We use char because int might match the return type of a gcc2
10393 builtin and then its argument prototype would still apply. */
10394 char $ac_func ();
10395 /* The GNU C library defines this for functions which it implements
10396 to always fail with ENOSYS. Some functions are actually named
10397 something starting with __ and the normal name is an alias. */
10398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10399 choke me
10400 #else
10401 char (*f) () = $ac_func;
10402 #endif
10403 #ifdef __cplusplus
10404 }
10405 #endif
10406
10407 int
10408 main ()
10409 {
10410 return f != $ac_func;
10411 ;
10412 return 0;
10413 }
10414 _ACEOF
10415 rm -f conftest.$ac_objext conftest$ac_exeext
10416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10417 (eval $ac_link) 2>conftest.er1
10418 ac_status=$?
10419 grep -v '^ *+' conftest.er1 >conftest.err
10420 rm -f conftest.er1
10421 cat conftest.err >&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); } &&
10424 { ac_try='test -z "$ac_c_werror_flag"
10425 || test ! -s conftest.err'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; } &&
10431 { ac_try='test -s conftest$ac_exeext'
10432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433 (eval $ac_try) 2>&5
10434 ac_status=$?
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; }; then
10437 eval "$as_ac_var=yes"
10438 else
10439 echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10441
10442 eval "$as_ac_var=no"
10443 fi
10444 rm -f conftest.err conftest.$ac_objext \
10445 conftest$ac_exeext conftest.$ac_ext
10446 fi
10447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10449 if test `eval echo '${'$as_ac_var'}'` = yes; then
10450 cat >>confdefs.h <<_ACEOF
10451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10452 _ACEOF
10453
10454 fi
10455 done
10456
10457 else
10458
10459 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10460 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10461 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10462 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10463 echo $ECHO_N "(cached) $ECHO_C" >&6
10464 else
10465
10466
10467
10468 ac_ext=cc
10469 ac_cpp='$CXXCPP $CPPFLAGS'
10470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10473
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <math.h>
10481 #ifdef HAVE_IEEEFP_H
10482 #include <ieeefp.h>
10483 #endif
10484
10485 int
10486 main ()
10487 {
10488 _fpclass(0);
10489 ;
10490 return 0;
10491 }
10492 _ACEOF
10493 rm -f conftest.$ac_objext
10494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10495 (eval $ac_compile) 2>conftest.er1
10496 ac_status=$?
10497 grep -v '^ *+' conftest.er1 >conftest.err
10498 rm -f conftest.er1
10499 cat conftest.err >&5
10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10501 (exit $ac_status); } &&
10502 { ac_try='test -z "$ac_cxx_werror_flag"
10503 || test ! -s conftest.err'
10504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10505 (eval $ac_try) 2>&5
10506 ac_status=$?
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); }; } &&
10509 { ac_try='test -s conftest.$ac_objext'
10510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10511 (eval $ac_try) 2>&5
10512 ac_status=$?
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); }; }; then
10515 glibcxx_cv_func__fpclass_use=yes
10516 else
10517 echo "$as_me: failed program was:" >&5
10518 sed 's/^/| /' conftest.$ac_ext >&5
10519
10520 glibcxx_cv_func__fpclass_use=no
10521 fi
10522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10523 ac_ext=c
10524 ac_cpp='$CPP $CPPFLAGS'
10525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528
10529
10530 fi
10531
10532 fi
10533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10534 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10535
10536 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10537
10538 for ac_func in _fpclass
10539 do
10540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10541 echo "$as_me:$LINENO: checking for $ac_func" >&5
10542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10543 if eval "test \"\${$as_ac_var+set}\" = set"; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10545 else
10546 if test x$gcc_no_link = xyes; then
10547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10549 { (exit 1); exit 1; }; }
10550 fi
10551 cat >conftest.$ac_ext <<_ACEOF
10552 /* confdefs.h. */
10553 _ACEOF
10554 cat confdefs.h >>conftest.$ac_ext
10555 cat >>conftest.$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10559 #define $ac_func innocuous_$ac_func
10560
10561 /* System header to define __stub macros and hopefully few prototypes,
10562 which can conflict with char $ac_func (); below.
10563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10564 <limits.h> exists even on freestanding compilers. */
10565
10566 #ifdef __STDC__
10567 # include <limits.h>
10568 #else
10569 # include <assert.h>
10570 #endif
10571
10572 #undef $ac_func
10573
10574 /* Override any gcc2 internal prototype to avoid an error. */
10575 #ifdef __cplusplus
10576 extern "C"
10577 {
10578 #endif
10579 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */
10581 char $ac_func ();
10582 /* The GNU C library defines this for functions which it implements
10583 to always fail with ENOSYS. Some functions are actually named
10584 something starting with __ and the normal name is an alias. */
10585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10586 choke me
10587 #else
10588 char (*f) () = $ac_func;
10589 #endif
10590 #ifdef __cplusplus
10591 }
10592 #endif
10593
10594 int
10595 main ()
10596 {
10597 return f != $ac_func;
10598 ;
10599 return 0;
10600 }
10601 _ACEOF
10602 rm -f conftest.$ac_objext conftest$ac_exeext
10603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10604 (eval $ac_link) 2>conftest.er1
10605 ac_status=$?
10606 grep -v '^ *+' conftest.er1 >conftest.err
10607 rm -f conftest.er1
10608 cat conftest.err >&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); } &&
10611 { ac_try='test -z "$ac_c_werror_flag"
10612 || test ! -s conftest.err'
10613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10614 (eval $ac_try) 2>&5
10615 ac_status=$?
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; } &&
10618 { ac_try='test -s conftest$ac_exeext'
10619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10620 (eval $ac_try) 2>&5
10621 ac_status=$?
10622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10623 (exit $ac_status); }; }; then
10624 eval "$as_ac_var=yes"
10625 else
10626 echo "$as_me: failed program was:" >&5
10627 sed 's/^/| /' conftest.$ac_ext >&5
10628
10629 eval "$as_ac_var=no"
10630 fi
10631 rm -f conftest.err conftest.$ac_objext \
10632 conftest$ac_exeext conftest.$ac_ext
10633 fi
10634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10636 if test `eval echo '${'$as_ac_var'}'` = yes; then
10637 cat >>confdefs.h <<_ACEOF
10638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10639 _ACEOF
10640
10641 fi
10642 done
10643
10644 fi
10645 fi
10646
10647
10648
10649
10650
10651
10652 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10653 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10654 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10655 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10656 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 else
10658
10659
10660
10661 ac_ext=cc
10662 ac_cpp='$CXXCPP $CPPFLAGS'
10663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10666
10667 cat >conftest.$ac_ext <<_ACEOF
10668 /* confdefs.h. */
10669 _ACEOF
10670 cat confdefs.h >>conftest.$ac_ext
10671 cat >>conftest.$ac_ext <<_ACEOF
10672 /* end confdefs.h. */
10673 #include <math.h>
10674 #ifdef HAVE_IEEEFP_H
10675 #include <ieeefp.h>
10676 #endif
10677
10678 int
10679 main ()
10680 {
10681 qfpclass(0);
10682 ;
10683 return 0;
10684 }
10685 _ACEOF
10686 rm -f conftest.$ac_objext
10687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10688 (eval $ac_compile) 2>conftest.er1
10689 ac_status=$?
10690 grep -v '^ *+' conftest.er1 >conftest.err
10691 rm -f conftest.er1
10692 cat conftest.err >&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); } &&
10695 { ac_try='test -z "$ac_cxx_werror_flag"
10696 || test ! -s conftest.err'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; } &&
10702 { ac_try='test -s conftest.$ac_objext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10705 ac_status=$?
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10708 glibcxx_cv_func_qfpclass_use=yes
10709 else
10710 echo "$as_me: failed program was:" >&5
10711 sed 's/^/| /' conftest.$ac_ext >&5
10712
10713 glibcxx_cv_func_qfpclass_use=no
10714 fi
10715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10716 ac_ext=c
10717 ac_cpp='$CPP $CPPFLAGS'
10718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10721
10722
10723 fi
10724
10725 fi
10726 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10727 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10728
10729 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10730
10731 for ac_func in qfpclass
10732 do
10733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10734 echo "$as_me:$LINENO: checking for $ac_func" >&5
10735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10736 if eval "test \"\${$as_ac_var+set}\" = set"; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 else
10739 if test x$gcc_no_link = xyes; then
10740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10742 { (exit 1); exit 1; }; }
10743 fi
10744 cat >conftest.$ac_ext <<_ACEOF
10745 /* confdefs.h. */
10746 _ACEOF
10747 cat confdefs.h >>conftest.$ac_ext
10748 cat >>conftest.$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10752 #define $ac_func innocuous_$ac_func
10753
10754 /* System header to define __stub macros and hopefully few prototypes,
10755 which can conflict with char $ac_func (); below.
10756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10757 <limits.h> exists even on freestanding compilers. */
10758
10759 #ifdef __STDC__
10760 # include <limits.h>
10761 #else
10762 # include <assert.h>
10763 #endif
10764
10765 #undef $ac_func
10766
10767 /* Override any gcc2 internal prototype to avoid an error. */
10768 #ifdef __cplusplus
10769 extern "C"
10770 {
10771 #endif
10772 /* We use char because int might match the return type of a gcc2
10773 builtin and then its argument prototype would still apply. */
10774 char $ac_func ();
10775 /* The GNU C library defines this for functions which it implements
10776 to always fail with ENOSYS. Some functions are actually named
10777 something starting with __ and the normal name is an alias. */
10778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10779 choke me
10780 #else
10781 char (*f) () = $ac_func;
10782 #endif
10783 #ifdef __cplusplus
10784 }
10785 #endif
10786
10787 int
10788 main ()
10789 {
10790 return f != $ac_func;
10791 ;
10792 return 0;
10793 }
10794 _ACEOF
10795 rm -f conftest.$ac_objext conftest$ac_exeext
10796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10797 (eval $ac_link) 2>conftest.er1
10798 ac_status=$?
10799 grep -v '^ *+' conftest.er1 >conftest.err
10800 rm -f conftest.er1
10801 cat conftest.err >&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } &&
10804 { ac_try='test -z "$ac_c_werror_flag"
10805 || test ! -s conftest.err'
10806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10807 (eval $ac_try) 2>&5
10808 ac_status=$?
10809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10810 (exit $ac_status); }; } &&
10811 { ac_try='test -s conftest$ac_exeext'
10812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10813 (eval $ac_try) 2>&5
10814 ac_status=$?
10815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10816 (exit $ac_status); }; }; then
10817 eval "$as_ac_var=yes"
10818 else
10819 echo "$as_me: failed program was:" >&5
10820 sed 's/^/| /' conftest.$ac_ext >&5
10821
10822 eval "$as_ac_var=no"
10823 fi
10824 rm -f conftest.err conftest.$ac_objext \
10825 conftest$ac_exeext conftest.$ac_ext
10826 fi
10827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10829 if test `eval echo '${'$as_ac_var'}'` = yes; then
10830 cat >>confdefs.h <<_ACEOF
10831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10832 _ACEOF
10833
10834 fi
10835 done
10836
10837 else
10838
10839 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10840 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10841 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10842 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10843 echo $ECHO_N "(cached) $ECHO_C" >&6
10844 else
10845
10846
10847
10848 ac_ext=cc
10849 ac_cpp='$CXXCPP $CPPFLAGS'
10850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10853
10854 cat >conftest.$ac_ext <<_ACEOF
10855 /* confdefs.h. */
10856 _ACEOF
10857 cat confdefs.h >>conftest.$ac_ext
10858 cat >>conftest.$ac_ext <<_ACEOF
10859 /* end confdefs.h. */
10860 #include <math.h>
10861 #ifdef HAVE_IEEEFP_H
10862 #include <ieeefp.h>
10863 #endif
10864
10865 int
10866 main ()
10867 {
10868 _qfpclass(0);
10869 ;
10870 return 0;
10871 }
10872 _ACEOF
10873 rm -f conftest.$ac_objext
10874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10875 (eval $ac_compile) 2>conftest.er1
10876 ac_status=$?
10877 grep -v '^ *+' conftest.er1 >conftest.err
10878 rm -f conftest.er1
10879 cat conftest.err >&5
10880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10881 (exit $ac_status); } &&
10882 { ac_try='test -z "$ac_cxx_werror_flag"
10883 || test ! -s conftest.err'
10884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10885 (eval $ac_try) 2>&5
10886 ac_status=$?
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); }; } &&
10889 { ac_try='test -s conftest.$ac_objext'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10892 ac_status=$?
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; }; then
10895 glibcxx_cv_func__qfpclass_use=yes
10896 else
10897 echo "$as_me: failed program was:" >&5
10898 sed 's/^/| /' conftest.$ac_ext >&5
10899
10900 glibcxx_cv_func__qfpclass_use=no
10901 fi
10902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10903 ac_ext=c
10904 ac_cpp='$CPP $CPPFLAGS'
10905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10908
10909
10910 fi
10911
10912 fi
10913 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10914 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10915
10916 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10917
10918 for ac_func in _qfpclass
10919 do
10920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10921 echo "$as_me:$LINENO: checking for $ac_func" >&5
10922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10923 if eval "test \"\${$as_ac_var+set}\" = set"; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 else
10926 if test x$gcc_no_link = xyes; then
10927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10929 { (exit 1); exit 1; }; }
10930 fi
10931 cat >conftest.$ac_ext <<_ACEOF
10932 /* confdefs.h. */
10933 _ACEOF
10934 cat confdefs.h >>conftest.$ac_ext
10935 cat >>conftest.$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10939 #define $ac_func innocuous_$ac_func
10940
10941 /* System header to define __stub macros and hopefully few prototypes,
10942 which can conflict with char $ac_func (); below.
10943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10944 <limits.h> exists even on freestanding compilers. */
10945
10946 #ifdef __STDC__
10947 # include <limits.h>
10948 #else
10949 # include <assert.h>
10950 #endif
10951
10952 #undef $ac_func
10953
10954 /* Override any gcc2 internal prototype to avoid an error. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 {
10958 #endif
10959 /* We use char because int might match the return type of a gcc2
10960 builtin and then its argument prototype would still apply. */
10961 char $ac_func ();
10962 /* The GNU C library defines this for functions which it implements
10963 to always fail with ENOSYS. Some functions are actually named
10964 something starting with __ and the normal name is an alias. */
10965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10966 choke me
10967 #else
10968 char (*f) () = $ac_func;
10969 #endif
10970 #ifdef __cplusplus
10971 }
10972 #endif
10973
10974 int
10975 main ()
10976 {
10977 return f != $ac_func;
10978 ;
10979 return 0;
10980 }
10981 _ACEOF
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10984 (eval $ac_link) 2>conftest.er1
10985 ac_status=$?
10986 grep -v '^ *+' conftest.er1 >conftest.err
10987 rm -f conftest.er1
10988 cat conftest.err >&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } &&
10991 { ac_try='test -z "$ac_c_werror_flag"
10992 || test ! -s conftest.err'
10993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10994 (eval $ac_try) 2>&5
10995 ac_status=$?
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); }; } &&
10998 { ac_try='test -s conftest$ac_exeext'
10999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11000 (eval $ac_try) 2>&5
11001 ac_status=$?
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }; }; then
11004 eval "$as_ac_var=yes"
11005 else
11006 echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.$ac_ext >&5
11008
11009 eval "$as_ac_var=no"
11010 fi
11011 rm -f conftest.err conftest.$ac_objext \
11012 conftest$ac_exeext conftest.$ac_ext
11013 fi
11014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11016 if test `eval echo '${'$as_ac_var'}'` = yes; then
11017 cat >>confdefs.h <<_ACEOF
11018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11019 _ACEOF
11020
11021 fi
11022 done
11023
11024 fi
11025 fi
11026
11027
11028
11029
11030
11031
11032 echo "$as_me:$LINENO: checking for hypot declaration" >&5
11033 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
11034 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
11035 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 else
11038
11039
11040
11041 ac_ext=cc
11042 ac_cpp='$CXXCPP $CPPFLAGS'
11043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11046
11047 cat >conftest.$ac_ext <<_ACEOF
11048 /* confdefs.h. */
11049 _ACEOF
11050 cat confdefs.h >>conftest.$ac_ext
11051 cat >>conftest.$ac_ext <<_ACEOF
11052 /* end confdefs.h. */
11053 #include <math.h>
11054 int
11055 main ()
11056 {
11057 hypot(0, 0);
11058 ;
11059 return 0;
11060 }
11061 _ACEOF
11062 rm -f conftest.$ac_objext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11064 (eval $ac_compile) 2>conftest.er1
11065 ac_status=$?
11066 grep -v '^ *+' conftest.er1 >conftest.err
11067 rm -f conftest.er1
11068 cat conftest.err >&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); } &&
11071 { ac_try='test -z "$ac_cxx_werror_flag"
11072 || test ! -s conftest.err'
11073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11074 (eval $ac_try) 2>&5
11075 ac_status=$?
11076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11077 (exit $ac_status); }; } &&
11078 { ac_try='test -s conftest.$ac_objext'
11079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11080 (eval $ac_try) 2>&5
11081 ac_status=$?
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); }; }; then
11084 glibcxx_cv_func_hypot_use=yes
11085 else
11086 echo "$as_me: failed program was:" >&5
11087 sed 's/^/| /' conftest.$ac_ext >&5
11088
11089 glibcxx_cv_func_hypot_use=no
11090 fi
11091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11092 ac_ext=c
11093 ac_cpp='$CPP $CPPFLAGS'
11094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11097
11098
11099 fi
11100
11101 fi
11102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11103 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11104
11105 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11106
11107 for ac_func in hypot
11108 do
11109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11110 echo "$as_me:$LINENO: checking for $ac_func" >&5
11111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11112 if eval "test \"\${$as_ac_var+set}\" = set"; then
11113 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 else
11115 if test x$gcc_no_link = xyes; then
11116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11118 { (exit 1); exit 1; }; }
11119 fi
11120 cat >conftest.$ac_ext <<_ACEOF
11121 /* confdefs.h. */
11122 _ACEOF
11123 cat confdefs.h >>conftest.$ac_ext
11124 cat >>conftest.$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11128 #define $ac_func innocuous_$ac_func
11129
11130 /* System header to define __stub macros and hopefully few prototypes,
11131 which can conflict with char $ac_func (); below.
11132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11133 <limits.h> exists even on freestanding compilers. */
11134
11135 #ifdef __STDC__
11136 # include <limits.h>
11137 #else
11138 # include <assert.h>
11139 #endif
11140
11141 #undef $ac_func
11142
11143 /* Override any gcc2 internal prototype to avoid an error. */
11144 #ifdef __cplusplus
11145 extern "C"
11146 {
11147 #endif
11148 /* We use char because int might match the return type of a gcc2
11149 builtin and then its argument prototype would still apply. */
11150 char $ac_func ();
11151 /* The GNU C library defines this for functions which it implements
11152 to always fail with ENOSYS. Some functions are actually named
11153 something starting with __ and the normal name is an alias. */
11154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11155 choke me
11156 #else
11157 char (*f) () = $ac_func;
11158 #endif
11159 #ifdef __cplusplus
11160 }
11161 #endif
11162
11163 int
11164 main ()
11165 {
11166 return f != $ac_func;
11167 ;
11168 return 0;
11169 }
11170 _ACEOF
11171 rm -f conftest.$ac_objext conftest$ac_exeext
11172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11173 (eval $ac_link) 2>conftest.er1
11174 ac_status=$?
11175 grep -v '^ *+' conftest.er1 >conftest.err
11176 rm -f conftest.er1
11177 cat conftest.err >&5
11178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11179 (exit $ac_status); } &&
11180 { ac_try='test -z "$ac_c_werror_flag"
11181 || test ! -s conftest.err'
11182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11183 (eval $ac_try) 2>&5
11184 ac_status=$?
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; } &&
11187 { ac_try='test -s conftest$ac_exeext'
11188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11189 (eval $ac_try) 2>&5
11190 ac_status=$?
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); }; }; then
11193 eval "$as_ac_var=yes"
11194 else
11195 echo "$as_me: failed program was:" >&5
11196 sed 's/^/| /' conftest.$ac_ext >&5
11197
11198 eval "$as_ac_var=no"
11199 fi
11200 rm -f conftest.err conftest.$ac_objext \
11201 conftest$ac_exeext conftest.$ac_ext
11202 fi
11203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11205 if test `eval echo '${'$as_ac_var'}'` = yes; then
11206 cat >>confdefs.h <<_ACEOF
11207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11208 _ACEOF
11209
11210 fi
11211 done
11212
11213 else
11214
11215 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11216 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11217 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11218 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 else
11221
11222
11223
11224 ac_ext=cc
11225 ac_cpp='$CXXCPP $CPPFLAGS'
11226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11229
11230 cat >conftest.$ac_ext <<_ACEOF
11231 /* confdefs.h. */
11232 _ACEOF
11233 cat confdefs.h >>conftest.$ac_ext
11234 cat >>conftest.$ac_ext <<_ACEOF
11235 /* end confdefs.h. */
11236 #include <math.h>
11237 int
11238 main ()
11239 {
11240 _hypot(0, 0);
11241 ;
11242 return 0;
11243 }
11244 _ACEOF
11245 rm -f conftest.$ac_objext
11246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11247 (eval $ac_compile) 2>conftest.er1
11248 ac_status=$?
11249 grep -v '^ *+' conftest.er1 >conftest.err
11250 rm -f conftest.er1
11251 cat conftest.err >&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } &&
11254 { ac_try='test -z "$ac_cxx_werror_flag"
11255 || test ! -s conftest.err'
11256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11257 (eval $ac_try) 2>&5
11258 ac_status=$?
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); }; } &&
11261 { ac_try='test -s conftest.$ac_objext'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11264 ac_status=$?
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; }; then
11267 glibcxx_cv_func__hypot_use=yes
11268 else
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11271
11272 glibcxx_cv_func__hypot_use=no
11273 fi
11274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11275 ac_ext=c
11276 ac_cpp='$CPP $CPPFLAGS'
11277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11280
11281
11282 fi
11283
11284 fi
11285 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11286 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11287
11288 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11289
11290 for ac_func in _hypot
11291 do
11292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11293 echo "$as_me:$LINENO: checking for $ac_func" >&5
11294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11295 if eval "test \"\${$as_ac_var+set}\" = set"; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11297 else
11298 if test x$gcc_no_link = xyes; then
11299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11301 { (exit 1); exit 1; }; }
11302 fi
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h. */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11311 #define $ac_func innocuous_$ac_func
11312
11313 /* System header to define __stub macros and hopefully few prototypes,
11314 which can conflict with char $ac_func (); below.
11315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11316 <limits.h> exists even on freestanding compilers. */
11317
11318 #ifdef __STDC__
11319 # include <limits.h>
11320 #else
11321 # include <assert.h>
11322 #endif
11323
11324 #undef $ac_func
11325
11326 /* Override any gcc2 internal prototype to avoid an error. */
11327 #ifdef __cplusplus
11328 extern "C"
11329 {
11330 #endif
11331 /* We use char because int might match the return type of a gcc2
11332 builtin and then its argument prototype would still apply. */
11333 char $ac_func ();
11334 /* The GNU C library defines this for functions which it implements
11335 to always fail with ENOSYS. Some functions are actually named
11336 something starting with __ and the normal name is an alias. */
11337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11338 choke me
11339 #else
11340 char (*f) () = $ac_func;
11341 #endif
11342 #ifdef __cplusplus
11343 }
11344 #endif
11345
11346 int
11347 main ()
11348 {
11349 return f != $ac_func;
11350 ;
11351 return 0;
11352 }
11353 _ACEOF
11354 rm -f conftest.$ac_objext conftest$ac_exeext
11355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11356 (eval $ac_link) 2>conftest.er1
11357 ac_status=$?
11358 grep -v '^ *+' conftest.er1 >conftest.err
11359 rm -f conftest.er1
11360 cat conftest.err >&5
11361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11362 (exit $ac_status); } &&
11363 { ac_try='test -z "$ac_c_werror_flag"
11364 || test ! -s conftest.err'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11367 ac_status=$?
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; } &&
11370 { ac_try='test -s conftest$ac_exeext'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11373 ac_status=$?
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 eval "$as_ac_var=yes"
11377 else
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.$ac_ext >&5
11380
11381 eval "$as_ac_var=no"
11382 fi
11383 rm -f conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11385 fi
11386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11388 if test `eval echo '${'$as_ac_var'}'` = yes; then
11389 cat >>confdefs.h <<_ACEOF
11390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11391 _ACEOF
11392
11393 fi
11394 done
11395
11396 fi
11397 fi
11398
11399
11400
11401
11402
11403
11404 echo "$as_me:$LINENO: checking for float trig functions" >&5
11405 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11406 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11407 echo $ECHO_N "(cached) $ECHO_C" >&6
11408 else
11409
11410
11411
11412 ac_ext=cc
11413 ac_cpp='$CXXCPP $CPPFLAGS'
11414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11417
11418 cat >conftest.$ac_ext <<_ACEOF
11419 /* confdefs.h. */
11420 _ACEOF
11421 cat confdefs.h >>conftest.$ac_ext
11422 cat >>conftest.$ac_ext <<_ACEOF
11423 /* end confdefs.h. */
11424 #include <math.h>
11425 int
11426 main ()
11427 {
11428 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
11429 ;
11430 return 0;
11431 }
11432 _ACEOF
11433 rm -f conftest.$ac_objext
11434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11435 (eval $ac_compile) 2>conftest.er1
11436 ac_status=$?
11437 grep -v '^ *+' conftest.er1 >conftest.err
11438 rm -f conftest.er1
11439 cat conftest.err >&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); } &&
11442 { ac_try='test -z "$ac_cxx_werror_flag"
11443 || test ! -s conftest.err'
11444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11445 (eval $ac_try) 2>&5
11446 ac_status=$?
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try='test -s conftest.$ac_objext'
11450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11451 (eval $ac_try) 2>&5
11452 ac_status=$?
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); }; }; then
11455 glibcxx_cv_func_float_trig_use=yes
11456 else
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11459
11460 glibcxx_cv_func_float_trig_use=no
11461 fi
11462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11463 ac_ext=c
11464 ac_cpp='$CPP $CPPFLAGS'
11465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11468
11469 fi
11470
11471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11472 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11473 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
11484 do
11485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11486 echo "$as_me:$LINENO: checking for $ac_func" >&5
11487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11488 if eval "test \"\${$as_ac_var+set}\" = set"; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11490 else
11491 if test x$gcc_no_link = xyes; then
11492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11494 { (exit 1); exit 1; }; }
11495 fi
11496 cat >conftest.$ac_ext <<_ACEOF
11497 /* confdefs.h. */
11498 _ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11504 #define $ac_func innocuous_$ac_func
11505
11506 /* System header to define __stub macros and hopefully few prototypes,
11507 which can conflict with char $ac_func (); below.
11508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11509 <limits.h> exists even on freestanding compilers. */
11510
11511 #ifdef __STDC__
11512 # include <limits.h>
11513 #else
11514 # include <assert.h>
11515 #endif
11516
11517 #undef $ac_func
11518
11519 /* Override any gcc2 internal prototype to avoid an error. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 {
11523 #endif
11524 /* We use char because int might match the return type of a gcc2
11525 builtin and then its argument prototype would still apply. */
11526 char $ac_func ();
11527 /* The GNU C library defines this for functions which it implements
11528 to always fail with ENOSYS. Some functions are actually named
11529 something starting with __ and the normal name is an alias. */
11530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11531 choke me
11532 #else
11533 char (*f) () = $ac_func;
11534 #endif
11535 #ifdef __cplusplus
11536 }
11537 #endif
11538
11539 int
11540 main ()
11541 {
11542 return f != $ac_func;
11543 ;
11544 return 0;
11545 }
11546 _ACEOF
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11549 (eval $ac_link) 2>conftest.er1
11550 ac_status=$?
11551 grep -v '^ *+' conftest.er1 >conftest.err
11552 rm -f conftest.er1
11553 cat conftest.err >&5
11554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11555 (exit $ac_status); } &&
11556 { ac_try='test -z "$ac_c_werror_flag"
11557 || test ! -s conftest.err'
11558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11559 (eval $ac_try) 2>&5
11560 ac_status=$?
11561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11562 (exit $ac_status); }; } &&
11563 { ac_try='test -s conftest$ac_exeext'
11564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11565 (eval $ac_try) 2>&5
11566 ac_status=$?
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); }; }; then
11569 eval "$as_ac_var=yes"
11570 else
11571 echo "$as_me: failed program was:" >&5
11572 sed 's/^/| /' conftest.$ac_ext >&5
11573
11574 eval "$as_ac_var=no"
11575 fi
11576 rm -f conftest.err conftest.$ac_objext \
11577 conftest$ac_exeext conftest.$ac_ext
11578 fi
11579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11581 if test `eval echo '${'$as_ac_var'}'` = yes; then
11582 cat >>confdefs.h <<_ACEOF
11583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11584 _ACEOF
11585
11586 fi
11587 done
11588
11589 else
11590 echo "$as_me:$LINENO: checking for _float trig functions" >&5
11591 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
11592 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11594 else
11595
11596
11597
11598 ac_ext=cc
11599 ac_cpp='$CXXCPP $CPPFLAGS'
11600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11603
11604 cat >conftest.$ac_ext <<_ACEOF
11605 /* confdefs.h. */
11606 _ACEOF
11607 cat confdefs.h >>conftest.$ac_ext
11608 cat >>conftest.$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11610 #include <math.h>
11611 int
11612 main ()
11613 {
11614 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
11615 ;
11616 return 0;
11617 }
11618 _ACEOF
11619 rm -f conftest.$ac_objext
11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11621 (eval $ac_compile) 2>conftest.er1
11622 ac_status=$?
11623 grep -v '^ *+' conftest.er1 >conftest.err
11624 rm -f conftest.er1
11625 cat conftest.err >&5
11626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11627 (exit $ac_status); } &&
11628 { ac_try='test -z "$ac_cxx_werror_flag"
11629 || test ! -s conftest.err'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11632 ac_status=$?
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; } &&
11635 { ac_try='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11638 ac_status=$?
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 glibcxx_cv_func__float_trig_use=yes
11642 else
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11645
11646 glibcxx_cv_func__float_trig_use=no
11647 fi
11648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11649 ac_ext=c
11650 ac_cpp='$CPP $CPPFLAGS'
11651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11654
11655 fi
11656
11657 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
11658 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
11659 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
11670 do
11671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11672 echo "$as_me:$LINENO: checking for $ac_func" >&5
11673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11674 if eval "test \"\${$as_ac_var+set}\" = set"; then
11675 echo $ECHO_N "(cached) $ECHO_C" >&6
11676 else
11677 if test x$gcc_no_link = xyes; then
11678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11680 { (exit 1); exit 1; }; }
11681 fi
11682 cat >conftest.$ac_ext <<_ACEOF
11683 /* confdefs.h. */
11684 _ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11690 #define $ac_func innocuous_$ac_func
11691
11692 /* System header to define __stub macros and hopefully few prototypes,
11693 which can conflict with char $ac_func (); below.
11694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11695 <limits.h> exists even on freestanding compilers. */
11696
11697 #ifdef __STDC__
11698 # include <limits.h>
11699 #else
11700 # include <assert.h>
11701 #endif
11702
11703 #undef $ac_func
11704
11705 /* Override any gcc2 internal prototype to avoid an error. */
11706 #ifdef __cplusplus
11707 extern "C"
11708 {
11709 #endif
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11712 char $ac_func ();
11713 /* The GNU C library defines this for functions which it implements
11714 to always fail with ENOSYS. Some functions are actually named
11715 something starting with __ and the normal name is an alias. */
11716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11717 choke me
11718 #else
11719 char (*f) () = $ac_func;
11720 #endif
11721 #ifdef __cplusplus
11722 }
11723 #endif
11724
11725 int
11726 main ()
11727 {
11728 return f != $ac_func;
11729 ;
11730 return 0;
11731 }
11732 _ACEOF
11733 rm -f conftest.$ac_objext conftest$ac_exeext
11734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11735 (eval $ac_link) 2>conftest.er1
11736 ac_status=$?
11737 grep -v '^ *+' conftest.er1 >conftest.err
11738 rm -f conftest.er1
11739 cat conftest.err >&5
11740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11741 (exit $ac_status); } &&
11742 { ac_try='test -z "$ac_c_werror_flag"
11743 || test ! -s conftest.err'
11744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11745 (eval $ac_try) 2>&5
11746 ac_status=$?
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); }; } &&
11749 { ac_try='test -s conftest$ac_exeext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11752 ac_status=$?
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 eval "$as_ac_var=yes"
11756 else
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11759
11760 eval "$as_ac_var=no"
11761 fi
11762 rm -f conftest.err conftest.$ac_objext \
11763 conftest$ac_exeext conftest.$ac_ext
11764 fi
11765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11767 if test `eval echo '${'$as_ac_var'}'` = yes; then
11768 cat >>confdefs.h <<_ACEOF
11769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11770 _ACEOF
11771
11772 fi
11773 done
11774
11775 fi
11776 fi
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791 echo "$as_me:$LINENO: checking for float round functions" >&5
11792 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11793 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11794 echo $ECHO_N "(cached) $ECHO_C" >&6
11795 else
11796
11797
11798
11799 ac_ext=cc
11800 ac_cpp='$CXXCPP $CPPFLAGS'
11801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11804
11805 cat >conftest.$ac_ext <<_ACEOF
11806 /* confdefs.h. */
11807 _ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 #include <math.h>
11812 int
11813 main ()
11814 {
11815 ceilf (0); floorf (0);
11816 ;
11817 return 0;
11818 }
11819 _ACEOF
11820 rm -f conftest.$ac_objext
11821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11822 (eval $ac_compile) 2>conftest.er1
11823 ac_status=$?
11824 grep -v '^ *+' conftest.er1 >conftest.err
11825 rm -f conftest.er1
11826 cat conftest.err >&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); } &&
11829 { ac_try='test -z "$ac_cxx_werror_flag"
11830 || test ! -s conftest.err'
11831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11832 (eval $ac_try) 2>&5
11833 ac_status=$?
11834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11835 (exit $ac_status); }; } &&
11836 { ac_try='test -s conftest.$ac_objext'
11837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 (eval $ac_try) 2>&5
11839 ac_status=$?
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); }; }; then
11842 glibcxx_cv_func_float_round_use=yes
11843 else
11844 echo "$as_me: failed program was:" >&5
11845 sed 's/^/| /' conftest.$ac_ext >&5
11846
11847 glibcxx_cv_func_float_round_use=no
11848 fi
11849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11850 ac_ext=c
11851 ac_cpp='$CPP $CPPFLAGS'
11852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11855
11856 fi
11857
11858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11859 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11860 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11861
11862
11863 for ac_func in ceilf floorf
11864 do
11865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11866 echo "$as_me:$LINENO: checking for $ac_func" >&5
11867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11868 if eval "test \"\${$as_ac_var+set}\" = set"; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11870 else
11871 if test x$gcc_no_link = xyes; then
11872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11874 { (exit 1); exit 1; }; }
11875 fi
11876 cat >conftest.$ac_ext <<_ACEOF
11877 /* confdefs.h. */
11878 _ACEOF
11879 cat confdefs.h >>conftest.$ac_ext
11880 cat >>conftest.$ac_ext <<_ACEOF
11881 /* end confdefs.h. */
11882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11884 #define $ac_func innocuous_$ac_func
11885
11886 /* System header to define __stub macros and hopefully few prototypes,
11887 which can conflict with char $ac_func (); below.
11888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11889 <limits.h> exists even on freestanding compilers. */
11890
11891 #ifdef __STDC__
11892 # include <limits.h>
11893 #else
11894 # include <assert.h>
11895 #endif
11896
11897 #undef $ac_func
11898
11899 /* Override any gcc2 internal prototype to avoid an error. */
11900 #ifdef __cplusplus
11901 extern "C"
11902 {
11903 #endif
11904 /* We use char because int might match the return type of a gcc2
11905 builtin and then its argument prototype would still apply. */
11906 char $ac_func ();
11907 /* The GNU C library defines this for functions which it implements
11908 to always fail with ENOSYS. Some functions are actually named
11909 something starting with __ and the normal name is an alias. */
11910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11911 choke me
11912 #else
11913 char (*f) () = $ac_func;
11914 #endif
11915 #ifdef __cplusplus
11916 }
11917 #endif
11918
11919 int
11920 main ()
11921 {
11922 return f != $ac_func;
11923 ;
11924 return 0;
11925 }
11926 _ACEOF
11927 rm -f conftest.$ac_objext conftest$ac_exeext
11928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11929 (eval $ac_link) 2>conftest.er1
11930 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } &&
11936 { ac_try='test -z "$ac_c_werror_flag"
11937 || test ! -s conftest.err'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11940 ac_status=$?
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; } &&
11943 { ac_try='test -s conftest$ac_exeext'
11944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11945 (eval $ac_try) 2>&5
11946 ac_status=$?
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); }; }; then
11949 eval "$as_ac_var=yes"
11950 else
11951 echo "$as_me: failed program was:" >&5
11952 sed 's/^/| /' conftest.$ac_ext >&5
11953
11954 eval "$as_ac_var=no"
11955 fi
11956 rm -f conftest.err conftest.$ac_objext \
11957 conftest$ac_exeext conftest.$ac_ext
11958 fi
11959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11961 if test `eval echo '${'$as_ac_var'}'` = yes; then
11962 cat >>confdefs.h <<_ACEOF
11963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11964 _ACEOF
11965
11966 fi
11967 done
11968
11969 else
11970 echo "$as_me:$LINENO: checking for _float round functions" >&5
11971 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
11972 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
11973 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 else
11975
11976
11977
11978 ac_ext=cc
11979 ac_cpp='$CXXCPP $CPPFLAGS'
11980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11983
11984 cat >conftest.$ac_ext <<_ACEOF
11985 /* confdefs.h. */
11986 _ACEOF
11987 cat confdefs.h >>conftest.$ac_ext
11988 cat >>conftest.$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 #include <math.h>
11991 int
11992 main ()
11993 {
11994 _ceilf (0); _floorf (0);
11995 ;
11996 return 0;
11997 }
11998 _ACEOF
11999 rm -f conftest.$ac_objext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12001 (eval $ac_compile) 2>conftest.er1
12002 ac_status=$?
12003 grep -v '^ *+' conftest.er1 >conftest.err
12004 rm -f conftest.er1
12005 cat conftest.err >&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } &&
12008 { ac_try='test -z "$ac_cxx_werror_flag"
12009 || test ! -s conftest.err'
12010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12011 (eval $ac_try) 2>&5
12012 ac_status=$?
12013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12014 (exit $ac_status); }; } &&
12015 { ac_try='test -s conftest.$ac_objext'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; }; then
12021 glibcxx_cv_func__float_round_use=yes
12022 else
12023 echo "$as_me: failed program was:" >&5
12024 sed 's/^/| /' conftest.$ac_ext >&5
12025
12026 glibcxx_cv_func__float_round_use=no
12027 fi
12028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12029 ac_ext=c
12030 ac_cpp='$CPP $CPPFLAGS'
12031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12034
12035 fi
12036
12037 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
12038 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
12039 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
12040
12041
12042 for ac_func in _ceilf _floorf
12043 do
12044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12045 echo "$as_me:$LINENO: checking for $ac_func" >&5
12046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12047 if eval "test \"\${$as_ac_var+set}\" = set"; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 else
12050 if test x$gcc_no_link = xyes; then
12051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12053 { (exit 1); exit 1; }; }
12054 fi
12055 cat >conftest.$ac_ext <<_ACEOF
12056 /* confdefs.h. */
12057 _ACEOF
12058 cat confdefs.h >>conftest.$ac_ext
12059 cat >>conftest.$ac_ext <<_ACEOF
12060 /* end confdefs.h. */
12061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12063 #define $ac_func innocuous_$ac_func
12064
12065 /* System header to define __stub macros and hopefully few prototypes,
12066 which can conflict with char $ac_func (); below.
12067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12068 <limits.h> exists even on freestanding compilers. */
12069
12070 #ifdef __STDC__
12071 # include <limits.h>
12072 #else
12073 # include <assert.h>
12074 #endif
12075
12076 #undef $ac_func
12077
12078 /* Override any gcc2 internal prototype to avoid an error. */
12079 #ifdef __cplusplus
12080 extern "C"
12081 {
12082 #endif
12083 /* We use char because int might match the return type of a gcc2
12084 builtin and then its argument prototype would still apply. */
12085 char $ac_func ();
12086 /* The GNU C library defines this for functions which it implements
12087 to always fail with ENOSYS. Some functions are actually named
12088 something starting with __ and the normal name is an alias. */
12089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12090 choke me
12091 #else
12092 char (*f) () = $ac_func;
12093 #endif
12094 #ifdef __cplusplus
12095 }
12096 #endif
12097
12098 int
12099 main ()
12100 {
12101 return f != $ac_func;
12102 ;
12103 return 0;
12104 }
12105 _ACEOF
12106 rm -f conftest.$ac_objext conftest$ac_exeext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12108 (eval $ac_link) 2>conftest.er1
12109 ac_status=$?
12110 grep -v '^ *+' conftest.er1 >conftest.err
12111 rm -f conftest.er1
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } &&
12115 { ac_try='test -z "$ac_c_werror_flag"
12116 || test ! -s conftest.err'
12117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12118 (eval $ac_try) 2>&5
12119 ac_status=$?
12120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); }; } &&
12122 { ac_try='test -s conftest$ac_exeext'
12123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12124 (eval $ac_try) 2>&5
12125 ac_status=$?
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); }; }; then
12128 eval "$as_ac_var=yes"
12129 else
12130 echo "$as_me: failed program was:" >&5
12131 sed 's/^/| /' conftest.$ac_ext >&5
12132
12133 eval "$as_ac_var=no"
12134 fi
12135 rm -f conftest.err conftest.$ac_objext \
12136 conftest$ac_exeext conftest.$ac_ext
12137 fi
12138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12140 if test `eval echo '${'$as_ac_var'}'` = yes; then
12141 cat >>confdefs.h <<_ACEOF
12142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12143 _ACEOF
12144
12145 fi
12146 done
12147
12148 fi
12149 fi
12150
12151
12152
12153
12154
12155
12156
12157
12158 echo "$as_me:$LINENO: checking for expf declaration" >&5
12159 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
12160 if test x${glibcxx_cv_func_expf_use+set} != xset; then
12161 if test "${glibcxx_cv_func_expf_use+set}" = set; then
12162 echo $ECHO_N "(cached) $ECHO_C" >&6
12163 else
12164
12165
12166
12167 ac_ext=cc
12168 ac_cpp='$CXXCPP $CPPFLAGS'
12169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12172
12173 cat >conftest.$ac_ext <<_ACEOF
12174 /* confdefs.h. */
12175 _ACEOF
12176 cat confdefs.h >>conftest.$ac_ext
12177 cat >>conftest.$ac_ext <<_ACEOF
12178 /* end confdefs.h. */
12179 #include <math.h>
12180 #ifdef HAVE_IEEEFP_H
12181 #include <ieeefp.h>
12182 #endif
12183
12184 int
12185 main ()
12186 {
12187 expf(0);
12188 ;
12189 return 0;
12190 }
12191 _ACEOF
12192 rm -f conftest.$ac_objext
12193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12194 (eval $ac_compile) 2>conftest.er1
12195 ac_status=$?
12196 grep -v '^ *+' conftest.er1 >conftest.err
12197 rm -f conftest.er1
12198 cat conftest.err >&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); } &&
12201 { ac_try='test -z "$ac_cxx_werror_flag"
12202 || test ! -s conftest.err'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12205 ac_status=$?
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; } &&
12208 { ac_try='test -s conftest.$ac_objext'
12209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12210 (eval $ac_try) 2>&5
12211 ac_status=$?
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12214 glibcxx_cv_func_expf_use=yes
12215 else
12216 echo "$as_me: failed program was:" >&5
12217 sed 's/^/| /' conftest.$ac_ext >&5
12218
12219 glibcxx_cv_func_expf_use=no
12220 fi
12221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12222 ac_ext=c
12223 ac_cpp='$CPP $CPPFLAGS'
12224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12227
12228
12229 fi
12230
12231 fi
12232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
12233 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
12234
12235 if test x$glibcxx_cv_func_expf_use = x"yes"; then
12236
12237 for ac_func in expf
12238 do
12239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12240 echo "$as_me:$LINENO: checking for $ac_func" >&5
12241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12242 if eval "test \"\${$as_ac_var+set}\" = set"; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12245 if test x$gcc_no_link = xyes; then
12246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12248 { (exit 1); exit 1; }; }
12249 fi
12250 cat >conftest.$ac_ext <<_ACEOF
12251 /* confdefs.h. */
12252 _ACEOF
12253 cat confdefs.h >>conftest.$ac_ext
12254 cat >>conftest.$ac_ext <<_ACEOF
12255 /* end confdefs.h. */
12256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12258 #define $ac_func innocuous_$ac_func
12259
12260 /* System header to define __stub macros and hopefully few prototypes,
12261 which can conflict with char $ac_func (); below.
12262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12263 <limits.h> exists even on freestanding compilers. */
12264
12265 #ifdef __STDC__
12266 # include <limits.h>
12267 #else
12268 # include <assert.h>
12269 #endif
12270
12271 #undef $ac_func
12272
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 #ifdef __cplusplus
12275 extern "C"
12276 {
12277 #endif
12278 /* We use char because int might match the return type of a gcc2
12279 builtin and then its argument prototype would still apply. */
12280 char $ac_func ();
12281 /* The GNU C library defines this for functions which it implements
12282 to always fail with ENOSYS. Some functions are actually named
12283 something starting with __ and the normal name is an alias. */
12284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12285 choke me
12286 #else
12287 char (*f) () = $ac_func;
12288 #endif
12289 #ifdef __cplusplus
12290 }
12291 #endif
12292
12293 int
12294 main ()
12295 {
12296 return f != $ac_func;
12297 ;
12298 return 0;
12299 }
12300 _ACEOF
12301 rm -f conftest.$ac_objext conftest$ac_exeext
12302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12303 (eval $ac_link) 2>conftest.er1
12304 ac_status=$?
12305 grep -v '^ *+' conftest.er1 >conftest.err
12306 rm -f conftest.er1
12307 cat conftest.err >&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } &&
12310 { ac_try='test -z "$ac_c_werror_flag"
12311 || test ! -s conftest.err'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; } &&
12317 { ac_try='test -s conftest$ac_exeext'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12320 ac_status=$?
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; }; then
12323 eval "$as_ac_var=yes"
12324 else
12325 echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.$ac_ext >&5
12327
12328 eval "$as_ac_var=no"
12329 fi
12330 rm -f conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 fi
12333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12335 if test `eval echo '${'$as_ac_var'}'` = yes; then
12336 cat >>confdefs.h <<_ACEOF
12337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12338 _ACEOF
12339
12340 fi
12341 done
12342
12343 else
12344
12345 echo "$as_me:$LINENO: checking for _expf declaration" >&5
12346 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
12347 if test x${glibcxx_cv_func__expf_use+set} != xset; then
12348 if test "${glibcxx_cv_func__expf_use+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 else
12351
12352
12353
12354 ac_ext=cc
12355 ac_cpp='$CXXCPP $CPPFLAGS'
12356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12359
12360 cat >conftest.$ac_ext <<_ACEOF
12361 /* confdefs.h. */
12362 _ACEOF
12363 cat confdefs.h >>conftest.$ac_ext
12364 cat >>conftest.$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12366 #include <math.h>
12367 #ifdef HAVE_IEEEFP_H
12368 #include <ieeefp.h>
12369 #endif
12370
12371 int
12372 main ()
12373 {
12374 _expf(0);
12375 ;
12376 return 0;
12377 }
12378 _ACEOF
12379 rm -f conftest.$ac_objext
12380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12381 (eval $ac_compile) 2>conftest.er1
12382 ac_status=$?
12383 grep -v '^ *+' conftest.er1 >conftest.err
12384 rm -f conftest.er1
12385 cat conftest.err >&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); } &&
12388 { ac_try='test -z "$ac_cxx_werror_flag"
12389 || test ! -s conftest.err'
12390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12391 (eval $ac_try) 2>&5
12392 ac_status=$?
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try='test -s conftest.$ac_objext'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12398 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; }; then
12401 glibcxx_cv_func__expf_use=yes
12402 else
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12405
12406 glibcxx_cv_func__expf_use=no
12407 fi
12408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12409 ac_ext=c
12410 ac_cpp='$CPP $CPPFLAGS'
12411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12414
12415
12416 fi
12417
12418 fi
12419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
12420 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
12421
12422 if test x$glibcxx_cv_func__expf_use = x"yes"; then
12423
12424 for ac_func in _expf
12425 do
12426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12427 echo "$as_me:$LINENO: checking for $ac_func" >&5
12428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12429 if eval "test \"\${$as_ac_var+set}\" = set"; then
12430 echo $ECHO_N "(cached) $ECHO_C" >&6
12431 else
12432 if test x$gcc_no_link = xyes; then
12433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12435 { (exit 1); exit 1; }; }
12436 fi
12437 cat >conftest.$ac_ext <<_ACEOF
12438 /* confdefs.h. */
12439 _ACEOF
12440 cat confdefs.h >>conftest.$ac_ext
12441 cat >>conftest.$ac_ext <<_ACEOF
12442 /* end confdefs.h. */
12443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12445 #define $ac_func innocuous_$ac_func
12446
12447 /* System header to define __stub macros and hopefully few prototypes,
12448 which can conflict with char $ac_func (); below.
12449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12450 <limits.h> exists even on freestanding compilers. */
12451
12452 #ifdef __STDC__
12453 # include <limits.h>
12454 #else
12455 # include <assert.h>
12456 #endif
12457
12458 #undef $ac_func
12459
12460 /* Override any gcc2 internal prototype to avoid an error. */
12461 #ifdef __cplusplus
12462 extern "C"
12463 {
12464 #endif
12465 /* We use char because int might match the return type of a gcc2
12466 builtin and then its argument prototype would still apply. */
12467 char $ac_func ();
12468 /* The GNU C library defines this for functions which it implements
12469 to always fail with ENOSYS. Some functions are actually named
12470 something starting with __ and the normal name is an alias. */
12471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12472 choke me
12473 #else
12474 char (*f) () = $ac_func;
12475 #endif
12476 #ifdef __cplusplus
12477 }
12478 #endif
12479
12480 int
12481 main ()
12482 {
12483 return f != $ac_func;
12484 ;
12485 return 0;
12486 }
12487 _ACEOF
12488 rm -f conftest.$ac_objext conftest$ac_exeext
12489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12490 (eval $ac_link) 2>conftest.er1
12491 ac_status=$?
12492 grep -v '^ *+' conftest.er1 >conftest.err
12493 rm -f conftest.er1
12494 cat conftest.err >&5
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } &&
12497 { ac_try='test -z "$ac_c_werror_flag"
12498 || test ! -s conftest.err'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; } &&
12504 { ac_try='test -s conftest$ac_exeext'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12507 ac_status=$?
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; }; then
12510 eval "$as_ac_var=yes"
12511 else
12512 echo "$as_me: failed program was:" >&5
12513 sed 's/^/| /' conftest.$ac_ext >&5
12514
12515 eval "$as_ac_var=no"
12516 fi
12517 rm -f conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 fi
12520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12522 if test `eval echo '${'$as_ac_var'}'` = yes; then
12523 cat >>confdefs.h <<_ACEOF
12524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12525 _ACEOF
12526
12527 fi
12528 done
12529
12530 fi
12531 fi
12532
12533
12534
12535
12536
12537
12538 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12539 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544
12545
12546
12547 ac_ext=cc
12548 ac_cpp='$CXXCPP $CPPFLAGS'
12549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12552
12553 cat >conftest.$ac_ext <<_ACEOF
12554 /* confdefs.h. */
12555 _ACEOF
12556 cat confdefs.h >>conftest.$ac_ext
12557 cat >>conftest.$ac_ext <<_ACEOF
12558 /* end confdefs.h. */
12559 #include <math.h>
12560 #ifdef HAVE_IEEEFP_H
12561 #include <ieeefp.h>
12562 #endif
12563
12564 int
12565 main ()
12566 {
12567 isnanf(0);
12568 ;
12569 return 0;
12570 }
12571 _ACEOF
12572 rm -f conftest.$ac_objext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12574 (eval $ac_compile) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_cxx_werror_flag"
12582 || test ! -s conftest.err'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12585 ac_status=$?
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } &&
12588 { ac_try='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 glibcxx_cv_func_isnanf_use=yes
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12598
12599 glibcxx_cv_func_isnanf_use=no
12600 fi
12601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12602 ac_ext=c
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12607
12608
12609 fi
12610
12611 fi
12612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12613 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12614
12615 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12616
12617 for ac_func in isnanf
12618 do
12619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12620 echo "$as_me:$LINENO: checking for $ac_func" >&5
12621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12622 if eval "test \"\${$as_ac_var+set}\" = set"; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 else
12625 if test x$gcc_no_link = xyes; then
12626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12628 { (exit 1); exit 1; }; }
12629 fi
12630 cat >conftest.$ac_ext <<_ACEOF
12631 /* confdefs.h. */
12632 _ACEOF
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12638 #define $ac_func innocuous_$ac_func
12639
12640 /* System header to define __stub macros and hopefully few prototypes,
12641 which can conflict with char $ac_func (); below.
12642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12643 <limits.h> exists even on freestanding compilers. */
12644
12645 #ifdef __STDC__
12646 # include <limits.h>
12647 #else
12648 # include <assert.h>
12649 #endif
12650
12651 #undef $ac_func
12652
12653 /* Override any gcc2 internal prototype to avoid an error. */
12654 #ifdef __cplusplus
12655 extern "C"
12656 {
12657 #endif
12658 /* We use char because int might match the return type of a gcc2
12659 builtin and then its argument prototype would still apply. */
12660 char $ac_func ();
12661 /* The GNU C library defines this for functions which it implements
12662 to always fail with ENOSYS. Some functions are actually named
12663 something starting with __ and the normal name is an alias. */
12664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12665 choke me
12666 #else
12667 char (*f) () = $ac_func;
12668 #endif
12669 #ifdef __cplusplus
12670 }
12671 #endif
12672
12673 int
12674 main ()
12675 {
12676 return f != $ac_func;
12677 ;
12678 return 0;
12679 }
12680 _ACEOF
12681 rm -f conftest.$ac_objext conftest$ac_exeext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12683 (eval $ac_link) 2>conftest.er1
12684 ac_status=$?
12685 grep -v '^ *+' conftest.er1 >conftest.err
12686 rm -f conftest.er1
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try='test -z "$ac_c_werror_flag"
12691 || test ! -s conftest.err'
12692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12693 (eval $ac_try) 2>&5
12694 ac_status=$?
12695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12696 (exit $ac_status); }; } &&
12697 { ac_try='test -s conftest$ac_exeext'
12698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12699 (eval $ac_try) 2>&5
12700 ac_status=$?
12701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12702 (exit $ac_status); }; }; then
12703 eval "$as_ac_var=yes"
12704 else
12705 echo "$as_me: failed program was:" >&5
12706 sed 's/^/| /' conftest.$ac_ext >&5
12707
12708 eval "$as_ac_var=no"
12709 fi
12710 rm -f conftest.err conftest.$ac_objext \
12711 conftest$ac_exeext conftest.$ac_ext
12712 fi
12713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12715 if test `eval echo '${'$as_ac_var'}'` = yes; then
12716 cat >>confdefs.h <<_ACEOF
12717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12718 _ACEOF
12719
12720 fi
12721 done
12722
12723 else
12724
12725 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12726 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12727 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12728 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12729 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 else
12731
12732
12733
12734 ac_ext=cc
12735 ac_cpp='$CXXCPP $CPPFLAGS'
12736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12739
12740 cat >conftest.$ac_ext <<_ACEOF
12741 /* confdefs.h. */
12742 _ACEOF
12743 cat confdefs.h >>conftest.$ac_ext
12744 cat >>conftest.$ac_ext <<_ACEOF
12745 /* end confdefs.h. */
12746 #include <math.h>
12747 #ifdef HAVE_IEEEFP_H
12748 #include <ieeefp.h>
12749 #endif
12750
12751 int
12752 main ()
12753 {
12754 _isnanf(0);
12755 ;
12756 return 0;
12757 }
12758 _ACEOF
12759 rm -f conftest.$ac_objext
12760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12761 (eval $ac_compile) 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -z "$ac_cxx_werror_flag"
12769 || test ! -s conftest.err'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; } &&
12775 { ac_try='test -s conftest.$ac_objext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12778 ac_status=$?
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 glibcxx_cv_func__isnanf_use=yes
12782 else
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12785
12786 glibcxx_cv_func__isnanf_use=no
12787 fi
12788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12789 ac_ext=c
12790 ac_cpp='$CPP $CPPFLAGS'
12791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12794
12795
12796 fi
12797
12798 fi
12799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12800 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12801
12802 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12803
12804 for ac_func in _isnanf
12805 do
12806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12807 echo "$as_me:$LINENO: checking for $ac_func" >&5
12808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12809 if eval "test \"\${$as_ac_var+set}\" = set"; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 else
12812 if test x$gcc_no_link = xyes; then
12813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12815 { (exit 1); exit 1; }; }
12816 fi
12817 cat >conftest.$ac_ext <<_ACEOF
12818 /* confdefs.h. */
12819 _ACEOF
12820 cat confdefs.h >>conftest.$ac_ext
12821 cat >>conftest.$ac_ext <<_ACEOF
12822 /* end confdefs.h. */
12823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12825 #define $ac_func innocuous_$ac_func
12826
12827 /* System header to define __stub macros and hopefully few prototypes,
12828 which can conflict with char $ac_func (); below.
12829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12830 <limits.h> exists even on freestanding compilers. */
12831
12832 #ifdef __STDC__
12833 # include <limits.h>
12834 #else
12835 # include <assert.h>
12836 #endif
12837
12838 #undef $ac_func
12839
12840 /* Override any gcc2 internal prototype to avoid an error. */
12841 #ifdef __cplusplus
12842 extern "C"
12843 {
12844 #endif
12845 /* We use char because int might match the return type of a gcc2
12846 builtin and then its argument prototype would still apply. */
12847 char $ac_func ();
12848 /* The GNU C library defines this for functions which it implements
12849 to always fail with ENOSYS. Some functions are actually named
12850 something starting with __ and the normal name is an alias. */
12851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12852 choke me
12853 #else
12854 char (*f) () = $ac_func;
12855 #endif
12856 #ifdef __cplusplus
12857 }
12858 #endif
12859
12860 int
12861 main ()
12862 {
12863 return f != $ac_func;
12864 ;
12865 return 0;
12866 }
12867 _ACEOF
12868 rm -f conftest.$ac_objext conftest$ac_exeext
12869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12870 (eval $ac_link) 2>conftest.er1
12871 ac_status=$?
12872 grep -v '^ *+' conftest.er1 >conftest.err
12873 rm -f conftest.er1
12874 cat conftest.err >&5
12875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12876 (exit $ac_status); } &&
12877 { ac_try='test -z "$ac_c_werror_flag"
12878 || test ! -s conftest.err'
12879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12880 (eval $ac_try) 2>&5
12881 ac_status=$?
12882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); }; } &&
12884 { ac_try='test -s conftest$ac_exeext'
12885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12886 (eval $ac_try) 2>&5
12887 ac_status=$?
12888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889 (exit $ac_status); }; }; then
12890 eval "$as_ac_var=yes"
12891 else
12892 echo "$as_me: failed program was:" >&5
12893 sed 's/^/| /' conftest.$ac_ext >&5
12894
12895 eval "$as_ac_var=no"
12896 fi
12897 rm -f conftest.err conftest.$ac_objext \
12898 conftest$ac_exeext conftest.$ac_ext
12899 fi
12900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12902 if test `eval echo '${'$as_ac_var'}'` = yes; then
12903 cat >>confdefs.h <<_ACEOF
12904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12905 _ACEOF
12906
12907 fi
12908 done
12909
12910 fi
12911 fi
12912
12913
12914
12915
12916
12917
12918 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12919 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12920 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12921 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12923 else
12924
12925
12926
12927 ac_ext=cc
12928 ac_cpp='$CXXCPP $CPPFLAGS'
12929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12932
12933 cat >conftest.$ac_ext <<_ACEOF
12934 /* confdefs.h. */
12935 _ACEOF
12936 cat confdefs.h >>conftest.$ac_ext
12937 cat >>conftest.$ac_ext <<_ACEOF
12938 /* end confdefs.h. */
12939 #include <math.h>
12940 #ifdef HAVE_IEEEFP_H
12941 #include <ieeefp.h>
12942 #endif
12943
12944 int
12945 main ()
12946 {
12947 isinff(0);
12948 ;
12949 return 0;
12950 }
12951 _ACEOF
12952 rm -f conftest.$ac_objext
12953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12954 (eval $ac_compile) 2>conftest.er1
12955 ac_status=$?
12956 grep -v '^ *+' conftest.er1 >conftest.err
12957 rm -f conftest.er1
12958 cat conftest.err >&5
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); } &&
12961 { ac_try='test -z "$ac_cxx_werror_flag"
12962 || test ! -s conftest.err'
12963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12964 (eval $ac_try) 2>&5
12965 ac_status=$?
12966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12967 (exit $ac_status); }; } &&
12968 { ac_try='test -s conftest.$ac_objext'
12969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12970 (eval $ac_try) 2>&5
12971 ac_status=$?
12972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12973 (exit $ac_status); }; }; then
12974 glibcxx_cv_func_isinff_use=yes
12975 else
12976 echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.$ac_ext >&5
12978
12979 glibcxx_cv_func_isinff_use=no
12980 fi
12981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12982 ac_ext=c
12983 ac_cpp='$CPP $CPPFLAGS'
12984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12987
12988
12989 fi
12990
12991 fi
12992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12993 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12994
12995 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12996
12997 for ac_func in isinff
12998 do
12999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13000 echo "$as_me:$LINENO: checking for $ac_func" >&5
13001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13002 if eval "test \"\${$as_ac_var+set}\" = set"; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 if test x$gcc_no_link = xyes; then
13006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13008 { (exit 1); exit 1; }; }
13009 fi
13010 cat >conftest.$ac_ext <<_ACEOF
13011 /* confdefs.h. */
13012 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13018 #define $ac_func innocuous_$ac_func
13019
13020 /* System header to define __stub macros and hopefully few prototypes,
13021 which can conflict with char $ac_func (); below.
13022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13023 <limits.h> exists even on freestanding compilers. */
13024
13025 #ifdef __STDC__
13026 # include <limits.h>
13027 #else
13028 # include <assert.h>
13029 #endif
13030
13031 #undef $ac_func
13032
13033 /* Override any gcc2 internal prototype to avoid an error. */
13034 #ifdef __cplusplus
13035 extern "C"
13036 {
13037 #endif
13038 /* We use char because int might match the return type of a gcc2
13039 builtin and then its argument prototype would still apply. */
13040 char $ac_func ();
13041 /* The GNU C library defines this for functions which it implements
13042 to always fail with ENOSYS. Some functions are actually named
13043 something starting with __ and the normal name is an alias. */
13044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13045 choke me
13046 #else
13047 char (*f) () = $ac_func;
13048 #endif
13049 #ifdef __cplusplus
13050 }
13051 #endif
13052
13053 int
13054 main ()
13055 {
13056 return f != $ac_func;
13057 ;
13058 return 0;
13059 }
13060 _ACEOF
13061 rm -f conftest.$ac_objext conftest$ac_exeext
13062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13063 (eval $ac_link) 2>conftest.er1
13064 ac_status=$?
13065 grep -v '^ *+' conftest.er1 >conftest.err
13066 rm -f conftest.er1
13067 cat conftest.err >&5
13068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13069 (exit $ac_status); } &&
13070 { ac_try='test -z "$ac_c_werror_flag"
13071 || test ! -s conftest.err'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; } &&
13077 { ac_try='test -s conftest$ac_exeext'
13078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13079 (eval $ac_try) 2>&5
13080 ac_status=$?
13081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13082 (exit $ac_status); }; }; then
13083 eval "$as_ac_var=yes"
13084 else
13085 echo "$as_me: failed program was:" >&5
13086 sed 's/^/| /' conftest.$ac_ext >&5
13087
13088 eval "$as_ac_var=no"
13089 fi
13090 rm -f conftest.err conftest.$ac_objext \
13091 conftest$ac_exeext conftest.$ac_ext
13092 fi
13093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13095 if test `eval echo '${'$as_ac_var'}'` = yes; then
13096 cat >>confdefs.h <<_ACEOF
13097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13098 _ACEOF
13099
13100 fi
13101 done
13102
13103 else
13104
13105 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
13106 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
13107 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
13108 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 else
13111
13112
13113
13114 ac_ext=cc
13115 ac_cpp='$CXXCPP $CPPFLAGS'
13116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13119
13120 cat >conftest.$ac_ext <<_ACEOF
13121 /* confdefs.h. */
13122 _ACEOF
13123 cat confdefs.h >>conftest.$ac_ext
13124 cat >>conftest.$ac_ext <<_ACEOF
13125 /* end confdefs.h. */
13126 #include <math.h>
13127 #ifdef HAVE_IEEEFP_H
13128 #include <ieeefp.h>
13129 #endif
13130
13131 int
13132 main ()
13133 {
13134 _isinff(0);
13135 ;
13136 return 0;
13137 }
13138 _ACEOF
13139 rm -f conftest.$ac_objext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>conftest.er1
13142 ac_status=$?
13143 grep -v '^ *+' conftest.er1 >conftest.err
13144 rm -f conftest.er1
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try='test -z "$ac_cxx_werror_flag"
13149 || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13152 ac_status=$?
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try='test -s conftest.$ac_objext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13158 ac_status=$?
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 glibcxx_cv_func__isinff_use=yes
13162 else
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13165
13166 glibcxx_cv_func__isinff_use=no
13167 fi
13168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13169 ac_ext=c
13170 ac_cpp='$CPP $CPPFLAGS'
13171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13174
13175
13176 fi
13177
13178 fi
13179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
13180 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
13181
13182 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
13183
13184 for ac_func in _isinff
13185 do
13186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13187 echo "$as_me:$LINENO: checking for $ac_func" >&5
13188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13189 if eval "test \"\${$as_ac_var+set}\" = set"; then
13190 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 else
13192 if test x$gcc_no_link = xyes; then
13193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13195 { (exit 1); exit 1; }; }
13196 fi
13197 cat >conftest.$ac_ext <<_ACEOF
13198 /* confdefs.h. */
13199 _ACEOF
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13205 #define $ac_func innocuous_$ac_func
13206
13207 /* System header to define __stub macros and hopefully few prototypes,
13208 which can conflict with char $ac_func (); below.
13209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13210 <limits.h> exists even on freestanding compilers. */
13211
13212 #ifdef __STDC__
13213 # include <limits.h>
13214 #else
13215 # include <assert.h>
13216 #endif
13217
13218 #undef $ac_func
13219
13220 /* Override any gcc2 internal prototype to avoid an error. */
13221 #ifdef __cplusplus
13222 extern "C"
13223 {
13224 #endif
13225 /* We use char because int might match the return type of a gcc2
13226 builtin and then its argument prototype would still apply. */
13227 char $ac_func ();
13228 /* The GNU C library defines this for functions which it implements
13229 to always fail with ENOSYS. Some functions are actually named
13230 something starting with __ and the normal name is an alias. */
13231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13232 choke me
13233 #else
13234 char (*f) () = $ac_func;
13235 #endif
13236 #ifdef __cplusplus
13237 }
13238 #endif
13239
13240 int
13241 main ()
13242 {
13243 return f != $ac_func;
13244 ;
13245 return 0;
13246 }
13247 _ACEOF
13248 rm -f conftest.$ac_objext conftest$ac_exeext
13249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13250 (eval $ac_link) 2>conftest.er1
13251 ac_status=$?
13252 grep -v '^ *+' conftest.er1 >conftest.err
13253 rm -f conftest.er1
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); } &&
13257 { ac_try='test -z "$ac_c_werror_flag"
13258 || test ! -s conftest.err'
13259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13260 (eval $ac_try) 2>&5
13261 ac_status=$?
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); }; } &&
13264 { ac_try='test -s conftest$ac_exeext'
13265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13266 (eval $ac_try) 2>&5
13267 ac_status=$?
13268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13269 (exit $ac_status); }; }; then
13270 eval "$as_ac_var=yes"
13271 else
13272 echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.$ac_ext >&5
13274
13275 eval "$as_ac_var=no"
13276 fi
13277 rm -f conftest.err conftest.$ac_objext \
13278 conftest$ac_exeext conftest.$ac_ext
13279 fi
13280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13282 if test `eval echo '${'$as_ac_var'}'` = yes; then
13283 cat >>confdefs.h <<_ACEOF
13284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13285 _ACEOF
13286
13287 fi
13288 done
13289
13290 fi
13291 fi
13292
13293
13294
13295
13296
13297
13298 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
13299 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
13300 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
13301 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 else
13304
13305
13306
13307 ac_ext=cc
13308 ac_cpp='$CXXCPP $CPPFLAGS'
13309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13312
13313 cat >conftest.$ac_ext <<_ACEOF
13314 /* confdefs.h. */
13315 _ACEOF
13316 cat confdefs.h >>conftest.$ac_ext
13317 cat >>conftest.$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 #include <math.h>
13320 int
13321 main ()
13322 {
13323 atan2f(0, 0);
13324 ;
13325 return 0;
13326 }
13327 _ACEOF
13328 rm -f conftest.$ac_objext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13330 (eval $ac_compile) 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } &&
13337 { ac_try='test -z "$ac_cxx_werror_flag"
13338 || test ! -s conftest.err'
13339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 (eval $ac_try) 2>&5
13341 ac_status=$?
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; } &&
13344 { ac_try='test -s conftest.$ac_objext'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13347 ac_status=$?
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; }; then
13350 glibcxx_cv_func_atan2f_use=yes
13351 else
13352 echo "$as_me: failed program was:" >&5
13353 sed 's/^/| /' conftest.$ac_ext >&5
13354
13355 glibcxx_cv_func_atan2f_use=no
13356 fi
13357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13358 ac_ext=c
13359 ac_cpp='$CPP $CPPFLAGS'
13360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13363
13364
13365 fi
13366
13367 fi
13368 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
13369 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
13370
13371 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
13372
13373 for ac_func in atan2f
13374 do
13375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13376 echo "$as_me:$LINENO: checking for $ac_func" >&5
13377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13378 if eval "test \"\${$as_ac_var+set}\" = set"; then
13379 echo $ECHO_N "(cached) $ECHO_C" >&6
13380 else
13381 if test x$gcc_no_link = xyes; then
13382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13384 { (exit 1); exit 1; }; }
13385 fi
13386 cat >conftest.$ac_ext <<_ACEOF
13387 /* confdefs.h. */
13388 _ACEOF
13389 cat confdefs.h >>conftest.$ac_ext
13390 cat >>conftest.$ac_ext <<_ACEOF
13391 /* end confdefs.h. */
13392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13394 #define $ac_func innocuous_$ac_func
13395
13396 /* System header to define __stub macros and hopefully few prototypes,
13397 which can conflict with char $ac_func (); below.
13398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13399 <limits.h> exists even on freestanding compilers. */
13400
13401 #ifdef __STDC__
13402 # include <limits.h>
13403 #else
13404 # include <assert.h>
13405 #endif
13406
13407 #undef $ac_func
13408
13409 /* Override any gcc2 internal prototype to avoid an error. */
13410 #ifdef __cplusplus
13411 extern "C"
13412 {
13413 #endif
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13416 char $ac_func ();
13417 /* The GNU C library defines this for functions which it implements
13418 to always fail with ENOSYS. Some functions are actually named
13419 something starting with __ and the normal name is an alias. */
13420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13421 choke me
13422 #else
13423 char (*f) () = $ac_func;
13424 #endif
13425 #ifdef __cplusplus
13426 }
13427 #endif
13428
13429 int
13430 main ()
13431 {
13432 return f != $ac_func;
13433 ;
13434 return 0;
13435 }
13436 _ACEOF
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13439 (eval $ac_link) 2>conftest.er1
13440 ac_status=$?
13441 grep -v '^ *+' conftest.er1 >conftest.err
13442 rm -f conftest.er1
13443 cat conftest.err >&5
13444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 (exit $ac_status); } &&
13446 { ac_try='test -z "$ac_c_werror_flag"
13447 || test ! -s conftest.err'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13450 ac_status=$?
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try='test -s conftest$ac_exeext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13456 ac_status=$?
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 eval "$as_ac_var=yes"
13460 else
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13463
13464 eval "$as_ac_var=no"
13465 fi
13466 rm -f conftest.err conftest.$ac_objext \
13467 conftest$ac_exeext conftest.$ac_ext
13468 fi
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13471 if test `eval echo '${'$as_ac_var'}'` = yes; then
13472 cat >>confdefs.h <<_ACEOF
13473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13474 _ACEOF
13475
13476 fi
13477 done
13478
13479 else
13480
13481 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13482 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13483 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13484 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13485 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 else
13487
13488
13489
13490 ac_ext=cc
13491 ac_cpp='$CXXCPP $CPPFLAGS'
13492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13495
13496 cat >conftest.$ac_ext <<_ACEOF
13497 /* confdefs.h. */
13498 _ACEOF
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13502 #include <math.h>
13503 int
13504 main ()
13505 {
13506 _atan2f(0, 0);
13507 ;
13508 return 0;
13509 }
13510 _ACEOF
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>conftest.er1
13514 ac_status=$?
13515 grep -v '^ *+' conftest.er1 >conftest.err
13516 rm -f conftest.er1
13517 cat conftest.err >&5
13518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13519 (exit $ac_status); } &&
13520 { ac_try='test -z "$ac_cxx_werror_flag"
13521 || test ! -s conftest.err'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest.$ac_objext'
13528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13529 (eval $ac_try) 2>&5
13530 ac_status=$?
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); }; }; then
13533 glibcxx_cv_func__atan2f_use=yes
13534 else
13535 echo "$as_me: failed program was:" >&5
13536 sed 's/^/| /' conftest.$ac_ext >&5
13537
13538 glibcxx_cv_func__atan2f_use=no
13539 fi
13540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13541 ac_ext=c
13542 ac_cpp='$CPP $CPPFLAGS'
13543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13546
13547
13548 fi
13549
13550 fi
13551 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13552 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13553
13554 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13555
13556 for ac_func in _atan2f
13557 do
13558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13559 echo "$as_me:$LINENO: checking for $ac_func" >&5
13560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_var+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564 if test x$gcc_no_link = xyes; then
13565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13567 { (exit 1); exit 1; }; }
13568 fi
13569 cat >conftest.$ac_ext <<_ACEOF
13570 /* confdefs.h. */
13571 _ACEOF
13572 cat confdefs.h >>conftest.$ac_ext
13573 cat >>conftest.$ac_ext <<_ACEOF
13574 /* end confdefs.h. */
13575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13577 #define $ac_func innocuous_$ac_func
13578
13579 /* System header to define __stub macros and hopefully few prototypes,
13580 which can conflict with char $ac_func (); below.
13581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13582 <limits.h> exists even on freestanding compilers. */
13583
13584 #ifdef __STDC__
13585 # include <limits.h>
13586 #else
13587 # include <assert.h>
13588 #endif
13589
13590 #undef $ac_func
13591
13592 /* Override any gcc2 internal prototype to avoid an error. */
13593 #ifdef __cplusplus
13594 extern "C"
13595 {
13596 #endif
13597 /* We use char because int might match the return type of a gcc2
13598 builtin and then its argument prototype would still apply. */
13599 char $ac_func ();
13600 /* The GNU C library defines this for functions which it implements
13601 to always fail with ENOSYS. Some functions are actually named
13602 something starting with __ and the normal name is an alias. */
13603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13604 choke me
13605 #else
13606 char (*f) () = $ac_func;
13607 #endif
13608 #ifdef __cplusplus
13609 }
13610 #endif
13611
13612 int
13613 main ()
13614 {
13615 return f != $ac_func;
13616 ;
13617 return 0;
13618 }
13619 _ACEOF
13620 rm -f conftest.$ac_objext conftest$ac_exeext
13621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13622 (eval $ac_link) 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } &&
13629 { ac_try='test -z "$ac_c_werror_flag"
13630 || test ! -s conftest.err'
13631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13632 (eval $ac_try) 2>&5
13633 ac_status=$?
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); }; } &&
13636 { ac_try='test -s conftest$ac_exeext'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; }; then
13642 eval "$as_ac_var=yes"
13643 else
13644 echo "$as_me: failed program was:" >&5
13645 sed 's/^/| /' conftest.$ac_ext >&5
13646
13647 eval "$as_ac_var=no"
13648 fi
13649 rm -f conftest.err conftest.$ac_objext \
13650 conftest$ac_exeext conftest.$ac_ext
13651 fi
13652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13654 if test `eval echo '${'$as_ac_var'}'` = yes; then
13655 cat >>confdefs.h <<_ACEOF
13656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13657 _ACEOF
13658
13659 fi
13660 done
13661
13662 fi
13663 fi
13664
13665
13666
13667
13668
13669
13670 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13671 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13672 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13673 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 else
13676
13677
13678
13679 ac_ext=cc
13680 ac_cpp='$CXXCPP $CPPFLAGS'
13681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13684
13685 cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h. */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #include <math.h>
13692 #ifdef HAVE_IEEEFP_H
13693 #include <ieeefp.h>
13694 #endif
13695
13696 int
13697 main ()
13698 {
13699 fabsf(0);
13700 ;
13701 return 0;
13702 }
13703 _ACEOF
13704 rm -f conftest.$ac_objext
13705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13706 (eval $ac_compile) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } &&
13713 { ac_try='test -z "$ac_cxx_werror_flag"
13714 || test ! -s conftest.err'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13717 ac_status=$?
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; } &&
13720 { ac_try='test -s conftest.$ac_objext'
13721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13722 (eval $ac_try) 2>&5
13723 ac_status=$?
13724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13725 (exit $ac_status); }; }; then
13726 glibcxx_cv_func_fabsf_use=yes
13727 else
13728 echo "$as_me: failed program was:" >&5
13729 sed 's/^/| /' conftest.$ac_ext >&5
13730
13731 glibcxx_cv_func_fabsf_use=no
13732 fi
13733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13734 ac_ext=c
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13739
13740
13741 fi
13742
13743 fi
13744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13745 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13746
13747 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13748
13749 for ac_func in fabsf
13750 do
13751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13752 echo "$as_me:$LINENO: checking for $ac_func" >&5
13753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13754 if eval "test \"\${$as_ac_var+set}\" = set"; then
13755 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 else
13757 if test x$gcc_no_link = xyes; then
13758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13760 { (exit 1); exit 1; }; }
13761 fi
13762 cat >conftest.$ac_ext <<_ACEOF
13763 /* confdefs.h. */
13764 _ACEOF
13765 cat confdefs.h >>conftest.$ac_ext
13766 cat >>conftest.$ac_ext <<_ACEOF
13767 /* end confdefs.h. */
13768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13770 #define $ac_func innocuous_$ac_func
13771
13772 /* System header to define __stub macros and hopefully few prototypes,
13773 which can conflict with char $ac_func (); below.
13774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13775 <limits.h> exists even on freestanding compilers. */
13776
13777 #ifdef __STDC__
13778 # include <limits.h>
13779 #else
13780 # include <assert.h>
13781 #endif
13782
13783 #undef $ac_func
13784
13785 /* Override any gcc2 internal prototype to avoid an error. */
13786 #ifdef __cplusplus
13787 extern "C"
13788 {
13789 #endif
13790 /* We use char because int might match the return type of a gcc2
13791 builtin and then its argument prototype would still apply. */
13792 char $ac_func ();
13793 /* The GNU C library defines this for functions which it implements
13794 to always fail with ENOSYS. Some functions are actually named
13795 something starting with __ and the normal name is an alias. */
13796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13797 choke me
13798 #else
13799 char (*f) () = $ac_func;
13800 #endif
13801 #ifdef __cplusplus
13802 }
13803 #endif
13804
13805 int
13806 main ()
13807 {
13808 return f != $ac_func;
13809 ;
13810 return 0;
13811 }
13812 _ACEOF
13813 rm -f conftest.$ac_objext conftest$ac_exeext
13814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13815 (eval $ac_link) 2>conftest.er1
13816 ac_status=$?
13817 grep -v '^ *+' conftest.er1 >conftest.err
13818 rm -f conftest.er1
13819 cat conftest.err >&5
13820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13821 (exit $ac_status); } &&
13822 { ac_try='test -z "$ac_c_werror_flag"
13823 || test ! -s conftest.err'
13824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13825 (eval $ac_try) 2>&5
13826 ac_status=$?
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); }; } &&
13829 { ac_try='test -s conftest$ac_exeext'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13832 ac_status=$?
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; }; then
13835 eval "$as_ac_var=yes"
13836 else
13837 echo "$as_me: failed program was:" >&5
13838 sed 's/^/| /' conftest.$ac_ext >&5
13839
13840 eval "$as_ac_var=no"
13841 fi
13842 rm -f conftest.err conftest.$ac_objext \
13843 conftest$ac_exeext conftest.$ac_ext
13844 fi
13845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13847 if test `eval echo '${'$as_ac_var'}'` = yes; then
13848 cat >>confdefs.h <<_ACEOF
13849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13850 _ACEOF
13851
13852 fi
13853 done
13854
13855 else
13856
13857 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13858 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13859 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13860 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13862 else
13863
13864
13865
13866 ac_ext=cc
13867 ac_cpp='$CXXCPP $CPPFLAGS'
13868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13871
13872 cat >conftest.$ac_ext <<_ACEOF
13873 /* confdefs.h. */
13874 _ACEOF
13875 cat confdefs.h >>conftest.$ac_ext
13876 cat >>conftest.$ac_ext <<_ACEOF
13877 /* end confdefs.h. */
13878 #include <math.h>
13879 #ifdef HAVE_IEEEFP_H
13880 #include <ieeefp.h>
13881 #endif
13882
13883 int
13884 main ()
13885 {
13886 _fabsf(0);
13887 ;
13888 return 0;
13889 }
13890 _ACEOF
13891 rm -f conftest.$ac_objext
13892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13893 (eval $ac_compile) 2>conftest.er1
13894 ac_status=$?
13895 grep -v '^ *+' conftest.er1 >conftest.err
13896 rm -f conftest.er1
13897 cat conftest.err >&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); } &&
13900 { ac_try='test -z "$ac_cxx_werror_flag"
13901 || test ! -s conftest.err'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13904 ac_status=$?
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; } &&
13907 { ac_try='test -s conftest.$ac_objext'
13908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13909 (eval $ac_try) 2>&5
13910 ac_status=$?
13911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; }; then
13913 glibcxx_cv_func__fabsf_use=yes
13914 else
13915 echo "$as_me: failed program was:" >&5
13916 sed 's/^/| /' conftest.$ac_ext >&5
13917
13918 glibcxx_cv_func__fabsf_use=no
13919 fi
13920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13921 ac_ext=c
13922 ac_cpp='$CPP $CPPFLAGS'
13923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13926
13927
13928 fi
13929
13930 fi
13931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13932 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13933
13934 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13935
13936 for ac_func in _fabsf
13937 do
13938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13939 echo "$as_me:$LINENO: checking for $ac_func" >&5
13940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13941 if eval "test \"\${$as_ac_var+set}\" = set"; then
13942 echo $ECHO_N "(cached) $ECHO_C" >&6
13943 else
13944 if test x$gcc_no_link = xyes; then
13945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13947 { (exit 1); exit 1; }; }
13948 fi
13949 cat >conftest.$ac_ext <<_ACEOF
13950 /* confdefs.h. */
13951 _ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13957 #define $ac_func innocuous_$ac_func
13958
13959 /* System header to define __stub macros and hopefully few prototypes,
13960 which can conflict with char $ac_func (); below.
13961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13962 <limits.h> exists even on freestanding compilers. */
13963
13964 #ifdef __STDC__
13965 # include <limits.h>
13966 #else
13967 # include <assert.h>
13968 #endif
13969
13970 #undef $ac_func
13971
13972 /* Override any gcc2 internal prototype to avoid an error. */
13973 #ifdef __cplusplus
13974 extern "C"
13975 {
13976 #endif
13977 /* We use char because int might match the return type of a gcc2
13978 builtin and then its argument prototype would still apply. */
13979 char $ac_func ();
13980 /* The GNU C library defines this for functions which it implements
13981 to always fail with ENOSYS. Some functions are actually named
13982 something starting with __ and the normal name is an alias. */
13983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13984 choke me
13985 #else
13986 char (*f) () = $ac_func;
13987 #endif
13988 #ifdef __cplusplus
13989 }
13990 #endif
13991
13992 int
13993 main ()
13994 {
13995 return f != $ac_func;
13996 ;
13997 return 0;
13998 }
13999 _ACEOF
14000 rm -f conftest.$ac_objext conftest$ac_exeext
14001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14002 (eval $ac_link) 2>conftest.er1
14003 ac_status=$?
14004 grep -v '^ *+' conftest.er1 >conftest.err
14005 rm -f conftest.er1
14006 cat conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); } &&
14009 { ac_try='test -z "$ac_c_werror_flag"
14010 || test ! -s conftest.err'
14011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14012 (eval $ac_try) 2>&5
14013 ac_status=$?
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; } &&
14016 { ac_try='test -s conftest$ac_exeext'
14017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14018 (eval $ac_try) 2>&5
14019 ac_status=$?
14020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14021 (exit $ac_status); }; }; then
14022 eval "$as_ac_var=yes"
14023 else
14024 echo "$as_me: failed program was:" >&5
14025 sed 's/^/| /' conftest.$ac_ext >&5
14026
14027 eval "$as_ac_var=no"
14028 fi
14029 rm -f conftest.err conftest.$ac_objext \
14030 conftest$ac_exeext conftest.$ac_ext
14031 fi
14032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14034 if test `eval echo '${'$as_ac_var'}'` = yes; then
14035 cat >>confdefs.h <<_ACEOF
14036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14037 _ACEOF
14038
14039 fi
14040 done
14041
14042 fi
14043 fi
14044
14045
14046
14047
14048
14049
14050 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
14051 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
14052 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
14053 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 else
14056
14057
14058
14059 ac_ext=cc
14060 ac_cpp='$CXXCPP $CPPFLAGS'
14061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14064
14065 cat >conftest.$ac_ext <<_ACEOF
14066 /* confdefs.h. */
14067 _ACEOF
14068 cat confdefs.h >>conftest.$ac_ext
14069 cat >>conftest.$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14071 #include <math.h>
14072 int
14073 main ()
14074 {
14075 fmodf(0, 0);
14076 ;
14077 return 0;
14078 }
14079 _ACEOF
14080 rm -f conftest.$ac_objext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14082 (eval $ac_compile) 2>conftest.er1
14083 ac_status=$?
14084 grep -v '^ *+' conftest.er1 >conftest.err
14085 rm -f conftest.er1
14086 cat conftest.err >&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try='test -z "$ac_cxx_werror_flag"
14090 || test ! -s conftest.err'
14091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14092 (eval $ac_try) 2>&5
14093 ac_status=$?
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); }; } &&
14096 { ac_try='test -s conftest.$ac_objext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14099 ac_status=$?
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 glibcxx_cv_func_fmodf_use=yes
14103 else
14104 echo "$as_me: failed program was:" >&5
14105 sed 's/^/| /' conftest.$ac_ext >&5
14106
14107 glibcxx_cv_func_fmodf_use=no
14108 fi
14109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14110 ac_ext=c
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14115
14116
14117 fi
14118
14119 fi
14120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
14121 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
14122
14123 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
14124
14125 for ac_func in fmodf
14126 do
14127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14128 echo "$as_me:$LINENO: checking for $ac_func" >&5
14129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14130 if eval "test \"\${$as_ac_var+set}\" = set"; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 else
14133 if test x$gcc_no_link = xyes; then
14134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14136 { (exit 1); exit 1; }; }
14137 fi
14138 cat >conftest.$ac_ext <<_ACEOF
14139 /* confdefs.h. */
14140 _ACEOF
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14146 #define $ac_func innocuous_$ac_func
14147
14148 /* System header to define __stub macros and hopefully few prototypes,
14149 which can conflict with char $ac_func (); below.
14150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14151 <limits.h> exists even on freestanding compilers. */
14152
14153 #ifdef __STDC__
14154 # include <limits.h>
14155 #else
14156 # include <assert.h>
14157 #endif
14158
14159 #undef $ac_func
14160
14161 /* Override any gcc2 internal prototype to avoid an error. */
14162 #ifdef __cplusplus
14163 extern "C"
14164 {
14165 #endif
14166 /* We use char because int might match the return type of a gcc2
14167 builtin and then its argument prototype would still apply. */
14168 char $ac_func ();
14169 /* The GNU C library defines this for functions which it implements
14170 to always fail with ENOSYS. Some functions are actually named
14171 something starting with __ and the normal name is an alias. */
14172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14173 choke me
14174 #else
14175 char (*f) () = $ac_func;
14176 #endif
14177 #ifdef __cplusplus
14178 }
14179 #endif
14180
14181 int
14182 main ()
14183 {
14184 return f != $ac_func;
14185 ;
14186 return 0;
14187 }
14188 _ACEOF
14189 rm -f conftest.$ac_objext conftest$ac_exeext
14190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14191 (eval $ac_link) 2>conftest.er1
14192 ac_status=$?
14193 grep -v '^ *+' conftest.er1 >conftest.err
14194 rm -f conftest.er1
14195 cat conftest.err >&5
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); } &&
14198 { ac_try='test -z "$ac_c_werror_flag"
14199 || test ! -s conftest.err'
14200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14201 (eval $ac_try) 2>&5
14202 ac_status=$?
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); }; } &&
14205 { ac_try='test -s conftest$ac_exeext'
14206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14207 (eval $ac_try) 2>&5
14208 ac_status=$?
14209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14210 (exit $ac_status); }; }; then
14211 eval "$as_ac_var=yes"
14212 else
14213 echo "$as_me: failed program was:" >&5
14214 sed 's/^/| /' conftest.$ac_ext >&5
14215
14216 eval "$as_ac_var=no"
14217 fi
14218 rm -f conftest.err conftest.$ac_objext \
14219 conftest$ac_exeext conftest.$ac_ext
14220 fi
14221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14223 if test `eval echo '${'$as_ac_var'}'` = yes; then
14224 cat >>confdefs.h <<_ACEOF
14225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14226 _ACEOF
14227
14228 fi
14229 done
14230
14231 else
14232
14233 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
14234 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
14235 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
14236 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14238 else
14239
14240
14241
14242 ac_ext=cc
14243 ac_cpp='$CXXCPP $CPPFLAGS'
14244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14247
14248 cat >conftest.$ac_ext <<_ACEOF
14249 /* confdefs.h. */
14250 _ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #include <math.h>
14255 int
14256 main ()
14257 {
14258 _fmodf(0, 0);
14259 ;
14260 return 0;
14261 }
14262 _ACEOF
14263 rm -f conftest.$ac_objext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>conftest.er1
14266 ac_status=$?
14267 grep -v '^ *+' conftest.er1 >conftest.err
14268 rm -f conftest.er1
14269 cat conftest.err >&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } &&
14272 { ac_try='test -z "$ac_cxx_werror_flag"
14273 || test ! -s conftest.err'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; } &&
14279 { ac_try='test -s conftest.$ac_objext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14282 ac_status=$?
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14285 glibcxx_cv_func__fmodf_use=yes
14286 else
14287 echo "$as_me: failed program was:" >&5
14288 sed 's/^/| /' conftest.$ac_ext >&5
14289
14290 glibcxx_cv_func__fmodf_use=no
14291 fi
14292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14293 ac_ext=c
14294 ac_cpp='$CPP $CPPFLAGS'
14295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14298
14299
14300 fi
14301
14302 fi
14303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
14304 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
14305
14306 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
14307
14308 for ac_func in _fmodf
14309 do
14310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14311 echo "$as_me:$LINENO: checking for $ac_func" >&5
14312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14313 if eval "test \"\${$as_ac_var+set}\" = set"; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 else
14316 if test x$gcc_no_link = xyes; then
14317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14319 { (exit 1); exit 1; }; }
14320 fi
14321 cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h. */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h. */
14327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14329 #define $ac_func innocuous_$ac_func
14330
14331 /* System header to define __stub macros and hopefully few prototypes,
14332 which can conflict with char $ac_func (); below.
14333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14334 <limits.h> exists even on freestanding compilers. */
14335
14336 #ifdef __STDC__
14337 # include <limits.h>
14338 #else
14339 # include <assert.h>
14340 #endif
14341
14342 #undef $ac_func
14343
14344 /* Override any gcc2 internal prototype to avoid an error. */
14345 #ifdef __cplusplus
14346 extern "C"
14347 {
14348 #endif
14349 /* We use char because int might match the return type of a gcc2
14350 builtin and then its argument prototype would still apply. */
14351 char $ac_func ();
14352 /* The GNU C library defines this for functions which it implements
14353 to always fail with ENOSYS. Some functions are actually named
14354 something starting with __ and the normal name is an alias. */
14355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14356 choke me
14357 #else
14358 char (*f) () = $ac_func;
14359 #endif
14360 #ifdef __cplusplus
14361 }
14362 #endif
14363
14364 int
14365 main ()
14366 {
14367 return f != $ac_func;
14368 ;
14369 return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext conftest$ac_exeext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14374 (eval $ac_link) 2>conftest.er1
14375 ac_status=$?
14376 grep -v '^ *+' conftest.er1 >conftest.err
14377 rm -f conftest.er1
14378 cat conftest.err >&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try='test -s conftest$ac_exeext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14394 eval "$as_ac_var=yes"
14395 else
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14398
14399 eval "$as_ac_var=no"
14400 fi
14401 rm -f conftest.err conftest.$ac_objext \
14402 conftest$ac_exeext conftest.$ac_ext
14403 fi
14404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14406 if test `eval echo '${'$as_ac_var'}'` = yes; then
14407 cat >>confdefs.h <<_ACEOF
14408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14409 _ACEOF
14410
14411 fi
14412 done
14413
14414 fi
14415 fi
14416
14417
14418
14419
14420
14421
14422 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
14423 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
14424 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
14425 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 else
14428
14429
14430
14431 ac_ext=cc
14432 ac_cpp='$CXXCPP $CPPFLAGS'
14433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14436
14437 cat >conftest.$ac_ext <<_ACEOF
14438 /* confdefs.h. */
14439 _ACEOF
14440 cat confdefs.h >>conftest.$ac_ext
14441 cat >>conftest.$ac_ext <<_ACEOF
14442 /* end confdefs.h. */
14443 #include <math.h>
14444 int
14445 main ()
14446 {
14447 frexpf(0, 0);
14448 ;
14449 return 0;
14450 }
14451 _ACEOF
14452 rm -f conftest.$ac_objext
14453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14454 (eval $ac_compile) 2>conftest.er1
14455 ac_status=$?
14456 grep -v '^ *+' conftest.er1 >conftest.err
14457 rm -f conftest.er1
14458 cat conftest.err >&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); } &&
14461 { ac_try='test -z "$ac_cxx_werror_flag"
14462 || test ! -s conftest.err'
14463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14464 (eval $ac_try) 2>&5
14465 ac_status=$?
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); }; } &&
14468 { ac_try='test -s conftest.$ac_objext'
14469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14470 (eval $ac_try) 2>&5
14471 ac_status=$?
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); }; }; then
14474 glibcxx_cv_func_frexpf_use=yes
14475 else
14476 echo "$as_me: failed program was:" >&5
14477 sed 's/^/| /' conftest.$ac_ext >&5
14478
14479 glibcxx_cv_func_frexpf_use=no
14480 fi
14481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14482 ac_ext=c
14483 ac_cpp='$CPP $CPPFLAGS'
14484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14487
14488
14489 fi
14490
14491 fi
14492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14493 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14494
14495 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14496
14497 for ac_func in frexpf
14498 do
14499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14500 echo "$as_me:$LINENO: checking for $ac_func" >&5
14501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14502 if eval "test \"\${$as_ac_var+set}\" = set"; then
14503 echo $ECHO_N "(cached) $ECHO_C" >&6
14504 else
14505 if test x$gcc_no_link = xyes; then
14506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14508 { (exit 1); exit 1; }; }
14509 fi
14510 cat >conftest.$ac_ext <<_ACEOF
14511 /* confdefs.h. */
14512 _ACEOF
14513 cat confdefs.h >>conftest.$ac_ext
14514 cat >>conftest.$ac_ext <<_ACEOF
14515 /* end confdefs.h. */
14516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14518 #define $ac_func innocuous_$ac_func
14519
14520 /* System header to define __stub macros and hopefully few prototypes,
14521 which can conflict with char $ac_func (); below.
14522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14523 <limits.h> exists even on freestanding compilers. */
14524
14525 #ifdef __STDC__
14526 # include <limits.h>
14527 #else
14528 # include <assert.h>
14529 #endif
14530
14531 #undef $ac_func
14532
14533 /* Override any gcc2 internal prototype to avoid an error. */
14534 #ifdef __cplusplus
14535 extern "C"
14536 {
14537 #endif
14538 /* We use char because int might match the return type of a gcc2
14539 builtin and then its argument prototype would still apply. */
14540 char $ac_func ();
14541 /* The GNU C library defines this for functions which it implements
14542 to always fail with ENOSYS. Some functions are actually named
14543 something starting with __ and the normal name is an alias. */
14544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14545 choke me
14546 #else
14547 char (*f) () = $ac_func;
14548 #endif
14549 #ifdef __cplusplus
14550 }
14551 #endif
14552
14553 int
14554 main ()
14555 {
14556 return f != $ac_func;
14557 ;
14558 return 0;
14559 }
14560 _ACEOF
14561 rm -f conftest.$ac_objext conftest$ac_exeext
14562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14563 (eval $ac_link) 2>conftest.er1
14564 ac_status=$?
14565 grep -v '^ *+' conftest.er1 >conftest.err
14566 rm -f conftest.er1
14567 cat conftest.err >&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -z "$ac_c_werror_flag"
14571 || test ! -s conftest.err'
14572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14573 (eval $ac_try) 2>&5
14574 ac_status=$?
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); }; } &&
14577 { ac_try='test -s conftest$ac_exeext'
14578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14579 (eval $ac_try) 2>&5
14580 ac_status=$?
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); }; }; then
14583 eval "$as_ac_var=yes"
14584 else
14585 echo "$as_me: failed program was:" >&5
14586 sed 's/^/| /' conftest.$ac_ext >&5
14587
14588 eval "$as_ac_var=no"
14589 fi
14590 rm -f conftest.err conftest.$ac_objext \
14591 conftest$ac_exeext conftest.$ac_ext
14592 fi
14593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14595 if test `eval echo '${'$as_ac_var'}'` = yes; then
14596 cat >>confdefs.h <<_ACEOF
14597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14598 _ACEOF
14599
14600 fi
14601 done
14602
14603 else
14604
14605 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14606 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14607 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14608 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 else
14611
14612
14613
14614 ac_ext=cc
14615 ac_cpp='$CXXCPP $CPPFLAGS'
14616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14619
14620 cat >conftest.$ac_ext <<_ACEOF
14621 /* confdefs.h. */
14622 _ACEOF
14623 cat confdefs.h >>conftest.$ac_ext
14624 cat >>conftest.$ac_ext <<_ACEOF
14625 /* end confdefs.h. */
14626 #include <math.h>
14627 int
14628 main ()
14629 {
14630 _frexpf(0, 0);
14631 ;
14632 return 0;
14633 }
14634 _ACEOF
14635 rm -f conftest.$ac_objext
14636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14637 (eval $ac_compile) 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } &&
14644 { ac_try='test -z "$ac_cxx_werror_flag"
14645 || test ! -s conftest.err'
14646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14647 (eval $ac_try) 2>&5
14648 ac_status=$?
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); }; } &&
14651 { ac_try='test -s conftest.$ac_objext'
14652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14653 (eval $ac_try) 2>&5
14654 ac_status=$?
14655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14656 (exit $ac_status); }; }; then
14657 glibcxx_cv_func__frexpf_use=yes
14658 else
14659 echo "$as_me: failed program was:" >&5
14660 sed 's/^/| /' conftest.$ac_ext >&5
14661
14662 glibcxx_cv_func__frexpf_use=no
14663 fi
14664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14665 ac_ext=c
14666 ac_cpp='$CPP $CPPFLAGS'
14667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14670
14671
14672 fi
14673
14674 fi
14675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14676 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14677
14678 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14679
14680 for ac_func in _frexpf
14681 do
14682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14683 echo "$as_me:$LINENO: checking for $ac_func" >&5
14684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14685 if eval "test \"\${$as_ac_var+set}\" = set"; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 if test x$gcc_no_link = xyes; then
14689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14691 { (exit 1); exit 1; }; }
14692 fi
14693 cat >conftest.$ac_ext <<_ACEOF
14694 /* confdefs.h. */
14695 _ACEOF
14696 cat confdefs.h >>conftest.$ac_ext
14697 cat >>conftest.$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14701 #define $ac_func innocuous_$ac_func
14702
14703 /* System header to define __stub macros and hopefully few prototypes,
14704 which can conflict with char $ac_func (); below.
14705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14706 <limits.h> exists even on freestanding compilers. */
14707
14708 #ifdef __STDC__
14709 # include <limits.h>
14710 #else
14711 # include <assert.h>
14712 #endif
14713
14714 #undef $ac_func
14715
14716 /* Override any gcc2 internal prototype to avoid an error. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 {
14720 #endif
14721 /* We use char because int might match the return type of a gcc2
14722 builtin and then its argument prototype would still apply. */
14723 char $ac_func ();
14724 /* The GNU C library defines this for functions which it implements
14725 to always fail with ENOSYS. Some functions are actually named
14726 something starting with __ and the normal name is an alias. */
14727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14728 choke me
14729 #else
14730 char (*f) () = $ac_func;
14731 #endif
14732 #ifdef __cplusplus
14733 }
14734 #endif
14735
14736 int
14737 main ()
14738 {
14739 return f != $ac_func;
14740 ;
14741 return 0;
14742 }
14743 _ACEOF
14744 rm -f conftest.$ac_objext conftest$ac_exeext
14745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14746 (eval $ac_link) 2>conftest.er1
14747 ac_status=$?
14748 grep -v '^ *+' conftest.er1 >conftest.err
14749 rm -f conftest.er1
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } &&
14753 { ac_try='test -z "$ac_c_werror_flag"
14754 || test ! -s conftest.err'
14755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14756 (eval $ac_try) 2>&5
14757 ac_status=$?
14758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14759 (exit $ac_status); }; } &&
14760 { ac_try='test -s conftest$ac_exeext'
14761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14762 (eval $ac_try) 2>&5
14763 ac_status=$?
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); }; }; then
14766 eval "$as_ac_var=yes"
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14770
14771 eval "$as_ac_var=no"
14772 fi
14773 rm -f conftest.err conftest.$ac_objext \
14774 conftest$ac_exeext conftest.$ac_ext
14775 fi
14776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14778 if test `eval echo '${'$as_ac_var'}'` = yes; then
14779 cat >>confdefs.h <<_ACEOF
14780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14781 _ACEOF
14782
14783 fi
14784 done
14785
14786 fi
14787 fi
14788
14789
14790
14791
14792
14793
14794 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14795 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14796 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14797 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800
14801
14802
14803 ac_ext=cc
14804 ac_cpp='$CXXCPP $CPPFLAGS'
14805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14808
14809 cat >conftest.$ac_ext <<_ACEOF
14810 /* confdefs.h. */
14811 _ACEOF
14812 cat confdefs.h >>conftest.$ac_ext
14813 cat >>conftest.$ac_ext <<_ACEOF
14814 /* end confdefs.h. */
14815 #include <math.h>
14816 int
14817 main ()
14818 {
14819 hypotf(0, 0);
14820 ;
14821 return 0;
14822 }
14823 _ACEOF
14824 rm -f conftest.$ac_objext
14825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14826 (eval $ac_compile) 2>conftest.er1
14827 ac_status=$?
14828 grep -v '^ *+' conftest.er1 >conftest.err
14829 rm -f conftest.er1
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } &&
14833 { ac_try='test -z "$ac_cxx_werror_flag"
14834 || test ! -s conftest.err'
14835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14836 (eval $ac_try) 2>&5
14837 ac_status=$?
14838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14839 (exit $ac_status); }; } &&
14840 { ac_try='test -s conftest.$ac_objext'
14841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14842 (eval $ac_try) 2>&5
14843 ac_status=$?
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); }; }; then
14846 glibcxx_cv_func_hypotf_use=yes
14847 else
14848 echo "$as_me: failed program was:" >&5
14849 sed 's/^/| /' conftest.$ac_ext >&5
14850
14851 glibcxx_cv_func_hypotf_use=no
14852 fi
14853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14854 ac_ext=c
14855 ac_cpp='$CPP $CPPFLAGS'
14856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14859
14860
14861 fi
14862
14863 fi
14864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14865 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14866
14867 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14868
14869 for ac_func in hypotf
14870 do
14871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14872 echo "$as_me:$LINENO: checking for $ac_func" >&5
14873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14874 if eval "test \"\${$as_ac_var+set}\" = set"; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 if test x$gcc_no_link = xyes; then
14878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14880 { (exit 1); exit 1; }; }
14881 fi
14882 cat >conftest.$ac_ext <<_ACEOF
14883 /* confdefs.h. */
14884 _ACEOF
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14890 #define $ac_func innocuous_$ac_func
14891
14892 /* System header to define __stub macros and hopefully few prototypes,
14893 which can conflict with char $ac_func (); below.
14894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14895 <limits.h> exists even on freestanding compilers. */
14896
14897 #ifdef __STDC__
14898 # include <limits.h>
14899 #else
14900 # include <assert.h>
14901 #endif
14902
14903 #undef $ac_func
14904
14905 /* Override any gcc2 internal prototype to avoid an error. */
14906 #ifdef __cplusplus
14907 extern "C"
14908 {
14909 #endif
14910 /* We use char because int might match the return type of a gcc2
14911 builtin and then its argument prototype would still apply. */
14912 char $ac_func ();
14913 /* The GNU C library defines this for functions which it implements
14914 to always fail with ENOSYS. Some functions are actually named
14915 something starting with __ and the normal name is an alias. */
14916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14917 choke me
14918 #else
14919 char (*f) () = $ac_func;
14920 #endif
14921 #ifdef __cplusplus
14922 }
14923 #endif
14924
14925 int
14926 main ()
14927 {
14928 return f != $ac_func;
14929 ;
14930 return 0;
14931 }
14932 _ACEOF
14933 rm -f conftest.$ac_objext conftest$ac_exeext
14934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14935 (eval $ac_link) 2>conftest.er1
14936 ac_status=$?
14937 grep -v '^ *+' conftest.er1 >conftest.err
14938 rm -f conftest.er1
14939 cat conftest.err >&5
14940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 (exit $ac_status); } &&
14942 { ac_try='test -z "$ac_c_werror_flag"
14943 || test ! -s conftest.err'
14944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14945 (eval $ac_try) 2>&5
14946 ac_status=$?
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); }; } &&
14949 { ac_try='test -s conftest$ac_exeext'
14950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14951 (eval $ac_try) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; }; then
14955 eval "$as_ac_var=yes"
14956 else
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.$ac_ext >&5
14959
14960 eval "$as_ac_var=no"
14961 fi
14962 rm -f conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 fi
14965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14967 if test `eval echo '${'$as_ac_var'}'` = yes; then
14968 cat >>confdefs.h <<_ACEOF
14969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14970 _ACEOF
14971
14972 fi
14973 done
14974
14975 else
14976
14977 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14978 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14979 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14980 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14981 echo $ECHO_N "(cached) $ECHO_C" >&6
14982 else
14983
14984
14985
14986 ac_ext=cc
14987 ac_cpp='$CXXCPP $CPPFLAGS'
14988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14991
14992 cat >conftest.$ac_ext <<_ACEOF
14993 /* confdefs.h. */
14994 _ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998 #include <math.h>
14999 int
15000 main ()
15001 {
15002 _hypotf(0, 0);
15003 ;
15004 return 0;
15005 }
15006 _ACEOF
15007 rm -f conftest.$ac_objext
15008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15009 (eval $ac_compile) 2>conftest.er1
15010 ac_status=$?
15011 grep -v '^ *+' conftest.er1 >conftest.err
15012 rm -f conftest.er1
15013 cat conftest.err >&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); } &&
15016 { ac_try='test -z "$ac_cxx_werror_flag"
15017 || test ! -s conftest.err'
15018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15019 (eval $ac_try) 2>&5
15020 ac_status=$?
15021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15022 (exit $ac_status); }; } &&
15023 { ac_try='test -s conftest.$ac_objext'
15024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15025 (eval $ac_try) 2>&5
15026 ac_status=$?
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); }; }; then
15029 glibcxx_cv_func__hypotf_use=yes
15030 else
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15033
15034 glibcxx_cv_func__hypotf_use=no
15035 fi
15036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15037 ac_ext=c
15038 ac_cpp='$CPP $CPPFLAGS'
15039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15042
15043
15044 fi
15045
15046 fi
15047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
15048 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
15049
15050 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
15051
15052 for ac_func in _hypotf
15053 do
15054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15055 echo "$as_me:$LINENO: checking for $ac_func" >&5
15056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15057 if eval "test \"\${$as_ac_var+set}\" = set"; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 if test x$gcc_no_link = xyes; then
15061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15063 { (exit 1); exit 1; }; }
15064 fi
15065 cat >conftest.$ac_ext <<_ACEOF
15066 /* confdefs.h. */
15067 _ACEOF
15068 cat confdefs.h >>conftest.$ac_ext
15069 cat >>conftest.$ac_ext <<_ACEOF
15070 /* end confdefs.h. */
15071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15073 #define $ac_func innocuous_$ac_func
15074
15075 /* System header to define __stub macros and hopefully few prototypes,
15076 which can conflict with char $ac_func (); below.
15077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15078 <limits.h> exists even on freestanding compilers. */
15079
15080 #ifdef __STDC__
15081 # include <limits.h>
15082 #else
15083 # include <assert.h>
15084 #endif
15085
15086 #undef $ac_func
15087
15088 /* Override any gcc2 internal prototype to avoid an error. */
15089 #ifdef __cplusplus
15090 extern "C"
15091 {
15092 #endif
15093 /* We use char because int might match the return type of a gcc2
15094 builtin and then its argument prototype would still apply. */
15095 char $ac_func ();
15096 /* The GNU C library defines this for functions which it implements
15097 to always fail with ENOSYS. Some functions are actually named
15098 something starting with __ and the normal name is an alias. */
15099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15100 choke me
15101 #else
15102 char (*f) () = $ac_func;
15103 #endif
15104 #ifdef __cplusplus
15105 }
15106 #endif
15107
15108 int
15109 main ()
15110 {
15111 return f != $ac_func;
15112 ;
15113 return 0;
15114 }
15115 _ACEOF
15116 rm -f conftest.$ac_objext conftest$ac_exeext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15118 (eval $ac_link) 2>conftest.er1
15119 ac_status=$?
15120 grep -v '^ *+' conftest.er1 >conftest.err
15121 rm -f conftest.er1
15122 cat conftest.err >&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try='test -z "$ac_c_werror_flag"
15126 || test ! -s conftest.err'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15129 ac_status=$?
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; } &&
15132 { ac_try='test -s conftest$ac_exeext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15135 ac_status=$?
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 eval "$as_ac_var=yes"
15139 else
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15142
15143 eval "$as_ac_var=no"
15144 fi
15145 rm -f conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147 fi
15148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15150 if test `eval echo '${'$as_ac_var'}'` = yes; then
15151 cat >>confdefs.h <<_ACEOF
15152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15153 _ACEOF
15154
15155 fi
15156 done
15157
15158 fi
15159 fi
15160
15161
15162
15163
15164
15165
15166 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
15167 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
15168 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
15169 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
15170 echo $ECHO_N "(cached) $ECHO_C" >&6
15171 else
15172
15173
15174
15175 ac_ext=cc
15176 ac_cpp='$CXXCPP $CPPFLAGS'
15177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15180
15181 cat >conftest.$ac_ext <<_ACEOF
15182 /* confdefs.h. */
15183 _ACEOF
15184 cat confdefs.h >>conftest.$ac_ext
15185 cat >>conftest.$ac_ext <<_ACEOF
15186 /* end confdefs.h. */
15187 #include <math.h>
15188 int
15189 main ()
15190 {
15191 ldexpf(0, 0);
15192 ;
15193 return 0;
15194 }
15195 _ACEOF
15196 rm -f conftest.$ac_objext
15197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15198 (eval $ac_compile) 2>conftest.er1
15199 ac_status=$?
15200 grep -v '^ *+' conftest.er1 >conftest.err
15201 rm -f conftest.er1
15202 cat conftest.err >&5
15203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } &&
15205 { ac_try='test -z "$ac_cxx_werror_flag"
15206 || test ! -s conftest.err'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; } &&
15212 { ac_try='test -s conftest.$ac_objext'
15213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15214 (eval $ac_try) 2>&5
15215 ac_status=$?
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); }; }; then
15218 glibcxx_cv_func_ldexpf_use=yes
15219 else
15220 echo "$as_me: failed program was:" >&5
15221 sed 's/^/| /' conftest.$ac_ext >&5
15222
15223 glibcxx_cv_func_ldexpf_use=no
15224 fi
15225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15226 ac_ext=c
15227 ac_cpp='$CPP $CPPFLAGS'
15228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15231
15232
15233 fi
15234
15235 fi
15236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
15237 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
15238
15239 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
15240
15241 for ac_func in ldexpf
15242 do
15243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15244 echo "$as_me:$LINENO: checking for $ac_func" >&5
15245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15246 if eval "test \"\${$as_ac_var+set}\" = set"; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 else
15249 if test x$gcc_no_link = xyes; then
15250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15252 { (exit 1); exit 1; }; }
15253 fi
15254 cat >conftest.$ac_ext <<_ACEOF
15255 /* confdefs.h. */
15256 _ACEOF
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h. */
15260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15262 #define $ac_func innocuous_$ac_func
15263
15264 /* System header to define __stub macros and hopefully few prototypes,
15265 which can conflict with char $ac_func (); below.
15266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15267 <limits.h> exists even on freestanding compilers. */
15268
15269 #ifdef __STDC__
15270 # include <limits.h>
15271 #else
15272 # include <assert.h>
15273 #endif
15274
15275 #undef $ac_func
15276
15277 /* Override any gcc2 internal prototype to avoid an error. */
15278 #ifdef __cplusplus
15279 extern "C"
15280 {
15281 #endif
15282 /* We use char because int might match the return type of a gcc2
15283 builtin and then its argument prototype would still apply. */
15284 char $ac_func ();
15285 /* The GNU C library defines this for functions which it implements
15286 to always fail with ENOSYS. Some functions are actually named
15287 something starting with __ and the normal name is an alias. */
15288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15289 choke me
15290 #else
15291 char (*f) () = $ac_func;
15292 #endif
15293 #ifdef __cplusplus
15294 }
15295 #endif
15296
15297 int
15298 main ()
15299 {
15300 return f != $ac_func;
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 rm -f conftest.$ac_objext conftest$ac_exeext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15307 (eval $ac_link) 2>conftest.er1
15308 ac_status=$?
15309 grep -v '^ *+' conftest.er1 >conftest.err
15310 rm -f conftest.er1
15311 cat conftest.err >&5
15312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15313 (exit $ac_status); } &&
15314 { ac_try='test -z "$ac_c_werror_flag"
15315 || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest$ac_exeext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 eval "$as_ac_var=yes"
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15331
15332 eval "$as_ac_var=no"
15333 fi
15334 rm -f conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 fi
15337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15339 if test `eval echo '${'$as_ac_var'}'` = yes; then
15340 cat >>confdefs.h <<_ACEOF
15341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15342 _ACEOF
15343
15344 fi
15345 done
15346
15347 else
15348
15349 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
15350 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
15351 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
15352 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
15353 echo $ECHO_N "(cached) $ECHO_C" >&6
15354 else
15355
15356
15357
15358 ac_ext=cc
15359 ac_cpp='$CXXCPP $CPPFLAGS'
15360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15363
15364 cat >conftest.$ac_ext <<_ACEOF
15365 /* confdefs.h. */
15366 _ACEOF
15367 cat confdefs.h >>conftest.$ac_ext
15368 cat >>conftest.$ac_ext <<_ACEOF
15369 /* end confdefs.h. */
15370 #include <math.h>
15371 int
15372 main ()
15373 {
15374 _ldexpf(0, 0);
15375 ;
15376 return 0;
15377 }
15378 _ACEOF
15379 rm -f conftest.$ac_objext
15380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15381 (eval $ac_compile) 2>conftest.er1
15382 ac_status=$?
15383 grep -v '^ *+' conftest.er1 >conftest.err
15384 rm -f conftest.er1
15385 cat conftest.err >&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); } &&
15388 { ac_try='test -z "$ac_cxx_werror_flag"
15389 || test ! -s conftest.err'
15390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15391 (eval $ac_try) 2>&5
15392 ac_status=$?
15393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); }; } &&
15395 { ac_try='test -s conftest.$ac_objext'
15396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15397 (eval $ac_try) 2>&5
15398 ac_status=$?
15399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15400 (exit $ac_status); }; }; then
15401 glibcxx_cv_func__ldexpf_use=yes
15402 else
15403 echo "$as_me: failed program was:" >&5
15404 sed 's/^/| /' conftest.$ac_ext >&5
15405
15406 glibcxx_cv_func__ldexpf_use=no
15407 fi
15408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15409 ac_ext=c
15410 ac_cpp='$CPP $CPPFLAGS'
15411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15414
15415
15416 fi
15417
15418 fi
15419 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
15420 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
15421
15422 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
15423
15424 for ac_func in _ldexpf
15425 do
15426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15427 echo "$as_me:$LINENO: checking for $ac_func" >&5
15428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15429 if eval "test \"\${$as_ac_var+set}\" = set"; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 if test x$gcc_no_link = xyes; then
15433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15435 { (exit 1); exit 1; }; }
15436 fi
15437 cat >conftest.$ac_ext <<_ACEOF
15438 /* confdefs.h. */
15439 _ACEOF
15440 cat confdefs.h >>conftest.$ac_ext
15441 cat >>conftest.$ac_ext <<_ACEOF
15442 /* end confdefs.h. */
15443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15445 #define $ac_func innocuous_$ac_func
15446
15447 /* System header to define __stub macros and hopefully few prototypes,
15448 which can conflict with char $ac_func (); below.
15449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15450 <limits.h> exists even on freestanding compilers. */
15451
15452 #ifdef __STDC__
15453 # include <limits.h>
15454 #else
15455 # include <assert.h>
15456 #endif
15457
15458 #undef $ac_func
15459
15460 /* Override any gcc2 internal prototype to avoid an error. */
15461 #ifdef __cplusplus
15462 extern "C"
15463 {
15464 #endif
15465 /* We use char because int might match the return type of a gcc2
15466 builtin and then its argument prototype would still apply. */
15467 char $ac_func ();
15468 /* The GNU C library defines this for functions which it implements
15469 to always fail with ENOSYS. Some functions are actually named
15470 something starting with __ and the normal name is an alias. */
15471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15472 choke me
15473 #else
15474 char (*f) () = $ac_func;
15475 #endif
15476 #ifdef __cplusplus
15477 }
15478 #endif
15479
15480 int
15481 main ()
15482 {
15483 return f != $ac_func;
15484 ;
15485 return 0;
15486 }
15487 _ACEOF
15488 rm -f conftest.$ac_objext conftest$ac_exeext
15489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15490 (eval $ac_link) 2>conftest.er1
15491 ac_status=$?
15492 grep -v '^ *+' conftest.er1 >conftest.err
15493 rm -f conftest.er1
15494 cat conftest.err >&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); } &&
15497 { ac_try='test -z "$ac_c_werror_flag"
15498 || test ! -s conftest.err'
15499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15500 (eval $ac_try) 2>&5
15501 ac_status=$?
15502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15503 (exit $ac_status); }; } &&
15504 { ac_try='test -s conftest$ac_exeext'
15505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15506 (eval $ac_try) 2>&5
15507 ac_status=$?
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); }; }; then
15510 eval "$as_ac_var=yes"
15511 else
15512 echo "$as_me: failed program was:" >&5
15513 sed 's/^/| /' conftest.$ac_ext >&5
15514
15515 eval "$as_ac_var=no"
15516 fi
15517 rm -f conftest.err conftest.$ac_objext \
15518 conftest$ac_exeext conftest.$ac_ext
15519 fi
15520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15522 if test `eval echo '${'$as_ac_var'}'` = yes; then
15523 cat >>confdefs.h <<_ACEOF
15524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15525 _ACEOF
15526
15527 fi
15528 done
15529
15530 fi
15531 fi
15532
15533
15534
15535
15536
15537
15538 echo "$as_me:$LINENO: checking for logf declaration" >&5
15539 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15540 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15541 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15542 echo $ECHO_N "(cached) $ECHO_C" >&6
15543 else
15544
15545
15546
15547 ac_ext=cc
15548 ac_cpp='$CXXCPP $CPPFLAGS'
15549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15552
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h. */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15559 #include <math.h>
15560 #ifdef HAVE_IEEEFP_H
15561 #include <ieeefp.h>
15562 #endif
15563
15564 int
15565 main ()
15566 {
15567 logf(0);
15568 ;
15569 return 0;
15570 }
15571 _ACEOF
15572 rm -f conftest.$ac_objext
15573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15574 (eval $ac_compile) 2>conftest.er1
15575 ac_status=$?
15576 grep -v '^ *+' conftest.er1 >conftest.err
15577 rm -f conftest.er1
15578 cat conftest.err >&5
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); } &&
15581 { ac_try='test -z "$ac_cxx_werror_flag"
15582 || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15585 ac_status=$?
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try='test -s conftest.$ac_objext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 glibcxx_cv_func_logf_use=yes
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15598
15599 glibcxx_cv_func_logf_use=no
15600 fi
15601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15602 ac_ext=c
15603 ac_cpp='$CPP $CPPFLAGS'
15604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15607
15608
15609 fi
15610
15611 fi
15612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15613 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15614
15615 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15616
15617 for ac_func in logf
15618 do
15619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15620 echo "$as_me:$LINENO: checking for $ac_func" >&5
15621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15622 if eval "test \"\${$as_ac_var+set}\" = set"; then
15623 echo $ECHO_N "(cached) $ECHO_C" >&6
15624 else
15625 if test x$gcc_no_link = xyes; then
15626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15628 { (exit 1); exit 1; }; }
15629 fi
15630 cat >conftest.$ac_ext <<_ACEOF
15631 /* confdefs.h. */
15632 _ACEOF
15633 cat confdefs.h >>conftest.$ac_ext
15634 cat >>conftest.$ac_ext <<_ACEOF
15635 /* end confdefs.h. */
15636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15638 #define $ac_func innocuous_$ac_func
15639
15640 /* System header to define __stub macros and hopefully few prototypes,
15641 which can conflict with char $ac_func (); below.
15642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15643 <limits.h> exists even on freestanding compilers. */
15644
15645 #ifdef __STDC__
15646 # include <limits.h>
15647 #else
15648 # include <assert.h>
15649 #endif
15650
15651 #undef $ac_func
15652
15653 /* Override any gcc2 internal prototype to avoid an error. */
15654 #ifdef __cplusplus
15655 extern "C"
15656 {
15657 #endif
15658 /* We use char because int might match the return type of a gcc2
15659 builtin and then its argument prototype would still apply. */
15660 char $ac_func ();
15661 /* The GNU C library defines this for functions which it implements
15662 to always fail with ENOSYS. Some functions are actually named
15663 something starting with __ and the normal name is an alias. */
15664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15665 choke me
15666 #else
15667 char (*f) () = $ac_func;
15668 #endif
15669 #ifdef __cplusplus
15670 }
15671 #endif
15672
15673 int
15674 main ()
15675 {
15676 return f != $ac_func;
15677 ;
15678 return 0;
15679 }
15680 _ACEOF
15681 rm -f conftest.$ac_objext conftest$ac_exeext
15682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15683 (eval $ac_link) 2>conftest.er1
15684 ac_status=$?
15685 grep -v '^ *+' conftest.er1 >conftest.err
15686 rm -f conftest.er1
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -z "$ac_c_werror_flag"
15691 || test ! -s conftest.err'
15692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15693 (eval $ac_try) 2>&5
15694 ac_status=$?
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); }; } &&
15697 { ac_try='test -s conftest$ac_exeext'
15698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699 (eval $ac_try) 2>&5
15700 ac_status=$?
15701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }; }; then
15703 eval "$as_ac_var=yes"
15704 else
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5
15707
15708 eval "$as_ac_var=no"
15709 fi
15710 rm -f conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 fi
15713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15715 if test `eval echo '${'$as_ac_var'}'` = yes; then
15716 cat >>confdefs.h <<_ACEOF
15717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15718 _ACEOF
15719
15720 fi
15721 done
15722
15723 else
15724
15725 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15726 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15727 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15728 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15729 echo $ECHO_N "(cached) $ECHO_C" >&6
15730 else
15731
15732
15733
15734 ac_ext=cc
15735 ac_cpp='$CXXCPP $CPPFLAGS'
15736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15739
15740 cat >conftest.$ac_ext <<_ACEOF
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 #include <math.h>
15747 #ifdef HAVE_IEEEFP_H
15748 #include <ieeefp.h>
15749 #endif
15750
15751 int
15752 main ()
15753 {
15754 _logf(0);
15755 ;
15756 return 0;
15757 }
15758 _ACEOF
15759 rm -f conftest.$ac_objext
15760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15761 (eval $ac_compile) 2>conftest.er1
15762 ac_status=$?
15763 grep -v '^ *+' conftest.er1 >conftest.err
15764 rm -f conftest.er1
15765 cat conftest.err >&5
15766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15767 (exit $ac_status); } &&
15768 { ac_try='test -z "$ac_cxx_werror_flag"
15769 || test ! -s conftest.err'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15772 ac_status=$?
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; } &&
15775 { ac_try='test -s conftest.$ac_objext'
15776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15777 (eval $ac_try) 2>&5
15778 ac_status=$?
15779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15780 (exit $ac_status); }; }; then
15781 glibcxx_cv_func__logf_use=yes
15782 else
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15785
15786 glibcxx_cv_func__logf_use=no
15787 fi
15788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15789 ac_ext=c
15790 ac_cpp='$CPP $CPPFLAGS'
15791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794
15795
15796 fi
15797
15798 fi
15799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15800 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15801
15802 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15803
15804 for ac_func in _logf
15805 do
15806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15807 echo "$as_me:$LINENO: checking for $ac_func" >&5
15808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15809 if eval "test \"\${$as_ac_var+set}\" = set"; then
15810 echo $ECHO_N "(cached) $ECHO_C" >&6
15811 else
15812 if test x$gcc_no_link = xyes; then
15813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15815 { (exit 1); exit 1; }; }
15816 fi
15817 cat >conftest.$ac_ext <<_ACEOF
15818 /* confdefs.h. */
15819 _ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15825 #define $ac_func innocuous_$ac_func
15826
15827 /* System header to define __stub macros and hopefully few prototypes,
15828 which can conflict with char $ac_func (); below.
15829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15830 <limits.h> exists even on freestanding compilers. */
15831
15832 #ifdef __STDC__
15833 # include <limits.h>
15834 #else
15835 # include <assert.h>
15836 #endif
15837
15838 #undef $ac_func
15839
15840 /* Override any gcc2 internal prototype to avoid an error. */
15841 #ifdef __cplusplus
15842 extern "C"
15843 {
15844 #endif
15845 /* We use char because int might match the return type of a gcc2
15846 builtin and then its argument prototype would still apply. */
15847 char $ac_func ();
15848 /* The GNU C library defines this for functions which it implements
15849 to always fail with ENOSYS. Some functions are actually named
15850 something starting with __ and the normal name is an alias. */
15851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15852 choke me
15853 #else
15854 char (*f) () = $ac_func;
15855 #endif
15856 #ifdef __cplusplus
15857 }
15858 #endif
15859
15860 int
15861 main ()
15862 {
15863 return f != $ac_func;
15864 ;
15865 return 0;
15866 }
15867 _ACEOF
15868 rm -f conftest.$ac_objext conftest$ac_exeext
15869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15870 (eval $ac_link) 2>conftest.er1
15871 ac_status=$?
15872 grep -v '^ *+' conftest.er1 >conftest.err
15873 rm -f conftest.er1
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); } &&
15877 { ac_try='test -z "$ac_c_werror_flag"
15878 || test ! -s conftest.err'
15879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15880 (eval $ac_try) 2>&5
15881 ac_status=$?
15882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15883 (exit $ac_status); }; } &&
15884 { ac_try='test -s conftest$ac_exeext'
15885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15886 (eval $ac_try) 2>&5
15887 ac_status=$?
15888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15889 (exit $ac_status); }; }; then
15890 eval "$as_ac_var=yes"
15891 else
15892 echo "$as_me: failed program was:" >&5
15893 sed 's/^/| /' conftest.$ac_ext >&5
15894
15895 eval "$as_ac_var=no"
15896 fi
15897 rm -f conftest.err conftest.$ac_objext \
15898 conftest$ac_exeext conftest.$ac_ext
15899 fi
15900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15902 if test `eval echo '${'$as_ac_var'}'` = yes; then
15903 cat >>confdefs.h <<_ACEOF
15904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15905 _ACEOF
15906
15907 fi
15908 done
15909
15910 fi
15911 fi
15912
15913
15914
15915
15916
15917
15918 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15919 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15920 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15921 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 else
15924
15925
15926
15927 ac_ext=cc
15928 ac_cpp='$CXXCPP $CPPFLAGS'
15929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15932
15933 cat >conftest.$ac_ext <<_ACEOF
15934 /* confdefs.h. */
15935 _ACEOF
15936 cat confdefs.h >>conftest.$ac_ext
15937 cat >>conftest.$ac_ext <<_ACEOF
15938 /* end confdefs.h. */
15939 #include <math.h>
15940 #ifdef HAVE_IEEEFP_H
15941 #include <ieeefp.h>
15942 #endif
15943
15944 int
15945 main ()
15946 {
15947 log10f(0);
15948 ;
15949 return 0;
15950 }
15951 _ACEOF
15952 rm -f conftest.$ac_objext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15954 (eval $ac_compile) 2>conftest.er1
15955 ac_status=$?
15956 grep -v '^ *+' conftest.er1 >conftest.err
15957 rm -f conftest.er1
15958 cat conftest.err >&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try='test -z "$ac_cxx_werror_flag"
15962 || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15965 ac_status=$?
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try='test -s conftest.$ac_objext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15971 ac_status=$?
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 glibcxx_cv_func_log10f_use=yes
15975 else
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15978
15979 glibcxx_cv_func_log10f_use=no
15980 fi
15981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15982 ac_ext=c
15983 ac_cpp='$CPP $CPPFLAGS'
15984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15987
15988
15989 fi
15990
15991 fi
15992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15993 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15994
15995 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15996
15997 for ac_func in log10f
15998 do
15999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16000 echo "$as_me:$LINENO: checking for $ac_func" >&5
16001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16002 if eval "test \"\${$as_ac_var+set}\" = set"; then
16003 echo $ECHO_N "(cached) $ECHO_C" >&6
16004 else
16005 if test x$gcc_no_link = xyes; then
16006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16008 { (exit 1); exit 1; }; }
16009 fi
16010 cat >conftest.$ac_ext <<_ACEOF
16011 /* confdefs.h. */
16012 _ACEOF
16013 cat confdefs.h >>conftest.$ac_ext
16014 cat >>conftest.$ac_ext <<_ACEOF
16015 /* end confdefs.h. */
16016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16018 #define $ac_func innocuous_$ac_func
16019
16020 /* System header to define __stub macros and hopefully few prototypes,
16021 which can conflict with char $ac_func (); below.
16022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16023 <limits.h> exists even on freestanding compilers. */
16024
16025 #ifdef __STDC__
16026 # include <limits.h>
16027 #else
16028 # include <assert.h>
16029 #endif
16030
16031 #undef $ac_func
16032
16033 /* Override any gcc2 internal prototype to avoid an error. */
16034 #ifdef __cplusplus
16035 extern "C"
16036 {
16037 #endif
16038 /* We use char because int might match the return type of a gcc2
16039 builtin and then its argument prototype would still apply. */
16040 char $ac_func ();
16041 /* The GNU C library defines this for functions which it implements
16042 to always fail with ENOSYS. Some functions are actually named
16043 something starting with __ and the normal name is an alias. */
16044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16045 choke me
16046 #else
16047 char (*f) () = $ac_func;
16048 #endif
16049 #ifdef __cplusplus
16050 }
16051 #endif
16052
16053 int
16054 main ()
16055 {
16056 return f != $ac_func;
16057 ;
16058 return 0;
16059 }
16060 _ACEOF
16061 rm -f conftest.$ac_objext conftest$ac_exeext
16062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16063 (eval $ac_link) 2>conftest.er1
16064 ac_status=$?
16065 grep -v '^ *+' conftest.er1 >conftest.err
16066 rm -f conftest.er1
16067 cat conftest.err >&5
16068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16069 (exit $ac_status); } &&
16070 { ac_try='test -z "$ac_c_werror_flag"
16071 || test ! -s conftest.err'
16072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16073 (eval $ac_try) 2>&5
16074 ac_status=$?
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); }; } &&
16077 { ac_try='test -s conftest$ac_exeext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16080 ac_status=$?
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 eval "$as_ac_var=yes"
16084 else
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16087
16088 eval "$as_ac_var=no"
16089 fi
16090 rm -f conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext conftest.$ac_ext
16092 fi
16093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16095 if test `eval echo '${'$as_ac_var'}'` = yes; then
16096 cat >>confdefs.h <<_ACEOF
16097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16098 _ACEOF
16099
16100 fi
16101 done
16102
16103 else
16104
16105 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
16106 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
16107 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
16108 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
16109 echo $ECHO_N "(cached) $ECHO_C" >&6
16110 else
16111
16112
16113
16114 ac_ext=cc
16115 ac_cpp='$CXXCPP $CPPFLAGS'
16116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16119
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126 #include <math.h>
16127 #ifdef HAVE_IEEEFP_H
16128 #include <ieeefp.h>
16129 #endif
16130
16131 int
16132 main ()
16133 {
16134 _log10f(0);
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16142 ac_status=$?
16143 grep -v '^ *+' conftest.er1 >conftest.err
16144 rm -f conftest.er1
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_cxx_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16152 ac_status=$?
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest.$ac_objext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16158 ac_status=$?
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16161 glibcxx_cv_func__log10f_use=yes
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16165
16166 glibcxx_cv_func__log10f_use=no
16167 fi
16168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16169 ac_ext=c
16170 ac_cpp='$CPP $CPPFLAGS'
16171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16174
16175
16176 fi
16177
16178 fi
16179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
16180 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
16181
16182 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
16183
16184 for ac_func in _log10f
16185 do
16186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16187 echo "$as_me:$LINENO: checking for $ac_func" >&5
16188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16189 if eval "test \"\${$as_ac_var+set}\" = set"; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 else
16192 if test x$gcc_no_link = xyes; then
16193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16195 { (exit 1); exit 1; }; }
16196 fi
16197 cat >conftest.$ac_ext <<_ACEOF
16198 /* confdefs.h. */
16199 _ACEOF
16200 cat confdefs.h >>conftest.$ac_ext
16201 cat >>conftest.$ac_ext <<_ACEOF
16202 /* end confdefs.h. */
16203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16205 #define $ac_func innocuous_$ac_func
16206
16207 /* System header to define __stub macros and hopefully few prototypes,
16208 which can conflict with char $ac_func (); below.
16209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16210 <limits.h> exists even on freestanding compilers. */
16211
16212 #ifdef __STDC__
16213 # include <limits.h>
16214 #else
16215 # include <assert.h>
16216 #endif
16217
16218 #undef $ac_func
16219
16220 /* Override any gcc2 internal prototype to avoid an error. */
16221 #ifdef __cplusplus
16222 extern "C"
16223 {
16224 #endif
16225 /* We use char because int might match the return type of a gcc2
16226 builtin and then its argument prototype would still apply. */
16227 char $ac_func ();
16228 /* The GNU C library defines this for functions which it implements
16229 to always fail with ENOSYS. Some functions are actually named
16230 something starting with __ and the normal name is an alias. */
16231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16232 choke me
16233 #else
16234 char (*f) () = $ac_func;
16235 #endif
16236 #ifdef __cplusplus
16237 }
16238 #endif
16239
16240 int
16241 main ()
16242 {
16243 return f != $ac_func;
16244 ;
16245 return 0;
16246 }
16247 _ACEOF
16248 rm -f conftest.$ac_objext conftest$ac_exeext
16249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16250 (eval $ac_link) 2>conftest.er1
16251 ac_status=$?
16252 grep -v '^ *+' conftest.er1 >conftest.err
16253 rm -f conftest.er1
16254 cat conftest.err >&5
16255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16256 (exit $ac_status); } &&
16257 { ac_try='test -z "$ac_c_werror_flag"
16258 || test ! -s conftest.err'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16261 ac_status=$?
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; } &&
16264 { ac_try='test -s conftest$ac_exeext'
16265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16266 (eval $ac_try) 2>&5
16267 ac_status=$?
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); }; }; then
16270 eval "$as_ac_var=yes"
16271 else
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.$ac_ext >&5
16274
16275 eval "$as_ac_var=no"
16276 fi
16277 rm -f conftest.err conftest.$ac_objext \
16278 conftest$ac_exeext conftest.$ac_ext
16279 fi
16280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16282 if test `eval echo '${'$as_ac_var'}'` = yes; then
16283 cat >>confdefs.h <<_ACEOF
16284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16285 _ACEOF
16286
16287 fi
16288 done
16289
16290 fi
16291 fi
16292
16293
16294
16295
16296
16297
16298 echo "$as_me:$LINENO: checking for modff declaration" >&5
16299 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
16300 if test x${glibcxx_cv_func_modff_use+set} != xset; then
16301 if test "${glibcxx_cv_func_modff_use+set}" = set; then
16302 echo $ECHO_N "(cached) $ECHO_C" >&6
16303 else
16304
16305
16306
16307 ac_ext=cc
16308 ac_cpp='$CXXCPP $CPPFLAGS'
16309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16312
16313 cat >conftest.$ac_ext <<_ACEOF
16314 /* confdefs.h. */
16315 _ACEOF
16316 cat confdefs.h >>conftest.$ac_ext
16317 cat >>conftest.$ac_ext <<_ACEOF
16318 /* end confdefs.h. */
16319 #include <math.h>
16320 int
16321 main ()
16322 {
16323 modff(0, 0);
16324 ;
16325 return 0;
16326 }
16327 _ACEOF
16328 rm -f conftest.$ac_objext
16329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16330 (eval $ac_compile) 2>conftest.er1
16331 ac_status=$?
16332 grep -v '^ *+' conftest.er1 >conftest.err
16333 rm -f conftest.er1
16334 cat conftest.err >&5
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); } &&
16337 { ac_try='test -z "$ac_cxx_werror_flag"
16338 || test ! -s conftest.err'
16339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340 (eval $ac_try) 2>&5
16341 ac_status=$?
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); }; } &&
16344 { ac_try='test -s conftest.$ac_objext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16347 ac_status=$?
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 glibcxx_cv_func_modff_use=yes
16351 else
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16354
16355 glibcxx_cv_func_modff_use=no
16356 fi
16357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16358 ac_ext=c
16359 ac_cpp='$CPP $CPPFLAGS'
16360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16363
16364
16365 fi
16366
16367 fi
16368 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
16369 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
16370
16371 if test x$glibcxx_cv_func_modff_use = x"yes"; then
16372
16373 for ac_func in modff
16374 do
16375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16376 echo "$as_me:$LINENO: checking for $ac_func" >&5
16377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16378 if eval "test \"\${$as_ac_var+set}\" = set"; then
16379 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 else
16381 if test x$gcc_no_link = xyes; then
16382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16384 { (exit 1); exit 1; }; }
16385 fi
16386 cat >conftest.$ac_ext <<_ACEOF
16387 /* confdefs.h. */
16388 _ACEOF
16389 cat confdefs.h >>conftest.$ac_ext
16390 cat >>conftest.$ac_ext <<_ACEOF
16391 /* end confdefs.h. */
16392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16394 #define $ac_func innocuous_$ac_func
16395
16396 /* System header to define __stub macros and hopefully few prototypes,
16397 which can conflict with char $ac_func (); below.
16398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16399 <limits.h> exists even on freestanding compilers. */
16400
16401 #ifdef __STDC__
16402 # include <limits.h>
16403 #else
16404 # include <assert.h>
16405 #endif
16406
16407 #undef $ac_func
16408
16409 /* Override any gcc2 internal prototype to avoid an error. */
16410 #ifdef __cplusplus
16411 extern "C"
16412 {
16413 #endif
16414 /* We use char because int might match the return type of a gcc2
16415 builtin and then its argument prototype would still apply. */
16416 char $ac_func ();
16417 /* The GNU C library defines this for functions which it implements
16418 to always fail with ENOSYS. Some functions are actually named
16419 something starting with __ and the normal name is an alias. */
16420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16421 choke me
16422 #else
16423 char (*f) () = $ac_func;
16424 #endif
16425 #ifdef __cplusplus
16426 }
16427 #endif
16428
16429 int
16430 main ()
16431 {
16432 return f != $ac_func;
16433 ;
16434 return 0;
16435 }
16436 _ACEOF
16437 rm -f conftest.$ac_objext conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } &&
16446 { ac_try='test -z "$ac_c_werror_flag"
16447 || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16450 ac_status=$?
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try='test -s conftest$ac_exeext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16456 ac_status=$?
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 eval "$as_ac_var=yes"
16460 else
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.$ac_ext >&5
16463
16464 eval "$as_ac_var=no"
16465 fi
16466 rm -f conftest.err conftest.$ac_objext \
16467 conftest$ac_exeext conftest.$ac_ext
16468 fi
16469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16471 if test `eval echo '${'$as_ac_var'}'` = yes; then
16472 cat >>confdefs.h <<_ACEOF
16473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16474 _ACEOF
16475
16476 fi
16477 done
16478
16479 else
16480
16481 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16482 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16483 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16484 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 else
16487
16488
16489
16490 ac_ext=cc
16491 ac_cpp='$CXXCPP $CPPFLAGS'
16492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16495
16496 cat >conftest.$ac_ext <<_ACEOF
16497 /* confdefs.h. */
16498 _ACEOF
16499 cat confdefs.h >>conftest.$ac_ext
16500 cat >>conftest.$ac_ext <<_ACEOF
16501 /* end confdefs.h. */
16502 #include <math.h>
16503 int
16504 main ()
16505 {
16506 _modff(0, 0);
16507 ;
16508 return 0;
16509 }
16510 _ACEOF
16511 rm -f conftest.$ac_objext
16512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16513 (eval $ac_compile) 2>conftest.er1
16514 ac_status=$?
16515 grep -v '^ *+' conftest.er1 >conftest.err
16516 rm -f conftest.er1
16517 cat conftest.err >&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); } &&
16520 { ac_try='test -z "$ac_cxx_werror_flag"
16521 || test ! -s conftest.err'
16522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16523 (eval $ac_try) 2>&5
16524 ac_status=$?
16525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16526 (exit $ac_status); }; } &&
16527 { ac_try='test -s conftest.$ac_objext'
16528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16529 (eval $ac_try) 2>&5
16530 ac_status=$?
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; }; then
16533 glibcxx_cv_func__modff_use=yes
16534 else
16535 echo "$as_me: failed program was:" >&5
16536 sed 's/^/| /' conftest.$ac_ext >&5
16537
16538 glibcxx_cv_func__modff_use=no
16539 fi
16540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16541 ac_ext=c
16542 ac_cpp='$CPP $CPPFLAGS'
16543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16546
16547
16548 fi
16549
16550 fi
16551 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16552 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16553
16554 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16555
16556 for ac_func in _modff
16557 do
16558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16559 echo "$as_me:$LINENO: checking for $ac_func" >&5
16560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16561 if eval "test \"\${$as_ac_var+set}\" = set"; then
16562 echo $ECHO_N "(cached) $ECHO_C" >&6
16563 else
16564 if test x$gcc_no_link = xyes; then
16565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16567 { (exit 1); exit 1; }; }
16568 fi
16569 cat >conftest.$ac_ext <<_ACEOF
16570 /* confdefs.h. */
16571 _ACEOF
16572 cat confdefs.h >>conftest.$ac_ext
16573 cat >>conftest.$ac_ext <<_ACEOF
16574 /* end confdefs.h. */
16575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16577 #define $ac_func innocuous_$ac_func
16578
16579 /* System header to define __stub macros and hopefully few prototypes,
16580 which can conflict with char $ac_func (); below.
16581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16582 <limits.h> exists even on freestanding compilers. */
16583
16584 #ifdef __STDC__
16585 # include <limits.h>
16586 #else
16587 # include <assert.h>
16588 #endif
16589
16590 #undef $ac_func
16591
16592 /* Override any gcc2 internal prototype to avoid an error. */
16593 #ifdef __cplusplus
16594 extern "C"
16595 {
16596 #endif
16597 /* We use char because int might match the return type of a gcc2
16598 builtin and then its argument prototype would still apply. */
16599 char $ac_func ();
16600 /* The GNU C library defines this for functions which it implements
16601 to always fail with ENOSYS. Some functions are actually named
16602 something starting with __ and the normal name is an alias. */
16603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16604 choke me
16605 #else
16606 char (*f) () = $ac_func;
16607 #endif
16608 #ifdef __cplusplus
16609 }
16610 #endif
16611
16612 int
16613 main ()
16614 {
16615 return f != $ac_func;
16616 ;
16617 return 0;
16618 }
16619 _ACEOF
16620 rm -f conftest.$ac_objext conftest$ac_exeext
16621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16622 (eval $ac_link) 2>conftest.er1
16623 ac_status=$?
16624 grep -v '^ *+' conftest.er1 >conftest.err
16625 rm -f conftest.er1
16626 cat conftest.err >&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); } &&
16629 { ac_try='test -z "$ac_c_werror_flag"
16630 || test ! -s conftest.err'
16631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16632 (eval $ac_try) 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }; } &&
16636 { ac_try='test -s conftest$ac_exeext'
16637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16638 (eval $ac_try) 2>&5
16639 ac_status=$?
16640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16641 (exit $ac_status); }; }; then
16642 eval "$as_ac_var=yes"
16643 else
16644 echo "$as_me: failed program was:" >&5
16645 sed 's/^/| /' conftest.$ac_ext >&5
16646
16647 eval "$as_ac_var=no"
16648 fi
16649 rm -f conftest.err conftest.$ac_objext \
16650 conftest$ac_exeext conftest.$ac_ext
16651 fi
16652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16654 if test `eval echo '${'$as_ac_var'}'` = yes; then
16655 cat >>confdefs.h <<_ACEOF
16656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16657 _ACEOF
16658
16659 fi
16660 done
16661
16662 fi
16663 fi
16664
16665
16666
16667
16668
16669
16670 echo "$as_me:$LINENO: checking for modf declaration" >&5
16671 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
16672 if test x${glibcxx_cv_func_modf_use+set} != xset; then
16673 if test "${glibcxx_cv_func_modf_use+set}" = set; then
16674 echo $ECHO_N "(cached) $ECHO_C" >&6
16675 else
16676
16677
16678
16679 ac_ext=cc
16680 ac_cpp='$CXXCPP $CPPFLAGS'
16681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16684
16685 cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
16690 /* end confdefs.h. */
16691 #include <math.h>
16692 int
16693 main ()
16694 {
16695 modf(0, 0);
16696 ;
16697 return 0;
16698 }
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16702 (eval $ac_compile) 2>conftest.er1
16703 ac_status=$?
16704 grep -v '^ *+' conftest.er1 >conftest.err
16705 rm -f conftest.er1
16706 cat conftest.err >&5
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); } &&
16709 { ac_try='test -z "$ac_cxx_werror_flag"
16710 || test ! -s conftest.err'
16711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16712 (eval $ac_try) 2>&5
16713 ac_status=$?
16714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 (exit $ac_status); }; } &&
16716 { ac_try='test -s conftest.$ac_objext'
16717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 (eval $ac_try) 2>&5
16719 ac_status=$?
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); }; }; then
16722 glibcxx_cv_func_modf_use=yes
16723 else
16724 echo "$as_me: failed program was:" >&5
16725 sed 's/^/| /' conftest.$ac_ext >&5
16726
16727 glibcxx_cv_func_modf_use=no
16728 fi
16729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16730 ac_ext=c
16731 ac_cpp='$CPP $CPPFLAGS'
16732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16735
16736
16737 fi
16738
16739 fi
16740 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
16741 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
16742
16743 if test x$glibcxx_cv_func_modf_use = x"yes"; then
16744
16745 for ac_func in modf
16746 do
16747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16748 echo "$as_me:$LINENO: checking for $ac_func" >&5
16749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16750 if eval "test \"\${$as_ac_var+set}\" = set"; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 if test x$gcc_no_link = xyes; then
16754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16756 { (exit 1); exit 1; }; }
16757 fi
16758 cat >conftest.$ac_ext <<_ACEOF
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16766 #define $ac_func innocuous_$ac_func
16767
16768 /* System header to define __stub macros and hopefully few prototypes,
16769 which can conflict with char $ac_func (); below.
16770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16771 <limits.h> exists even on freestanding compilers. */
16772
16773 #ifdef __STDC__
16774 # include <limits.h>
16775 #else
16776 # include <assert.h>
16777 #endif
16778
16779 #undef $ac_func
16780
16781 /* Override any gcc2 internal prototype to avoid an error. */
16782 #ifdef __cplusplus
16783 extern "C"
16784 {
16785 #endif
16786 /* We use char because int might match the return type of a gcc2
16787 builtin and then its argument prototype would still apply. */
16788 char $ac_func ();
16789 /* The GNU C library defines this for functions which it implements
16790 to always fail with ENOSYS. Some functions are actually named
16791 something starting with __ and the normal name is an alias. */
16792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16793 choke me
16794 #else
16795 char (*f) () = $ac_func;
16796 #endif
16797 #ifdef __cplusplus
16798 }
16799 #endif
16800
16801 int
16802 main ()
16803 {
16804 return f != $ac_func;
16805 ;
16806 return 0;
16807 }
16808 _ACEOF
16809 rm -f conftest.$ac_objext conftest$ac_exeext
16810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16811 (eval $ac_link) 2>conftest.er1
16812 ac_status=$?
16813 grep -v '^ *+' conftest.er1 >conftest.err
16814 rm -f conftest.er1
16815 cat conftest.err >&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); } &&
16818 { ac_try='test -z "$ac_c_werror_flag"
16819 || test ! -s conftest.err'
16820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16821 (eval $ac_try) 2>&5
16822 ac_status=$?
16823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16824 (exit $ac_status); }; } &&
16825 { ac_try='test -s conftest$ac_exeext'
16826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16827 (eval $ac_try) 2>&5
16828 ac_status=$?
16829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16830 (exit $ac_status); }; }; then
16831 eval "$as_ac_var=yes"
16832 else
16833 echo "$as_me: failed program was:" >&5
16834 sed 's/^/| /' conftest.$ac_ext >&5
16835
16836 eval "$as_ac_var=no"
16837 fi
16838 rm -f conftest.err conftest.$ac_objext \
16839 conftest$ac_exeext conftest.$ac_ext
16840 fi
16841 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16842 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16843 if test `eval echo '${'$as_ac_var'}'` = yes; then
16844 cat >>confdefs.h <<_ACEOF
16845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16846 _ACEOF
16847
16848 fi
16849 done
16850
16851 else
16852
16853 echo "$as_me:$LINENO: checking for _modf declaration" >&5
16854 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
16855 if test x${glibcxx_cv_func__modf_use+set} != xset; then
16856 if test "${glibcxx_cv_func__modf_use+set}" = set; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16858 else
16859
16860
16861
16862 ac_ext=cc
16863 ac_cpp='$CXXCPP $CPPFLAGS'
16864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16867
16868 cat >conftest.$ac_ext <<_ACEOF
16869 /* confdefs.h. */
16870 _ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16874 #include <math.h>
16875 int
16876 main ()
16877 {
16878 _modf(0, 0);
16879 ;
16880 return 0;
16881 }
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16885 (eval $ac_compile) 2>conftest.er1
16886 ac_status=$?
16887 grep -v '^ *+' conftest.er1 >conftest.err
16888 rm -f conftest.er1
16889 cat conftest.err >&5
16890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16891 (exit $ac_status); } &&
16892 { ac_try='test -z "$ac_cxx_werror_flag"
16893 || test ! -s conftest.err'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16896 ac_status=$?
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; } &&
16899 { ac_try='test -s conftest.$ac_objext'
16900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16901 (eval $ac_try) 2>&5
16902 ac_status=$?
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); }; }; then
16905 glibcxx_cv_func__modf_use=yes
16906 else
16907 echo "$as_me: failed program was:" >&5
16908 sed 's/^/| /' conftest.$ac_ext >&5
16909
16910 glibcxx_cv_func__modf_use=no
16911 fi
16912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16913 ac_ext=c
16914 ac_cpp='$CPP $CPPFLAGS'
16915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16918
16919
16920 fi
16921
16922 fi
16923 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
16924 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
16925
16926 if test x$glibcxx_cv_func__modf_use = x"yes"; then
16927
16928 for ac_func in _modf
16929 do
16930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16931 echo "$as_me:$LINENO: checking for $ac_func" >&5
16932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16933 if eval "test \"\${$as_ac_var+set}\" = set"; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16935 else
16936 if test x$gcc_no_link = xyes; then
16937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16939 { (exit 1); exit 1; }; }
16940 fi
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16949 #define $ac_func innocuous_$ac_func
16950
16951 /* System header to define __stub macros and hopefully few prototypes,
16952 which can conflict with char $ac_func (); below.
16953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16954 <limits.h> exists even on freestanding compilers. */
16955
16956 #ifdef __STDC__
16957 # include <limits.h>
16958 #else
16959 # include <assert.h>
16960 #endif
16961
16962 #undef $ac_func
16963
16964 /* Override any gcc2 internal prototype to avoid an error. */
16965 #ifdef __cplusplus
16966 extern "C"
16967 {
16968 #endif
16969 /* We use char because int might match the return type of a gcc2
16970 builtin and then its argument prototype would still apply. */
16971 char $ac_func ();
16972 /* The GNU C library defines this for functions which it implements
16973 to always fail with ENOSYS. Some functions are actually named
16974 something starting with __ and the normal name is an alias. */
16975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16976 choke me
16977 #else
16978 char (*f) () = $ac_func;
16979 #endif
16980 #ifdef __cplusplus
16981 }
16982 #endif
16983
16984 int
16985 main ()
16986 {
16987 return f != $ac_func;
16988 ;
16989 return 0;
16990 }
16991 _ACEOF
16992 rm -f conftest.$ac_objext conftest$ac_exeext
16993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16994 (eval $ac_link) 2>conftest.er1
16995 ac_status=$?
16996 grep -v '^ *+' conftest.er1 >conftest.err
16997 rm -f conftest.er1
16998 cat conftest.err >&5
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); } &&
17001 { ac_try='test -z "$ac_c_werror_flag"
17002 || test ! -s conftest.err'
17003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17004 (eval $ac_try) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }; } &&
17008 { ac_try='test -s conftest$ac_exeext'
17009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17010 (eval $ac_try) 2>&5
17011 ac_status=$?
17012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17013 (exit $ac_status); }; }; then
17014 eval "$as_ac_var=yes"
17015 else
17016 echo "$as_me: failed program was:" >&5
17017 sed 's/^/| /' conftest.$ac_ext >&5
17018
17019 eval "$as_ac_var=no"
17020 fi
17021 rm -f conftest.err conftest.$ac_objext \
17022 conftest$ac_exeext conftest.$ac_ext
17023 fi
17024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17026 if test `eval echo '${'$as_ac_var'}'` = yes; then
17027 cat >>confdefs.h <<_ACEOF
17028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17029 _ACEOF
17030
17031 fi
17032 done
17033
17034 fi
17035 fi
17036
17037
17038
17039
17040
17041
17042 echo "$as_me:$LINENO: checking for powf declaration" >&5
17043 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17044 if test x${glibcxx_cv_func_powf_use+set} != xset; then
17045 if test "${glibcxx_cv_func_powf_use+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 else
17048
17049
17050
17051 ac_ext=cc
17052 ac_cpp='$CXXCPP $CPPFLAGS'
17053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17056
17057 cat >conftest.$ac_ext <<_ACEOF
17058 /* confdefs.h. */
17059 _ACEOF
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 #include <math.h>
17064 int
17065 main ()
17066 {
17067 powf(0, 0);
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 rm -f conftest.$ac_objext
17073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17074 (eval $ac_compile) 2>conftest.er1
17075 ac_status=$?
17076 grep -v '^ *+' conftest.er1 >conftest.err
17077 rm -f conftest.er1
17078 cat conftest.err >&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); } &&
17081 { ac_try='test -z "$ac_cxx_werror_flag"
17082 || test ! -s conftest.err'
17083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17084 (eval $ac_try) 2>&5
17085 ac_status=$?
17086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17087 (exit $ac_status); }; } &&
17088 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17094 glibcxx_cv_func_powf_use=yes
17095 else
17096 echo "$as_me: failed program was:" >&5
17097 sed 's/^/| /' conftest.$ac_ext >&5
17098
17099 glibcxx_cv_func_powf_use=no
17100 fi
17101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107
17108
17109 fi
17110
17111 fi
17112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17113 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17114
17115 if test x$glibcxx_cv_func_powf_use = x"yes"; then
17116
17117 for ac_func in powf
17118 do
17119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17120 echo "$as_me:$LINENO: checking for $ac_func" >&5
17121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17122 if eval "test \"\${$as_ac_var+set}\" = set"; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 else
17125 if test x$gcc_no_link = xyes; then
17126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17128 { (exit 1); exit 1; }; }
17129 fi
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17138 #define $ac_func innocuous_$ac_func
17139
17140 /* System header to define __stub macros and hopefully few prototypes,
17141 which can conflict with char $ac_func (); below.
17142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17143 <limits.h> exists even on freestanding compilers. */
17144
17145 #ifdef __STDC__
17146 # include <limits.h>
17147 #else
17148 # include <assert.h>
17149 #endif
17150
17151 #undef $ac_func
17152
17153 /* Override any gcc2 internal prototype to avoid an error. */
17154 #ifdef __cplusplus
17155 extern "C"
17156 {
17157 #endif
17158 /* We use char because int might match the return type of a gcc2
17159 builtin and then its argument prototype would still apply. */
17160 char $ac_func ();
17161 /* The GNU C library defines this for functions which it implements
17162 to always fail with ENOSYS. Some functions are actually named
17163 something starting with __ and the normal name is an alias. */
17164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17165 choke me
17166 #else
17167 char (*f) () = $ac_func;
17168 #endif
17169 #ifdef __cplusplus
17170 }
17171 #endif
17172
17173 int
17174 main ()
17175 {
17176 return f != $ac_func;
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 rm -f conftest.$ac_objext conftest$ac_exeext
17182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17183 (eval $ac_link) 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } &&
17190 { ac_try='test -z "$ac_c_werror_flag"
17191 || test ! -s conftest.err'
17192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193 (eval $ac_try) 2>&5
17194 ac_status=$?
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); }; } &&
17197 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17203 eval "$as_ac_var=yes"
17204 else
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17207
17208 eval "$as_ac_var=no"
17209 fi
17210 rm -f conftest.err conftest.$ac_objext \
17211 conftest$ac_exeext conftest.$ac_ext
17212 fi
17213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17215 if test `eval echo '${'$as_ac_var'}'` = yes; then
17216 cat >>confdefs.h <<_ACEOF
17217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17218 _ACEOF
17219
17220 fi
17221 done
17222
17223 else
17224
17225 echo "$as_me:$LINENO: checking for _powf declaration" >&5
17226 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
17227 if test x${glibcxx_cv_func__powf_use+set} != xset; then
17228 if test "${glibcxx_cv_func__powf_use+set}" = set; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17230 else
17231
17232
17233
17234 ac_ext=cc
17235 ac_cpp='$CXXCPP $CPPFLAGS'
17236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17239
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <math.h>
17247 int
17248 main ()
17249 {
17250 _powf(0, 0);
17251 ;
17252 return 0;
17253 }
17254 _ACEOF
17255 rm -f conftest.$ac_objext
17256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17257 (eval $ac_compile) 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } &&
17264 { ac_try='test -z "$ac_cxx_werror_flag"
17265 || test ! -s conftest.err'
17266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17267 (eval $ac_try) 2>&5
17268 ac_status=$?
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); }; } &&
17271 { ac_try='test -s conftest.$ac_objext'
17272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17273 (eval $ac_try) 2>&5
17274 ac_status=$?
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); }; }; then
17277 glibcxx_cv_func__powf_use=yes
17278 else
17279 echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 glibcxx_cv_func__powf_use=no
17283 fi
17284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17285 ac_ext=c
17286 ac_cpp='$CPP $CPPFLAGS'
17287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17290
17291
17292 fi
17293
17294 fi
17295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
17296 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
17297
17298 if test x$glibcxx_cv_func__powf_use = x"yes"; then
17299
17300 for ac_func in _powf
17301 do
17302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17303 echo "$as_me:$LINENO: checking for $ac_func" >&5
17304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17305 if eval "test \"\${$as_ac_var+set}\" = set"; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308 if test x$gcc_no_link = xyes; then
17309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17311 { (exit 1); exit 1; }; }
17312 fi
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17321 #define $ac_func innocuous_$ac_func
17322
17323 /* System header to define __stub macros and hopefully few prototypes,
17324 which can conflict with char $ac_func (); below.
17325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17326 <limits.h> exists even on freestanding compilers. */
17327
17328 #ifdef __STDC__
17329 # include <limits.h>
17330 #else
17331 # include <assert.h>
17332 #endif
17333
17334 #undef $ac_func
17335
17336 /* Override any gcc2 internal prototype to avoid an error. */
17337 #ifdef __cplusplus
17338 extern "C"
17339 {
17340 #endif
17341 /* We use char because int might match the return type of a gcc2
17342 builtin and then its argument prototype would still apply. */
17343 char $ac_func ();
17344 /* The GNU C library defines this for functions which it implements
17345 to always fail with ENOSYS. Some functions are actually named
17346 something starting with __ and the normal name is an alias. */
17347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17348 choke me
17349 #else
17350 char (*f) () = $ac_func;
17351 #endif
17352 #ifdef __cplusplus
17353 }
17354 #endif
17355
17356 int
17357 main ()
17358 {
17359 return f != $ac_func;
17360 ;
17361 return 0;
17362 }
17363 _ACEOF
17364 rm -f conftest.$ac_objext conftest$ac_exeext
17365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17366 (eval $ac_link) 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } &&
17373 { ac_try='test -z "$ac_c_werror_flag"
17374 || test ! -s conftest.err'
17375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17376 (eval $ac_try) 2>&5
17377 ac_status=$?
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); }; } &&
17380 { ac_try='test -s conftest$ac_exeext'
17381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17382 (eval $ac_try) 2>&5
17383 ac_status=$?
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); }; }; then
17386 eval "$as_ac_var=yes"
17387 else
17388 echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 eval "$as_ac_var=no"
17392 fi
17393 rm -f conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17395 fi
17396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17398 if test `eval echo '${'$as_ac_var'}'` = yes; then
17399 cat >>confdefs.h <<_ACEOF
17400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17401 _ACEOF
17402
17403 fi
17404 done
17405
17406 fi
17407 fi
17408
17409
17410
17411
17412
17413
17414 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
17415 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
17416 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
17417 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
17418 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 else
17420
17421
17422
17423 ac_ext=cc
17424 ac_cpp='$CXXCPP $CPPFLAGS'
17425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17428
17429 cat >conftest.$ac_ext <<_ACEOF
17430 /* confdefs.h. */
17431 _ACEOF
17432 cat confdefs.h >>conftest.$ac_ext
17433 cat >>conftest.$ac_ext <<_ACEOF
17434 /* end confdefs.h. */
17435 #include <math.h>
17436 #ifdef HAVE_IEEEFP_H
17437 #include <ieeefp.h>
17438 #endif
17439
17440 int
17441 main ()
17442 {
17443 sqrtf(0);
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 rm -f conftest.$ac_objext
17449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17450 (eval $ac_compile) 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -z "$ac_cxx_werror_flag"
17458 || test ! -s conftest.err'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17461 ac_status=$?
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; } &&
17464 { ac_try='test -s conftest.$ac_objext'
17465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17466 (eval $ac_try) 2>&5
17467 ac_status=$?
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); }; }; then
17470 glibcxx_cv_func_sqrtf_use=yes
17471 else
17472 echo "$as_me: failed program was:" >&5
17473 sed 's/^/| /' conftest.$ac_ext >&5
17474
17475 glibcxx_cv_func_sqrtf_use=no
17476 fi
17477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17478 ac_ext=c
17479 ac_cpp='$CPP $CPPFLAGS'
17480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17483
17484
17485 fi
17486
17487 fi
17488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
17489 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
17490
17491 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
17492
17493 for ac_func in sqrtf
17494 do
17495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17496 echo "$as_me:$LINENO: checking for $ac_func" >&5
17497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17498 if eval "test \"\${$as_ac_var+set}\" = set"; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 else
17501 if test x$gcc_no_link = xyes; then
17502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17504 { (exit 1); exit 1; }; }
17505 fi
17506 cat >conftest.$ac_ext <<_ACEOF
17507 /* confdefs.h. */
17508 _ACEOF
17509 cat confdefs.h >>conftest.$ac_ext
17510 cat >>conftest.$ac_ext <<_ACEOF
17511 /* end confdefs.h. */
17512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17514 #define $ac_func innocuous_$ac_func
17515
17516 /* System header to define __stub macros and hopefully few prototypes,
17517 which can conflict with char $ac_func (); below.
17518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17519 <limits.h> exists even on freestanding compilers. */
17520
17521 #ifdef __STDC__
17522 # include <limits.h>
17523 #else
17524 # include <assert.h>
17525 #endif
17526
17527 #undef $ac_func
17528
17529 /* Override any gcc2 internal prototype to avoid an error. */
17530 #ifdef __cplusplus
17531 extern "C"
17532 {
17533 #endif
17534 /* We use char because int might match the return type of a gcc2
17535 builtin and then its argument prototype would still apply. */
17536 char $ac_func ();
17537 /* The GNU C library defines this for functions which it implements
17538 to always fail with ENOSYS. Some functions are actually named
17539 something starting with __ and the normal name is an alias. */
17540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17541 choke me
17542 #else
17543 char (*f) () = $ac_func;
17544 #endif
17545 #ifdef __cplusplus
17546 }
17547 #endif
17548
17549 int
17550 main ()
17551 {
17552 return f != $ac_func;
17553 ;
17554 return 0;
17555 }
17556 _ACEOF
17557 rm -f conftest.$ac_objext conftest$ac_exeext
17558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17559 (eval $ac_link) 2>conftest.er1
17560 ac_status=$?
17561 grep -v '^ *+' conftest.er1 >conftest.err
17562 rm -f conftest.er1
17563 cat conftest.err >&5
17564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17565 (exit $ac_status); } &&
17566 { ac_try='test -z "$ac_c_werror_flag"
17567 || test ! -s conftest.err'
17568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17569 (eval $ac_try) 2>&5
17570 ac_status=$?
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); }; } &&
17573 { ac_try='test -s conftest$ac_exeext'
17574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17575 (eval $ac_try) 2>&5
17576 ac_status=$?
17577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17578 (exit $ac_status); }; }; then
17579 eval "$as_ac_var=yes"
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 eval "$as_ac_var=no"
17585 fi
17586 rm -f conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 fi
17589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17591 if test `eval echo '${'$as_ac_var'}'` = yes; then
17592 cat >>confdefs.h <<_ACEOF
17593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17594 _ACEOF
17595
17596 fi
17597 done
17598
17599 else
17600
17601 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
17602 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
17603 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
17604 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
17605 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 else
17607
17608
17609
17610 ac_ext=cc
17611 ac_cpp='$CXXCPP $CPPFLAGS'
17612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17615
17616 cat >conftest.$ac_ext <<_ACEOF
17617 /* confdefs.h. */
17618 _ACEOF
17619 cat confdefs.h >>conftest.$ac_ext
17620 cat >>conftest.$ac_ext <<_ACEOF
17621 /* end confdefs.h. */
17622 #include <math.h>
17623 #ifdef HAVE_IEEEFP_H
17624 #include <ieeefp.h>
17625 #endif
17626
17627 int
17628 main ()
17629 {
17630 _sqrtf(0);
17631 ;
17632 return 0;
17633 }
17634 _ACEOF
17635 rm -f conftest.$ac_objext
17636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17637 (eval $ac_compile) 2>conftest.er1
17638 ac_status=$?
17639 grep -v '^ *+' conftest.er1 >conftest.err
17640 rm -f conftest.er1
17641 cat conftest.err >&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); } &&
17644 { ac_try='test -z "$ac_cxx_werror_flag"
17645 || test ! -s conftest.err'
17646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17647 (eval $ac_try) 2>&5
17648 ac_status=$?
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); }; } &&
17651 { ac_try='test -s conftest.$ac_objext'
17652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17653 (eval $ac_try) 2>&5
17654 ac_status=$?
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); }; }; then
17657 glibcxx_cv_func__sqrtf_use=yes
17658 else
17659 echo "$as_me: failed program was:" >&5
17660 sed 's/^/| /' conftest.$ac_ext >&5
17661
17662 glibcxx_cv_func__sqrtf_use=no
17663 fi
17664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17665 ac_ext=c
17666 ac_cpp='$CPP $CPPFLAGS'
17667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17670
17671
17672 fi
17673
17674 fi
17675 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
17676 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
17677
17678 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
17679
17680 for ac_func in _sqrtf
17681 do
17682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17683 echo "$as_me:$LINENO: checking for $ac_func" >&5
17684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17685 if eval "test \"\${$as_ac_var+set}\" = set"; then
17686 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 else
17688 if test x$gcc_no_link = xyes; then
17689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17691 { (exit 1); exit 1; }; }
17692 fi
17693 cat >conftest.$ac_ext <<_ACEOF
17694 /* confdefs.h. */
17695 _ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17701 #define $ac_func innocuous_$ac_func
17702
17703 /* System header to define __stub macros and hopefully few prototypes,
17704 which can conflict with char $ac_func (); below.
17705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17706 <limits.h> exists even on freestanding compilers. */
17707
17708 #ifdef __STDC__
17709 # include <limits.h>
17710 #else
17711 # include <assert.h>
17712 #endif
17713
17714 #undef $ac_func
17715
17716 /* Override any gcc2 internal prototype to avoid an error. */
17717 #ifdef __cplusplus
17718 extern "C"
17719 {
17720 #endif
17721 /* We use char because int might match the return type of a gcc2
17722 builtin and then its argument prototype would still apply. */
17723 char $ac_func ();
17724 /* The GNU C library defines this for functions which it implements
17725 to always fail with ENOSYS. Some functions are actually named
17726 something starting with __ and the normal name is an alias. */
17727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17728 choke me
17729 #else
17730 char (*f) () = $ac_func;
17731 #endif
17732 #ifdef __cplusplus
17733 }
17734 #endif
17735
17736 int
17737 main ()
17738 {
17739 return f != $ac_func;
17740 ;
17741 return 0;
17742 }
17743 _ACEOF
17744 rm -f conftest.$ac_objext conftest$ac_exeext
17745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17746 (eval $ac_link) 2>conftest.er1
17747 ac_status=$?
17748 grep -v '^ *+' conftest.er1 >conftest.err
17749 rm -f conftest.er1
17750 cat conftest.err >&5
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); } &&
17753 { ac_try='test -z "$ac_c_werror_flag"
17754 || test ! -s conftest.err'
17755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 (eval $ac_try) 2>&5
17757 ac_status=$?
17758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17759 (exit $ac_status); }; } &&
17760 { ac_try='test -s conftest$ac_exeext'
17761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17762 (eval $ac_try) 2>&5
17763 ac_status=$?
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); }; }; then
17766 eval "$as_ac_var=yes"
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 eval "$as_ac_var=no"
17772 fi
17773 rm -f conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775 fi
17776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17778 if test `eval echo '${'$as_ac_var'}'` = yes; then
17779 cat >>confdefs.h <<_ACEOF
17780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17781 _ACEOF
17782
17783 fi
17784 done
17785
17786 fi
17787 fi
17788
17789
17790
17791
17792
17793
17794 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
17795 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
17796 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
17797 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800
17801
17802
17803 ac_ext=cc
17804 ac_cpp='$CXXCPP $CPPFLAGS'
17805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17808
17809 cat >conftest.$ac_ext <<_ACEOF
17810 /* confdefs.h. */
17811 _ACEOF
17812 cat confdefs.h >>conftest.$ac_ext
17813 cat >>conftest.$ac_ext <<_ACEOF
17814 /* end confdefs.h. */
17815 #include <math.h>
17816 int
17817 main ()
17818 {
17819 sincosf(0, 0, 0);
17820 ;
17821 return 0;
17822 }
17823 _ACEOF
17824 rm -f conftest.$ac_objext
17825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17826 (eval $ac_compile) 2>conftest.er1
17827 ac_status=$?
17828 grep -v '^ *+' conftest.er1 >conftest.err
17829 rm -f conftest.er1
17830 cat conftest.err >&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); } &&
17833 { ac_try='test -z "$ac_cxx_werror_flag"
17834 || test ! -s conftest.err'
17835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17836 (eval $ac_try) 2>&5
17837 ac_status=$?
17838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17839 (exit $ac_status); }; } &&
17840 { ac_try='test -s conftest.$ac_objext'
17841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17842 (eval $ac_try) 2>&5
17843 ac_status=$?
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); }; }; then
17846 glibcxx_cv_func_sincosf_use=yes
17847 else
17848 echo "$as_me: failed program was:" >&5
17849 sed 's/^/| /' conftest.$ac_ext >&5
17850
17851 glibcxx_cv_func_sincosf_use=no
17852 fi
17853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17854 ac_ext=c
17855 ac_cpp='$CPP $CPPFLAGS'
17856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17859
17860
17861 fi
17862
17863 fi
17864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17865 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17866
17867 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17868
17869 for ac_func in sincosf
17870 do
17871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17872 echo "$as_me:$LINENO: checking for $ac_func" >&5
17873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17874 if eval "test \"\${$as_ac_var+set}\" = set"; then
17875 echo $ECHO_N "(cached) $ECHO_C" >&6
17876 else
17877 if test x$gcc_no_link = xyes; then
17878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17880 { (exit 1); exit 1; }; }
17881 fi
17882 cat >conftest.$ac_ext <<_ACEOF
17883 /* confdefs.h. */
17884 _ACEOF
17885 cat confdefs.h >>conftest.$ac_ext
17886 cat >>conftest.$ac_ext <<_ACEOF
17887 /* end confdefs.h. */
17888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17890 #define $ac_func innocuous_$ac_func
17891
17892 /* System header to define __stub macros and hopefully few prototypes,
17893 which can conflict with char $ac_func (); below.
17894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17895 <limits.h> exists even on freestanding compilers. */
17896
17897 #ifdef __STDC__
17898 # include <limits.h>
17899 #else
17900 # include <assert.h>
17901 #endif
17902
17903 #undef $ac_func
17904
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 #ifdef __cplusplus
17907 extern "C"
17908 {
17909 #endif
17910 /* We use char because int might match the return type of a gcc2
17911 builtin and then its argument prototype would still apply. */
17912 char $ac_func ();
17913 /* The GNU C library defines this for functions which it implements
17914 to always fail with ENOSYS. Some functions are actually named
17915 something starting with __ and the normal name is an alias. */
17916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17917 choke me
17918 #else
17919 char (*f) () = $ac_func;
17920 #endif
17921 #ifdef __cplusplus
17922 }
17923 #endif
17924
17925 int
17926 main ()
17927 {
17928 return f != $ac_func;
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 rm -f conftest.$ac_objext conftest$ac_exeext
17934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17935 (eval $ac_link) 2>conftest.er1
17936 ac_status=$?
17937 grep -v '^ *+' conftest.er1 >conftest.err
17938 rm -f conftest.er1
17939 cat conftest.err >&5
17940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17941 (exit $ac_status); } &&
17942 { ac_try='test -z "$ac_c_werror_flag"
17943 || test ! -s conftest.err'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17946 ac_status=$?
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; } &&
17949 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
17955 eval "$as_ac_var=yes"
17956 else
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17959
17960 eval "$as_ac_var=no"
17961 fi
17962 rm -f conftest.err conftest.$ac_objext \
17963 conftest$ac_exeext conftest.$ac_ext
17964 fi
17965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17967 if test `eval echo '${'$as_ac_var'}'` = yes; then
17968 cat >>confdefs.h <<_ACEOF
17969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17970 _ACEOF
17971
17972 fi
17973 done
17974
17975 else
17976
17977 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17978 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17979 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17980 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17981 echo $ECHO_N "(cached) $ECHO_C" >&6
17982 else
17983
17984
17985
17986 ac_ext=cc
17987 ac_cpp='$CXXCPP $CPPFLAGS'
17988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17991
17992 cat >conftest.$ac_ext <<_ACEOF
17993 /* confdefs.h. */
17994 _ACEOF
17995 cat confdefs.h >>conftest.$ac_ext
17996 cat >>conftest.$ac_ext <<_ACEOF
17997 /* end confdefs.h. */
17998 #include <math.h>
17999 int
18000 main ()
18001 {
18002 _sincosf(0, 0, 0);
18003 ;
18004 return 0;
18005 }
18006 _ACEOF
18007 rm -f conftest.$ac_objext
18008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18009 (eval $ac_compile) 2>conftest.er1
18010 ac_status=$?
18011 grep -v '^ *+' conftest.er1 >conftest.err
18012 rm -f conftest.er1
18013 cat conftest.err >&5
18014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18015 (exit $ac_status); } &&
18016 { ac_try='test -z "$ac_cxx_werror_flag"
18017 || test ! -s conftest.err'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; } &&
18023 { ac_try='test -s conftest.$ac_objext'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18026 ac_status=$?
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; }; then
18029 glibcxx_cv_func__sincosf_use=yes
18030 else
18031 echo "$as_me: failed program was:" >&5
18032 sed 's/^/| /' conftest.$ac_ext >&5
18033
18034 glibcxx_cv_func__sincosf_use=no
18035 fi
18036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18037 ac_ext=c
18038 ac_cpp='$CPP $CPPFLAGS'
18039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18042
18043
18044 fi
18045
18046 fi
18047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18048 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18049
18050 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18051
18052 for ac_func in _sincosf
18053 do
18054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18055 echo "$as_me:$LINENO: checking for $ac_func" >&5
18056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18057 if eval "test \"\${$as_ac_var+set}\" = set"; then
18058 echo $ECHO_N "(cached) $ECHO_C" >&6
18059 else
18060 if test x$gcc_no_link = xyes; then
18061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18063 { (exit 1); exit 1; }; }
18064 fi
18065 cat >conftest.$ac_ext <<_ACEOF
18066 /* confdefs.h. */
18067 _ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18073 #define $ac_func innocuous_$ac_func
18074
18075 /* System header to define __stub macros and hopefully few prototypes,
18076 which can conflict with char $ac_func (); below.
18077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18078 <limits.h> exists even on freestanding compilers. */
18079
18080 #ifdef __STDC__
18081 # include <limits.h>
18082 #else
18083 # include <assert.h>
18084 #endif
18085
18086 #undef $ac_func
18087
18088 /* Override any gcc2 internal prototype to avoid an error. */
18089 #ifdef __cplusplus
18090 extern "C"
18091 {
18092 #endif
18093 /* We use char because int might match the return type of a gcc2
18094 builtin and then its argument prototype would still apply. */
18095 char $ac_func ();
18096 /* The GNU C library defines this for functions which it implements
18097 to always fail with ENOSYS. Some functions are actually named
18098 something starting with __ and the normal name is an alias. */
18099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18100 choke me
18101 #else
18102 char (*f) () = $ac_func;
18103 #endif
18104 #ifdef __cplusplus
18105 }
18106 #endif
18107
18108 int
18109 main ()
18110 {
18111 return f != $ac_func;
18112 ;
18113 return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext conftest$ac_exeext
18117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18118 (eval $ac_link) 2>conftest.er1
18119 ac_status=$?
18120 grep -v '^ *+' conftest.er1 >conftest.err
18121 rm -f conftest.er1
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } &&
18125 { ac_try='test -z "$ac_c_werror_flag"
18126 || test ! -s conftest.err'
18127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18128 (eval $ac_try) 2>&5
18129 ac_status=$?
18130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 (exit $ac_status); }; } &&
18132 { ac_try='test -s conftest$ac_exeext'
18133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18134 (eval $ac_try) 2>&5
18135 ac_status=$?
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); }; }; then
18138 eval "$as_ac_var=yes"
18139 else
18140 echo "$as_me: failed program was:" >&5
18141 sed 's/^/| /' conftest.$ac_ext >&5
18142
18143 eval "$as_ac_var=no"
18144 fi
18145 rm -f conftest.err conftest.$ac_objext \
18146 conftest$ac_exeext conftest.$ac_ext
18147 fi
18148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18150 if test `eval echo '${'$as_ac_var'}'` = yes; then
18151 cat >>confdefs.h <<_ACEOF
18152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18153 _ACEOF
18154
18155 fi
18156 done
18157
18158 fi
18159 fi
18160
18161
18162
18163
18164
18165
18166 echo "$as_me:$LINENO: checking for finitef declaration" >&5
18167 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
18168 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
18169 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
18170 echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172
18173
18174
18175 ac_ext=cc
18176 ac_cpp='$CXXCPP $CPPFLAGS'
18177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18180
18181 cat >conftest.$ac_ext <<_ACEOF
18182 /* confdefs.h. */
18183 _ACEOF
18184 cat confdefs.h >>conftest.$ac_ext
18185 cat >>conftest.$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 #include <math.h>
18188 #ifdef HAVE_IEEEFP_H
18189 #include <ieeefp.h>
18190 #endif
18191
18192 int
18193 main ()
18194 {
18195 finitef(0);
18196 ;
18197 return 0;
18198 }
18199 _ACEOF
18200 rm -f conftest.$ac_objext
18201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18202 (eval $ac_compile) 2>conftest.er1
18203 ac_status=$?
18204 grep -v '^ *+' conftest.er1 >conftest.err
18205 rm -f conftest.er1
18206 cat conftest.err >&5
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); } &&
18209 { ac_try='test -z "$ac_cxx_werror_flag"
18210 || test ! -s conftest.err'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18213 ac_status=$?
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; } &&
18216 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18222 glibcxx_cv_func_finitef_use=yes
18223 else
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.$ac_ext >&5
18226
18227 glibcxx_cv_func_finitef_use=no
18228 fi
18229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18230 ac_ext=c
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235
18236
18237 fi
18238
18239 fi
18240 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
18241 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
18242
18243 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
18244
18245 for ac_func in finitef
18246 do
18247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18248 echo "$as_me:$LINENO: checking for $ac_func" >&5
18249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18250 if eval "test \"\${$as_ac_var+set}\" = set"; then
18251 echo $ECHO_N "(cached) $ECHO_C" >&6
18252 else
18253 if test x$gcc_no_link = xyes; then
18254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18256 { (exit 1); exit 1; }; }
18257 fi
18258 cat >conftest.$ac_ext <<_ACEOF
18259 /* confdefs.h. */
18260 _ACEOF
18261 cat confdefs.h >>conftest.$ac_ext
18262 cat >>conftest.$ac_ext <<_ACEOF
18263 /* end confdefs.h. */
18264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18266 #define $ac_func innocuous_$ac_func
18267
18268 /* System header to define __stub macros and hopefully few prototypes,
18269 which can conflict with char $ac_func (); below.
18270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18271 <limits.h> exists even on freestanding compilers. */
18272
18273 #ifdef __STDC__
18274 # include <limits.h>
18275 #else
18276 # include <assert.h>
18277 #endif
18278
18279 #undef $ac_func
18280
18281 /* Override any gcc2 internal prototype to avoid an error. */
18282 #ifdef __cplusplus
18283 extern "C"
18284 {
18285 #endif
18286 /* We use char because int might match the return type of a gcc2
18287 builtin and then its argument prototype would still apply. */
18288 char $ac_func ();
18289 /* The GNU C library defines this for functions which it implements
18290 to always fail with ENOSYS. Some functions are actually named
18291 something starting with __ and the normal name is an alias. */
18292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18293 choke me
18294 #else
18295 char (*f) () = $ac_func;
18296 #endif
18297 #ifdef __cplusplus
18298 }
18299 #endif
18300
18301 int
18302 main ()
18303 {
18304 return f != $ac_func;
18305 ;
18306 return 0;
18307 }
18308 _ACEOF
18309 rm -f conftest.$ac_objext conftest$ac_exeext
18310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18311 (eval $ac_link) 2>conftest.er1
18312 ac_status=$?
18313 grep -v '^ *+' conftest.er1 >conftest.err
18314 rm -f conftest.er1
18315 cat conftest.err >&5
18316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18317 (exit $ac_status); } &&
18318 { ac_try='test -z "$ac_c_werror_flag"
18319 || test ! -s conftest.err'
18320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18321 (eval $ac_try) 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; } &&
18325 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18331 eval "$as_ac_var=yes"
18332 else
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18335
18336 eval "$as_ac_var=no"
18337 fi
18338 rm -f conftest.err conftest.$ac_objext \
18339 conftest$ac_exeext conftest.$ac_ext
18340 fi
18341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18343 if test `eval echo '${'$as_ac_var'}'` = yes; then
18344 cat >>confdefs.h <<_ACEOF
18345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18346 _ACEOF
18347
18348 fi
18349 done
18350
18351 else
18352
18353 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
18354 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
18355 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
18356 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
18357 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 else
18359
18360
18361
18362 ac_ext=cc
18363 ac_cpp='$CXXCPP $CPPFLAGS'
18364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18367
18368 cat >conftest.$ac_ext <<_ACEOF
18369 /* confdefs.h. */
18370 _ACEOF
18371 cat confdefs.h >>conftest.$ac_ext
18372 cat >>conftest.$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18374 #include <math.h>
18375 #ifdef HAVE_IEEEFP_H
18376 #include <ieeefp.h>
18377 #endif
18378
18379 int
18380 main ()
18381 {
18382 _finitef(0);
18383 ;
18384 return 0;
18385 }
18386 _ACEOF
18387 rm -f conftest.$ac_objext
18388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18389 (eval $ac_compile) 2>conftest.er1
18390 ac_status=$?
18391 grep -v '^ *+' conftest.er1 >conftest.err
18392 rm -f conftest.er1
18393 cat conftest.err >&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } &&
18396 { ac_try='test -z "$ac_cxx_werror_flag"
18397 || test ! -s conftest.err'
18398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18399 (eval $ac_try) 2>&5
18400 ac_status=$?
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); }; } &&
18403 { ac_try='test -s conftest.$ac_objext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 glibcxx_cv_func__finitef_use=yes
18410 else
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18413
18414 glibcxx_cv_func__finitef_use=no
18415 fi
18416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18417 ac_ext=c
18418 ac_cpp='$CPP $CPPFLAGS'
18419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18422
18423
18424 fi
18425
18426 fi
18427 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
18428 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
18429
18430 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
18431
18432 for ac_func in _finitef
18433 do
18434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18435 echo "$as_me:$LINENO: checking for $ac_func" >&5
18436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18437 if eval "test \"\${$as_ac_var+set}\" = set"; then
18438 echo $ECHO_N "(cached) $ECHO_C" >&6
18439 else
18440 if test x$gcc_no_link = xyes; then
18441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18443 { (exit 1); exit 1; }; }
18444 fi
18445 cat >conftest.$ac_ext <<_ACEOF
18446 /* confdefs.h. */
18447 _ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18453 #define $ac_func innocuous_$ac_func
18454
18455 /* System header to define __stub macros and hopefully few prototypes,
18456 which can conflict with char $ac_func (); below.
18457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18458 <limits.h> exists even on freestanding compilers. */
18459
18460 #ifdef __STDC__
18461 # include <limits.h>
18462 #else
18463 # include <assert.h>
18464 #endif
18465
18466 #undef $ac_func
18467
18468 /* Override any gcc2 internal prototype to avoid an error. */
18469 #ifdef __cplusplus
18470 extern "C"
18471 {
18472 #endif
18473 /* We use char because int might match the return type of a gcc2
18474 builtin and then its argument prototype would still apply. */
18475 char $ac_func ();
18476 /* The GNU C library defines this for functions which it implements
18477 to always fail with ENOSYS. Some functions are actually named
18478 something starting with __ and the normal name is an alias. */
18479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18480 choke me
18481 #else
18482 char (*f) () = $ac_func;
18483 #endif
18484 #ifdef __cplusplus
18485 }
18486 #endif
18487
18488 int
18489 main ()
18490 {
18491 return f != $ac_func;
18492 ;
18493 return 0;
18494 }
18495 _ACEOF
18496 rm -f conftest.$ac_objext conftest$ac_exeext
18497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18498 (eval $ac_link) 2>conftest.er1
18499 ac_status=$?
18500 grep -v '^ *+' conftest.er1 >conftest.err
18501 rm -f conftest.er1
18502 cat conftest.err >&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); } &&
18505 { ac_try='test -z "$ac_c_werror_flag"
18506 || test ! -s conftest.err'
18507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18508 (eval $ac_try) 2>&5
18509 ac_status=$?
18510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18511 (exit $ac_status); }; } &&
18512 { ac_try='test -s conftest$ac_exeext'
18513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18514 (eval $ac_try) 2>&5
18515 ac_status=$?
18516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18517 (exit $ac_status); }; }; then
18518 eval "$as_ac_var=yes"
18519 else
18520 echo "$as_me: failed program was:" >&5
18521 sed 's/^/| /' conftest.$ac_ext >&5
18522
18523 eval "$as_ac_var=no"
18524 fi
18525 rm -f conftest.err conftest.$ac_objext \
18526 conftest$ac_exeext conftest.$ac_ext
18527 fi
18528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18530 if test `eval echo '${'$as_ac_var'}'` = yes; then
18531 cat >>confdefs.h <<_ACEOF
18532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18533 _ACEOF
18534
18535 fi
18536 done
18537
18538 fi
18539 fi
18540
18541
18542
18543
18544
18545
18546 echo "$as_me:$LINENO: checking for long double trig functions" >&5
18547 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
18548 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
18549 echo $ECHO_N "(cached) $ECHO_C" >&6
18550 else
18551
18552
18553
18554 ac_ext=cc
18555 ac_cpp='$CXXCPP $CPPFLAGS'
18556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18559
18560 cat >conftest.$ac_ext <<_ACEOF
18561 /* confdefs.h. */
18562 _ACEOF
18563 cat confdefs.h >>conftest.$ac_ext
18564 cat >>conftest.$ac_ext <<_ACEOF
18565 /* end confdefs.h. */
18566 #include <math.h>
18567 int
18568 main ()
18569 {
18570 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18577 (eval $ac_compile) 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } &&
18584 { ac_try='test -z "$ac_cxx_werror_flag"
18585 || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 glibcxx_cv_func_long_double_trig_use=yes
18598 else
18599 echo "$as_me: failed program was:" >&5
18600 sed 's/^/| /' conftest.$ac_ext >&5
18601
18602 glibcxx_cv_func_long_double_trig_use=no
18603 fi
18604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18605 ac_ext=c
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18610
18611 fi
18612
18613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
18614 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
18615 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
18626 do
18627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18628 echo "$as_me:$LINENO: checking for $ac_func" >&5
18629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18630 if eval "test \"\${$as_ac_var+set}\" = set"; then
18631 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 else
18633 if test x$gcc_no_link = xyes; then
18634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18636 { (exit 1); exit 1; }; }
18637 fi
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18646 #define $ac_func innocuous_$ac_func
18647
18648 /* System header to define __stub macros and hopefully few prototypes,
18649 which can conflict with char $ac_func (); below.
18650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18651 <limits.h> exists even on freestanding compilers. */
18652
18653 #ifdef __STDC__
18654 # include <limits.h>
18655 #else
18656 # include <assert.h>
18657 #endif
18658
18659 #undef $ac_func
18660
18661 /* Override any gcc2 internal prototype to avoid an error. */
18662 #ifdef __cplusplus
18663 extern "C"
18664 {
18665 #endif
18666 /* We use char because int might match the return type of a gcc2
18667 builtin and then its argument prototype would still apply. */
18668 char $ac_func ();
18669 /* The GNU C library defines this for functions which it implements
18670 to always fail with ENOSYS. Some functions are actually named
18671 something starting with __ and the normal name is an alias. */
18672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18673 choke me
18674 #else
18675 char (*f) () = $ac_func;
18676 #endif
18677 #ifdef __cplusplus
18678 }
18679 #endif
18680
18681 int
18682 main ()
18683 {
18684 return f != $ac_func;
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 rm -f conftest.$ac_objext conftest$ac_exeext
18690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18691 (eval $ac_link) 2>conftest.er1
18692 ac_status=$?
18693 grep -v '^ *+' conftest.er1 >conftest.err
18694 rm -f conftest.er1
18695 cat conftest.err >&5
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } &&
18698 { ac_try='test -z "$ac_c_werror_flag"
18699 || test ! -s conftest.err'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; } &&
18705 { ac_try='test -s conftest$ac_exeext'
18706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18707 (eval $ac_try) 2>&5
18708 ac_status=$?
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); }; }; then
18711 eval "$as_ac_var=yes"
18712 else
18713 echo "$as_me: failed program was:" >&5
18714 sed 's/^/| /' conftest.$ac_ext >&5
18715
18716 eval "$as_ac_var=no"
18717 fi
18718 rm -f conftest.err conftest.$ac_objext \
18719 conftest$ac_exeext conftest.$ac_ext
18720 fi
18721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18723 if test `eval echo '${'$as_ac_var'}'` = yes; then
18724 cat >>confdefs.h <<_ACEOF
18725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18726 _ACEOF
18727
18728 fi
18729 done
18730
18731 else
18732 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
18733 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
18734 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 else
18737
18738
18739
18740 ac_ext=cc
18741 ac_cpp='$CXXCPP $CPPFLAGS'
18742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18745
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <math.h>
18753 int
18754 main ()
18755 {
18756 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
18757 ;
18758 return 0;
18759 }
18760 _ACEOF
18761 rm -f conftest.$ac_objext
18762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18763 (eval $ac_compile) 2>conftest.er1
18764 ac_status=$?
18765 grep -v '^ *+' conftest.er1 >conftest.err
18766 rm -f conftest.er1
18767 cat conftest.err >&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); } &&
18770 { ac_try='test -z "$ac_cxx_werror_flag"
18771 || test ! -s conftest.err'
18772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18773 (eval $ac_try) 2>&5
18774 ac_status=$?
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); }; } &&
18777 { ac_try='test -s conftest.$ac_objext'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18780 ac_status=$?
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; }; then
18783 glibcxx_cv_func__long_double_trig_use=yes
18784 else
18785 echo "$as_me: failed program was:" >&5
18786 sed 's/^/| /' conftest.$ac_ext >&5
18787
18788 glibcxx_cv_func__long_double_trig_use=no
18789 fi
18790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18791 ac_ext=c
18792 ac_cpp='$CPP $CPPFLAGS'
18793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18796
18797 fi
18798
18799 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
18800 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
18801 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
18812 do
18813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18814 echo "$as_me:$LINENO: checking for $ac_func" >&5
18815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18816 if eval "test \"\${$as_ac_var+set}\" = set"; then
18817 echo $ECHO_N "(cached) $ECHO_C" >&6
18818 else
18819 if test x$gcc_no_link = xyes; then
18820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18822 { (exit 1); exit 1; }; }
18823 fi
18824 cat >conftest.$ac_ext <<_ACEOF
18825 /* confdefs.h. */
18826 _ACEOF
18827 cat confdefs.h >>conftest.$ac_ext
18828 cat >>conftest.$ac_ext <<_ACEOF
18829 /* end confdefs.h. */
18830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18832 #define $ac_func innocuous_$ac_func
18833
18834 /* System header to define __stub macros and hopefully few prototypes,
18835 which can conflict with char $ac_func (); below.
18836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18837 <limits.h> exists even on freestanding compilers. */
18838
18839 #ifdef __STDC__
18840 # include <limits.h>
18841 #else
18842 # include <assert.h>
18843 #endif
18844
18845 #undef $ac_func
18846
18847 /* Override any gcc2 internal prototype to avoid an error. */
18848 #ifdef __cplusplus
18849 extern "C"
18850 {
18851 #endif
18852 /* We use char because int might match the return type of a gcc2
18853 builtin and then its argument prototype would still apply. */
18854 char $ac_func ();
18855 /* The GNU C library defines this for functions which it implements
18856 to always fail with ENOSYS. Some functions are actually named
18857 something starting with __ and the normal name is an alias. */
18858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18859 choke me
18860 #else
18861 char (*f) () = $ac_func;
18862 #endif
18863 #ifdef __cplusplus
18864 }
18865 #endif
18866
18867 int
18868 main ()
18869 {
18870 return f != $ac_func;
18871 ;
18872 return 0;
18873 }
18874 _ACEOF
18875 rm -f conftest.$ac_objext conftest$ac_exeext
18876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18877 (eval $ac_link) 2>conftest.er1
18878 ac_status=$?
18879 grep -v '^ *+' conftest.er1 >conftest.err
18880 rm -f conftest.er1
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } &&
18884 { ac_try='test -z "$ac_c_werror_flag"
18885 || test ! -s conftest.err'
18886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18887 (eval $ac_try) 2>&5
18888 ac_status=$?
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); }; } &&
18891 { ac_try='test -s conftest$ac_exeext'
18892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18893 (eval $ac_try) 2>&5
18894 ac_status=$?
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; }; then
18897 eval "$as_ac_var=yes"
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 eval "$as_ac_var=no"
18903 fi
18904 rm -f conftest.err conftest.$ac_objext \
18905 conftest$ac_exeext conftest.$ac_ext
18906 fi
18907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18909 if test `eval echo '${'$as_ac_var'}'` = yes; then
18910 cat >>confdefs.h <<_ACEOF
18911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18912 _ACEOF
18913
18914 fi
18915 done
18916
18917 fi
18918 fi
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933 echo "$as_me:$LINENO: checking for long double round functions" >&5
18934 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
18935 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18937 else
18938
18939
18940
18941 ac_ext=cc
18942 ac_cpp='$CXXCPP $CPPFLAGS'
18943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18946
18947 cat >conftest.$ac_ext <<_ACEOF
18948 /* confdefs.h. */
18949 _ACEOF
18950 cat confdefs.h >>conftest.$ac_ext
18951 cat >>conftest.$ac_ext <<_ACEOF
18952 /* end confdefs.h. */
18953 #include <math.h>
18954 int
18955 main ()
18956 {
18957 ceill (0); floorl (0);
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18964 (eval $ac_compile) 2>conftest.er1
18965 ac_status=$?
18966 grep -v '^ *+' conftest.er1 >conftest.err
18967 rm -f conftest.er1
18968 cat conftest.err >&5
18969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970 (exit $ac_status); } &&
18971 { ac_try='test -z "$ac_cxx_werror_flag"
18972 || test ! -s conftest.err'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; } &&
18978 { ac_try='test -s conftest.$ac_objext'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; }; then
18984 glibcxx_cv_func_long_double_round_use=yes
18985 else
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18988
18989 glibcxx_cv_func_long_double_round_use=no
18990 fi
18991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18992 ac_ext=c
18993 ac_cpp='$CPP $CPPFLAGS'
18994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18997
18998 fi
18999
19000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19001 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19002 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19003
19004
19005 for ac_func in ceill floorl
19006 do
19007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19008 echo "$as_me:$LINENO: checking for $ac_func" >&5
19009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19010 if eval "test \"\${$as_ac_var+set}\" = set"; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013 if test x$gcc_no_link = xyes; then
19014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19016 { (exit 1); exit 1; }; }
19017 fi
19018 cat >conftest.$ac_ext <<_ACEOF
19019 /* confdefs.h. */
19020 _ACEOF
19021 cat confdefs.h >>conftest.$ac_ext
19022 cat >>conftest.$ac_ext <<_ACEOF
19023 /* end confdefs.h. */
19024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19026 #define $ac_func innocuous_$ac_func
19027
19028 /* System header to define __stub macros and hopefully few prototypes,
19029 which can conflict with char $ac_func (); below.
19030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19031 <limits.h> exists even on freestanding compilers. */
19032
19033 #ifdef __STDC__
19034 # include <limits.h>
19035 #else
19036 # include <assert.h>
19037 #endif
19038
19039 #undef $ac_func
19040
19041 /* Override any gcc2 internal prototype to avoid an error. */
19042 #ifdef __cplusplus
19043 extern "C"
19044 {
19045 #endif
19046 /* We use char because int might match the return type of a gcc2
19047 builtin and then its argument prototype would still apply. */
19048 char $ac_func ();
19049 /* The GNU C library defines this for functions which it implements
19050 to always fail with ENOSYS. Some functions are actually named
19051 something starting with __ and the normal name is an alias. */
19052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19053 choke me
19054 #else
19055 char (*f) () = $ac_func;
19056 #endif
19057 #ifdef __cplusplus
19058 }
19059 #endif
19060
19061 int
19062 main ()
19063 {
19064 return f != $ac_func;
19065 ;
19066 return 0;
19067 }
19068 _ACEOF
19069 rm -f conftest.$ac_objext conftest$ac_exeext
19070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19071 (eval $ac_link) 2>conftest.er1
19072 ac_status=$?
19073 grep -v '^ *+' conftest.er1 >conftest.err
19074 rm -f conftest.er1
19075 cat conftest.err >&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try='test -z "$ac_c_werror_flag"
19079 || test ! -s conftest.err'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19082 ac_status=$?
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; } &&
19085 { ac_try='test -s conftest$ac_exeext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19088 ac_status=$?
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19091 eval "$as_ac_var=yes"
19092 else
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.$ac_ext >&5
19095
19096 eval "$as_ac_var=no"
19097 fi
19098 rm -f conftest.err conftest.$ac_objext \
19099 conftest$ac_exeext conftest.$ac_ext
19100 fi
19101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19103 if test `eval echo '${'$as_ac_var'}'` = yes; then
19104 cat >>confdefs.h <<_ACEOF
19105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19106 _ACEOF
19107
19108 fi
19109 done
19110
19111 else
19112 echo "$as_me:$LINENO: checking for _long double round functions" >&5
19113 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
19114 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 else
19117
19118
19119
19120 ac_ext=cc
19121 ac_cpp='$CXXCPP $CPPFLAGS'
19122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19125
19126 cat >conftest.$ac_ext <<_ACEOF
19127 /* confdefs.h. */
19128 _ACEOF
19129 cat confdefs.h >>conftest.$ac_ext
19130 cat >>conftest.$ac_ext <<_ACEOF
19131 /* end confdefs.h. */
19132 #include <math.h>
19133 int
19134 main ()
19135 {
19136 _ceill (0); _floorl (0);
19137 ;
19138 return 0;
19139 }
19140 _ACEOF
19141 rm -f conftest.$ac_objext
19142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19143 (eval $ac_compile) 2>conftest.er1
19144 ac_status=$?
19145 grep -v '^ *+' conftest.er1 >conftest.err
19146 rm -f conftest.er1
19147 cat conftest.err >&5
19148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19149 (exit $ac_status); } &&
19150 { ac_try='test -z "$ac_cxx_werror_flag"
19151 || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try='test -s conftest.$ac_objext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 glibcxx_cv_func__long_double_round_use=yes
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168 glibcxx_cv_func__long_double_round_use=no
19169 fi
19170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19171 ac_ext=c
19172 ac_cpp='$CPP $CPPFLAGS'
19173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19176
19177 fi
19178
19179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
19180 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
19181 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
19182
19183
19184 for ac_func in _ceill _floorl
19185 do
19186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19187 echo "$as_me:$LINENO: checking for $ac_func" >&5
19188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19189 if eval "test \"\${$as_ac_var+set}\" = set"; then
19190 echo $ECHO_N "(cached) $ECHO_C" >&6
19191 else
19192 if test x$gcc_no_link = xyes; then
19193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19195 { (exit 1); exit 1; }; }
19196 fi
19197 cat >conftest.$ac_ext <<_ACEOF
19198 /* confdefs.h. */
19199 _ACEOF
19200 cat confdefs.h >>conftest.$ac_ext
19201 cat >>conftest.$ac_ext <<_ACEOF
19202 /* end confdefs.h. */
19203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19205 #define $ac_func innocuous_$ac_func
19206
19207 /* System header to define __stub macros and hopefully few prototypes,
19208 which can conflict with char $ac_func (); below.
19209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19210 <limits.h> exists even on freestanding compilers. */
19211
19212 #ifdef __STDC__
19213 # include <limits.h>
19214 #else
19215 # include <assert.h>
19216 #endif
19217
19218 #undef $ac_func
19219
19220 /* Override any gcc2 internal prototype to avoid an error. */
19221 #ifdef __cplusplus
19222 extern "C"
19223 {
19224 #endif
19225 /* We use char because int might match the return type of a gcc2
19226 builtin and then its argument prototype would still apply. */
19227 char $ac_func ();
19228 /* The GNU C library defines this for functions which it implements
19229 to always fail with ENOSYS. Some functions are actually named
19230 something starting with __ and the normal name is an alias. */
19231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19232 choke me
19233 #else
19234 char (*f) () = $ac_func;
19235 #endif
19236 #ifdef __cplusplus
19237 }
19238 #endif
19239
19240 int
19241 main ()
19242 {
19243 return f != $ac_func;
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 rm -f conftest.$ac_objext conftest$ac_exeext
19249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19250 (eval $ac_link) 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } &&
19257 { ac_try='test -z "$ac_c_werror_flag"
19258 || test ! -s conftest.err'
19259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19260 (eval $ac_try) 2>&5
19261 ac_status=$?
19262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19263 (exit $ac_status); }; } &&
19264 { ac_try='test -s conftest$ac_exeext'
19265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19266 (eval $ac_try) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); }; }; then
19270 eval "$as_ac_var=yes"
19271 else
19272 echo "$as_me: failed program was:" >&5
19273 sed 's/^/| /' conftest.$ac_ext >&5
19274
19275 eval "$as_ac_var=no"
19276 fi
19277 rm -f conftest.err conftest.$ac_objext \
19278 conftest$ac_exeext conftest.$ac_ext
19279 fi
19280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19282 if test `eval echo '${'$as_ac_var'}'` = yes; then
19283 cat >>confdefs.h <<_ACEOF
19284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19285 _ACEOF
19286
19287 fi
19288 done
19289
19290 fi
19291 fi
19292
19293
19294
19295
19296
19297
19298
19299
19300 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19301 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19302 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19303 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19305 else
19306
19307
19308
19309 ac_ext=cc
19310 ac_cpp='$CXXCPP $CPPFLAGS'
19311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19314
19315 cat >conftest.$ac_ext <<_ACEOF
19316 /* confdefs.h. */
19317 _ACEOF
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 #include <math.h>
19322 #ifdef HAVE_IEEEFP_H
19323 #include <ieeefp.h>
19324 #endif
19325
19326 int
19327 main ()
19328 {
19329 isnanl(0);
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest.$ac_objext
19335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19336 (eval $ac_compile) 2>conftest.er1
19337 ac_status=$?
19338 grep -v '^ *+' conftest.er1 >conftest.err
19339 rm -f conftest.er1
19340 cat conftest.err >&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); } &&
19343 { ac_try='test -z "$ac_cxx_werror_flag"
19344 || test ! -s conftest.err'
19345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19346 (eval $ac_try) 2>&5
19347 ac_status=$?
19348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19349 (exit $ac_status); }; } &&
19350 { ac_try='test -s conftest.$ac_objext'
19351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19352 (eval $ac_try) 2>&5
19353 ac_status=$?
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 glibcxx_cv_func_isnanl_use=yes
19357 else
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19360
19361 glibcxx_cv_func_isnanl_use=no
19362 fi
19363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19364 ac_ext=c
19365 ac_cpp='$CPP $CPPFLAGS'
19366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19369
19370
19371 fi
19372
19373 fi
19374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19375 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19376
19377 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19378
19379 for ac_func in isnanl
19380 do
19381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19382 echo "$as_me:$LINENO: checking for $ac_func" >&5
19383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19384 if eval "test \"\${$as_ac_var+set}\" = set"; then
19385 echo $ECHO_N "(cached) $ECHO_C" >&6
19386 else
19387 if test x$gcc_no_link = xyes; then
19388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19390 { (exit 1); exit 1; }; }
19391 fi
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19400 #define $ac_func innocuous_$ac_func
19401
19402 /* System header to define __stub macros and hopefully few prototypes,
19403 which can conflict with char $ac_func (); below.
19404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19405 <limits.h> exists even on freestanding compilers. */
19406
19407 #ifdef __STDC__
19408 # include <limits.h>
19409 #else
19410 # include <assert.h>
19411 #endif
19412
19413 #undef $ac_func
19414
19415 /* Override any gcc2 internal prototype to avoid an error. */
19416 #ifdef __cplusplus
19417 extern "C"
19418 {
19419 #endif
19420 /* We use char because int might match the return type of a gcc2
19421 builtin and then its argument prototype would still apply. */
19422 char $ac_func ();
19423 /* The GNU C library defines this for functions which it implements
19424 to always fail with ENOSYS. Some functions are actually named
19425 something starting with __ and the normal name is an alias. */
19426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19427 choke me
19428 #else
19429 char (*f) () = $ac_func;
19430 #endif
19431 #ifdef __cplusplus
19432 }
19433 #endif
19434
19435 int
19436 main ()
19437 {
19438 return f != $ac_func;
19439 ;
19440 return 0;
19441 }
19442 _ACEOF
19443 rm -f conftest.$ac_objext conftest$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>conftest.er1
19446 ac_status=$?
19447 grep -v '^ *+' conftest.er1 >conftest.err
19448 rm -f conftest.er1
19449 cat conftest.err >&5
19450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19451 (exit $ac_status); } &&
19452 { ac_try='test -z "$ac_c_werror_flag"
19453 || test ! -s conftest.err'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; } &&
19459 { ac_try='test -s conftest$ac_exeext'
19460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19461 (eval $ac_try) 2>&5
19462 ac_status=$?
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); }; }; then
19465 eval "$as_ac_var=yes"
19466 else
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.$ac_ext >&5
19469
19470 eval "$as_ac_var=no"
19471 fi
19472 rm -f conftest.err conftest.$ac_objext \
19473 conftest$ac_exeext conftest.$ac_ext
19474 fi
19475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19477 if test `eval echo '${'$as_ac_var'}'` = yes; then
19478 cat >>confdefs.h <<_ACEOF
19479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19480 _ACEOF
19481
19482 fi
19483 done
19484
19485 else
19486
19487 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19488 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19489 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19490 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19491 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 else
19493
19494
19495
19496 ac_ext=cc
19497 ac_cpp='$CXXCPP $CPPFLAGS'
19498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19501
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #include <math.h>
19509 #ifdef HAVE_IEEEFP_H
19510 #include <ieeefp.h>
19511 #endif
19512
19513 int
19514 main ()
19515 {
19516 _isnanl(0);
19517 ;
19518 return 0;
19519 }
19520 _ACEOF
19521 rm -f conftest.$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>conftest.er1
19524 ac_status=$?
19525 grep -v '^ *+' conftest.er1 >conftest.err
19526 rm -f conftest.er1
19527 cat conftest.err >&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } &&
19530 { ac_try='test -z "$ac_cxx_werror_flag"
19531 || test ! -s conftest.err'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19534 ac_status=$?
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; } &&
19537 { ac_try='test -s conftest.$ac_objext'
19538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19539 (eval $ac_try) 2>&5
19540 ac_status=$?
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); }; }; then
19543 glibcxx_cv_func__isnanl_use=yes
19544 else
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19547
19548 glibcxx_cv_func__isnanl_use=no
19549 fi
19550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19551 ac_ext=c
19552 ac_cpp='$CPP $CPPFLAGS'
19553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19556
19557
19558 fi
19559
19560 fi
19561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
19562 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
19563
19564 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
19565
19566 for ac_func in _isnanl
19567 do
19568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19569 echo "$as_me:$LINENO: checking for $ac_func" >&5
19570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19571 if eval "test \"\${$as_ac_var+set}\" = set"; then
19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 else
19574 if test x$gcc_no_link = xyes; then
19575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19577 { (exit 1); exit 1; }; }
19578 fi
19579 cat >conftest.$ac_ext <<_ACEOF
19580 /* confdefs.h. */
19581 _ACEOF
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19587 #define $ac_func innocuous_$ac_func
19588
19589 /* System header to define __stub macros and hopefully few prototypes,
19590 which can conflict with char $ac_func (); below.
19591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19592 <limits.h> exists even on freestanding compilers. */
19593
19594 #ifdef __STDC__
19595 # include <limits.h>
19596 #else
19597 # include <assert.h>
19598 #endif
19599
19600 #undef $ac_func
19601
19602 /* Override any gcc2 internal prototype to avoid an error. */
19603 #ifdef __cplusplus
19604 extern "C"
19605 {
19606 #endif
19607 /* We use char because int might match the return type of a gcc2
19608 builtin and then its argument prototype would still apply. */
19609 char $ac_func ();
19610 /* The GNU C library defines this for functions which it implements
19611 to always fail with ENOSYS. Some functions are actually named
19612 something starting with __ and the normal name is an alias. */
19613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19614 choke me
19615 #else
19616 char (*f) () = $ac_func;
19617 #endif
19618 #ifdef __cplusplus
19619 }
19620 #endif
19621
19622 int
19623 main ()
19624 {
19625 return f != $ac_func;
19626 ;
19627 return 0;
19628 }
19629 _ACEOF
19630 rm -f conftest.$ac_objext conftest$ac_exeext
19631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19632 (eval $ac_link) 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } &&
19639 { ac_try='test -z "$ac_c_werror_flag"
19640 || test ! -s conftest.err'
19641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19642 (eval $ac_try) 2>&5
19643 ac_status=$?
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; } &&
19646 { ac_try='test -s conftest$ac_exeext'
19647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19648 (eval $ac_try) 2>&5
19649 ac_status=$?
19650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19651 (exit $ac_status); }; }; then
19652 eval "$as_ac_var=yes"
19653 else
19654 echo "$as_me: failed program was:" >&5
19655 sed 's/^/| /' conftest.$ac_ext >&5
19656
19657 eval "$as_ac_var=no"
19658 fi
19659 rm -f conftest.err conftest.$ac_objext \
19660 conftest$ac_exeext conftest.$ac_ext
19661 fi
19662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19664 if test `eval echo '${'$as_ac_var'}'` = yes; then
19665 cat >>confdefs.h <<_ACEOF
19666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19667 _ACEOF
19668
19669 fi
19670 done
19671
19672 fi
19673 fi
19674
19675
19676
19677
19678
19679
19680 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
19681 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
19682 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
19683 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
19684 echo $ECHO_N "(cached) $ECHO_C" >&6
19685 else
19686
19687
19688
19689 ac_ext=cc
19690 ac_cpp='$CXXCPP $CPPFLAGS'
19691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19694
19695 cat >conftest.$ac_ext <<_ACEOF
19696 /* confdefs.h. */
19697 _ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #include <math.h>
19702 #ifdef HAVE_IEEEFP_H
19703 #include <ieeefp.h>
19704 #endif
19705
19706 int
19707 main ()
19708 {
19709 isinfl(0);
19710 ;
19711 return 0;
19712 }
19713 _ACEOF
19714 rm -f conftest.$ac_objext
19715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19716 (eval $ac_compile) 2>conftest.er1
19717 ac_status=$?
19718 grep -v '^ *+' conftest.er1 >conftest.err
19719 rm -f conftest.er1
19720 cat conftest.err >&5
19721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722 (exit $ac_status); } &&
19723 { ac_try='test -z "$ac_cxx_werror_flag"
19724 || test ! -s conftest.err'
19725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19726 (eval $ac_try) 2>&5
19727 ac_status=$?
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); }; } &&
19730 { ac_try='test -s conftest.$ac_objext'
19731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19732 (eval $ac_try) 2>&5
19733 ac_status=$?
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; }; then
19736 glibcxx_cv_func_isinfl_use=yes
19737 else
19738 echo "$as_me: failed program was:" >&5
19739 sed 's/^/| /' conftest.$ac_ext >&5
19740
19741 glibcxx_cv_func_isinfl_use=no
19742 fi
19743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19744 ac_ext=c
19745 ac_cpp='$CPP $CPPFLAGS'
19746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19749
19750
19751 fi
19752
19753 fi
19754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
19755 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
19756
19757 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
19758
19759 for ac_func in isinfl
19760 do
19761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19762 echo "$as_me:$LINENO: checking for $ac_func" >&5
19763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19764 if eval "test \"\${$as_ac_var+set}\" = set"; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767 if test x$gcc_no_link = xyes; then
19768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19770 { (exit 1); exit 1; }; }
19771 fi
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19780 #define $ac_func innocuous_$ac_func
19781
19782 /* System header to define __stub macros and hopefully few prototypes,
19783 which can conflict with char $ac_func (); below.
19784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19785 <limits.h> exists even on freestanding compilers. */
19786
19787 #ifdef __STDC__
19788 # include <limits.h>
19789 #else
19790 # include <assert.h>
19791 #endif
19792
19793 #undef $ac_func
19794
19795 /* Override any gcc2 internal prototype to avoid an error. */
19796 #ifdef __cplusplus
19797 extern "C"
19798 {
19799 #endif
19800 /* We use char because int might match the return type of a gcc2
19801 builtin and then its argument prototype would still apply. */
19802 char $ac_func ();
19803 /* The GNU C library defines this for functions which it implements
19804 to always fail with ENOSYS. Some functions are actually named
19805 something starting with __ and the normal name is an alias. */
19806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19807 choke me
19808 #else
19809 char (*f) () = $ac_func;
19810 #endif
19811 #ifdef __cplusplus
19812 }
19813 #endif
19814
19815 int
19816 main ()
19817 {
19818 return f != $ac_func;
19819 ;
19820 return 0;
19821 }
19822 _ACEOF
19823 rm -f conftest.$ac_objext conftest$ac_exeext
19824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19825 (eval $ac_link) 2>conftest.er1
19826 ac_status=$?
19827 grep -v '^ *+' conftest.er1 >conftest.err
19828 rm -f conftest.er1
19829 cat conftest.err >&5
19830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19831 (exit $ac_status); } &&
19832 { ac_try='test -z "$ac_c_werror_flag"
19833 || test ! -s conftest.err'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; } &&
19839 { ac_try='test -s conftest$ac_exeext'
19840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19841 (eval $ac_try) 2>&5
19842 ac_status=$?
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); }; }; then
19845 eval "$as_ac_var=yes"
19846 else
19847 echo "$as_me: failed program was:" >&5
19848 sed 's/^/| /' conftest.$ac_ext >&5
19849
19850 eval "$as_ac_var=no"
19851 fi
19852 rm -f conftest.err conftest.$ac_objext \
19853 conftest$ac_exeext conftest.$ac_ext
19854 fi
19855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19857 if test `eval echo '${'$as_ac_var'}'` = yes; then
19858 cat >>confdefs.h <<_ACEOF
19859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19860 _ACEOF
19861
19862 fi
19863 done
19864
19865 else
19866
19867 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
19868 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
19869 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
19870 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
19871 echo $ECHO_N "(cached) $ECHO_C" >&6
19872 else
19873
19874
19875
19876 ac_ext=cc
19877 ac_cpp='$CXXCPP $CPPFLAGS'
19878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19881
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #include <math.h>
19889 #ifdef HAVE_IEEEFP_H
19890 #include <ieeefp.h>
19891 #endif
19892
19893 int
19894 main ()
19895 {
19896 _isinfl(0);
19897 ;
19898 return 0;
19899 }
19900 _ACEOF
19901 rm -f conftest.$ac_objext
19902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19903 (eval $ac_compile) 2>conftest.er1
19904 ac_status=$?
19905 grep -v '^ *+' conftest.er1 >conftest.err
19906 rm -f conftest.er1
19907 cat conftest.err >&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } &&
19910 { ac_try='test -z "$ac_cxx_werror_flag"
19911 || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 glibcxx_cv_func__isinfl_use=yes
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 glibcxx_cv_func__isinfl_use=no
19929 fi
19930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19931 ac_ext=c
19932 ac_cpp='$CPP $CPPFLAGS'
19933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19936
19937
19938 fi
19939
19940 fi
19941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
19942 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
19943
19944 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
19945
19946 for ac_func in _isinfl
19947 do
19948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19949 echo "$as_me:$LINENO: checking for $ac_func" >&5
19950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19951 if eval "test \"\${$as_ac_var+set}\" = set"; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954 if test x$gcc_no_link = xyes; then
19955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19957 { (exit 1); exit 1; }; }
19958 fi
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19967 #define $ac_func innocuous_$ac_func
19968
19969 /* System header to define __stub macros and hopefully few prototypes,
19970 which can conflict with char $ac_func (); below.
19971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19972 <limits.h> exists even on freestanding compilers. */
19973
19974 #ifdef __STDC__
19975 # include <limits.h>
19976 #else
19977 # include <assert.h>
19978 #endif
19979
19980 #undef $ac_func
19981
19982 /* Override any gcc2 internal prototype to avoid an error. */
19983 #ifdef __cplusplus
19984 extern "C"
19985 {
19986 #endif
19987 /* We use char because int might match the return type of a gcc2
19988 builtin and then its argument prototype would still apply. */
19989 char $ac_func ();
19990 /* The GNU C library defines this for functions which it implements
19991 to always fail with ENOSYS. Some functions are actually named
19992 something starting with __ and the normal name is an alias. */
19993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19994 choke me
19995 #else
19996 char (*f) () = $ac_func;
19997 #endif
19998 #ifdef __cplusplus
19999 }
20000 #endif
20001
20002 int
20003 main ()
20004 {
20005 return f != $ac_func;
20006 ;
20007 return 0;
20008 }
20009 _ACEOF
20010 rm -f conftest.$ac_objext conftest$ac_exeext
20011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20012 (eval $ac_link) 2>conftest.er1
20013 ac_status=$?
20014 grep -v '^ *+' conftest.er1 >conftest.err
20015 rm -f conftest.er1
20016 cat conftest.err >&5
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); } &&
20019 { ac_try='test -z "$ac_c_werror_flag"
20020 || test ! -s conftest.err'
20021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20022 (eval $ac_try) 2>&5
20023 ac_status=$?
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); }; } &&
20026 { ac_try='test -s conftest$ac_exeext'
20027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20028 (eval $ac_try) 2>&5
20029 ac_status=$?
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); }; }; then
20032 eval "$as_ac_var=yes"
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 eval "$as_ac_var=no"
20038 fi
20039 rm -f conftest.err conftest.$ac_objext \
20040 conftest$ac_exeext conftest.$ac_ext
20041 fi
20042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20044 if test `eval echo '${'$as_ac_var'}'` = yes; then
20045 cat >>confdefs.h <<_ACEOF
20046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20047 _ACEOF
20048
20049 fi
20050 done
20051
20052 fi
20053 fi
20054
20055
20056
20057
20058
20059
20060 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20061 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20062 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20063 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20064 echo $ECHO_N "(cached) $ECHO_C" >&6
20065 else
20066
20067
20068
20069 ac_ext=cc
20070 ac_cpp='$CXXCPP $CPPFLAGS'
20071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20074
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <math.h>
20082 int
20083 main ()
20084 {
20085 copysignl(0, 0);
20086 ;
20087 return 0;
20088 }
20089 _ACEOF
20090 rm -f conftest.$ac_objext
20091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20092 (eval $ac_compile) 2>conftest.er1
20093 ac_status=$?
20094 grep -v '^ *+' conftest.er1 >conftest.err
20095 rm -f conftest.er1
20096 cat conftest.err >&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); } &&
20099 { ac_try='test -z "$ac_cxx_werror_flag"
20100 || test ! -s conftest.err'
20101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20102 (eval $ac_try) 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); }; } &&
20106 { ac_try='test -s conftest.$ac_objext'
20107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20108 (eval $ac_try) 2>&5
20109 ac_status=$?
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); }; }; then
20112 glibcxx_cv_func_copysignl_use=yes
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 glibcxx_cv_func_copysignl_use=no
20118 fi
20119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20120 ac_ext=c
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20125
20126
20127 fi
20128
20129 fi
20130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20131 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20132
20133 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20134
20135 for ac_func in copysignl
20136 do
20137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20138 echo "$as_me:$LINENO: checking for $ac_func" >&5
20139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20140 if eval "test \"\${$as_ac_var+set}\" = set"; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 if test x$gcc_no_link = xyes; then
20144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20146 { (exit 1); exit 1; }; }
20147 fi
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20156 #define $ac_func innocuous_$ac_func
20157
20158 /* System header to define __stub macros and hopefully few prototypes,
20159 which can conflict with char $ac_func (); below.
20160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20161 <limits.h> exists even on freestanding compilers. */
20162
20163 #ifdef __STDC__
20164 # include <limits.h>
20165 #else
20166 # include <assert.h>
20167 #endif
20168
20169 #undef $ac_func
20170
20171 /* Override any gcc2 internal prototype to avoid an error. */
20172 #ifdef __cplusplus
20173 extern "C"
20174 {
20175 #endif
20176 /* We use char because int might match the return type of a gcc2
20177 builtin and then its argument prototype would still apply. */
20178 char $ac_func ();
20179 /* The GNU C library defines this for functions which it implements
20180 to always fail with ENOSYS. Some functions are actually named
20181 something starting with __ and the normal name is an alias. */
20182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20183 choke me
20184 #else
20185 char (*f) () = $ac_func;
20186 #endif
20187 #ifdef __cplusplus
20188 }
20189 #endif
20190
20191 int
20192 main ()
20193 {
20194 return f != $ac_func;
20195 ;
20196 return 0;
20197 }
20198 _ACEOF
20199 rm -f conftest.$ac_objext conftest$ac_exeext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20201 (eval $ac_link) 2>conftest.er1
20202 ac_status=$?
20203 grep -v '^ *+' conftest.er1 >conftest.err
20204 rm -f conftest.er1
20205 cat conftest.err >&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); } &&
20208 { ac_try='test -z "$ac_c_werror_flag"
20209 || test ! -s conftest.err'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20212 ac_status=$?
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; } &&
20215 { ac_try='test -s conftest$ac_exeext'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; }; then
20221 eval "$as_ac_var=yes"
20222 else
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20225
20226 eval "$as_ac_var=no"
20227 fi
20228 rm -f conftest.err conftest.$ac_objext \
20229 conftest$ac_exeext conftest.$ac_ext
20230 fi
20231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20233 if test `eval echo '${'$as_ac_var'}'` = yes; then
20234 cat >>confdefs.h <<_ACEOF
20235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20236 _ACEOF
20237
20238 fi
20239 done
20240
20241 else
20242
20243 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20244 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20245 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20246 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20247 echo $ECHO_N "(cached) $ECHO_C" >&6
20248 else
20249
20250
20251
20252 ac_ext=cc
20253 ac_cpp='$CXXCPP $CPPFLAGS'
20254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20257
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 #include <math.h>
20265 int
20266 main ()
20267 {
20268 _copysignl(0, 0);
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest.$ac_objext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20275 (eval $ac_compile) 2>conftest.er1
20276 ac_status=$?
20277 grep -v '^ *+' conftest.er1 >conftest.err
20278 rm -f conftest.er1
20279 cat conftest.err >&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); } &&
20282 { ac_try='test -z "$ac_cxx_werror_flag"
20283 || test ! -s conftest.err'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; } &&
20289 { ac_try='test -s conftest.$ac_objext'
20290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291 (eval $ac_try) 2>&5
20292 ac_status=$?
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); }; }; then
20295 glibcxx_cv_func__copysignl_use=yes
20296 else
20297 echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 glibcxx_cv_func__copysignl_use=no
20301 fi
20302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20303 ac_ext=c
20304 ac_cpp='$CPP $CPPFLAGS'
20305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20308
20309
20310 fi
20311
20312 fi
20313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20314 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20315
20316 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20317
20318 for ac_func in _copysignl
20319 do
20320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20321 echo "$as_me:$LINENO: checking for $ac_func" >&5
20322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20323 if eval "test \"\${$as_ac_var+set}\" = set"; then
20324 echo $ECHO_N "(cached) $ECHO_C" >&6
20325 else
20326 if test x$gcc_no_link = xyes; then
20327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20329 { (exit 1); exit 1; }; }
20330 fi
20331 cat >conftest.$ac_ext <<_ACEOF
20332 /* confdefs.h. */
20333 _ACEOF
20334 cat confdefs.h >>conftest.$ac_ext
20335 cat >>conftest.$ac_ext <<_ACEOF
20336 /* end confdefs.h. */
20337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20339 #define $ac_func innocuous_$ac_func
20340
20341 /* System header to define __stub macros and hopefully few prototypes,
20342 which can conflict with char $ac_func (); below.
20343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20344 <limits.h> exists even on freestanding compilers. */
20345
20346 #ifdef __STDC__
20347 # include <limits.h>
20348 #else
20349 # include <assert.h>
20350 #endif
20351
20352 #undef $ac_func
20353
20354 /* Override any gcc2 internal prototype to avoid an error. */
20355 #ifdef __cplusplus
20356 extern "C"
20357 {
20358 #endif
20359 /* We use char because int might match the return type of a gcc2
20360 builtin and then its argument prototype would still apply. */
20361 char $ac_func ();
20362 /* The GNU C library defines this for functions which it implements
20363 to always fail with ENOSYS. Some functions are actually named
20364 something starting with __ and the normal name is an alias. */
20365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20366 choke me
20367 #else
20368 char (*f) () = $ac_func;
20369 #endif
20370 #ifdef __cplusplus
20371 }
20372 #endif
20373
20374 int
20375 main ()
20376 {
20377 return f != $ac_func;
20378 ;
20379 return 0;
20380 }
20381 _ACEOF
20382 rm -f conftest.$ac_objext conftest$ac_exeext
20383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20384 (eval $ac_link) 2>conftest.er1
20385 ac_status=$?
20386 grep -v '^ *+' conftest.er1 >conftest.err
20387 rm -f conftest.er1
20388 cat conftest.err >&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } &&
20391 { ac_try='test -z "$ac_c_werror_flag"
20392 || test ! -s conftest.err'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20395 ac_status=$?
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; } &&
20398 { ac_try='test -s conftest$ac_exeext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20401 ac_status=$?
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 eval "$as_ac_var=yes"
20405 else
20406 echo "$as_me: failed program was:" >&5
20407 sed 's/^/| /' conftest.$ac_ext >&5
20408
20409 eval "$as_ac_var=no"
20410 fi
20411 rm -f conftest.err conftest.$ac_objext \
20412 conftest$ac_exeext conftest.$ac_ext
20413 fi
20414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20416 if test `eval echo '${'$as_ac_var'}'` = yes; then
20417 cat >>confdefs.h <<_ACEOF
20418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20419 _ACEOF
20420
20421 fi
20422 done
20423
20424 fi
20425 fi
20426
20427
20428
20429
20430
20431
20432 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20433 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20434 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20435 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438
20439
20440
20441 ac_ext=cc
20442 ac_cpp='$CXXCPP $CPPFLAGS'
20443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20446
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 #include <math.h>
20454 int
20455 main ()
20456 {
20457 atan2l(0, 0);
20458 ;
20459 return 0;
20460 }
20461 _ACEOF
20462 rm -f conftest.$ac_objext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20464 (eval $ac_compile) 2>conftest.er1
20465 ac_status=$?
20466 grep -v '^ *+' conftest.er1 >conftest.err
20467 rm -f conftest.er1
20468 cat conftest.err >&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); } &&
20471 { ac_try='test -z "$ac_cxx_werror_flag"
20472 || test ! -s conftest.err'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20475 ac_status=$?
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; } &&
20478 { ac_try='test -s conftest.$ac_objext'
20479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20480 (eval $ac_try) 2>&5
20481 ac_status=$?
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); }; }; then
20484 glibcxx_cv_func_atan2l_use=yes
20485 else
20486 echo "$as_me: failed program was:" >&5
20487 sed 's/^/| /' conftest.$ac_ext >&5
20488
20489 glibcxx_cv_func_atan2l_use=no
20490 fi
20491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20492 ac_ext=c
20493 ac_cpp='$CPP $CPPFLAGS'
20494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20497
20498
20499 fi
20500
20501 fi
20502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20503 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20504
20505 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20506
20507 for ac_func in atan2l
20508 do
20509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20510 echo "$as_me:$LINENO: checking for $ac_func" >&5
20511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20512 if eval "test \"\${$as_ac_var+set}\" = set"; then
20513 echo $ECHO_N "(cached) $ECHO_C" >&6
20514 else
20515 if test x$gcc_no_link = xyes; then
20516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20518 { (exit 1); exit 1; }; }
20519 fi
20520 cat >conftest.$ac_ext <<_ACEOF
20521 /* confdefs.h. */
20522 _ACEOF
20523 cat confdefs.h >>conftest.$ac_ext
20524 cat >>conftest.$ac_ext <<_ACEOF
20525 /* end confdefs.h. */
20526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20528 #define $ac_func innocuous_$ac_func
20529
20530 /* System header to define __stub macros and hopefully few prototypes,
20531 which can conflict with char $ac_func (); below.
20532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20533 <limits.h> exists even on freestanding compilers. */
20534
20535 #ifdef __STDC__
20536 # include <limits.h>
20537 #else
20538 # include <assert.h>
20539 #endif
20540
20541 #undef $ac_func
20542
20543 /* Override any gcc2 internal prototype to avoid an error. */
20544 #ifdef __cplusplus
20545 extern "C"
20546 {
20547 #endif
20548 /* We use char because int might match the return type of a gcc2
20549 builtin and then its argument prototype would still apply. */
20550 char $ac_func ();
20551 /* The GNU C library defines this for functions which it implements
20552 to always fail with ENOSYS. Some functions are actually named
20553 something starting with __ and the normal name is an alias. */
20554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20555 choke me
20556 #else
20557 char (*f) () = $ac_func;
20558 #endif
20559 #ifdef __cplusplus
20560 }
20561 #endif
20562
20563 int
20564 main ()
20565 {
20566 return f != $ac_func;
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 rm -f conftest.$ac_objext conftest$ac_exeext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20573 (eval $ac_link) 2>conftest.er1
20574 ac_status=$?
20575 grep -v '^ *+' conftest.er1 >conftest.err
20576 rm -f conftest.er1
20577 cat conftest.err >&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try='test -z "$ac_c_werror_flag"
20581 || test ! -s conftest.err'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20584 ac_status=$?
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; } &&
20587 { ac_try='test -s conftest$ac_exeext'
20588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20589 (eval $ac_try) 2>&5
20590 ac_status=$?
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); }; }; then
20593 eval "$as_ac_var=yes"
20594 else
20595 echo "$as_me: failed program was:" >&5
20596 sed 's/^/| /' conftest.$ac_ext >&5
20597
20598 eval "$as_ac_var=no"
20599 fi
20600 rm -f conftest.err conftest.$ac_objext \
20601 conftest$ac_exeext conftest.$ac_ext
20602 fi
20603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20605 if test `eval echo '${'$as_ac_var'}'` = yes; then
20606 cat >>confdefs.h <<_ACEOF
20607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20608 _ACEOF
20609
20610 fi
20611 done
20612
20613 else
20614
20615 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
20616 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
20617 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
20618 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20620 else
20621
20622
20623
20624 ac_ext=cc
20625 ac_cpp='$CXXCPP $CPPFLAGS'
20626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20629
20630 cat >conftest.$ac_ext <<_ACEOF
20631 /* confdefs.h. */
20632 _ACEOF
20633 cat confdefs.h >>conftest.$ac_ext
20634 cat >>conftest.$ac_ext <<_ACEOF
20635 /* end confdefs.h. */
20636 #include <math.h>
20637 int
20638 main ()
20639 {
20640 _atan2l(0, 0);
20641 ;
20642 return 0;
20643 }
20644 _ACEOF
20645 rm -f conftest.$ac_objext
20646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20647 (eval $ac_compile) 2>conftest.er1
20648 ac_status=$?
20649 grep -v '^ *+' conftest.er1 >conftest.err
20650 rm -f conftest.er1
20651 cat conftest.err >&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); } &&
20654 { ac_try='test -z "$ac_cxx_werror_flag"
20655 || test ! -s conftest.err'
20656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20657 (eval $ac_try) 2>&5
20658 ac_status=$?
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); }; } &&
20661 { ac_try='test -s conftest.$ac_objext'
20662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20663 (eval $ac_try) 2>&5
20664 ac_status=$?
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); }; }; then
20667 glibcxx_cv_func__atan2l_use=yes
20668 else
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.$ac_ext >&5
20671
20672 glibcxx_cv_func__atan2l_use=no
20673 fi
20674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20675 ac_ext=c
20676 ac_cpp='$CPP $CPPFLAGS'
20677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20680
20681
20682 fi
20683
20684 fi
20685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
20686 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
20687
20688 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
20689
20690 for ac_func in _atan2l
20691 do
20692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20693 echo "$as_me:$LINENO: checking for $ac_func" >&5
20694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20695 if eval "test \"\${$as_ac_var+set}\" = set"; then
20696 echo $ECHO_N "(cached) $ECHO_C" >&6
20697 else
20698 if test x$gcc_no_link = xyes; then
20699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20701 { (exit 1); exit 1; }; }
20702 fi
20703 cat >conftest.$ac_ext <<_ACEOF
20704 /* confdefs.h. */
20705 _ACEOF
20706 cat confdefs.h >>conftest.$ac_ext
20707 cat >>conftest.$ac_ext <<_ACEOF
20708 /* end confdefs.h. */
20709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20711 #define $ac_func innocuous_$ac_func
20712
20713 /* System header to define __stub macros and hopefully few prototypes,
20714 which can conflict with char $ac_func (); below.
20715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20716 <limits.h> exists even on freestanding compilers. */
20717
20718 #ifdef __STDC__
20719 # include <limits.h>
20720 #else
20721 # include <assert.h>
20722 #endif
20723
20724 #undef $ac_func
20725
20726 /* Override any gcc2 internal prototype to avoid an error. */
20727 #ifdef __cplusplus
20728 extern "C"
20729 {
20730 #endif
20731 /* We use char because int might match the return type of a gcc2
20732 builtin and then its argument prototype would still apply. */
20733 char $ac_func ();
20734 /* The GNU C library defines this for functions which it implements
20735 to always fail with ENOSYS. Some functions are actually named
20736 something starting with __ and the normal name is an alias. */
20737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20738 choke me
20739 #else
20740 char (*f) () = $ac_func;
20741 #endif
20742 #ifdef __cplusplus
20743 }
20744 #endif
20745
20746 int
20747 main ()
20748 {
20749 return f != $ac_func;
20750 ;
20751 return 0;
20752 }
20753 _ACEOF
20754 rm -f conftest.$ac_objext conftest$ac_exeext
20755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20756 (eval $ac_link) 2>conftest.er1
20757 ac_status=$?
20758 grep -v '^ *+' conftest.er1 >conftest.err
20759 rm -f conftest.er1
20760 cat conftest.err >&5
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); } &&
20763 { ac_try='test -z "$ac_c_werror_flag"
20764 || test ! -s conftest.err'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; } &&
20770 { ac_try='test -s conftest$ac_exeext'
20771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20772 (eval $ac_try) 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 eval "$as_ac_var=yes"
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 eval "$as_ac_var=no"
20782 fi
20783 rm -f conftest.err conftest.$ac_objext \
20784 conftest$ac_exeext conftest.$ac_ext
20785 fi
20786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20788 if test `eval echo '${'$as_ac_var'}'` = yes; then
20789 cat >>confdefs.h <<_ACEOF
20790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20791 _ACEOF
20792
20793 fi
20794 done
20795
20796 fi
20797 fi
20798
20799
20800
20801
20802
20803
20804 echo "$as_me:$LINENO: checking for expl declaration" >&5
20805 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
20806 if test x${glibcxx_cv_func_expl_use+set} != xset; then
20807 if test "${glibcxx_cv_func_expl_use+set}" = set; then
20808 echo $ECHO_N "(cached) $ECHO_C" >&6
20809 else
20810
20811
20812
20813 ac_ext=cc
20814 ac_cpp='$CXXCPP $CPPFLAGS'
20815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20818
20819 cat >conftest.$ac_ext <<_ACEOF
20820 /* confdefs.h. */
20821 _ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825 #include <math.h>
20826 #ifdef HAVE_IEEEFP_H
20827 #include <ieeefp.h>
20828 #endif
20829
20830 int
20831 main ()
20832 {
20833 expl(0);
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840 (eval $ac_compile) 2>conftest.er1
20841 ac_status=$?
20842 grep -v '^ *+' conftest.er1 >conftest.err
20843 rm -f conftest.er1
20844 cat conftest.err >&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -z "$ac_cxx_werror_flag"
20848 || test ! -s conftest.err'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20851 ac_status=$?
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; } &&
20854 { ac_try='test -s conftest.$ac_objext'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20857 ac_status=$?
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; }; then
20860 glibcxx_cv_func_expl_use=yes
20861 else
20862 echo "$as_me: failed program was:" >&5
20863 sed 's/^/| /' conftest.$ac_ext >&5
20864
20865 glibcxx_cv_func_expl_use=no
20866 fi
20867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20868 ac_ext=c
20869 ac_cpp='$CPP $CPPFLAGS'
20870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20873
20874
20875 fi
20876
20877 fi
20878 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
20879 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
20880
20881 if test x$glibcxx_cv_func_expl_use = x"yes"; then
20882
20883 for ac_func in expl
20884 do
20885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20886 echo "$as_me:$LINENO: checking for $ac_func" >&5
20887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20888 if eval "test \"\${$as_ac_var+set}\" = set"; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
20891 if test x$gcc_no_link = xyes; then
20892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20894 { (exit 1); exit 1; }; }
20895 fi
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20904 #define $ac_func innocuous_$ac_func
20905
20906 /* System header to define __stub macros and hopefully few prototypes,
20907 which can conflict with char $ac_func (); below.
20908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20909 <limits.h> exists even on freestanding compilers. */
20910
20911 #ifdef __STDC__
20912 # include <limits.h>
20913 #else
20914 # include <assert.h>
20915 #endif
20916
20917 #undef $ac_func
20918
20919 /* Override any gcc2 internal prototype to avoid an error. */
20920 #ifdef __cplusplus
20921 extern "C"
20922 {
20923 #endif
20924 /* We use char because int might match the return type of a gcc2
20925 builtin and then its argument prototype would still apply. */
20926 char $ac_func ();
20927 /* The GNU C library defines this for functions which it implements
20928 to always fail with ENOSYS. Some functions are actually named
20929 something starting with __ and the normal name is an alias. */
20930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20931 choke me
20932 #else
20933 char (*f) () = $ac_func;
20934 #endif
20935 #ifdef __cplusplus
20936 }
20937 #endif
20938
20939 int
20940 main ()
20941 {
20942 return f != $ac_func;
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest.$ac_objext conftest$ac_exeext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20949 (eval $ac_link) 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try='test -z "$ac_c_werror_flag"
20957 || test ! -s conftest.err'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; } &&
20963 { ac_try='test -s conftest$ac_exeext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20966 ac_status=$?
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 eval "$as_ac_var=yes"
20970 else
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20973
20974 eval "$as_ac_var=no"
20975 fi
20976 rm -f conftest.err conftest.$ac_objext \
20977 conftest$ac_exeext conftest.$ac_ext
20978 fi
20979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20981 if test `eval echo '${'$as_ac_var'}'` = yes; then
20982 cat >>confdefs.h <<_ACEOF
20983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20984 _ACEOF
20985
20986 fi
20987 done
20988
20989 else
20990
20991 echo "$as_me:$LINENO: checking for _expl declaration" >&5
20992 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
20993 if test x${glibcxx_cv_func__expl_use+set} != xset; then
20994 if test "${glibcxx_cv_func__expl_use+set}" = set; then
20995 echo $ECHO_N "(cached) $ECHO_C" >&6
20996 else
20997
20998
20999
21000 ac_ext=cc
21001 ac_cpp='$CXXCPP $CPPFLAGS'
21002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21005
21006 cat >conftest.$ac_ext <<_ACEOF
21007 /* confdefs.h. */
21008 _ACEOF
21009 cat confdefs.h >>conftest.$ac_ext
21010 cat >>conftest.$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 #include <math.h>
21013 #ifdef HAVE_IEEEFP_H
21014 #include <ieeefp.h>
21015 #endif
21016
21017 int
21018 main ()
21019 {
21020 _expl(0);
21021 ;
21022 return 0;
21023 }
21024 _ACEOF
21025 rm -f conftest.$ac_objext
21026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21027 (eval $ac_compile) 2>conftest.er1
21028 ac_status=$?
21029 grep -v '^ *+' conftest.er1 >conftest.err
21030 rm -f conftest.er1
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } &&
21034 { ac_try='test -z "$ac_cxx_werror_flag"
21035 || test ! -s conftest.err'
21036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21037 (eval $ac_try) 2>&5
21038 ac_status=$?
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; } &&
21041 { ac_try='test -s conftest.$ac_objext'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; }; then
21047 glibcxx_cv_func__expl_use=yes
21048 else
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.$ac_ext >&5
21051
21052 glibcxx_cv_func__expl_use=no
21053 fi
21054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21055 ac_ext=c
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21060
21061
21062 fi
21063
21064 fi
21065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21066 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21067
21068 if test x$glibcxx_cv_func__expl_use = x"yes"; then
21069
21070 for ac_func in _expl
21071 do
21072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21073 echo "$as_me:$LINENO: checking for $ac_func" >&5
21074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21075 if eval "test \"\${$as_ac_var+set}\" = set"; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21077 else
21078 if test x$gcc_no_link = xyes; then
21079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21081 { (exit 1); exit 1; }; }
21082 fi
21083 cat >conftest.$ac_ext <<_ACEOF
21084 /* confdefs.h. */
21085 _ACEOF
21086 cat confdefs.h >>conftest.$ac_ext
21087 cat >>conftest.$ac_ext <<_ACEOF
21088 /* end confdefs.h. */
21089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21091 #define $ac_func innocuous_$ac_func
21092
21093 /* System header to define __stub macros and hopefully few prototypes,
21094 which can conflict with char $ac_func (); below.
21095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21096 <limits.h> exists even on freestanding compilers. */
21097
21098 #ifdef __STDC__
21099 # include <limits.h>
21100 #else
21101 # include <assert.h>
21102 #endif
21103
21104 #undef $ac_func
21105
21106 /* Override any gcc2 internal prototype to avoid an error. */
21107 #ifdef __cplusplus
21108 extern "C"
21109 {
21110 #endif
21111 /* We use char because int might match the return type of a gcc2
21112 builtin and then its argument prototype would still apply. */
21113 char $ac_func ();
21114 /* The GNU C library defines this for functions which it implements
21115 to always fail with ENOSYS. Some functions are actually named
21116 something starting with __ and the normal name is an alias. */
21117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21118 choke me
21119 #else
21120 char (*f) () = $ac_func;
21121 #endif
21122 #ifdef __cplusplus
21123 }
21124 #endif
21125
21126 int
21127 main ()
21128 {
21129 return f != $ac_func;
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext conftest$ac_exeext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21136 (eval $ac_link) 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_c_werror_flag"
21144 || test ! -s conftest.err'
21145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21146 (eval $ac_try) 2>&5
21147 ac_status=$?
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); }; } &&
21150 { ac_try='test -s conftest$ac_exeext'
21151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152 (eval $ac_try) 2>&5
21153 ac_status=$?
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); }; }; then
21156 eval "$as_ac_var=yes"
21157 else
21158 echo "$as_me: failed program was:" >&5
21159 sed 's/^/| /' conftest.$ac_ext >&5
21160
21161 eval "$as_ac_var=no"
21162 fi
21163 rm -f conftest.err conftest.$ac_objext \
21164 conftest$ac_exeext conftest.$ac_ext
21165 fi
21166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21168 if test `eval echo '${'$as_ac_var'}'` = yes; then
21169 cat >>confdefs.h <<_ACEOF
21170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21171 _ACEOF
21172
21173 fi
21174 done
21175
21176 fi
21177 fi
21178
21179
21180
21181
21182
21183
21184 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21185 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21186 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21187 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 else
21190
21191
21192
21193 ac_ext=cc
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21198
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 #include <math.h>
21206 #ifdef HAVE_IEEEFP_H
21207 #include <ieeefp.h>
21208 #endif
21209
21210 int
21211 main ()
21212 {
21213 fabsl(0);
21214 ;
21215 return 0;
21216 }
21217 _ACEOF
21218 rm -f conftest.$ac_objext
21219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21220 (eval $ac_compile) 2>conftest.er1
21221 ac_status=$?
21222 grep -v '^ *+' conftest.er1 >conftest.err
21223 rm -f conftest.er1
21224 cat conftest.err >&5
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); } &&
21227 { ac_try='test -z "$ac_cxx_werror_flag"
21228 || test ! -s conftest.err'
21229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21230 (eval $ac_try) 2>&5
21231 ac_status=$?
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); }; } &&
21234 { ac_try='test -s conftest.$ac_objext'
21235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21236 (eval $ac_try) 2>&5
21237 ac_status=$?
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); }; }; then
21240 glibcxx_cv_func_fabsl_use=yes
21241 else
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 glibcxx_cv_func_fabsl_use=no
21246 fi
21247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21248 ac_ext=c
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21253
21254
21255 fi
21256
21257 fi
21258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21259 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21260
21261 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21262
21263 for ac_func in fabsl
21264 do
21265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21266 echo "$as_me:$LINENO: checking for $ac_func" >&5
21267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21268 if eval "test \"\${$as_ac_var+set}\" = set"; then
21269 echo $ECHO_N "(cached) $ECHO_C" >&6
21270 else
21271 if test x$gcc_no_link = xyes; then
21272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21274 { (exit 1); exit 1; }; }
21275 fi
21276 cat >conftest.$ac_ext <<_ACEOF
21277 /* confdefs.h. */
21278 _ACEOF
21279 cat confdefs.h >>conftest.$ac_ext
21280 cat >>conftest.$ac_ext <<_ACEOF
21281 /* end confdefs.h. */
21282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21284 #define $ac_func innocuous_$ac_func
21285
21286 /* System header to define __stub macros and hopefully few prototypes,
21287 which can conflict with char $ac_func (); below.
21288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21289 <limits.h> exists even on freestanding compilers. */
21290
21291 #ifdef __STDC__
21292 # include <limits.h>
21293 #else
21294 # include <assert.h>
21295 #endif
21296
21297 #undef $ac_func
21298
21299 /* Override any gcc2 internal prototype to avoid an error. */
21300 #ifdef __cplusplus
21301 extern "C"
21302 {
21303 #endif
21304 /* We use char because int might match the return type of a gcc2
21305 builtin and then its argument prototype would still apply. */
21306 char $ac_func ();
21307 /* The GNU C library defines this for functions which it implements
21308 to always fail with ENOSYS. Some functions are actually named
21309 something starting with __ and the normal name is an alias. */
21310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21311 choke me
21312 #else
21313 char (*f) () = $ac_func;
21314 #endif
21315 #ifdef __cplusplus
21316 }
21317 #endif
21318
21319 int
21320 main ()
21321 {
21322 return f != $ac_func;
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest.$ac_objext conftest$ac_exeext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21329 (eval $ac_link) 2>conftest.er1
21330 ac_status=$?
21331 grep -v '^ *+' conftest.er1 >conftest.err
21332 rm -f conftest.er1
21333 cat conftest.err >&5
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); } &&
21336 { ac_try='test -z "$ac_c_werror_flag"
21337 || test ! -s conftest.err'
21338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21339 (eval $ac_try) 2>&5
21340 ac_status=$?
21341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21342 (exit $ac_status); }; } &&
21343 { ac_try='test -s conftest$ac_exeext'
21344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21345 (eval $ac_try) 2>&5
21346 ac_status=$?
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); }; }; then
21349 eval "$as_ac_var=yes"
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 eval "$as_ac_var=no"
21355 fi
21356 rm -f conftest.err conftest.$ac_objext \
21357 conftest$ac_exeext conftest.$ac_ext
21358 fi
21359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21361 if test `eval echo '${'$as_ac_var'}'` = yes; then
21362 cat >>confdefs.h <<_ACEOF
21363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21364 _ACEOF
21365
21366 fi
21367 done
21368
21369 else
21370
21371 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21372 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21373 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21374 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21375 echo $ECHO_N "(cached) $ECHO_C" >&6
21376 else
21377
21378
21379
21380 ac_ext=cc
21381 ac_cpp='$CXXCPP $CPPFLAGS'
21382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21385
21386 cat >conftest.$ac_ext <<_ACEOF
21387 /* confdefs.h. */
21388 _ACEOF
21389 cat confdefs.h >>conftest.$ac_ext
21390 cat >>conftest.$ac_ext <<_ACEOF
21391 /* end confdefs.h. */
21392 #include <math.h>
21393 #ifdef HAVE_IEEEFP_H
21394 #include <ieeefp.h>
21395 #endif
21396
21397 int
21398 main ()
21399 {
21400 _fabsl(0);
21401 ;
21402 return 0;
21403 }
21404 _ACEOF
21405 rm -f conftest.$ac_objext
21406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21407 (eval $ac_compile) 2>conftest.er1
21408 ac_status=$?
21409 grep -v '^ *+' conftest.er1 >conftest.err
21410 rm -f conftest.er1
21411 cat conftest.err >&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); } &&
21414 { ac_try='test -z "$ac_cxx_werror_flag"
21415 || test ! -s conftest.err'
21416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21417 (eval $ac_try) 2>&5
21418 ac_status=$?
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); }; } &&
21421 { ac_try='test -s conftest.$ac_objext'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21424 ac_status=$?
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; }; then
21427 glibcxx_cv_func__fabsl_use=yes
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 glibcxx_cv_func__fabsl_use=no
21433 fi
21434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440
21441
21442 fi
21443
21444 fi
21445 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21446 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21447
21448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21449
21450 for ac_func in _fabsl
21451 do
21452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21453 echo "$as_me:$LINENO: checking for $ac_func" >&5
21454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21455 if eval "test \"\${$as_ac_var+set}\" = set"; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 else
21458 if test x$gcc_no_link = xyes; then
21459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21461 { (exit 1); exit 1; }; }
21462 fi
21463 cat >conftest.$ac_ext <<_ACEOF
21464 /* confdefs.h. */
21465 _ACEOF
21466 cat confdefs.h >>conftest.$ac_ext
21467 cat >>conftest.$ac_ext <<_ACEOF
21468 /* end confdefs.h. */
21469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21471 #define $ac_func innocuous_$ac_func
21472
21473 /* System header to define __stub macros and hopefully few prototypes,
21474 which can conflict with char $ac_func (); below.
21475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21476 <limits.h> exists even on freestanding compilers. */
21477
21478 #ifdef __STDC__
21479 # include <limits.h>
21480 #else
21481 # include <assert.h>
21482 #endif
21483
21484 #undef $ac_func
21485
21486 /* Override any gcc2 internal prototype to avoid an error. */
21487 #ifdef __cplusplus
21488 extern "C"
21489 {
21490 #endif
21491 /* We use char because int might match the return type of a gcc2
21492 builtin and then its argument prototype would still apply. */
21493 char $ac_func ();
21494 /* The GNU C library defines this for functions which it implements
21495 to always fail with ENOSYS. Some functions are actually named
21496 something starting with __ and the normal name is an alias. */
21497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21498 choke me
21499 #else
21500 char (*f) () = $ac_func;
21501 #endif
21502 #ifdef __cplusplus
21503 }
21504 #endif
21505
21506 int
21507 main ()
21508 {
21509 return f != $ac_func;
21510 ;
21511 return 0;
21512 }
21513 _ACEOF
21514 rm -f conftest.$ac_objext conftest$ac_exeext
21515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21516 (eval $ac_link) 2>conftest.er1
21517 ac_status=$?
21518 grep -v '^ *+' conftest.er1 >conftest.err
21519 rm -f conftest.er1
21520 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try='test -z "$ac_c_werror_flag"
21524 || test ! -s conftest.err'
21525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21526 (eval $ac_try) 2>&5
21527 ac_status=$?
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); }; } &&
21530 { ac_try='test -s conftest$ac_exeext'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21533 ac_status=$?
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; }; then
21536 eval "$as_ac_var=yes"
21537 else
21538 echo "$as_me: failed program was:" >&5
21539 sed 's/^/| /' conftest.$ac_ext >&5
21540
21541 eval "$as_ac_var=no"
21542 fi
21543 rm -f conftest.err conftest.$ac_objext \
21544 conftest$ac_exeext conftest.$ac_ext
21545 fi
21546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21548 if test `eval echo '${'$as_ac_var'}'` = yes; then
21549 cat >>confdefs.h <<_ACEOF
21550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21551 _ACEOF
21552
21553 fi
21554 done
21555
21556 fi
21557 fi
21558
21559
21560
21561
21562
21563
21564 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
21565 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
21566 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
21567 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
21568 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 else
21570
21571
21572
21573 ac_ext=cc
21574 ac_cpp='$CXXCPP $CPPFLAGS'
21575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21578
21579 cat >conftest.$ac_ext <<_ACEOF
21580 /* confdefs.h. */
21581 _ACEOF
21582 cat confdefs.h >>conftest.$ac_ext
21583 cat >>conftest.$ac_ext <<_ACEOF
21584 /* end confdefs.h. */
21585 #include <math.h>
21586 int
21587 main ()
21588 {
21589 fmodl(0, 0);
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21596 (eval $ac_compile) 2>conftest.er1
21597 ac_status=$?
21598 grep -v '^ *+' conftest.er1 >conftest.err
21599 rm -f conftest.er1
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -z "$ac_cxx_werror_flag"
21604 || test ! -s conftest.err'
21605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21606 (eval $ac_try) 2>&5
21607 ac_status=$?
21608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21609 (exit $ac_status); }; } &&
21610 { ac_try='test -s conftest.$ac_objext'
21611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21612 (eval $ac_try) 2>&5
21613 ac_status=$?
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); }; }; then
21616 glibcxx_cv_func_fmodl_use=yes
21617 else
21618 echo "$as_me: failed program was:" >&5
21619 sed 's/^/| /' conftest.$ac_ext >&5
21620
21621 glibcxx_cv_func_fmodl_use=no
21622 fi
21623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21624 ac_ext=c
21625 ac_cpp='$CPP $CPPFLAGS'
21626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21629
21630
21631 fi
21632
21633 fi
21634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
21635 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
21636
21637 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
21638
21639 for ac_func in fmodl
21640 do
21641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21642 echo "$as_me:$LINENO: checking for $ac_func" >&5
21643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21644 if eval "test \"\${$as_ac_var+set}\" = set"; then
21645 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 else
21647 if test x$gcc_no_link = xyes; then
21648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21650 { (exit 1); exit 1; }; }
21651 fi
21652 cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h. */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21660 #define $ac_func innocuous_$ac_func
21661
21662 /* System header to define __stub macros and hopefully few prototypes,
21663 which can conflict with char $ac_func (); below.
21664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21665 <limits.h> exists even on freestanding compilers. */
21666
21667 #ifdef __STDC__
21668 # include <limits.h>
21669 #else
21670 # include <assert.h>
21671 #endif
21672
21673 #undef $ac_func
21674
21675 /* Override any gcc2 internal prototype to avoid an error. */
21676 #ifdef __cplusplus
21677 extern "C"
21678 {
21679 #endif
21680 /* We use char because int might match the return type of a gcc2
21681 builtin and then its argument prototype would still apply. */
21682 char $ac_func ();
21683 /* The GNU C library defines this for functions which it implements
21684 to always fail with ENOSYS. Some functions are actually named
21685 something starting with __ and the normal name is an alias. */
21686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21687 choke me
21688 #else
21689 char (*f) () = $ac_func;
21690 #endif
21691 #ifdef __cplusplus
21692 }
21693 #endif
21694
21695 int
21696 main ()
21697 {
21698 return f != $ac_func;
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 rm -f conftest.$ac_objext conftest$ac_exeext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21705 (eval $ac_link) 2>conftest.er1
21706 ac_status=$?
21707 grep -v '^ *+' conftest.er1 >conftest.err
21708 rm -f conftest.er1
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -z "$ac_c_werror_flag"
21713 || test ! -s conftest.err'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; } &&
21719 { ac_try='test -s conftest$ac_exeext'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; }; then
21725 eval "$as_ac_var=yes"
21726 else
21727 echo "$as_me: failed program was:" >&5
21728 sed 's/^/| /' conftest.$ac_ext >&5
21729
21730 eval "$as_ac_var=no"
21731 fi
21732 rm -f conftest.err conftest.$ac_objext \
21733 conftest$ac_exeext conftest.$ac_ext
21734 fi
21735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21737 if test `eval echo '${'$as_ac_var'}'` = yes; then
21738 cat >>confdefs.h <<_ACEOF
21739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21740 _ACEOF
21741
21742 fi
21743 done
21744
21745 else
21746
21747 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
21748 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
21749 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
21750 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
21751 echo $ECHO_N "(cached) $ECHO_C" >&6
21752 else
21753
21754
21755
21756 ac_ext=cc
21757 ac_cpp='$CXXCPP $CPPFLAGS'
21758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21761
21762 cat >conftest.$ac_ext <<_ACEOF
21763 /* confdefs.h. */
21764 _ACEOF
21765 cat confdefs.h >>conftest.$ac_ext
21766 cat >>conftest.$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 #include <math.h>
21769 int
21770 main ()
21771 {
21772 _fmodl(0, 0);
21773 ;
21774 return 0;
21775 }
21776 _ACEOF
21777 rm -f conftest.$ac_objext
21778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21779 (eval $ac_compile) 2>conftest.er1
21780 ac_status=$?
21781 grep -v '^ *+' conftest.er1 >conftest.err
21782 rm -f conftest.er1
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } &&
21786 { ac_try='test -z "$ac_cxx_werror_flag"
21787 || test ! -s conftest.err'
21788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21789 (eval $ac_try) 2>&5
21790 ac_status=$?
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); }; } &&
21793 { ac_try='test -s conftest.$ac_objext'
21794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21795 (eval $ac_try) 2>&5
21796 ac_status=$?
21797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21798 (exit $ac_status); }; }; then
21799 glibcxx_cv_func__fmodl_use=yes
21800 else
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21803
21804 glibcxx_cv_func__fmodl_use=no
21805 fi
21806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21807 ac_ext=c
21808 ac_cpp='$CPP $CPPFLAGS'
21809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21812
21813
21814 fi
21815
21816 fi
21817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
21818 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
21819
21820 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
21821
21822 for ac_func in _fmodl
21823 do
21824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21825 echo "$as_me:$LINENO: checking for $ac_func" >&5
21826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21827 if eval "test \"\${$as_ac_var+set}\" = set"; then
21828 echo $ECHO_N "(cached) $ECHO_C" >&6
21829 else
21830 if test x$gcc_no_link = xyes; then
21831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21833 { (exit 1); exit 1; }; }
21834 fi
21835 cat >conftest.$ac_ext <<_ACEOF
21836 /* confdefs.h. */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21843 #define $ac_func innocuous_$ac_func
21844
21845 /* System header to define __stub macros and hopefully few prototypes,
21846 which can conflict with char $ac_func (); below.
21847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21848 <limits.h> exists even on freestanding compilers. */
21849
21850 #ifdef __STDC__
21851 # include <limits.h>
21852 #else
21853 # include <assert.h>
21854 #endif
21855
21856 #undef $ac_func
21857
21858 /* Override any gcc2 internal prototype to avoid an error. */
21859 #ifdef __cplusplus
21860 extern "C"
21861 {
21862 #endif
21863 /* We use char because int might match the return type of a gcc2
21864 builtin and then its argument prototype would still apply. */
21865 char $ac_func ();
21866 /* The GNU C library defines this for functions which it implements
21867 to always fail with ENOSYS. Some functions are actually named
21868 something starting with __ and the normal name is an alias. */
21869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21870 choke me
21871 #else
21872 char (*f) () = $ac_func;
21873 #endif
21874 #ifdef __cplusplus
21875 }
21876 #endif
21877
21878 int
21879 main ()
21880 {
21881 return f != $ac_func;
21882 ;
21883 return 0;
21884 }
21885 _ACEOF
21886 rm -f conftest.$ac_objext conftest$ac_exeext
21887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21888 (eval $ac_link) 2>conftest.er1
21889 ac_status=$?
21890 grep -v '^ *+' conftest.er1 >conftest.err
21891 rm -f conftest.er1
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } &&
21895 { ac_try='test -z "$ac_c_werror_flag"
21896 || test ! -s conftest.err'
21897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21898 (eval $ac_try) 2>&5
21899 ac_status=$?
21900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21901 (exit $ac_status); }; } &&
21902 { ac_try='test -s conftest$ac_exeext'
21903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21904 (eval $ac_try) 2>&5
21905 ac_status=$?
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); }; }; then
21908 eval "$as_ac_var=yes"
21909 else
21910 echo "$as_me: failed program was:" >&5
21911 sed 's/^/| /' conftest.$ac_ext >&5
21912
21913 eval "$as_ac_var=no"
21914 fi
21915 rm -f conftest.err conftest.$ac_objext \
21916 conftest$ac_exeext conftest.$ac_ext
21917 fi
21918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21920 if test `eval echo '${'$as_ac_var'}'` = yes; then
21921 cat >>confdefs.h <<_ACEOF
21922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21923 _ACEOF
21924
21925 fi
21926 done
21927
21928 fi
21929 fi
21930
21931
21932
21933
21934
21935
21936 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
21937 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
21938 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
21939 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
21940 echo $ECHO_N "(cached) $ECHO_C" >&6
21941 else
21942
21943
21944
21945 ac_ext=cc
21946 ac_cpp='$CXXCPP $CPPFLAGS'
21947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21950
21951 cat >conftest.$ac_ext <<_ACEOF
21952 /* confdefs.h. */
21953 _ACEOF
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21957 #include <math.h>
21958 int
21959 main ()
21960 {
21961 frexpl(0, 0);
21962 ;
21963 return 0;
21964 }
21965 _ACEOF
21966 rm -f conftest.$ac_objext
21967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21968 (eval $ac_compile) 2>conftest.er1
21969 ac_status=$?
21970 grep -v '^ *+' conftest.er1 >conftest.err
21971 rm -f conftest.er1
21972 cat conftest.err >&5
21973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21974 (exit $ac_status); } &&
21975 { ac_try='test -z "$ac_cxx_werror_flag"
21976 || test ! -s conftest.err'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; } &&
21982 { ac_try='test -s conftest.$ac_objext'
21983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21984 (eval $ac_try) 2>&5
21985 ac_status=$?
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); }; }; then
21988 glibcxx_cv_func_frexpl_use=yes
21989 else
21990 echo "$as_me: failed program was:" >&5
21991 sed 's/^/| /' conftest.$ac_ext >&5
21992
21993 glibcxx_cv_func_frexpl_use=no
21994 fi
21995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21996 ac_ext=c
21997 ac_cpp='$CPP $CPPFLAGS'
21998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22001
22002
22003 fi
22004
22005 fi
22006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22007 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22008
22009 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22010
22011 for ac_func in frexpl
22012 do
22013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22014 echo "$as_me:$LINENO: checking for $ac_func" >&5
22015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22016 if eval "test \"\${$as_ac_var+set}\" = set"; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 else
22019 if test x$gcc_no_link = xyes; then
22020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22022 { (exit 1); exit 1; }; }
22023 fi
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22032 #define $ac_func innocuous_$ac_func
22033
22034 /* System header to define __stub macros and hopefully few prototypes,
22035 which can conflict with char $ac_func (); below.
22036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22037 <limits.h> exists even on freestanding compilers. */
22038
22039 #ifdef __STDC__
22040 # include <limits.h>
22041 #else
22042 # include <assert.h>
22043 #endif
22044
22045 #undef $ac_func
22046
22047 /* Override any gcc2 internal prototype to avoid an error. */
22048 #ifdef __cplusplus
22049 extern "C"
22050 {
22051 #endif
22052 /* We use char because int might match the return type of a gcc2
22053 builtin and then its argument prototype would still apply. */
22054 char $ac_func ();
22055 /* The GNU C library defines this for functions which it implements
22056 to always fail with ENOSYS. Some functions are actually named
22057 something starting with __ and the normal name is an alias. */
22058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22059 choke me
22060 #else
22061 char (*f) () = $ac_func;
22062 #endif
22063 #ifdef __cplusplus
22064 }
22065 #endif
22066
22067 int
22068 main ()
22069 {
22070 return f != $ac_func;
22071 ;
22072 return 0;
22073 }
22074 _ACEOF
22075 rm -f conftest.$ac_objext conftest$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077 (eval $ac_link) 2>conftest.er1
22078 ac_status=$?
22079 grep -v '^ *+' conftest.er1 >conftest.err
22080 rm -f conftest.er1
22081 cat conftest.err >&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try='test -z "$ac_c_werror_flag"
22085 || test ! -s conftest.err'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22088 ac_status=$?
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; } &&
22091 { ac_try='test -s conftest$ac_exeext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22094 ac_status=$?
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 eval "$as_ac_var=yes"
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 eval "$as_ac_var=no"
22103 fi
22104 rm -f conftest.err conftest.$ac_objext \
22105 conftest$ac_exeext conftest.$ac_ext
22106 fi
22107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22109 if test `eval echo '${'$as_ac_var'}'` = yes; then
22110 cat >>confdefs.h <<_ACEOF
22111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22112 _ACEOF
22113
22114 fi
22115 done
22116
22117 else
22118
22119 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22120 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22121 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22122 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22123 echo $ECHO_N "(cached) $ECHO_C" >&6
22124 else
22125
22126
22127
22128 ac_ext=cc
22129 ac_cpp='$CXXCPP $CPPFLAGS'
22130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22133
22134 cat >conftest.$ac_ext <<_ACEOF
22135 /* confdefs.h. */
22136 _ACEOF
22137 cat confdefs.h >>conftest.$ac_ext
22138 cat >>conftest.$ac_ext <<_ACEOF
22139 /* end confdefs.h. */
22140 #include <math.h>
22141 int
22142 main ()
22143 {
22144 _frexpl(0, 0);
22145 ;
22146 return 0;
22147 }
22148 _ACEOF
22149 rm -f conftest.$ac_objext
22150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22151 (eval $ac_compile) 2>conftest.er1
22152 ac_status=$?
22153 grep -v '^ *+' conftest.er1 >conftest.err
22154 rm -f conftest.er1
22155 cat conftest.err >&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try='test -z "$ac_cxx_werror_flag"
22159 || test ! -s conftest.err'
22160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22161 (eval $ac_try) 2>&5
22162 ac_status=$?
22163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22164 (exit $ac_status); }; } &&
22165 { ac_try='test -s conftest.$ac_objext'
22166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22167 (eval $ac_try) 2>&5
22168 ac_status=$?
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); }; }; then
22171 glibcxx_cv_func__frexpl_use=yes
22172 else
22173 echo "$as_me: failed program was:" >&5
22174 sed 's/^/| /' conftest.$ac_ext >&5
22175
22176 glibcxx_cv_func__frexpl_use=no
22177 fi
22178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22179 ac_ext=c
22180 ac_cpp='$CPP $CPPFLAGS'
22181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22184
22185
22186 fi
22187
22188 fi
22189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22190 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22191
22192 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22193
22194 for ac_func in _frexpl
22195 do
22196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22197 echo "$as_me:$LINENO: checking for $ac_func" >&5
22198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22199 if eval "test \"\${$as_ac_var+set}\" = set"; then
22200 echo $ECHO_N "(cached) $ECHO_C" >&6
22201 else
22202 if test x$gcc_no_link = xyes; then
22203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22205 { (exit 1); exit 1; }; }
22206 fi
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22215 #define $ac_func innocuous_$ac_func
22216
22217 /* System header to define __stub macros and hopefully few prototypes,
22218 which can conflict with char $ac_func (); below.
22219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22220 <limits.h> exists even on freestanding compilers. */
22221
22222 #ifdef __STDC__
22223 # include <limits.h>
22224 #else
22225 # include <assert.h>
22226 #endif
22227
22228 #undef $ac_func
22229
22230 /* Override any gcc2 internal prototype to avoid an error. */
22231 #ifdef __cplusplus
22232 extern "C"
22233 {
22234 #endif
22235 /* We use char because int might match the return type of a gcc2
22236 builtin and then its argument prototype would still apply. */
22237 char $ac_func ();
22238 /* The GNU C library defines this for functions which it implements
22239 to always fail with ENOSYS. Some functions are actually named
22240 something starting with __ and the normal name is an alias. */
22241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22242 choke me
22243 #else
22244 char (*f) () = $ac_func;
22245 #endif
22246 #ifdef __cplusplus
22247 }
22248 #endif
22249
22250 int
22251 main ()
22252 {
22253 return f != $ac_func;
22254 ;
22255 return 0;
22256 }
22257 _ACEOF
22258 rm -f conftest.$ac_objext conftest$ac_exeext
22259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22260 (eval $ac_link) 2>conftest.er1
22261 ac_status=$?
22262 grep -v '^ *+' conftest.er1 >conftest.err
22263 rm -f conftest.er1
22264 cat conftest.err >&5
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } &&
22267 { ac_try='test -z "$ac_c_werror_flag"
22268 || test ! -s conftest.err'
22269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22270 (eval $ac_try) 2>&5
22271 ac_status=$?
22272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22273 (exit $ac_status); }; } &&
22274 { ac_try='test -s conftest$ac_exeext'
22275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22276 (eval $ac_try) 2>&5
22277 ac_status=$?
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); }; }; then
22280 eval "$as_ac_var=yes"
22281 else
22282 echo "$as_me: failed program was:" >&5
22283 sed 's/^/| /' conftest.$ac_ext >&5
22284
22285 eval "$as_ac_var=no"
22286 fi
22287 rm -f conftest.err conftest.$ac_objext \
22288 conftest$ac_exeext conftest.$ac_ext
22289 fi
22290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22292 if test `eval echo '${'$as_ac_var'}'` = yes; then
22293 cat >>confdefs.h <<_ACEOF
22294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22295 _ACEOF
22296
22297 fi
22298 done
22299
22300 fi
22301 fi
22302
22303
22304
22305
22306
22307
22308 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22309 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22310 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22311 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22312 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 else
22314
22315
22316
22317 ac_ext=cc
22318 ac_cpp='$CXXCPP $CPPFLAGS'
22319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22322
22323 cat >conftest.$ac_ext <<_ACEOF
22324 /* confdefs.h. */
22325 _ACEOF
22326 cat confdefs.h >>conftest.$ac_ext
22327 cat >>conftest.$ac_ext <<_ACEOF
22328 /* end confdefs.h. */
22329 #include <math.h>
22330 int
22331 main ()
22332 {
22333 hypotl(0, 0);
22334 ;
22335 return 0;
22336 }
22337 _ACEOF
22338 rm -f conftest.$ac_objext
22339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22340 (eval $ac_compile) 2>conftest.er1
22341 ac_status=$?
22342 grep -v '^ *+' conftest.er1 >conftest.err
22343 rm -f conftest.er1
22344 cat conftest.err >&5
22345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22346 (exit $ac_status); } &&
22347 { ac_try='test -z "$ac_cxx_werror_flag"
22348 || test ! -s conftest.err'
22349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22350 (eval $ac_try) 2>&5
22351 ac_status=$?
22352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22353 (exit $ac_status); }; } &&
22354 { ac_try='test -s conftest.$ac_objext'
22355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22356 (eval $ac_try) 2>&5
22357 ac_status=$?
22358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22359 (exit $ac_status); }; }; then
22360 glibcxx_cv_func_hypotl_use=yes
22361 else
22362 echo "$as_me: failed program was:" >&5
22363 sed 's/^/| /' conftest.$ac_ext >&5
22364
22365 glibcxx_cv_func_hypotl_use=no
22366 fi
22367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22368 ac_ext=c
22369 ac_cpp='$CPP $CPPFLAGS'
22370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22373
22374
22375 fi
22376
22377 fi
22378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22379 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22380
22381 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22382
22383 for ac_func in hypotl
22384 do
22385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22386 echo "$as_me:$LINENO: checking for $ac_func" >&5
22387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22388 if eval "test \"\${$as_ac_var+set}\" = set"; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 else
22391 if test x$gcc_no_link = xyes; then
22392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22394 { (exit 1); exit 1; }; }
22395 fi
22396 cat >conftest.$ac_ext <<_ACEOF
22397 /* confdefs.h. */
22398 _ACEOF
22399 cat confdefs.h >>conftest.$ac_ext
22400 cat >>conftest.$ac_ext <<_ACEOF
22401 /* end confdefs.h. */
22402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22404 #define $ac_func innocuous_$ac_func
22405
22406 /* System header to define __stub macros and hopefully few prototypes,
22407 which can conflict with char $ac_func (); below.
22408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22409 <limits.h> exists even on freestanding compilers. */
22410
22411 #ifdef __STDC__
22412 # include <limits.h>
22413 #else
22414 # include <assert.h>
22415 #endif
22416
22417 #undef $ac_func
22418
22419 /* Override any gcc2 internal prototype to avoid an error. */
22420 #ifdef __cplusplus
22421 extern "C"
22422 {
22423 #endif
22424 /* We use char because int might match the return type of a gcc2
22425 builtin and then its argument prototype would still apply. */
22426 char $ac_func ();
22427 /* The GNU C library defines this for functions which it implements
22428 to always fail with ENOSYS. Some functions are actually named
22429 something starting with __ and the normal name is an alias. */
22430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22431 choke me
22432 #else
22433 char (*f) () = $ac_func;
22434 #endif
22435 #ifdef __cplusplus
22436 }
22437 #endif
22438
22439 int
22440 main ()
22441 {
22442 return f != $ac_func;
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext conftest$ac_exeext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22449 (eval $ac_link) 2>conftest.er1
22450 ac_status=$?
22451 grep -v '^ *+' conftest.er1 >conftest.err
22452 rm -f conftest.er1
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try='test -z "$ac_c_werror_flag"
22457 || test ! -s conftest.err'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22460 ac_status=$?
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; } &&
22463 { ac_try='test -s conftest$ac_exeext'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22466 ac_status=$?
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 eval "$as_ac_var=yes"
22470 else
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22473
22474 eval "$as_ac_var=no"
22475 fi
22476 rm -f conftest.err conftest.$ac_objext \
22477 conftest$ac_exeext conftest.$ac_ext
22478 fi
22479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22481 if test `eval echo '${'$as_ac_var'}'` = yes; then
22482 cat >>confdefs.h <<_ACEOF
22483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22484 _ACEOF
22485
22486 fi
22487 done
22488
22489 else
22490
22491 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22492 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22493 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22494 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22495 echo $ECHO_N "(cached) $ECHO_C" >&6
22496 else
22497
22498
22499
22500 ac_ext=cc
22501 ac_cpp='$CXXCPP $CPPFLAGS'
22502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22505
22506 cat >conftest.$ac_ext <<_ACEOF
22507 /* confdefs.h. */
22508 _ACEOF
22509 cat confdefs.h >>conftest.$ac_ext
22510 cat >>conftest.$ac_ext <<_ACEOF
22511 /* end confdefs.h. */
22512 #include <math.h>
22513 int
22514 main ()
22515 {
22516 _hypotl(0, 0);
22517 ;
22518 return 0;
22519 }
22520 _ACEOF
22521 rm -f conftest.$ac_objext
22522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22523 (eval $ac_compile) 2>conftest.er1
22524 ac_status=$?
22525 grep -v '^ *+' conftest.er1 >conftest.err
22526 rm -f conftest.er1
22527 cat conftest.err >&5
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); } &&
22530 { ac_try='test -z "$ac_cxx_werror_flag"
22531 || test ! -s conftest.err'
22532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22533 (eval $ac_try) 2>&5
22534 ac_status=$?
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); }; } &&
22537 { ac_try='test -s conftest.$ac_objext'
22538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22539 (eval $ac_try) 2>&5
22540 ac_status=$?
22541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22542 (exit $ac_status); }; }; then
22543 glibcxx_cv_func__hypotl_use=yes
22544 else
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.$ac_ext >&5
22547
22548 glibcxx_cv_func__hypotl_use=no
22549 fi
22550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22556
22557
22558 fi
22559
22560 fi
22561 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22562 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22563
22564 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22565
22566 for ac_func in _hypotl
22567 do
22568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22569 echo "$as_me:$LINENO: checking for $ac_func" >&5
22570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22571 if eval "test \"\${$as_ac_var+set}\" = set"; then
22572 echo $ECHO_N "(cached) $ECHO_C" >&6
22573 else
22574 if test x$gcc_no_link = xyes; then
22575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22577 { (exit 1); exit 1; }; }
22578 fi
22579 cat >conftest.$ac_ext <<_ACEOF
22580 /* confdefs.h. */
22581 _ACEOF
22582 cat confdefs.h >>conftest.$ac_ext
22583 cat >>conftest.$ac_ext <<_ACEOF
22584 /* end confdefs.h. */
22585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22587 #define $ac_func innocuous_$ac_func
22588
22589 /* System header to define __stub macros and hopefully few prototypes,
22590 which can conflict with char $ac_func (); below.
22591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22592 <limits.h> exists even on freestanding compilers. */
22593
22594 #ifdef __STDC__
22595 # include <limits.h>
22596 #else
22597 # include <assert.h>
22598 #endif
22599
22600 #undef $ac_func
22601
22602 /* Override any gcc2 internal prototype to avoid an error. */
22603 #ifdef __cplusplus
22604 extern "C"
22605 {
22606 #endif
22607 /* We use char because int might match the return type of a gcc2
22608 builtin and then its argument prototype would still apply. */
22609 char $ac_func ();
22610 /* The GNU C library defines this for functions which it implements
22611 to always fail with ENOSYS. Some functions are actually named
22612 something starting with __ and the normal name is an alias. */
22613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22614 choke me
22615 #else
22616 char (*f) () = $ac_func;
22617 #endif
22618 #ifdef __cplusplus
22619 }
22620 #endif
22621
22622 int
22623 main ()
22624 {
22625 return f != $ac_func;
22626 ;
22627 return 0;
22628 }
22629 _ACEOF
22630 rm -f conftest.$ac_objext conftest$ac_exeext
22631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22632 (eval $ac_link) 2>conftest.er1
22633 ac_status=$?
22634 grep -v '^ *+' conftest.er1 >conftest.err
22635 rm -f conftest.er1
22636 cat conftest.err >&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); } &&
22639 { ac_try='test -z "$ac_c_werror_flag"
22640 || test ! -s conftest.err'
22641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22642 (eval $ac_try) 2>&5
22643 ac_status=$?
22644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 (exit $ac_status); }; } &&
22646 { ac_try='test -s conftest$ac_exeext'
22647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22648 (eval $ac_try) 2>&5
22649 ac_status=$?
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); }; }; then
22652 eval "$as_ac_var=yes"
22653 else
22654 echo "$as_me: failed program was:" >&5
22655 sed 's/^/| /' conftest.$ac_ext >&5
22656
22657 eval "$as_ac_var=no"
22658 fi
22659 rm -f conftest.err conftest.$ac_objext \
22660 conftest$ac_exeext conftest.$ac_ext
22661 fi
22662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22664 if test `eval echo '${'$as_ac_var'}'` = yes; then
22665 cat >>confdefs.h <<_ACEOF
22666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22667 _ACEOF
22668
22669 fi
22670 done
22671
22672 fi
22673 fi
22674
22675
22676
22677
22678
22679
22680 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
22681 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
22682 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
22683 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
22684 echo $ECHO_N "(cached) $ECHO_C" >&6
22685 else
22686
22687
22688
22689 ac_ext=cc
22690 ac_cpp='$CXXCPP $CPPFLAGS'
22691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22694
22695 cat >conftest.$ac_ext <<_ACEOF
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 #include <math.h>
22702 int
22703 main ()
22704 {
22705 ldexpl(0, 0);
22706 ;
22707 return 0;
22708 }
22709 _ACEOF
22710 rm -f conftest.$ac_objext
22711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22712 (eval $ac_compile) 2>conftest.er1
22713 ac_status=$?
22714 grep -v '^ *+' conftest.er1 >conftest.err
22715 rm -f conftest.er1
22716 cat conftest.err >&5
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); } &&
22719 { ac_try='test -z "$ac_cxx_werror_flag"
22720 || test ! -s conftest.err'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22729 ac_status=$?
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 glibcxx_cv_func_ldexpl_use=yes
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737 glibcxx_cv_func_ldexpl_use=no
22738 fi
22739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22740 ac_ext=c
22741 ac_cpp='$CPP $CPPFLAGS'
22742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22745
22746
22747 fi
22748
22749 fi
22750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
22751 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
22752
22753 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
22754
22755 for ac_func in ldexpl
22756 do
22757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22758 echo "$as_me:$LINENO: checking for $ac_func" >&5
22759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22760 if eval "test \"\${$as_ac_var+set}\" = set"; then
22761 echo $ECHO_N "(cached) $ECHO_C" >&6
22762 else
22763 if test x$gcc_no_link = xyes; then
22764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22766 { (exit 1); exit 1; }; }
22767 fi
22768 cat >conftest.$ac_ext <<_ACEOF
22769 /* confdefs.h. */
22770 _ACEOF
22771 cat confdefs.h >>conftest.$ac_ext
22772 cat >>conftest.$ac_ext <<_ACEOF
22773 /* end confdefs.h. */
22774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22776 #define $ac_func innocuous_$ac_func
22777
22778 /* System header to define __stub macros and hopefully few prototypes,
22779 which can conflict with char $ac_func (); below.
22780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22781 <limits.h> exists even on freestanding compilers. */
22782
22783 #ifdef __STDC__
22784 # include <limits.h>
22785 #else
22786 # include <assert.h>
22787 #endif
22788
22789 #undef $ac_func
22790
22791 /* Override any gcc2 internal prototype to avoid an error. */
22792 #ifdef __cplusplus
22793 extern "C"
22794 {
22795 #endif
22796 /* We use char because int might match the return type of a gcc2
22797 builtin and then its argument prototype would still apply. */
22798 char $ac_func ();
22799 /* The GNU C library defines this for functions which it implements
22800 to always fail with ENOSYS. Some functions are actually named
22801 something starting with __ and the normal name is an alias. */
22802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22803 choke me
22804 #else
22805 char (*f) () = $ac_func;
22806 #endif
22807 #ifdef __cplusplus
22808 }
22809 #endif
22810
22811 int
22812 main ()
22813 {
22814 return f != $ac_func;
22815 ;
22816 return 0;
22817 }
22818 _ACEOF
22819 rm -f conftest.$ac_objext conftest$ac_exeext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22821 (eval $ac_link) 2>conftest.er1
22822 ac_status=$?
22823 grep -v '^ *+' conftest.er1 >conftest.err
22824 rm -f conftest.er1
22825 cat conftest.err >&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } &&
22828 { ac_try='test -z "$ac_c_werror_flag"
22829 || test ! -s conftest.err'
22830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22831 (eval $ac_try) 2>&5
22832 ac_status=$?
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); }; } &&
22835 { ac_try='test -s conftest$ac_exeext'
22836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22837 (eval $ac_try) 2>&5
22838 ac_status=$?
22839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22840 (exit $ac_status); }; }; then
22841 eval "$as_ac_var=yes"
22842 else
22843 echo "$as_me: failed program was:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22845
22846 eval "$as_ac_var=no"
22847 fi
22848 rm -f conftest.err conftest.$ac_objext \
22849 conftest$ac_exeext conftest.$ac_ext
22850 fi
22851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22853 if test `eval echo '${'$as_ac_var'}'` = yes; then
22854 cat >>confdefs.h <<_ACEOF
22855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22856 _ACEOF
22857
22858 fi
22859 done
22860
22861 else
22862
22863 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
22864 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
22865 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
22866 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
22867 echo $ECHO_N "(cached) $ECHO_C" >&6
22868 else
22869
22870
22871
22872 ac_ext=cc
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884 #include <math.h>
22885 int
22886 main ()
22887 {
22888 _ldexpl(0, 0);
22889 ;
22890 return 0;
22891 }
22892 _ACEOF
22893 rm -f conftest.$ac_objext
22894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22895 (eval $ac_compile) 2>conftest.er1
22896 ac_status=$?
22897 grep -v '^ *+' conftest.er1 >conftest.err
22898 rm -f conftest.er1
22899 cat conftest.err >&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); } &&
22902 { ac_try='test -z "$ac_cxx_werror_flag"
22903 || test ! -s conftest.err'
22904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905 (eval $ac_try) 2>&5
22906 ac_status=$?
22907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908 (exit $ac_status); }; } &&
22909 { ac_try='test -s conftest.$ac_objext'
22910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22911 (eval $ac_try) 2>&5
22912 ac_status=$?
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); }; }; then
22915 glibcxx_cv_func__ldexpl_use=yes
22916 else
22917 echo "$as_me: failed program was:" >&5
22918 sed 's/^/| /' conftest.$ac_ext >&5
22919
22920 glibcxx_cv_func__ldexpl_use=no
22921 fi
22922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22923 ac_ext=c
22924 ac_cpp='$CPP $CPPFLAGS'
22925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928
22929
22930 fi
22931
22932 fi
22933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
22934 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
22935
22936 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
22937
22938 for ac_func in _ldexpl
22939 do
22940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22941 echo "$as_me:$LINENO: checking for $ac_func" >&5
22942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22943 if eval "test \"\${$as_ac_var+set}\" = set"; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22946 if test x$gcc_no_link = xyes; then
22947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22949 { (exit 1); exit 1; }; }
22950 fi
22951 cat >conftest.$ac_ext <<_ACEOF
22952 /* confdefs.h. */
22953 _ACEOF
22954 cat confdefs.h >>conftest.$ac_ext
22955 cat >>conftest.$ac_ext <<_ACEOF
22956 /* end confdefs.h. */
22957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22959 #define $ac_func innocuous_$ac_func
22960
22961 /* System header to define __stub macros and hopefully few prototypes,
22962 which can conflict with char $ac_func (); below.
22963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22964 <limits.h> exists even on freestanding compilers. */
22965
22966 #ifdef __STDC__
22967 # include <limits.h>
22968 #else
22969 # include <assert.h>
22970 #endif
22971
22972 #undef $ac_func
22973
22974 /* Override any gcc2 internal prototype to avoid an error. */
22975 #ifdef __cplusplus
22976 extern "C"
22977 {
22978 #endif
22979 /* We use char because int might match the return type of a gcc2
22980 builtin and then its argument prototype would still apply. */
22981 char $ac_func ();
22982 /* The GNU C library defines this for functions which it implements
22983 to always fail with ENOSYS. Some functions are actually named
22984 something starting with __ and the normal name is an alias. */
22985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22986 choke me
22987 #else
22988 char (*f) () = $ac_func;
22989 #endif
22990 #ifdef __cplusplus
22991 }
22992 #endif
22993
22994 int
22995 main ()
22996 {
22997 return f != $ac_func;
22998 ;
22999 return 0;
23000 }
23001 _ACEOF
23002 rm -f conftest.$ac_objext conftest$ac_exeext
23003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23004 (eval $ac_link) 2>conftest.er1
23005 ac_status=$?
23006 grep -v '^ *+' conftest.er1 >conftest.err
23007 rm -f conftest.er1
23008 cat conftest.err >&5
23009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23010 (exit $ac_status); } &&
23011 { ac_try='test -z "$ac_c_werror_flag"
23012 || test ! -s conftest.err'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23015 ac_status=$?
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; } &&
23018 { ac_try='test -s conftest$ac_exeext'
23019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23020 (eval $ac_try) 2>&5
23021 ac_status=$?
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); }; }; then
23024 eval "$as_ac_var=yes"
23025 else
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23028
23029 eval "$as_ac_var=no"
23030 fi
23031 rm -f conftest.err conftest.$ac_objext \
23032 conftest$ac_exeext conftest.$ac_ext
23033 fi
23034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23036 if test `eval echo '${'$as_ac_var'}'` = yes; then
23037 cat >>confdefs.h <<_ACEOF
23038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23039 _ACEOF
23040
23041 fi
23042 done
23043
23044 fi
23045 fi
23046
23047
23048
23049
23050
23051
23052 echo "$as_me:$LINENO: checking for logl declaration" >&5
23053 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23054 if test x${glibcxx_cv_func_logl_use+set} != xset; then
23055 if test "${glibcxx_cv_func_logl_use+set}" = set; then
23056 echo $ECHO_N "(cached) $ECHO_C" >&6
23057 else
23058
23059
23060
23061 ac_ext=cc
23062 ac_cpp='$CXXCPP $CPPFLAGS'
23063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23066
23067 cat >conftest.$ac_ext <<_ACEOF
23068 /* confdefs.h. */
23069 _ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 #include <math.h>
23074 #ifdef HAVE_IEEEFP_H
23075 #include <ieeefp.h>
23076 #endif
23077
23078 int
23079 main ()
23080 {
23081 logl(0);
23082 ;
23083 return 0;
23084 }
23085 _ACEOF
23086 rm -f conftest.$ac_objext
23087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23088 (eval $ac_compile) 2>conftest.er1
23089 ac_status=$?
23090 grep -v '^ *+' conftest.er1 >conftest.err
23091 rm -f conftest.er1
23092 cat conftest.err >&5
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); } &&
23095 { ac_try='test -z "$ac_cxx_werror_flag"
23096 || test ! -s conftest.err'
23097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098 (eval $ac_try) 2>&5
23099 ac_status=$?
23100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101 (exit $ac_status); }; } &&
23102 { ac_try='test -s conftest.$ac_objext'
23103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23104 (eval $ac_try) 2>&5
23105 ac_status=$?
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); }; }; then
23108 glibcxx_cv_func_logl_use=yes
23109 else
23110 echo "$as_me: failed program was:" >&5
23111 sed 's/^/| /' conftest.$ac_ext >&5
23112
23113 glibcxx_cv_func_logl_use=no
23114 fi
23115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121
23122
23123 fi
23124
23125 fi
23126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23127 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23128
23129 if test x$glibcxx_cv_func_logl_use = x"yes"; then
23130
23131 for ac_func in logl
23132 do
23133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23134 echo "$as_me:$LINENO: checking for $ac_func" >&5
23135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23136 if eval "test \"\${$as_ac_var+set}\" = set"; then
23137 echo $ECHO_N "(cached) $ECHO_C" >&6
23138 else
23139 if test x$gcc_no_link = xyes; then
23140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23142 { (exit 1); exit 1; }; }
23143 fi
23144 cat >conftest.$ac_ext <<_ACEOF
23145 /* confdefs.h. */
23146 _ACEOF
23147 cat confdefs.h >>conftest.$ac_ext
23148 cat >>conftest.$ac_ext <<_ACEOF
23149 /* end confdefs.h. */
23150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23152 #define $ac_func innocuous_$ac_func
23153
23154 /* System header to define __stub macros and hopefully few prototypes,
23155 which can conflict with char $ac_func (); below.
23156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23157 <limits.h> exists even on freestanding compilers. */
23158
23159 #ifdef __STDC__
23160 # include <limits.h>
23161 #else
23162 # include <assert.h>
23163 #endif
23164
23165 #undef $ac_func
23166
23167 /* Override any gcc2 internal prototype to avoid an error. */
23168 #ifdef __cplusplus
23169 extern "C"
23170 {
23171 #endif
23172 /* We use char because int might match the return type of a gcc2
23173 builtin and then its argument prototype would still apply. */
23174 char $ac_func ();
23175 /* The GNU C library defines this for functions which it implements
23176 to always fail with ENOSYS. Some functions are actually named
23177 something starting with __ and the normal name is an alias. */
23178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23179 choke me
23180 #else
23181 char (*f) () = $ac_func;
23182 #endif
23183 #ifdef __cplusplus
23184 }
23185 #endif
23186
23187 int
23188 main ()
23189 {
23190 return f != $ac_func;
23191 ;
23192 return 0;
23193 }
23194 _ACEOF
23195 rm -f conftest.$ac_objext conftest$ac_exeext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23197 (eval $ac_link) 2>conftest.er1
23198 ac_status=$?
23199 grep -v '^ *+' conftest.er1 >conftest.err
23200 rm -f conftest.er1
23201 cat conftest.err >&5
23202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23203 (exit $ac_status); } &&
23204 { ac_try='test -z "$ac_c_werror_flag"
23205 || test ! -s conftest.err'
23206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23207 (eval $ac_try) 2>&5
23208 ac_status=$?
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); }; } &&
23211 { ac_try='test -s conftest$ac_exeext'
23212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23213 (eval $ac_try) 2>&5
23214 ac_status=$?
23215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23216 (exit $ac_status); }; }; then
23217 eval "$as_ac_var=yes"
23218 else
23219 echo "$as_me: failed program was:" >&5
23220 sed 's/^/| /' conftest.$ac_ext >&5
23221
23222 eval "$as_ac_var=no"
23223 fi
23224 rm -f conftest.err conftest.$ac_objext \
23225 conftest$ac_exeext conftest.$ac_ext
23226 fi
23227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23229 if test `eval echo '${'$as_ac_var'}'` = yes; then
23230 cat >>confdefs.h <<_ACEOF
23231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23232 _ACEOF
23233
23234 fi
23235 done
23236
23237 else
23238
23239 echo "$as_me:$LINENO: checking for _logl declaration" >&5
23240 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23241 if test x${glibcxx_cv_func__logl_use+set} != xset; then
23242 if test "${glibcxx_cv_func__logl_use+set}" = set; then
23243 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 else
23245
23246
23247
23248 ac_ext=cc
23249 ac_cpp='$CXXCPP $CPPFLAGS'
23250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23253
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #include <math.h>
23261 #ifdef HAVE_IEEEFP_H
23262 #include <ieeefp.h>
23263 #endif
23264
23265 int
23266 main ()
23267 {
23268 _logl(0);
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23275 (eval $ac_compile) 2>conftest.er1
23276 ac_status=$?
23277 grep -v '^ *+' conftest.er1 >conftest.err
23278 rm -f conftest.er1
23279 cat conftest.err >&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } &&
23282 { ac_try='test -z "$ac_cxx_werror_flag"
23283 || test ! -s conftest.err'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; } &&
23289 { ac_try='test -s conftest.$ac_objext'
23290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23292 ac_status=$?
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; }; then
23295 glibcxx_cv_func__logl_use=yes
23296 else
23297 echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23299
23300 glibcxx_cv_func__logl_use=no
23301 fi
23302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23303 ac_ext=c
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308
23309
23310 fi
23311
23312 fi
23313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23314 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23315
23316 if test x$glibcxx_cv_func__logl_use = x"yes"; then
23317
23318 for ac_func in _logl
23319 do
23320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23321 echo "$as_me:$LINENO: checking for $ac_func" >&5
23322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23323 if eval "test \"\${$as_ac_var+set}\" = set"; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326 if test x$gcc_no_link = xyes; then
23327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23329 { (exit 1); exit 1; }; }
23330 fi
23331 cat >conftest.$ac_ext <<_ACEOF
23332 /* confdefs.h. */
23333 _ACEOF
23334 cat confdefs.h >>conftest.$ac_ext
23335 cat >>conftest.$ac_ext <<_ACEOF
23336 /* end confdefs.h. */
23337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23339 #define $ac_func innocuous_$ac_func
23340
23341 /* System header to define __stub macros and hopefully few prototypes,
23342 which can conflict with char $ac_func (); below.
23343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23344 <limits.h> exists even on freestanding compilers. */
23345
23346 #ifdef __STDC__
23347 # include <limits.h>
23348 #else
23349 # include <assert.h>
23350 #endif
23351
23352 #undef $ac_func
23353
23354 /* Override any gcc2 internal prototype to avoid an error. */
23355 #ifdef __cplusplus
23356 extern "C"
23357 {
23358 #endif
23359 /* We use char because int might match the return type of a gcc2
23360 builtin and then its argument prototype would still apply. */
23361 char $ac_func ();
23362 /* The GNU C library defines this for functions which it implements
23363 to always fail with ENOSYS. Some functions are actually named
23364 something starting with __ and the normal name is an alias. */
23365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23366 choke me
23367 #else
23368 char (*f) () = $ac_func;
23369 #endif
23370 #ifdef __cplusplus
23371 }
23372 #endif
23373
23374 int
23375 main ()
23376 {
23377 return f != $ac_func;
23378 ;
23379 return 0;
23380 }
23381 _ACEOF
23382 rm -f conftest.$ac_objext conftest$ac_exeext
23383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23384 (eval $ac_link) 2>conftest.er1
23385 ac_status=$?
23386 grep -v '^ *+' conftest.er1 >conftest.err
23387 rm -f conftest.er1
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } &&
23391 { ac_try='test -z "$ac_c_werror_flag"
23392 || test ! -s conftest.err'
23393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23394 (eval $ac_try) 2>&5
23395 ac_status=$?
23396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23397 (exit $ac_status); }; } &&
23398 { ac_try='test -s conftest$ac_exeext'
23399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23400 (eval $ac_try) 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); }; }; then
23404 eval "$as_ac_var=yes"
23405 else
23406 echo "$as_me: failed program was:" >&5
23407 sed 's/^/| /' conftest.$ac_ext >&5
23408
23409 eval "$as_ac_var=no"
23410 fi
23411 rm -f conftest.err conftest.$ac_objext \
23412 conftest$ac_exeext conftest.$ac_ext
23413 fi
23414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23416 if test `eval echo '${'$as_ac_var'}'` = yes; then
23417 cat >>confdefs.h <<_ACEOF
23418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23419 _ACEOF
23420
23421 fi
23422 done
23423
23424 fi
23425 fi
23426
23427
23428
23429
23430
23431
23432 echo "$as_me:$LINENO: checking for log10l declaration" >&5
23433 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23434 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23435 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 else
23438
23439
23440
23441 ac_ext=cc
23442 ac_cpp='$CXXCPP $CPPFLAGS'
23443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23446
23447 cat >conftest.$ac_ext <<_ACEOF
23448 /* confdefs.h. */
23449 _ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 #include <math.h>
23454 #ifdef HAVE_IEEEFP_H
23455 #include <ieeefp.h>
23456 #endif
23457
23458 int
23459 main ()
23460 {
23461 log10l(0);
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 rm -f conftest.$ac_objext
23467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23468 (eval $ac_compile) 2>conftest.er1
23469 ac_status=$?
23470 grep -v '^ *+' conftest.er1 >conftest.err
23471 rm -f conftest.er1
23472 cat conftest.err >&5
23473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23474 (exit $ac_status); } &&
23475 { ac_try='test -z "$ac_cxx_werror_flag"
23476 || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 glibcxx_cv_func_log10l_use=yes
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 glibcxx_cv_func_log10l_use=no
23494 fi
23495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23496 ac_ext=c
23497 ac_cpp='$CPP $CPPFLAGS'
23498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23501
23502
23503 fi
23504
23505 fi
23506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23507 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23508
23509 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23510
23511 for ac_func in log10l
23512 do
23513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23514 echo "$as_me:$LINENO: checking for $ac_func" >&5
23515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23516 if eval "test \"\${$as_ac_var+set}\" = set"; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23518 else
23519 if test x$gcc_no_link = xyes; then
23520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23522 { (exit 1); exit 1; }; }
23523 fi
23524 cat >conftest.$ac_ext <<_ACEOF
23525 /* confdefs.h. */
23526 _ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23532 #define $ac_func innocuous_$ac_func
23533
23534 /* System header to define __stub macros and hopefully few prototypes,
23535 which can conflict with char $ac_func (); below.
23536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23537 <limits.h> exists even on freestanding compilers. */
23538
23539 #ifdef __STDC__
23540 # include <limits.h>
23541 #else
23542 # include <assert.h>
23543 #endif
23544
23545 #undef $ac_func
23546
23547 /* Override any gcc2 internal prototype to avoid an error. */
23548 #ifdef __cplusplus
23549 extern "C"
23550 {
23551 #endif
23552 /* We use char because int might match the return type of a gcc2
23553 builtin and then its argument prototype would still apply. */
23554 char $ac_func ();
23555 /* The GNU C library defines this for functions which it implements
23556 to always fail with ENOSYS. Some functions are actually named
23557 something starting with __ and the normal name is an alias. */
23558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23559 choke me
23560 #else
23561 char (*f) () = $ac_func;
23562 #endif
23563 #ifdef __cplusplus
23564 }
23565 #endif
23566
23567 int
23568 main ()
23569 {
23570 return f != $ac_func;
23571 ;
23572 return 0;
23573 }
23574 _ACEOF
23575 rm -f conftest.$ac_objext conftest$ac_exeext
23576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23577 (eval $ac_link) 2>conftest.er1
23578 ac_status=$?
23579 grep -v '^ *+' conftest.er1 >conftest.err
23580 rm -f conftest.er1
23581 cat conftest.err >&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); } &&
23584 { ac_try='test -z "$ac_c_werror_flag"
23585 || test ! -s conftest.err'
23586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23587 (eval $ac_try) 2>&5
23588 ac_status=$?
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); }; } &&
23591 { ac_try='test -s conftest$ac_exeext'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23594 ac_status=$?
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; }; then
23597 eval "$as_ac_var=yes"
23598 else
23599 echo "$as_me: failed program was:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23601
23602 eval "$as_ac_var=no"
23603 fi
23604 rm -f conftest.err conftest.$ac_objext \
23605 conftest$ac_exeext conftest.$ac_ext
23606 fi
23607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23609 if test `eval echo '${'$as_ac_var'}'` = yes; then
23610 cat >>confdefs.h <<_ACEOF
23611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23612 _ACEOF
23613
23614 fi
23615 done
23616
23617 else
23618
23619 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
23620 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
23621 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
23622 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
23623 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 else
23625
23626
23627
23628 ac_ext=cc
23629 ac_cpp='$CXXCPP $CPPFLAGS'
23630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23633
23634 cat >conftest.$ac_ext <<_ACEOF
23635 /* confdefs.h. */
23636 _ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23640 #include <math.h>
23641 #ifdef HAVE_IEEEFP_H
23642 #include <ieeefp.h>
23643 #endif
23644
23645 int
23646 main ()
23647 {
23648 _log10l(0);
23649 ;
23650 return 0;
23651 }
23652 _ACEOF
23653 rm -f conftest.$ac_objext
23654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23655 (eval $ac_compile) 2>conftest.er1
23656 ac_status=$?
23657 grep -v '^ *+' conftest.er1 >conftest.err
23658 rm -f conftest.er1
23659 cat conftest.err >&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); } &&
23662 { ac_try='test -z "$ac_cxx_werror_flag"
23663 || test ! -s conftest.err'
23664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665 (eval $ac_try) 2>&5
23666 ac_status=$?
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); }; } &&
23669 { ac_try='test -s conftest.$ac_objext'
23670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23671 (eval $ac_try) 2>&5
23672 ac_status=$?
23673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23674 (exit $ac_status); }; }; then
23675 glibcxx_cv_func__log10l_use=yes
23676 else
23677 echo "$as_me: failed program was:" >&5
23678 sed 's/^/| /' conftest.$ac_ext >&5
23679
23680 glibcxx_cv_func__log10l_use=no
23681 fi
23682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23683 ac_ext=c
23684 ac_cpp='$CPP $CPPFLAGS'
23685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23688
23689
23690 fi
23691
23692 fi
23693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
23694 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
23695
23696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
23697
23698 for ac_func in _log10l
23699 do
23700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23701 echo "$as_me:$LINENO: checking for $ac_func" >&5
23702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23703 if eval "test \"\${$as_ac_var+set}\" = set"; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23706 if test x$gcc_no_link = xyes; then
23707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23709 { (exit 1); exit 1; }; }
23710 fi
23711 cat >conftest.$ac_ext <<_ACEOF
23712 /* confdefs.h. */
23713 _ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23719 #define $ac_func innocuous_$ac_func
23720
23721 /* System header to define __stub macros and hopefully few prototypes,
23722 which can conflict with char $ac_func (); below.
23723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23724 <limits.h> exists even on freestanding compilers. */
23725
23726 #ifdef __STDC__
23727 # include <limits.h>
23728 #else
23729 # include <assert.h>
23730 #endif
23731
23732 #undef $ac_func
23733
23734 /* Override any gcc2 internal prototype to avoid an error. */
23735 #ifdef __cplusplus
23736 extern "C"
23737 {
23738 #endif
23739 /* We use char because int might match the return type of a gcc2
23740 builtin and then its argument prototype would still apply. */
23741 char $ac_func ();
23742 /* The GNU C library defines this for functions which it implements
23743 to always fail with ENOSYS. Some functions are actually named
23744 something starting with __ and the normal name is an alias. */
23745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23746 choke me
23747 #else
23748 char (*f) () = $ac_func;
23749 #endif
23750 #ifdef __cplusplus
23751 }
23752 #endif
23753
23754 int
23755 main ()
23756 {
23757 return f != $ac_func;
23758 ;
23759 return 0;
23760 }
23761 _ACEOF
23762 rm -f conftest.$ac_objext conftest$ac_exeext
23763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23764 (eval $ac_link) 2>conftest.er1
23765 ac_status=$?
23766 grep -v '^ *+' conftest.er1 >conftest.err
23767 rm -f conftest.er1
23768 cat conftest.err >&5
23769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23770 (exit $ac_status); } &&
23771 { ac_try='test -z "$ac_c_werror_flag"
23772 || test ! -s conftest.err'
23773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23774 (eval $ac_try) 2>&5
23775 ac_status=$?
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); }; } &&
23778 { ac_try='test -s conftest$ac_exeext'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; }; then
23784 eval "$as_ac_var=yes"
23785 else
23786 echo "$as_me: failed program was:" >&5
23787 sed 's/^/| /' conftest.$ac_ext >&5
23788
23789 eval "$as_ac_var=no"
23790 fi
23791 rm -f conftest.err conftest.$ac_objext \
23792 conftest$ac_exeext conftest.$ac_ext
23793 fi
23794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23796 if test `eval echo '${'$as_ac_var'}'` = yes; then
23797 cat >>confdefs.h <<_ACEOF
23798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23799 _ACEOF
23800
23801 fi
23802 done
23803
23804 fi
23805 fi
23806
23807
23808
23809
23810
23811
23812 echo "$as_me:$LINENO: checking for modfl declaration" >&5
23813 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
23814 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
23815 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
23816 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 else
23818
23819
23820
23821 ac_ext=cc
23822 ac_cpp='$CXXCPP $CPPFLAGS'
23823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23826
23827 cat >conftest.$ac_ext <<_ACEOF
23828 /* confdefs.h. */
23829 _ACEOF
23830 cat confdefs.h >>conftest.$ac_ext
23831 cat >>conftest.$ac_ext <<_ACEOF
23832 /* end confdefs.h. */
23833 #include <math.h>
23834 int
23835 main ()
23836 {
23837 modfl(0, 0);
23838 ;
23839 return 0;
23840 }
23841 _ACEOF
23842 rm -f conftest.$ac_objext
23843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23844 (eval $ac_compile) 2>conftest.er1
23845 ac_status=$?
23846 grep -v '^ *+' conftest.er1 >conftest.err
23847 rm -f conftest.er1
23848 cat conftest.err >&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } &&
23851 { ac_try='test -z "$ac_cxx_werror_flag"
23852 || test ! -s conftest.err'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23855 ac_status=$?
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; } &&
23858 { ac_try='test -s conftest.$ac_objext'
23859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23860 (eval $ac_try) 2>&5
23861 ac_status=$?
23862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23863 (exit $ac_status); }; }; then
23864 glibcxx_cv_func_modfl_use=yes
23865 else
23866 echo "$as_me: failed program was:" >&5
23867 sed 's/^/| /' conftest.$ac_ext >&5
23868
23869 glibcxx_cv_func_modfl_use=no
23870 fi
23871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23872 ac_ext=c
23873 ac_cpp='$CPP $CPPFLAGS'
23874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877
23878
23879 fi
23880
23881 fi
23882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
23883 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
23884
23885 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
23886
23887 for ac_func in modfl
23888 do
23889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23890 echo "$as_me:$LINENO: checking for $ac_func" >&5
23891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23892 if eval "test \"\${$as_ac_var+set}\" = set"; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895 if test x$gcc_no_link = xyes; then
23896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23898 { (exit 1); exit 1; }; }
23899 fi
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23908 #define $ac_func innocuous_$ac_func
23909
23910 /* System header to define __stub macros and hopefully few prototypes,
23911 which can conflict with char $ac_func (); below.
23912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23913 <limits.h> exists even on freestanding compilers. */
23914
23915 #ifdef __STDC__
23916 # include <limits.h>
23917 #else
23918 # include <assert.h>
23919 #endif
23920
23921 #undef $ac_func
23922
23923 /* Override any gcc2 internal prototype to avoid an error. */
23924 #ifdef __cplusplus
23925 extern "C"
23926 {
23927 #endif
23928 /* We use char because int might match the return type of a gcc2
23929 builtin and then its argument prototype would still apply. */
23930 char $ac_func ();
23931 /* The GNU C library defines this for functions which it implements
23932 to always fail with ENOSYS. Some functions are actually named
23933 something starting with __ and the normal name is an alias. */
23934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23935 choke me
23936 #else
23937 char (*f) () = $ac_func;
23938 #endif
23939 #ifdef __cplusplus
23940 }
23941 #endif
23942
23943 int
23944 main ()
23945 {
23946 return f != $ac_func;
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 rm -f conftest.$ac_objext conftest$ac_exeext
23952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23953 (eval $ac_link) 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } &&
23960 { ac_try='test -z "$ac_c_werror_flag"
23961 || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest$ac_exeext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 eval "$as_ac_var=yes"
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 eval "$as_ac_var=no"
23979 fi
23980 rm -f conftest.err conftest.$ac_objext \
23981 conftest$ac_exeext conftest.$ac_ext
23982 fi
23983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23985 if test `eval echo '${'$as_ac_var'}'` = yes; then
23986 cat >>confdefs.h <<_ACEOF
23987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23988 _ACEOF
23989
23990 fi
23991 done
23992
23993 else
23994
23995 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
23996 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
23997 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
23998 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24000 else
24001
24002
24003
24004 ac_ext=cc
24005 ac_cpp='$CXXCPP $CPPFLAGS'
24006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24009
24010 cat >conftest.$ac_ext <<_ACEOF
24011 /* confdefs.h. */
24012 _ACEOF
24013 cat confdefs.h >>conftest.$ac_ext
24014 cat >>conftest.$ac_ext <<_ACEOF
24015 /* end confdefs.h. */
24016 #include <math.h>
24017 int
24018 main ()
24019 {
24020 _modfl(0, 0);
24021 ;
24022 return 0;
24023 }
24024 _ACEOF
24025 rm -f conftest.$ac_objext
24026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24027 (eval $ac_compile) 2>conftest.er1
24028 ac_status=$?
24029 grep -v '^ *+' conftest.er1 >conftest.err
24030 rm -f conftest.er1
24031 cat conftest.err >&5
24032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24033 (exit $ac_status); } &&
24034 { ac_try='test -z "$ac_cxx_werror_flag"
24035 || test ! -s conftest.err'
24036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037 (eval $ac_try) 2>&5
24038 ac_status=$?
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); }; } &&
24041 { ac_try='test -s conftest.$ac_objext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24044 ac_status=$?
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 glibcxx_cv_func__modfl_use=yes
24048 else
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24051
24052 glibcxx_cv_func__modfl_use=no
24053 fi
24054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24055 ac_ext=c
24056 ac_cpp='$CPP $CPPFLAGS'
24057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24060
24061
24062 fi
24063
24064 fi
24065 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24066 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24067
24068 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24069
24070 for ac_func in _modfl
24071 do
24072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24073 echo "$as_me:$LINENO: checking for $ac_func" >&5
24074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24075 if eval "test \"\${$as_ac_var+set}\" = set"; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24078 if test x$gcc_no_link = xyes; then
24079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24081 { (exit 1); exit 1; }; }
24082 fi
24083 cat >conftest.$ac_ext <<_ACEOF
24084 /* confdefs.h. */
24085 _ACEOF
24086 cat confdefs.h >>conftest.$ac_ext
24087 cat >>conftest.$ac_ext <<_ACEOF
24088 /* end confdefs.h. */
24089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24091 #define $ac_func innocuous_$ac_func
24092
24093 /* System header to define __stub macros and hopefully few prototypes,
24094 which can conflict with char $ac_func (); below.
24095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24096 <limits.h> exists even on freestanding compilers. */
24097
24098 #ifdef __STDC__
24099 # include <limits.h>
24100 #else
24101 # include <assert.h>
24102 #endif
24103
24104 #undef $ac_func
24105
24106 /* Override any gcc2 internal prototype to avoid an error. */
24107 #ifdef __cplusplus
24108 extern "C"
24109 {
24110 #endif
24111 /* We use char because int might match the return type of a gcc2
24112 builtin and then its argument prototype would still apply. */
24113 char $ac_func ();
24114 /* The GNU C library defines this for functions which it implements
24115 to always fail with ENOSYS. Some functions are actually named
24116 something starting with __ and the normal name is an alias. */
24117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24118 choke me
24119 #else
24120 char (*f) () = $ac_func;
24121 #endif
24122 #ifdef __cplusplus
24123 }
24124 #endif
24125
24126 int
24127 main ()
24128 {
24129 return f != $ac_func;
24130 ;
24131 return 0;
24132 }
24133 _ACEOF
24134 rm -f conftest.$ac_objext conftest$ac_exeext
24135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24136 (eval $ac_link) 2>conftest.er1
24137 ac_status=$?
24138 grep -v '^ *+' conftest.er1 >conftest.err
24139 rm -f conftest.er1
24140 cat conftest.err >&5
24141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24142 (exit $ac_status); } &&
24143 { ac_try='test -z "$ac_c_werror_flag"
24144 || test ! -s conftest.err'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; } &&
24150 { ac_try='test -s conftest$ac_exeext'
24151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24152 (eval $ac_try) 2>&5
24153 ac_status=$?
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); }; }; then
24156 eval "$as_ac_var=yes"
24157 else
24158 echo "$as_me: failed program was:" >&5
24159 sed 's/^/| /' conftest.$ac_ext >&5
24160
24161 eval "$as_ac_var=no"
24162 fi
24163 rm -f conftest.err conftest.$ac_objext \
24164 conftest$ac_exeext conftest.$ac_ext
24165 fi
24166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24168 if test `eval echo '${'$as_ac_var'}'` = yes; then
24169 cat >>confdefs.h <<_ACEOF
24170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24171 _ACEOF
24172
24173 fi
24174 done
24175
24176 fi
24177 fi
24178
24179
24180
24181
24182
24183
24184 echo "$as_me:$LINENO: checking for powl declaration" >&5
24185 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24186 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24187 if test "${glibcxx_cv_func_powl_use+set}" = set; then
24188 echo $ECHO_N "(cached) $ECHO_C" >&6
24189 else
24190
24191
24192
24193 ac_ext=cc
24194 ac_cpp='$CXXCPP $CPPFLAGS'
24195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24198
24199 cat >conftest.$ac_ext <<_ACEOF
24200 /* confdefs.h. */
24201 _ACEOF
24202 cat confdefs.h >>conftest.$ac_ext
24203 cat >>conftest.$ac_ext <<_ACEOF
24204 /* end confdefs.h. */
24205 #include <math.h>
24206 int
24207 main ()
24208 {
24209 powl(0, 0);
24210 ;
24211 return 0;
24212 }
24213 _ACEOF
24214 rm -f conftest.$ac_objext
24215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24216 (eval $ac_compile) 2>conftest.er1
24217 ac_status=$?
24218 grep -v '^ *+' conftest.er1 >conftest.err
24219 rm -f conftest.er1
24220 cat conftest.err >&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } &&
24223 { ac_try='test -z "$ac_cxx_werror_flag"
24224 || test ! -s conftest.err'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24227 ac_status=$?
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; } &&
24230 { ac_try='test -s conftest.$ac_objext'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; }; then
24236 glibcxx_cv_func_powl_use=yes
24237 else
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24240
24241 glibcxx_cv_func_powl_use=no
24242 fi
24243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24244 ac_ext=c
24245 ac_cpp='$CPP $CPPFLAGS'
24246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24249
24250
24251 fi
24252
24253 fi
24254 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24255 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24256
24257 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24258
24259 for ac_func in powl
24260 do
24261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24262 echo "$as_me:$LINENO: checking for $ac_func" >&5
24263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24264 if eval "test \"\${$as_ac_var+set}\" = set"; then
24265 echo $ECHO_N "(cached) $ECHO_C" >&6
24266 else
24267 if test x$gcc_no_link = xyes; then
24268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24270 { (exit 1); exit 1; }; }
24271 fi
24272 cat >conftest.$ac_ext <<_ACEOF
24273 /* confdefs.h. */
24274 _ACEOF
24275 cat confdefs.h >>conftest.$ac_ext
24276 cat >>conftest.$ac_ext <<_ACEOF
24277 /* end confdefs.h. */
24278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24280 #define $ac_func innocuous_$ac_func
24281
24282 /* System header to define __stub macros and hopefully few prototypes,
24283 which can conflict with char $ac_func (); below.
24284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24285 <limits.h> exists even on freestanding compilers. */
24286
24287 #ifdef __STDC__
24288 # include <limits.h>
24289 #else
24290 # include <assert.h>
24291 #endif
24292
24293 #undef $ac_func
24294
24295 /* Override any gcc2 internal prototype to avoid an error. */
24296 #ifdef __cplusplus
24297 extern "C"
24298 {
24299 #endif
24300 /* We use char because int might match the return type of a gcc2
24301 builtin and then its argument prototype would still apply. */
24302 char $ac_func ();
24303 /* The GNU C library defines this for functions which it implements
24304 to always fail with ENOSYS. Some functions are actually named
24305 something starting with __ and the normal name is an alias. */
24306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24307 choke me
24308 #else
24309 char (*f) () = $ac_func;
24310 #endif
24311 #ifdef __cplusplus
24312 }
24313 #endif
24314
24315 int
24316 main ()
24317 {
24318 return f != $ac_func;
24319 ;
24320 return 0;
24321 }
24322 _ACEOF
24323 rm -f conftest.$ac_objext conftest$ac_exeext
24324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24325 (eval $ac_link) 2>conftest.er1
24326 ac_status=$?
24327 grep -v '^ *+' conftest.er1 >conftest.err
24328 rm -f conftest.er1
24329 cat conftest.err >&5
24330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24331 (exit $ac_status); } &&
24332 { ac_try='test -z "$ac_c_werror_flag"
24333 || test ! -s conftest.err'
24334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24335 (eval $ac_try) 2>&5
24336 ac_status=$?
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); }; } &&
24339 { ac_try='test -s conftest$ac_exeext'
24340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24341 (eval $ac_try) 2>&5
24342 ac_status=$?
24343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24344 (exit $ac_status); }; }; then
24345 eval "$as_ac_var=yes"
24346 else
24347 echo "$as_me: failed program was:" >&5
24348 sed 's/^/| /' conftest.$ac_ext >&5
24349
24350 eval "$as_ac_var=no"
24351 fi
24352 rm -f conftest.err conftest.$ac_objext \
24353 conftest$ac_exeext conftest.$ac_ext
24354 fi
24355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24357 if test `eval echo '${'$as_ac_var'}'` = yes; then
24358 cat >>confdefs.h <<_ACEOF
24359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24360 _ACEOF
24361
24362 fi
24363 done
24364
24365 else
24366
24367 echo "$as_me:$LINENO: checking for _powl declaration" >&5
24368 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24369 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24370 if test "${glibcxx_cv_func__powl_use+set}" = set; then
24371 echo $ECHO_N "(cached) $ECHO_C" >&6
24372 else
24373
24374
24375
24376 ac_ext=cc
24377 ac_cpp='$CXXCPP $CPPFLAGS'
24378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381
24382 cat >conftest.$ac_ext <<_ACEOF
24383 /* confdefs.h. */
24384 _ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 #include <math.h>
24389 int
24390 main ()
24391 {
24392 _powl(0, 0);
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 rm -f conftest.$ac_objext
24398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24399 (eval $ac_compile) 2>conftest.er1
24400 ac_status=$?
24401 grep -v '^ *+' conftest.er1 >conftest.err
24402 rm -f conftest.er1
24403 cat conftest.err >&5
24404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24405 (exit $ac_status); } &&
24406 { ac_try='test -z "$ac_cxx_werror_flag"
24407 || test ! -s conftest.err'
24408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24409 (eval $ac_try) 2>&5
24410 ac_status=$?
24411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24412 (exit $ac_status); }; } &&
24413 { ac_try='test -s conftest.$ac_objext'
24414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24415 (eval $ac_try) 2>&5
24416 ac_status=$?
24417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24418 (exit $ac_status); }; }; then
24419 glibcxx_cv_func__powl_use=yes
24420 else
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.$ac_ext >&5
24423
24424 glibcxx_cv_func__powl_use=no
24425 fi
24426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24427 ac_ext=c
24428 ac_cpp='$CPP $CPPFLAGS'
24429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24432
24433
24434 fi
24435
24436 fi
24437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24438 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24439
24440 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24441
24442 for ac_func in _powl
24443 do
24444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24445 echo "$as_me:$LINENO: checking for $ac_func" >&5
24446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24447 if eval "test \"\${$as_ac_var+set}\" = set"; then
24448 echo $ECHO_N "(cached) $ECHO_C" >&6
24449 else
24450 if test x$gcc_no_link = xyes; then
24451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24453 { (exit 1); exit 1; }; }
24454 fi
24455 cat >conftest.$ac_ext <<_ACEOF
24456 /* confdefs.h. */
24457 _ACEOF
24458 cat confdefs.h >>conftest.$ac_ext
24459 cat >>conftest.$ac_ext <<_ACEOF
24460 /* end confdefs.h. */
24461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24463 #define $ac_func innocuous_$ac_func
24464
24465 /* System header to define __stub macros and hopefully few prototypes,
24466 which can conflict with char $ac_func (); below.
24467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24468 <limits.h> exists even on freestanding compilers. */
24469
24470 #ifdef __STDC__
24471 # include <limits.h>
24472 #else
24473 # include <assert.h>
24474 #endif
24475
24476 #undef $ac_func
24477
24478 /* Override any gcc2 internal prototype to avoid an error. */
24479 #ifdef __cplusplus
24480 extern "C"
24481 {
24482 #endif
24483 /* We use char because int might match the return type of a gcc2
24484 builtin and then its argument prototype would still apply. */
24485 char $ac_func ();
24486 /* The GNU C library defines this for functions which it implements
24487 to always fail with ENOSYS. Some functions are actually named
24488 something starting with __ and the normal name is an alias. */
24489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24490 choke me
24491 #else
24492 char (*f) () = $ac_func;
24493 #endif
24494 #ifdef __cplusplus
24495 }
24496 #endif
24497
24498 int
24499 main ()
24500 {
24501 return f != $ac_func;
24502 ;
24503 return 0;
24504 }
24505 _ACEOF
24506 rm -f conftest.$ac_objext conftest$ac_exeext
24507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24508 (eval $ac_link) 2>conftest.er1
24509 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } &&
24515 { ac_try='test -z "$ac_c_werror_flag"
24516 || test ! -s conftest.err'
24517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24518 (eval $ac_try) 2>&5
24519 ac_status=$?
24520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24521 (exit $ac_status); }; } &&
24522 { ac_try='test -s conftest$ac_exeext'
24523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24524 (eval $ac_try) 2>&5
24525 ac_status=$?
24526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24527 (exit $ac_status); }; }; then
24528 eval "$as_ac_var=yes"
24529 else
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.$ac_ext >&5
24532
24533 eval "$as_ac_var=no"
24534 fi
24535 rm -f conftest.err conftest.$ac_objext \
24536 conftest$ac_exeext conftest.$ac_ext
24537 fi
24538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24540 if test `eval echo '${'$as_ac_var'}'` = yes; then
24541 cat >>confdefs.h <<_ACEOF
24542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24543 _ACEOF
24544
24545 fi
24546 done
24547
24548 fi
24549 fi
24550
24551
24552
24553
24554
24555
24556 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24557 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24558 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24559 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24560 echo $ECHO_N "(cached) $ECHO_C" >&6
24561 else
24562
24563
24564
24565 ac_ext=cc
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571 cat >conftest.$ac_ext <<_ACEOF
24572 /* confdefs.h. */
24573 _ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 #include <math.h>
24578 #ifdef HAVE_IEEEFP_H
24579 #include <ieeefp.h>
24580 #endif
24581
24582 int
24583 main ()
24584 {
24585 sqrtl(0);
24586 ;
24587 return 0;
24588 }
24589 _ACEOF
24590 rm -f conftest.$ac_objext
24591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24592 (eval $ac_compile) 2>conftest.er1
24593 ac_status=$?
24594 grep -v '^ *+' conftest.er1 >conftest.err
24595 rm -f conftest.er1
24596 cat conftest.err >&5
24597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24598 (exit $ac_status); } &&
24599 { ac_try='test -z "$ac_cxx_werror_flag"
24600 || test ! -s conftest.err'
24601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24602 (eval $ac_try) 2>&5
24603 ac_status=$?
24604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24605 (exit $ac_status); }; } &&
24606 { ac_try='test -s conftest.$ac_objext'
24607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24608 (eval $ac_try) 2>&5
24609 ac_status=$?
24610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24611 (exit $ac_status); }; }; then
24612 glibcxx_cv_func_sqrtl_use=yes
24613 else
24614 echo "$as_me: failed program was:" >&5
24615 sed 's/^/| /' conftest.$ac_ext >&5
24616
24617 glibcxx_cv_func_sqrtl_use=no
24618 fi
24619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24620 ac_ext=c
24621 ac_cpp='$CPP $CPPFLAGS'
24622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24625
24626
24627 fi
24628
24629 fi
24630 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
24631 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
24632
24633 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24634
24635 for ac_func in sqrtl
24636 do
24637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24638 echo "$as_me:$LINENO: checking for $ac_func" >&5
24639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24640 if eval "test \"\${$as_ac_var+set}\" = set"; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 else
24643 if test x$gcc_no_link = xyes; then
24644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24646 { (exit 1); exit 1; }; }
24647 fi
24648 cat >conftest.$ac_ext <<_ACEOF
24649 /* confdefs.h. */
24650 _ACEOF
24651 cat confdefs.h >>conftest.$ac_ext
24652 cat >>conftest.$ac_ext <<_ACEOF
24653 /* end confdefs.h. */
24654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24656 #define $ac_func innocuous_$ac_func
24657
24658 /* System header to define __stub macros and hopefully few prototypes,
24659 which can conflict with char $ac_func (); below.
24660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24661 <limits.h> exists even on freestanding compilers. */
24662
24663 #ifdef __STDC__
24664 # include <limits.h>
24665 #else
24666 # include <assert.h>
24667 #endif
24668
24669 #undef $ac_func
24670
24671 /* Override any gcc2 internal prototype to avoid an error. */
24672 #ifdef __cplusplus
24673 extern "C"
24674 {
24675 #endif
24676 /* We use char because int might match the return type of a gcc2
24677 builtin and then its argument prototype would still apply. */
24678 char $ac_func ();
24679 /* The GNU C library defines this for functions which it implements
24680 to always fail with ENOSYS. Some functions are actually named
24681 something starting with __ and the normal name is an alias. */
24682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24683 choke me
24684 #else
24685 char (*f) () = $ac_func;
24686 #endif
24687 #ifdef __cplusplus
24688 }
24689 #endif
24690
24691 int
24692 main ()
24693 {
24694 return f != $ac_func;
24695 ;
24696 return 0;
24697 }
24698 _ACEOF
24699 rm -f conftest.$ac_objext conftest$ac_exeext
24700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24701 (eval $ac_link) 2>conftest.er1
24702 ac_status=$?
24703 grep -v '^ *+' conftest.er1 >conftest.err
24704 rm -f conftest.er1
24705 cat conftest.err >&5
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); } &&
24708 { ac_try='test -z "$ac_c_werror_flag"
24709 || test ! -s conftest.err'
24710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711 (eval $ac_try) 2>&5
24712 ac_status=$?
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); }; } &&
24715 { ac_try='test -s conftest$ac_exeext'
24716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24717 (eval $ac_try) 2>&5
24718 ac_status=$?
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; }; then
24721 eval "$as_ac_var=yes"
24722 else
24723 echo "$as_me: failed program was:" >&5
24724 sed 's/^/| /' conftest.$ac_ext >&5
24725
24726 eval "$as_ac_var=no"
24727 fi
24728 rm -f conftest.err conftest.$ac_objext \
24729 conftest$ac_exeext conftest.$ac_ext
24730 fi
24731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24733 if test `eval echo '${'$as_ac_var'}'` = yes; then
24734 cat >>confdefs.h <<_ACEOF
24735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24736 _ACEOF
24737
24738 fi
24739 done
24740
24741 else
24742
24743 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
24744 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
24745 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24746 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 else
24749
24750
24751
24752 ac_ext=cc
24753 ac_cpp='$CXXCPP $CPPFLAGS'
24754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24757
24758 cat >conftest.$ac_ext <<_ACEOF
24759 /* confdefs.h. */
24760 _ACEOF
24761 cat confdefs.h >>conftest.$ac_ext
24762 cat >>conftest.$ac_ext <<_ACEOF
24763 /* end confdefs.h. */
24764 #include <math.h>
24765 #ifdef HAVE_IEEEFP_H
24766 #include <ieeefp.h>
24767 #endif
24768
24769 int
24770 main ()
24771 {
24772 _sqrtl(0);
24773 ;
24774 return 0;
24775 }
24776 _ACEOF
24777 rm -f conftest.$ac_objext
24778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24779 (eval $ac_compile) 2>conftest.er1
24780 ac_status=$?
24781 grep -v '^ *+' conftest.er1 >conftest.err
24782 rm -f conftest.er1
24783 cat conftest.err >&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); } &&
24786 { ac_try='test -z "$ac_cxx_werror_flag"
24787 || test ! -s conftest.err'
24788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24789 (eval $ac_try) 2>&5
24790 ac_status=$?
24791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792 (exit $ac_status); }; } &&
24793 { ac_try='test -s conftest.$ac_objext'
24794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24795 (eval $ac_try) 2>&5
24796 ac_status=$?
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); }; }; then
24799 glibcxx_cv_func__sqrtl_use=yes
24800 else
24801 echo "$as_me: failed program was:" >&5
24802 sed 's/^/| /' conftest.$ac_ext >&5
24803
24804 glibcxx_cv_func__sqrtl_use=no
24805 fi
24806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24807 ac_ext=c
24808 ac_cpp='$CPP $CPPFLAGS'
24809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24812
24813
24814 fi
24815
24816 fi
24817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
24818 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
24819
24820 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24821
24822 for ac_func in _sqrtl
24823 do
24824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24825 echo "$as_me:$LINENO: checking for $ac_func" >&5
24826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24827 if eval "test \"\${$as_ac_var+set}\" = set"; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24830 if test x$gcc_no_link = xyes; then
24831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24833 { (exit 1); exit 1; }; }
24834 fi
24835 cat >conftest.$ac_ext <<_ACEOF
24836 /* confdefs.h. */
24837 _ACEOF
24838 cat confdefs.h >>conftest.$ac_ext
24839 cat >>conftest.$ac_ext <<_ACEOF
24840 /* end confdefs.h. */
24841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24843 #define $ac_func innocuous_$ac_func
24844
24845 /* System header to define __stub macros and hopefully few prototypes,
24846 which can conflict with char $ac_func (); below.
24847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24848 <limits.h> exists even on freestanding compilers. */
24849
24850 #ifdef __STDC__
24851 # include <limits.h>
24852 #else
24853 # include <assert.h>
24854 #endif
24855
24856 #undef $ac_func
24857
24858 /* Override any gcc2 internal prototype to avoid an error. */
24859 #ifdef __cplusplus
24860 extern "C"
24861 {
24862 #endif
24863 /* We use char because int might match the return type of a gcc2
24864 builtin and then its argument prototype would still apply. */
24865 char $ac_func ();
24866 /* The GNU C library defines this for functions which it implements
24867 to always fail with ENOSYS. Some functions are actually named
24868 something starting with __ and the normal name is an alias. */
24869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24870 choke me
24871 #else
24872 char (*f) () = $ac_func;
24873 #endif
24874 #ifdef __cplusplus
24875 }
24876 #endif
24877
24878 int
24879 main ()
24880 {
24881 return f != $ac_func;
24882 ;
24883 return 0;
24884 }
24885 _ACEOF
24886 rm -f conftest.$ac_objext conftest$ac_exeext
24887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24888 (eval $ac_link) 2>conftest.er1
24889 ac_status=$?
24890 grep -v '^ *+' conftest.er1 >conftest.err
24891 rm -f conftest.er1
24892 cat conftest.err >&5
24893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24894 (exit $ac_status); } &&
24895 { ac_try='test -z "$ac_c_werror_flag"
24896 || test ! -s conftest.err'
24897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24898 (eval $ac_try) 2>&5
24899 ac_status=$?
24900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24901 (exit $ac_status); }; } &&
24902 { ac_try='test -s conftest$ac_exeext'
24903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24904 (eval $ac_try) 2>&5
24905 ac_status=$?
24906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24907 (exit $ac_status); }; }; then
24908 eval "$as_ac_var=yes"
24909 else
24910 echo "$as_me: failed program was:" >&5
24911 sed 's/^/| /' conftest.$ac_ext >&5
24912
24913 eval "$as_ac_var=no"
24914 fi
24915 rm -f conftest.err conftest.$ac_objext \
24916 conftest$ac_exeext conftest.$ac_ext
24917 fi
24918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24920 if test `eval echo '${'$as_ac_var'}'` = yes; then
24921 cat >>confdefs.h <<_ACEOF
24922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24923 _ACEOF
24924
24925 fi
24926 done
24927
24928 fi
24929 fi
24930
24931
24932
24933
24934
24935
24936 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
24937 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
24938 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24939 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
24940 echo $ECHO_N "(cached) $ECHO_C" >&6
24941 else
24942
24943
24944
24945 ac_ext=cc
24946 ac_cpp='$CXXCPP $CPPFLAGS'
24947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24950
24951 cat >conftest.$ac_ext <<_ACEOF
24952 /* confdefs.h. */
24953 _ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957 #include <math.h>
24958 int
24959 main ()
24960 {
24961 sincosl(0, 0, 0);
24962 ;
24963 return 0;
24964 }
24965 _ACEOF
24966 rm -f conftest.$ac_objext
24967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24968 (eval $ac_compile) 2>conftest.er1
24969 ac_status=$?
24970 grep -v '^ *+' conftest.er1 >conftest.err
24971 rm -f conftest.er1
24972 cat conftest.err >&5
24973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24974 (exit $ac_status); } &&
24975 { ac_try='test -z "$ac_cxx_werror_flag"
24976 || test ! -s conftest.err'
24977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978 (eval $ac_try) 2>&5
24979 ac_status=$?
24980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981 (exit $ac_status); }; } &&
24982 { ac_try='test -s conftest.$ac_objext'
24983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24984 (eval $ac_try) 2>&5
24985 ac_status=$?
24986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24987 (exit $ac_status); }; }; then
24988 glibcxx_cv_func_sincosl_use=yes
24989 else
24990 echo "$as_me: failed program was:" >&5
24991 sed 's/^/| /' conftest.$ac_ext >&5
24992
24993 glibcxx_cv_func_sincosl_use=no
24994 fi
24995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24996 ac_ext=c
24997 ac_cpp='$CPP $CPPFLAGS'
24998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25001
25002
25003 fi
25004
25005 fi
25006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25007 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25008
25009 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25010
25011 for ac_func in sincosl
25012 do
25013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 else
25019 if test x$gcc_no_link = xyes; then
25020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25022 { (exit 1); exit 1; }; }
25023 fi
25024 cat >conftest.$ac_ext <<_ACEOF
25025 /* confdefs.h. */
25026 _ACEOF
25027 cat confdefs.h >>conftest.$ac_ext
25028 cat >>conftest.$ac_ext <<_ACEOF
25029 /* end confdefs.h. */
25030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25032 #define $ac_func innocuous_$ac_func
25033
25034 /* System header to define __stub macros and hopefully few prototypes,
25035 which can conflict with char $ac_func (); below.
25036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25037 <limits.h> exists even on freestanding compilers. */
25038
25039 #ifdef __STDC__
25040 # include <limits.h>
25041 #else
25042 # include <assert.h>
25043 #endif
25044
25045 #undef $ac_func
25046
25047 /* Override any gcc2 internal prototype to avoid an error. */
25048 #ifdef __cplusplus
25049 extern "C"
25050 {
25051 #endif
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25054 char $ac_func ();
25055 /* The GNU C library defines this for functions which it implements
25056 to always fail with ENOSYS. Some functions are actually named
25057 something starting with __ and the normal name is an alias. */
25058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25059 choke me
25060 #else
25061 char (*f) () = $ac_func;
25062 #endif
25063 #ifdef __cplusplus
25064 }
25065 #endif
25066
25067 int
25068 main ()
25069 {
25070 return f != $ac_func;
25071 ;
25072 return 0;
25073 }
25074 _ACEOF
25075 rm -f conftest.$ac_objext conftest$ac_exeext
25076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25077 (eval $ac_link) 2>conftest.er1
25078 ac_status=$?
25079 grep -v '^ *+' conftest.er1 >conftest.err
25080 rm -f conftest.er1
25081 cat conftest.err >&5
25082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25083 (exit $ac_status); } &&
25084 { ac_try='test -z "$ac_c_werror_flag"
25085 || test ! -s conftest.err'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; } &&
25091 { ac_try='test -s conftest$ac_exeext'
25092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25093 (eval $ac_try) 2>&5
25094 ac_status=$?
25095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25096 (exit $ac_status); }; }; then
25097 eval "$as_ac_var=yes"
25098 else
25099 echo "$as_me: failed program was:" >&5
25100 sed 's/^/| /' conftest.$ac_ext >&5
25101
25102 eval "$as_ac_var=no"
25103 fi
25104 rm -f conftest.err conftest.$ac_objext \
25105 conftest$ac_exeext conftest.$ac_ext
25106 fi
25107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25109 if test `eval echo '${'$as_ac_var'}'` = yes; then
25110 cat >>confdefs.h <<_ACEOF
25111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25112 _ACEOF
25113
25114 fi
25115 done
25116
25117 else
25118
25119 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25120 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25121 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25122 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 else
25125
25126
25127
25128 ac_ext=cc
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25133
25134 cat >conftest.$ac_ext <<_ACEOF
25135 /* confdefs.h. */
25136 _ACEOF
25137 cat confdefs.h >>conftest.$ac_ext
25138 cat >>conftest.$ac_ext <<_ACEOF
25139 /* end confdefs.h. */
25140 #include <math.h>
25141 int
25142 main ()
25143 {
25144 _sincosl(0, 0, 0);
25145 ;
25146 return 0;
25147 }
25148 _ACEOF
25149 rm -f conftest.$ac_objext
25150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25151 (eval $ac_compile) 2>conftest.er1
25152 ac_status=$?
25153 grep -v '^ *+' conftest.er1 >conftest.err
25154 rm -f conftest.er1
25155 cat conftest.err >&5
25156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25157 (exit $ac_status); } &&
25158 { ac_try='test -z "$ac_cxx_werror_flag"
25159 || test ! -s conftest.err'
25160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161 (eval $ac_try) 2>&5
25162 ac_status=$?
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); }; } &&
25165 { ac_try='test -s conftest.$ac_objext'
25166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167 (eval $ac_try) 2>&5
25168 ac_status=$?
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); }; }; then
25171 glibcxx_cv_func__sincosl_use=yes
25172 else
25173 echo "$as_me: failed program was:" >&5
25174 sed 's/^/| /' conftest.$ac_ext >&5
25175
25176 glibcxx_cv_func__sincosl_use=no
25177 fi
25178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25179 ac_ext=c
25180 ac_cpp='$CPP $CPPFLAGS'
25181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25184
25185
25186 fi
25187
25188 fi
25189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25190 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25191
25192 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25193
25194 for ac_func in _sincosl
25195 do
25196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25197 echo "$as_me:$LINENO: checking for $ac_func" >&5
25198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25199 if eval "test \"\${$as_ac_var+set}\" = set"; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25202 if test x$gcc_no_link = xyes; then
25203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25205 { (exit 1); exit 1; }; }
25206 fi
25207 cat >conftest.$ac_ext <<_ACEOF
25208 /* confdefs.h. */
25209 _ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25215 #define $ac_func innocuous_$ac_func
25216
25217 /* System header to define __stub macros and hopefully few prototypes,
25218 which can conflict with char $ac_func (); below.
25219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25220 <limits.h> exists even on freestanding compilers. */
25221
25222 #ifdef __STDC__
25223 # include <limits.h>
25224 #else
25225 # include <assert.h>
25226 #endif
25227
25228 #undef $ac_func
25229
25230 /* Override any gcc2 internal prototype to avoid an error. */
25231 #ifdef __cplusplus
25232 extern "C"
25233 {
25234 #endif
25235 /* We use char because int might match the return type of a gcc2
25236 builtin and then its argument prototype would still apply. */
25237 char $ac_func ();
25238 /* The GNU C library defines this for functions which it implements
25239 to always fail with ENOSYS. Some functions are actually named
25240 something starting with __ and the normal name is an alias. */
25241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25242 choke me
25243 #else
25244 char (*f) () = $ac_func;
25245 #endif
25246 #ifdef __cplusplus
25247 }
25248 #endif
25249
25250 int
25251 main ()
25252 {
25253 return f != $ac_func;
25254 ;
25255 return 0;
25256 }
25257 _ACEOF
25258 rm -f conftest.$ac_objext conftest$ac_exeext
25259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25260 (eval $ac_link) 2>conftest.er1
25261 ac_status=$?
25262 grep -v '^ *+' conftest.er1 >conftest.err
25263 rm -f conftest.er1
25264 cat conftest.err >&5
25265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25266 (exit $ac_status); } &&
25267 { ac_try='test -z "$ac_c_werror_flag"
25268 || test ! -s conftest.err'
25269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25270 (eval $ac_try) 2>&5
25271 ac_status=$?
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); }; } &&
25274 { ac_try='test -s conftest$ac_exeext'
25275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25276 (eval $ac_try) 2>&5
25277 ac_status=$?
25278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25279 (exit $ac_status); }; }; then
25280 eval "$as_ac_var=yes"
25281 else
25282 echo "$as_me: failed program was:" >&5
25283 sed 's/^/| /' conftest.$ac_ext >&5
25284
25285 eval "$as_ac_var=no"
25286 fi
25287 rm -f conftest.err conftest.$ac_objext \
25288 conftest$ac_exeext conftest.$ac_ext
25289 fi
25290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25292 if test `eval echo '${'$as_ac_var'}'` = yes; then
25293 cat >>confdefs.h <<_ACEOF
25294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25295 _ACEOF
25296
25297 fi
25298 done
25299
25300 fi
25301 fi
25302
25303
25304
25305
25306
25307
25308 echo "$as_me:$LINENO: checking for finitel declaration" >&5
25309 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25310 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25311 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25312 echo $ECHO_N "(cached) $ECHO_C" >&6
25313 else
25314
25315
25316
25317 ac_ext=cc
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322
25323 cat >conftest.$ac_ext <<_ACEOF
25324 /* confdefs.h. */
25325 _ACEOF
25326 cat confdefs.h >>conftest.$ac_ext
25327 cat >>conftest.$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25329 #include <math.h>
25330 #ifdef HAVE_IEEEFP_H
25331 #include <ieeefp.h>
25332 #endif
25333
25334 int
25335 main ()
25336 {
25337 finitel(0);
25338 ;
25339 return 0;
25340 }
25341 _ACEOF
25342 rm -f conftest.$ac_objext
25343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25344 (eval $ac_compile) 2>conftest.er1
25345 ac_status=$?
25346 grep -v '^ *+' conftest.er1 >conftest.err
25347 rm -f conftest.er1
25348 cat conftest.err >&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); } &&
25351 { ac_try='test -z "$ac_cxx_werror_flag"
25352 || test ! -s conftest.err'
25353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25354 (eval $ac_try) 2>&5
25355 ac_status=$?
25356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25357 (exit $ac_status); }; } &&
25358 { ac_try='test -s conftest.$ac_objext'
25359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25360 (eval $ac_try) 2>&5
25361 ac_status=$?
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); }; }; then
25364 glibcxx_cv_func_finitel_use=yes
25365 else
25366 echo "$as_me: failed program was:" >&5
25367 sed 's/^/| /' conftest.$ac_ext >&5
25368
25369 glibcxx_cv_func_finitel_use=no
25370 fi
25371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25372 ac_ext=c
25373 ac_cpp='$CPP $CPPFLAGS'
25374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25377
25378
25379 fi
25380
25381 fi
25382 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25383 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25384
25385 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25386
25387 for ac_func in finitel
25388 do
25389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25390 echo "$as_me:$LINENO: checking for $ac_func" >&5
25391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25392 if eval "test \"\${$as_ac_var+set}\" = set"; then
25393 echo $ECHO_N "(cached) $ECHO_C" >&6
25394 else
25395 if test x$gcc_no_link = xyes; then
25396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25398 { (exit 1); exit 1; }; }
25399 fi
25400 cat >conftest.$ac_ext <<_ACEOF
25401 /* confdefs.h. */
25402 _ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25408 #define $ac_func innocuous_$ac_func
25409
25410 /* System header to define __stub macros and hopefully few prototypes,
25411 which can conflict with char $ac_func (); below.
25412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25413 <limits.h> exists even on freestanding compilers. */
25414
25415 #ifdef __STDC__
25416 # include <limits.h>
25417 #else
25418 # include <assert.h>
25419 #endif
25420
25421 #undef $ac_func
25422
25423 /* Override any gcc2 internal prototype to avoid an error. */
25424 #ifdef __cplusplus
25425 extern "C"
25426 {
25427 #endif
25428 /* We use char because int might match the return type of a gcc2
25429 builtin and then its argument prototype would still apply. */
25430 char $ac_func ();
25431 /* The GNU C library defines this for functions which it implements
25432 to always fail with ENOSYS. Some functions are actually named
25433 something starting with __ and the normal name is an alias. */
25434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25435 choke me
25436 #else
25437 char (*f) () = $ac_func;
25438 #endif
25439 #ifdef __cplusplus
25440 }
25441 #endif
25442
25443 int
25444 main ()
25445 {
25446 return f != $ac_func;
25447 ;
25448 return 0;
25449 }
25450 _ACEOF
25451 rm -f conftest.$ac_objext conftest$ac_exeext
25452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25453 (eval $ac_link) 2>conftest.er1
25454 ac_status=$?
25455 grep -v '^ *+' conftest.er1 >conftest.err
25456 rm -f conftest.er1
25457 cat conftest.err >&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } &&
25460 { ac_try='test -z "$ac_c_werror_flag"
25461 || test ! -s conftest.err'
25462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25463 (eval $ac_try) 2>&5
25464 ac_status=$?
25465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25466 (exit $ac_status); }; } &&
25467 { ac_try='test -s conftest$ac_exeext'
25468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25469 (eval $ac_try) 2>&5
25470 ac_status=$?
25471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25472 (exit $ac_status); }; }; then
25473 eval "$as_ac_var=yes"
25474 else
25475 echo "$as_me: failed program was:" >&5
25476 sed 's/^/| /' conftest.$ac_ext >&5
25477
25478 eval "$as_ac_var=no"
25479 fi
25480 rm -f conftest.err conftest.$ac_objext \
25481 conftest$ac_exeext conftest.$ac_ext
25482 fi
25483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25485 if test `eval echo '${'$as_ac_var'}'` = yes; then
25486 cat >>confdefs.h <<_ACEOF
25487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25488 _ACEOF
25489
25490 fi
25491 done
25492
25493 else
25494
25495 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25496 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25497 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25498 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 else
25501
25502
25503
25504 ac_ext=cc
25505 ac_cpp='$CXXCPP $CPPFLAGS'
25506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25509
25510 cat >conftest.$ac_ext <<_ACEOF
25511 /* confdefs.h. */
25512 _ACEOF
25513 cat confdefs.h >>conftest.$ac_ext
25514 cat >>conftest.$ac_ext <<_ACEOF
25515 /* end confdefs.h. */
25516 #include <math.h>
25517 #ifdef HAVE_IEEEFP_H
25518 #include <ieeefp.h>
25519 #endif
25520
25521 int
25522 main ()
25523 {
25524 _finitel(0);
25525 ;
25526 return 0;
25527 }
25528 _ACEOF
25529 rm -f conftest.$ac_objext
25530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25531 (eval $ac_compile) 2>conftest.er1
25532 ac_status=$?
25533 grep -v '^ *+' conftest.er1 >conftest.err
25534 rm -f conftest.er1
25535 cat conftest.err >&5
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); } &&
25538 { ac_try='test -z "$ac_cxx_werror_flag"
25539 || test ! -s conftest.err'
25540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25541 (eval $ac_try) 2>&5
25542 ac_status=$?
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); }; } &&
25545 { ac_try='test -s conftest.$ac_objext'
25546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25547 (eval $ac_try) 2>&5
25548 ac_status=$?
25549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25550 (exit $ac_status); }; }; then
25551 glibcxx_cv_func__finitel_use=yes
25552 else
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.$ac_ext >&5
25555
25556 glibcxx_cv_func__finitel_use=no
25557 fi
25558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25559 ac_ext=c
25560 ac_cpp='$CPP $CPPFLAGS'
25561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25564
25565
25566 fi
25567
25568 fi
25569 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25570 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25571
25572 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25573
25574 for ac_func in _finitel
25575 do
25576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25577 echo "$as_me:$LINENO: checking for $ac_func" >&5
25578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25579 if eval "test \"\${$as_ac_var+set}\" = set"; then
25580 echo $ECHO_N "(cached) $ECHO_C" >&6
25581 else
25582 if test x$gcc_no_link = xyes; then
25583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25585 { (exit 1); exit 1; }; }
25586 fi
25587 cat >conftest.$ac_ext <<_ACEOF
25588 /* confdefs.h. */
25589 _ACEOF
25590 cat confdefs.h >>conftest.$ac_ext
25591 cat >>conftest.$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25595 #define $ac_func innocuous_$ac_func
25596
25597 /* System header to define __stub macros and hopefully few prototypes,
25598 which can conflict with char $ac_func (); below.
25599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25600 <limits.h> exists even on freestanding compilers. */
25601
25602 #ifdef __STDC__
25603 # include <limits.h>
25604 #else
25605 # include <assert.h>
25606 #endif
25607
25608 #undef $ac_func
25609
25610 /* Override any gcc2 internal prototype to avoid an error. */
25611 #ifdef __cplusplus
25612 extern "C"
25613 {
25614 #endif
25615 /* We use char because int might match the return type of a gcc2
25616 builtin and then its argument prototype would still apply. */
25617 char $ac_func ();
25618 /* The GNU C library defines this for functions which it implements
25619 to always fail with ENOSYS. Some functions are actually named
25620 something starting with __ and the normal name is an alias. */
25621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25622 choke me
25623 #else
25624 char (*f) () = $ac_func;
25625 #endif
25626 #ifdef __cplusplus
25627 }
25628 #endif
25629
25630 int
25631 main ()
25632 {
25633 return f != $ac_func;
25634 ;
25635 return 0;
25636 }
25637 _ACEOF
25638 rm -f conftest.$ac_objext conftest$ac_exeext
25639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25640 (eval $ac_link) 2>conftest.er1
25641 ac_status=$?
25642 grep -v '^ *+' conftest.er1 >conftest.err
25643 rm -f conftest.er1
25644 cat conftest.err >&5
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); } &&
25647 { ac_try='test -z "$ac_c_werror_flag"
25648 || test ! -s conftest.err'
25649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25650 (eval $ac_try) 2>&5
25651 ac_status=$?
25652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25653 (exit $ac_status); }; } &&
25654 { ac_try='test -s conftest$ac_exeext'
25655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25656 (eval $ac_try) 2>&5
25657 ac_status=$?
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); }; }; then
25660 eval "$as_ac_var=yes"
25661 else
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25664
25665 eval "$as_ac_var=no"
25666 fi
25667 rm -f conftest.err conftest.$ac_objext \
25668 conftest$ac_exeext conftest.$ac_ext
25669 fi
25670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25672 if test `eval echo '${'$as_ac_var'}'` = yes; then
25673 cat >>confdefs.h <<_ACEOF
25674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25675 _ACEOF
25676
25677 fi
25678 done
25679
25680 fi
25681 fi
25682
25683
25684
25685
25686
25687 LIBS="$ac_save_LIBS"
25688 CXXFLAGS="$ac_save_CXXFLAGS"
25689
25690
25691
25692 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25693 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25694 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25695 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25696 echo $ECHO_N "(cached) $ECHO_C" >&6
25697 else
25698
25699
25700
25701 ac_ext=cc
25702 ac_cpp='$CXXCPP $CPPFLAGS'
25703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25706
25707 cat >conftest.$ac_ext <<_ACEOF
25708 /* confdefs.h. */
25709 _ACEOF
25710 cat confdefs.h >>conftest.$ac_ext
25711 cat >>conftest.$ac_ext <<_ACEOF
25712 /* end confdefs.h. */
25713 #include <math.h>
25714 int
25715 main ()
25716 {
25717 __builtin_abs(0);
25718 ;
25719 return 0;
25720 }
25721 _ACEOF
25722 rm -f conftest.$ac_objext
25723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25724 (eval $ac_compile) 2>conftest.er1
25725 ac_status=$?
25726 grep -v '^ *+' conftest.er1 >conftest.err
25727 rm -f conftest.er1
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } &&
25731 { ac_try='test -z "$ac_cxx_werror_flag"
25732 || test ! -s conftest.err'
25733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25734 (eval $ac_try) 2>&5
25735 ac_status=$?
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); }; } &&
25738 { ac_try='test -s conftest.$ac_objext'
25739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25740 (eval $ac_try) 2>&5
25741 ac_status=$?
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); }; }; then
25744 glibcxx_cv_func___builtin_abs_use=yes
25745 else
25746 echo "$as_me: failed program was:" >&5
25747 sed 's/^/| /' conftest.$ac_ext >&5
25748
25749 glibcxx_cv_func___builtin_abs_use=no
25750 fi
25751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25752 ac_ext=c
25753 ac_cpp='$CPP $CPPFLAGS'
25754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25757
25758
25759 fi
25760
25761 fi
25762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25763 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25764 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25765 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25766 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25767 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25768 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25769 echo $ECHO_N "(cached) $ECHO_C" >&6
25770 else
25771
25772 if test x$gcc_no_link = xyes; then
25773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25775 { (exit 1); exit 1; }; }
25776 fi
25777 cat >conftest.$ac_ext <<_ACEOF
25778 /* confdefs.h. */
25779 _ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25783 #include <math.h>
25784 int
25785 main ()
25786 {
25787 __builtin_abs(0);
25788 ;
25789 return 0;
25790 }
25791 _ACEOF
25792 rm -f conftest.$ac_objext conftest$ac_exeext
25793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25794 (eval $ac_link) 2>conftest.er1
25795 ac_status=$?
25796 grep -v '^ *+' conftest.er1 >conftest.err
25797 rm -f conftest.er1
25798 cat conftest.err >&5
25799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25800 (exit $ac_status); } &&
25801 { ac_try='test -z "$ac_c_werror_flag"
25802 || test ! -s conftest.err'
25803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25804 (eval $ac_try) 2>&5
25805 ac_status=$?
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); }; } &&
25808 { ac_try='test -s conftest$ac_exeext'
25809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25810 (eval $ac_try) 2>&5
25811 ac_status=$?
25812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25813 (exit $ac_status); }; }; then
25814 glibcxx_cv_func___builtin_abs_link=yes
25815 else
25816 echo "$as_me: failed program was:" >&5
25817 sed 's/^/| /' conftest.$ac_ext >&5
25818
25819 glibcxx_cv_func___builtin_abs_link=no
25820 fi
25821 rm -f conftest.err conftest.$ac_objext \
25822 conftest$ac_exeext conftest.$ac_ext
25823
25824 fi
25825
25826 fi
25827 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25828 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25829
25830 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25831
25832 cat >>confdefs.h <<\_ACEOF
25833 #define HAVE___BUILTIN_ABS 1
25834 _ACEOF
25835
25836 fi
25837
25838 fi
25839
25840
25841 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25842 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25843 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25844 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25845 echo $ECHO_N "(cached) $ECHO_C" >&6
25846 else
25847
25848
25849
25850 ac_ext=cc
25851 ac_cpp='$CXXCPP $CPPFLAGS'
25852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25855
25856 cat >conftest.$ac_ext <<_ACEOF
25857 /* confdefs.h. */
25858 _ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25862 #include <math.h>
25863 int
25864 main ()
25865 {
25866 __builtin_fabsf(0);
25867 ;
25868 return 0;
25869 }
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25873 (eval $ac_compile) 2>conftest.er1
25874 ac_status=$?
25875 grep -v '^ *+' conftest.er1 >conftest.err
25876 rm -f conftest.er1
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } &&
25880 { ac_try='test -z "$ac_cxx_werror_flag"
25881 || test ! -s conftest.err'
25882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25883 (eval $ac_try) 2>&5
25884 ac_status=$?
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); }; } &&
25887 { ac_try='test -s conftest.$ac_objext'
25888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25889 (eval $ac_try) 2>&5
25890 ac_status=$?
25891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25892 (exit $ac_status); }; }; then
25893 glibcxx_cv_func___builtin_fabsf_use=yes
25894 else
25895 echo "$as_me: failed program was:" >&5
25896 sed 's/^/| /' conftest.$ac_ext >&5
25897
25898 glibcxx_cv_func___builtin_fabsf_use=no
25899 fi
25900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906
25907
25908 fi
25909
25910 fi
25911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25912 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25913 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25914 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25915 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25916 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25917 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25918 echo $ECHO_N "(cached) $ECHO_C" >&6
25919 else
25920
25921 if test x$gcc_no_link = xyes; then
25922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25924 { (exit 1); exit 1; }; }
25925 fi
25926 cat >conftest.$ac_ext <<_ACEOF
25927 /* confdefs.h. */
25928 _ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <math.h>
25933 int
25934 main ()
25935 {
25936 __builtin_fabsf(0);
25937 ;
25938 return 0;
25939 }
25940 _ACEOF
25941 rm -f conftest.$ac_objext conftest$ac_exeext
25942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25943 (eval $ac_link) 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } &&
25950 { ac_try='test -z "$ac_c_werror_flag"
25951 || test ! -s conftest.err'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; } &&
25957 { ac_try='test -s conftest$ac_exeext'
25958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25959 (eval $ac_try) 2>&5
25960 ac_status=$?
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); }; }; then
25963 glibcxx_cv_func___builtin_fabsf_link=yes
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25967
25968 glibcxx_cv_func___builtin_fabsf_link=no
25969 fi
25970 rm -f conftest.err conftest.$ac_objext \
25971 conftest$ac_exeext conftest.$ac_ext
25972
25973 fi
25974
25975 fi
25976 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25977 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25978
25979 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25980
25981 cat >>confdefs.h <<\_ACEOF
25982 #define HAVE___BUILTIN_FABSF 1
25983 _ACEOF
25984
25985 fi
25986
25987 fi
25988
25989
25990 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25991 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25992 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25993 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 else
25996
25997
25998
25999 ac_ext=cc
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004
26005 cat >conftest.$ac_ext <<_ACEOF
26006 /* confdefs.h. */
26007 _ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011 #include <math.h>
26012 int
26013 main ()
26014 {
26015 __builtin_fabs(0);
26016 ;
26017 return 0;
26018 }
26019 _ACEOF
26020 rm -f conftest.$ac_objext
26021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26022 (eval $ac_compile) 2>conftest.er1
26023 ac_status=$?
26024 grep -v '^ *+' conftest.er1 >conftest.err
26025 rm -f conftest.er1
26026 cat conftest.err >&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); } &&
26029 { ac_try='test -z "$ac_cxx_werror_flag"
26030 || test ! -s conftest.err'
26031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26032 (eval $ac_try) 2>&5
26033 ac_status=$?
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); }; } &&
26036 { ac_try='test -s conftest.$ac_objext'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26039 ac_status=$?
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; }; then
26042 glibcxx_cv_func___builtin_fabs_use=yes
26043 else
26044 echo "$as_me: failed program was:" >&5
26045 sed 's/^/| /' conftest.$ac_ext >&5
26046
26047 glibcxx_cv_func___builtin_fabs_use=no
26048 fi
26049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26050 ac_ext=c
26051 ac_cpp='$CPP $CPPFLAGS'
26052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26055
26056
26057 fi
26058
26059 fi
26060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
26061 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
26062 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
26063 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
26064 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
26065 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
26066 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 else
26069
26070 if test x$gcc_no_link = xyes; then
26071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26073 { (exit 1); exit 1; }; }
26074 fi
26075 cat >conftest.$ac_ext <<_ACEOF
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081 #include <math.h>
26082 int
26083 main ()
26084 {
26085 __builtin_fabs(0);
26086 ;
26087 return 0;
26088 }
26089 _ACEOF
26090 rm -f conftest.$ac_objext conftest$ac_exeext
26091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26092 (eval $ac_link) 2>conftest.er1
26093 ac_status=$?
26094 grep -v '^ *+' conftest.er1 >conftest.err
26095 rm -f conftest.er1
26096 cat conftest.err >&5
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); } &&
26099 { ac_try='test -z "$ac_c_werror_flag"
26100 || test ! -s conftest.err'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; } &&
26106 { ac_try='test -s conftest$ac_exeext'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26112 glibcxx_cv_func___builtin_fabs_link=yes
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 glibcxx_cv_func___builtin_fabs_link=no
26118 fi
26119 rm -f conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26121
26122 fi
26123
26124 fi
26125 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
26126 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
26127
26128 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
26129
26130 cat >>confdefs.h <<\_ACEOF
26131 #define HAVE___BUILTIN_FABS 1
26132 _ACEOF
26133
26134 fi
26135
26136 fi
26137
26138
26139 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
26140 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
26141 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
26142 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
26143 echo $ECHO_N "(cached) $ECHO_C" >&6
26144 else
26145
26146
26147
26148 ac_ext=cc
26149 ac_cpp='$CXXCPP $CPPFLAGS'
26150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26153
26154 cat >conftest.$ac_ext <<_ACEOF
26155 /* confdefs.h. */
26156 _ACEOF
26157 cat confdefs.h >>conftest.$ac_ext
26158 cat >>conftest.$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26160 #include <math.h>
26161 int
26162 main ()
26163 {
26164 __builtin_fabsl(0);
26165 ;
26166 return 0;
26167 }
26168 _ACEOF
26169 rm -f conftest.$ac_objext
26170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26171 (eval $ac_compile) 2>conftest.er1
26172 ac_status=$?
26173 grep -v '^ *+' conftest.er1 >conftest.err
26174 rm -f conftest.er1
26175 cat conftest.err >&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } &&
26178 { ac_try='test -z "$ac_cxx_werror_flag"
26179 || test ! -s conftest.err'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26182 ac_status=$?
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; } &&
26185 { ac_try='test -s conftest.$ac_objext'
26186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26187 (eval $ac_try) 2>&5
26188 ac_status=$?
26189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26190 (exit $ac_status); }; }; then
26191 glibcxx_cv_func___builtin_fabsl_use=yes
26192 else
26193 echo "$as_me: failed program was:" >&5
26194 sed 's/^/| /' conftest.$ac_ext >&5
26195
26196 glibcxx_cv_func___builtin_fabsl_use=no
26197 fi
26198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26199 ac_ext=c
26200 ac_cpp='$CPP $CPPFLAGS'
26201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26204
26205
26206 fi
26207
26208 fi
26209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
26210 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
26211 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
26212 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
26213 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
26214 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
26215 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26217 else
26218
26219 if test x$gcc_no_link = xyes; then
26220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26222 { (exit 1); exit 1; }; }
26223 fi
26224 cat >conftest.$ac_ext <<_ACEOF
26225 /* confdefs.h. */
26226 _ACEOF
26227 cat confdefs.h >>conftest.$ac_ext
26228 cat >>conftest.$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26230 #include <math.h>
26231 int
26232 main ()
26233 {
26234 __builtin_fabsl(0);
26235 ;
26236 return 0;
26237 }
26238 _ACEOF
26239 rm -f conftest.$ac_objext conftest$ac_exeext
26240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26241 (eval $ac_link) 2>conftest.er1
26242 ac_status=$?
26243 grep -v '^ *+' conftest.er1 >conftest.err
26244 rm -f conftest.er1
26245 cat conftest.err >&5
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); } &&
26248 { ac_try='test -z "$ac_c_werror_flag"
26249 || test ! -s conftest.err'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26252 ac_status=$?
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; } &&
26255 { ac_try='test -s conftest$ac_exeext'
26256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26257 (eval $ac_try) 2>&5
26258 ac_status=$?
26259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26260 (exit $ac_status); }; }; then
26261 glibcxx_cv_func___builtin_fabsl_link=yes
26262 else
26263 echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.$ac_ext >&5
26265
26266 glibcxx_cv_func___builtin_fabsl_link=no
26267 fi
26268 rm -f conftest.err conftest.$ac_objext \
26269 conftest$ac_exeext conftest.$ac_ext
26270
26271 fi
26272
26273 fi
26274 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
26275 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
26276
26277 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
26278
26279 cat >>confdefs.h <<\_ACEOF
26280 #define HAVE___BUILTIN_FABSL 1
26281 _ACEOF
26282
26283 fi
26284
26285 fi
26286
26287
26288 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
26289 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
26290 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
26291 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 else
26294
26295
26296
26297 ac_ext=cc
26298 ac_cpp='$CXXCPP $CPPFLAGS'
26299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26302
26303 cat >conftest.$ac_ext <<_ACEOF
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309 #include <math.h>
26310 int
26311 main ()
26312 {
26313 __builtin_labs(0);
26314 ;
26315 return 0;
26316 }
26317 _ACEOF
26318 rm -f conftest.$ac_objext
26319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26320 (eval $ac_compile) 2>conftest.er1
26321 ac_status=$?
26322 grep -v '^ *+' conftest.er1 >conftest.err
26323 rm -f conftest.er1
26324 cat conftest.err >&5
26325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26326 (exit $ac_status); } &&
26327 { ac_try='test -z "$ac_cxx_werror_flag"
26328 || test ! -s conftest.err'
26329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26330 (eval $ac_try) 2>&5
26331 ac_status=$?
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); }; } &&
26334 { ac_try='test -s conftest.$ac_objext'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; }; then
26340 glibcxx_cv_func___builtin_labs_use=yes
26341 else
26342 echo "$as_me: failed program was:" >&5
26343 sed 's/^/| /' conftest.$ac_ext >&5
26344
26345 glibcxx_cv_func___builtin_labs_use=no
26346 fi
26347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26348 ac_ext=c
26349 ac_cpp='$CPP $CPPFLAGS'
26350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353
26354
26355 fi
26356
26357 fi
26358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
26359 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
26360 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
26361 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
26362 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
26363 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
26364 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
26365 echo $ECHO_N "(cached) $ECHO_C" >&6
26366 else
26367
26368 if test x$gcc_no_link = xyes; then
26369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26371 { (exit 1); exit 1; }; }
26372 fi
26373 cat >conftest.$ac_ext <<_ACEOF
26374 /* confdefs.h. */
26375 _ACEOF
26376 cat confdefs.h >>conftest.$ac_ext
26377 cat >>conftest.$ac_ext <<_ACEOF
26378 /* end confdefs.h. */
26379 #include <math.h>
26380 int
26381 main ()
26382 {
26383 __builtin_labs(0);
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext conftest$ac_exeext
26389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26390 (eval $ac_link) 2>conftest.er1
26391 ac_status=$?
26392 grep -v '^ *+' conftest.er1 >conftest.err
26393 rm -f conftest.er1
26394 cat conftest.err >&5
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); } &&
26397 { ac_try='test -z "$ac_c_werror_flag"
26398 || test ! -s conftest.err'
26399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26400 (eval $ac_try) 2>&5
26401 ac_status=$?
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); }; } &&
26404 { ac_try='test -s conftest$ac_exeext'
26405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26406 (eval $ac_try) 2>&5
26407 ac_status=$?
26408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26409 (exit $ac_status); }; }; then
26410 glibcxx_cv_func___builtin_labs_link=yes
26411 else
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26414
26415 glibcxx_cv_func___builtin_labs_link=no
26416 fi
26417 rm -f conftest.err conftest.$ac_objext \
26418 conftest$ac_exeext conftest.$ac_ext
26419
26420 fi
26421
26422 fi
26423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
26424 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
26425
26426 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
26427
26428 cat >>confdefs.h <<\_ACEOF
26429 #define HAVE___BUILTIN_LABS 1
26430 _ACEOF
26431
26432 fi
26433
26434 fi
26435
26436
26437
26438 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
26439 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
26440 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
26441 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
26442 echo $ECHO_N "(cached) $ECHO_C" >&6
26443 else
26444
26445
26446
26447 ac_ext=cc
26448 ac_cpp='$CXXCPP $CPPFLAGS'
26449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26452
26453 cat >conftest.$ac_ext <<_ACEOF
26454 /* confdefs.h. */
26455 _ACEOF
26456 cat confdefs.h >>conftest.$ac_ext
26457 cat >>conftest.$ac_ext <<_ACEOF
26458 /* end confdefs.h. */
26459 #include <math.h>
26460 int
26461 main ()
26462 {
26463 __builtin_sqrtf(0);
26464 ;
26465 return 0;
26466 }
26467 _ACEOF
26468 rm -f conftest.$ac_objext
26469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26470 (eval $ac_compile) 2>conftest.er1
26471 ac_status=$?
26472 grep -v '^ *+' conftest.er1 >conftest.err
26473 rm -f conftest.er1
26474 cat conftest.err >&5
26475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 (exit $ac_status); } &&
26477 { ac_try='test -z "$ac_cxx_werror_flag"
26478 || test ! -s conftest.err'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26481 ac_status=$?
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; } &&
26484 { ac_try='test -s conftest.$ac_objext'
26485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26486 (eval $ac_try) 2>&5
26487 ac_status=$?
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); }; }; then
26490 glibcxx_cv_func___builtin_sqrtf_use=yes
26491 else
26492 echo "$as_me: failed program was:" >&5
26493 sed 's/^/| /' conftest.$ac_ext >&5
26494
26495 glibcxx_cv_func___builtin_sqrtf_use=no
26496 fi
26497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26498 ac_ext=c
26499 ac_cpp='$CPP $CPPFLAGS'
26500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26503
26504
26505 fi
26506
26507 fi
26508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
26509 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
26510 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
26511 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
26512 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
26513 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
26514 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
26515 echo $ECHO_N "(cached) $ECHO_C" >&6
26516 else
26517
26518 if test x$gcc_no_link = xyes; then
26519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26521 { (exit 1); exit 1; }; }
26522 fi
26523 cat >conftest.$ac_ext <<_ACEOF
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529 #include <math.h>
26530 int
26531 main ()
26532 {
26533 __builtin_sqrtf(0);
26534 ;
26535 return 0;
26536 }
26537 _ACEOF
26538 rm -f conftest.$ac_objext conftest$ac_exeext
26539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26540 (eval $ac_link) 2>conftest.er1
26541 ac_status=$?
26542 grep -v '^ *+' conftest.er1 >conftest.err
26543 rm -f conftest.er1
26544 cat conftest.err >&5
26545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546 (exit $ac_status); } &&
26547 { ac_try='test -z "$ac_c_werror_flag"
26548 || test ! -s conftest.err'
26549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550 (eval $ac_try) 2>&5
26551 ac_status=$?
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); }; } &&
26554 { ac_try='test -s conftest$ac_exeext'
26555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556 (eval $ac_try) 2>&5
26557 ac_status=$?
26558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559 (exit $ac_status); }; }; then
26560 glibcxx_cv_func___builtin_sqrtf_link=yes
26561 else
26562 echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.$ac_ext >&5
26564
26565 glibcxx_cv_func___builtin_sqrtf_link=no
26566 fi
26567 rm -f conftest.err conftest.$ac_objext \
26568 conftest$ac_exeext conftest.$ac_ext
26569
26570 fi
26571
26572 fi
26573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26575
26576 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26577
26578 cat >>confdefs.h <<\_ACEOF
26579 #define HAVE___BUILTIN_SQRTF 1
26580 _ACEOF
26581
26582 fi
26583
26584 fi
26585
26586
26587 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26588 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26589 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26590 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 else
26593
26594
26595
26596 ac_ext=cc
26597 ac_cpp='$CXXCPP $CPPFLAGS'
26598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26601
26602 cat >conftest.$ac_ext <<_ACEOF
26603 /* confdefs.h. */
26604 _ACEOF
26605 cat confdefs.h >>conftest.$ac_ext
26606 cat >>conftest.$ac_ext <<_ACEOF
26607 /* end confdefs.h. */
26608 #include <math.h>
26609 int
26610 main ()
26611 {
26612 __builtin_sqrt(0);
26613 ;
26614 return 0;
26615 }
26616 _ACEOF
26617 rm -f conftest.$ac_objext
26618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26619 (eval $ac_compile) 2>conftest.er1
26620 ac_status=$?
26621 grep -v '^ *+' conftest.er1 >conftest.err
26622 rm -f conftest.er1
26623 cat conftest.err >&5
26624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26625 (exit $ac_status); } &&
26626 { ac_try='test -z "$ac_cxx_werror_flag"
26627 || test ! -s conftest.err'
26628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26629 (eval $ac_try) 2>&5
26630 ac_status=$?
26631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26632 (exit $ac_status); }; } &&
26633 { ac_try='test -s conftest.$ac_objext'
26634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26635 (eval $ac_try) 2>&5
26636 ac_status=$?
26637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26638 (exit $ac_status); }; }; then
26639 glibcxx_cv_func___builtin_sqrt_use=yes
26640 else
26641 echo "$as_me: failed program was:" >&5
26642 sed 's/^/| /' conftest.$ac_ext >&5
26643
26644 glibcxx_cv_func___builtin_sqrt_use=no
26645 fi
26646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26647 ac_ext=c
26648 ac_cpp='$CPP $CPPFLAGS'
26649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26652
26653
26654 fi
26655
26656 fi
26657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26658 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26659 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26660 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26661 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26662 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26663 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26665 else
26666
26667 if test x$gcc_no_link = xyes; then
26668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26670 { (exit 1); exit 1; }; }
26671 fi
26672 cat >conftest.$ac_ext <<_ACEOF
26673 /* confdefs.h. */
26674 _ACEOF
26675 cat confdefs.h >>conftest.$ac_ext
26676 cat >>conftest.$ac_ext <<_ACEOF
26677 /* end confdefs.h. */
26678 #include <math.h>
26679 int
26680 main ()
26681 {
26682 __builtin_sqrt(0);
26683 ;
26684 return 0;
26685 }
26686 _ACEOF
26687 rm -f conftest.$ac_objext conftest$ac_exeext
26688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26689 (eval $ac_link) 2>conftest.er1
26690 ac_status=$?
26691 grep -v '^ *+' conftest.er1 >conftest.err
26692 rm -f conftest.er1
26693 cat conftest.err >&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); } &&
26696 { ac_try='test -z "$ac_c_werror_flag"
26697 || test ! -s conftest.err'
26698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26699 (eval $ac_try) 2>&5
26700 ac_status=$?
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); }; } &&
26703 { ac_try='test -s conftest$ac_exeext'
26704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26705 (eval $ac_try) 2>&5
26706 ac_status=$?
26707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26708 (exit $ac_status); }; }; then
26709 glibcxx_cv_func___builtin_sqrt_link=yes
26710 else
26711 echo "$as_me: failed program was:" >&5
26712 sed 's/^/| /' conftest.$ac_ext >&5
26713
26714 glibcxx_cv_func___builtin_sqrt_link=no
26715 fi
26716 rm -f conftest.err conftest.$ac_objext \
26717 conftest$ac_exeext conftest.$ac_ext
26718
26719 fi
26720
26721 fi
26722 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26723 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26724
26725 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26726
26727 cat >>confdefs.h <<\_ACEOF
26728 #define HAVE___BUILTIN_SQRT 1
26729 _ACEOF
26730
26731 fi
26732
26733 fi
26734
26735
26736 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26737 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26738 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26739 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 else
26742
26743
26744
26745 ac_ext=cc
26746 ac_cpp='$CXXCPP $CPPFLAGS'
26747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26750
26751 cat >conftest.$ac_ext <<_ACEOF
26752 /* confdefs.h. */
26753 _ACEOF
26754 cat confdefs.h >>conftest.$ac_ext
26755 cat >>conftest.$ac_ext <<_ACEOF
26756 /* end confdefs.h. */
26757 #include <math.h>
26758 int
26759 main ()
26760 {
26761 __builtin_sqrtl(0);
26762 ;
26763 return 0;
26764 }
26765 _ACEOF
26766 rm -f conftest.$ac_objext
26767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26768 (eval $ac_compile) 2>conftest.er1
26769 ac_status=$?
26770 grep -v '^ *+' conftest.er1 >conftest.err
26771 rm -f conftest.er1
26772 cat conftest.err >&5
26773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26774 (exit $ac_status); } &&
26775 { ac_try='test -z "$ac_cxx_werror_flag"
26776 || test ! -s conftest.err'
26777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 (eval $ac_try) 2>&5
26779 ac_status=$?
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); }; } &&
26782 { ac_try='test -s conftest.$ac_objext'
26783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784 (eval $ac_try) 2>&5
26785 ac_status=$?
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); }; }; then
26788 glibcxx_cv_func___builtin_sqrtl_use=yes
26789 else
26790 echo "$as_me: failed program was:" >&5
26791 sed 's/^/| /' conftest.$ac_ext >&5
26792
26793 glibcxx_cv_func___builtin_sqrtl_use=no
26794 fi
26795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26796 ac_ext=c
26797 ac_cpp='$CPP $CPPFLAGS'
26798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26801
26802
26803 fi
26804
26805 fi
26806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26807 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26808 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26809 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26810 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26811 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26812 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26813 echo $ECHO_N "(cached) $ECHO_C" >&6
26814 else
26815
26816 if test x$gcc_no_link = xyes; then
26817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26819 { (exit 1); exit 1; }; }
26820 fi
26821 cat >conftest.$ac_ext <<_ACEOF
26822 /* confdefs.h. */
26823 _ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26827 #include <math.h>
26828 int
26829 main ()
26830 {
26831 __builtin_sqrtl(0);
26832 ;
26833 return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext conftest$ac_exeext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26838 (eval $ac_link) 2>conftest.er1
26839 ac_status=$?
26840 grep -v '^ *+' conftest.er1 >conftest.err
26841 rm -f conftest.er1
26842 cat conftest.err >&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } &&
26845 { ac_try='test -z "$ac_c_werror_flag"
26846 || test ! -s conftest.err'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; } &&
26852 { ac_try='test -s conftest$ac_exeext'
26853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854 (eval $ac_try) 2>&5
26855 ac_status=$?
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); }; }; then
26858 glibcxx_cv_func___builtin_sqrtl_link=yes
26859 else
26860 echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 glibcxx_cv_func___builtin_sqrtl_link=no
26864 fi
26865 rm -f conftest.err conftest.$ac_objext \
26866 conftest$ac_exeext conftest.$ac_ext
26867
26868 fi
26869
26870 fi
26871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26872 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26873
26874 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26875
26876 cat >>confdefs.h <<\_ACEOF
26877 #define HAVE___BUILTIN_SQRTL 1
26878 _ACEOF
26879
26880 fi
26881
26882 fi
26883
26884
26885
26886 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26887 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26888 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26889 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26890 echo $ECHO_N "(cached) $ECHO_C" >&6
26891 else
26892
26893
26894
26895 ac_ext=cc
26896 ac_cpp='$CXXCPP $CPPFLAGS'
26897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26900
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907 #include <math.h>
26908 int
26909 main ()
26910 {
26911 __builtin_sinf(0);
26912 ;
26913 return 0;
26914 }
26915 _ACEOF
26916 rm -f conftest.$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>conftest.er1
26919 ac_status=$?
26920 grep -v '^ *+' conftest.er1 >conftest.err
26921 rm -f conftest.er1
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } &&
26925 { ac_try='test -z "$ac_cxx_werror_flag"
26926 || test ! -s conftest.err'
26927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928 (eval $ac_try) 2>&5
26929 ac_status=$?
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); }; } &&
26932 { ac_try='test -s conftest.$ac_objext'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; }; then
26938 glibcxx_cv_func___builtin_sinf_use=yes
26939 else
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26942
26943 glibcxx_cv_func___builtin_sinf_use=no
26944 fi
26945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26946 ac_ext=c
26947 ac_cpp='$CPP $CPPFLAGS'
26948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26951
26952
26953 fi
26954
26955 fi
26956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26958 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26959 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26960 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26961 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26962 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 else
26965
26966 if test x$gcc_no_link = xyes; then
26967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26969 { (exit 1); exit 1; }; }
26970 fi
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 #include <math.h>
26978 int
26979 main ()
26980 {
26981 __builtin_sinf(0);
26982 ;
26983 return 0;
26984 }
26985 _ACEOF
26986 rm -f conftest.$ac_objext conftest$ac_exeext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26988 (eval $ac_link) 2>conftest.er1
26989 ac_status=$?
26990 grep -v '^ *+' conftest.er1 >conftest.err
26991 rm -f conftest.er1
26992 cat conftest.err >&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try='test -z "$ac_c_werror_flag"
26996 || test ! -s conftest.err'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
26999 ac_status=$?
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; } &&
27002 { ac_try='test -s conftest$ac_exeext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27005 ac_status=$?
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 glibcxx_cv_func___builtin_sinf_link=yes
27009 else
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27012
27013 glibcxx_cv_func___builtin_sinf_link=no
27014 fi
27015 rm -f conftest.err conftest.$ac_objext \
27016 conftest$ac_exeext conftest.$ac_ext
27017
27018 fi
27019
27020 fi
27021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
27022 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
27023
27024 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
27025
27026 cat >>confdefs.h <<\_ACEOF
27027 #define HAVE___BUILTIN_SINF 1
27028 _ACEOF
27029
27030 fi
27031
27032 fi
27033
27034
27035 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
27036 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
27037 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
27038 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
27039 echo $ECHO_N "(cached) $ECHO_C" >&6
27040 else
27041
27042
27043
27044 ac_ext=cc
27045 ac_cpp='$CXXCPP $CPPFLAGS'
27046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27049
27050 cat >conftest.$ac_ext <<_ACEOF
27051 /* confdefs.h. */
27052 _ACEOF
27053 cat confdefs.h >>conftest.$ac_ext
27054 cat >>conftest.$ac_ext <<_ACEOF
27055 /* end confdefs.h. */
27056 #include <math.h>
27057 int
27058 main ()
27059 {
27060 __builtin_sin(0);
27061 ;
27062 return 0;
27063 }
27064 _ACEOF
27065 rm -f conftest.$ac_objext
27066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27067 (eval $ac_compile) 2>conftest.er1
27068 ac_status=$?
27069 grep -v '^ *+' conftest.er1 >conftest.err
27070 rm -f conftest.er1
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } &&
27074 { ac_try='test -z "$ac_cxx_werror_flag"
27075 || test ! -s conftest.err'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27078 ac_status=$?
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; } &&
27081 { ac_try='test -s conftest.$ac_objext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27084 ac_status=$?
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 glibcxx_cv_func___builtin_sin_use=yes
27088 else
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27091
27092 glibcxx_cv_func___builtin_sin_use=no
27093 fi
27094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27095 ac_ext=c
27096 ac_cpp='$CPP $CPPFLAGS'
27097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27100
27101
27102 fi
27103
27104 fi
27105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
27106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
27107 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
27108 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
27109 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
27110 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
27111 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114
27115 if test x$gcc_no_link = xyes; then
27116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27118 { (exit 1); exit 1; }; }
27119 fi
27120 cat >conftest.$ac_ext <<_ACEOF
27121 /* confdefs.h. */
27122 _ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27126 #include <math.h>
27127 int
27128 main ()
27129 {
27130 __builtin_sin(0);
27131 ;
27132 return 0;
27133 }
27134 _ACEOF
27135 rm -f conftest.$ac_objext conftest$ac_exeext
27136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27137 (eval $ac_link) 2>conftest.er1
27138 ac_status=$?
27139 grep -v '^ *+' conftest.er1 >conftest.err
27140 rm -f conftest.er1
27141 cat conftest.err >&5
27142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27143 (exit $ac_status); } &&
27144 { ac_try='test -z "$ac_c_werror_flag"
27145 || test ! -s conftest.err'
27146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27147 (eval $ac_try) 2>&5
27148 ac_status=$?
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); }; } &&
27151 { ac_try='test -s conftest$ac_exeext'
27152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27153 (eval $ac_try) 2>&5
27154 ac_status=$?
27155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27156 (exit $ac_status); }; }; then
27157 glibcxx_cv_func___builtin_sin_link=yes
27158 else
27159 echo "$as_me: failed program was:" >&5
27160 sed 's/^/| /' conftest.$ac_ext >&5
27161
27162 glibcxx_cv_func___builtin_sin_link=no
27163 fi
27164 rm -f conftest.err conftest.$ac_objext \
27165 conftest$ac_exeext conftest.$ac_ext
27166
27167 fi
27168
27169 fi
27170 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
27171 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
27172
27173 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
27174
27175 cat >>confdefs.h <<\_ACEOF
27176 #define HAVE___BUILTIN_SIN 1
27177 _ACEOF
27178
27179 fi
27180
27181 fi
27182
27183
27184 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
27185 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
27186 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
27187 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27189 else
27190
27191
27192
27193 ac_ext=cc
27194 ac_cpp='$CXXCPP $CPPFLAGS'
27195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27198
27199 cat >conftest.$ac_ext <<_ACEOF
27200 /* confdefs.h. */
27201 _ACEOF
27202 cat confdefs.h >>conftest.$ac_ext
27203 cat >>conftest.$ac_ext <<_ACEOF
27204 /* end confdefs.h. */
27205 #include <math.h>
27206 int
27207 main ()
27208 {
27209 __builtin_sinl(0);
27210 ;
27211 return 0;
27212 }
27213 _ACEOF
27214 rm -f conftest.$ac_objext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27216 (eval $ac_compile) 2>conftest.er1
27217 ac_status=$?
27218 grep -v '^ *+' conftest.er1 >conftest.err
27219 rm -f conftest.er1
27220 cat conftest.err >&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } &&
27223 { ac_try='test -z "$ac_cxx_werror_flag"
27224 || test ! -s conftest.err'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27227 ac_status=$?
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; } &&
27230 { ac_try='test -s conftest.$ac_objext'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27233 ac_status=$?
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; }; then
27236 glibcxx_cv_func___builtin_sinl_use=yes
27237 else
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.$ac_ext >&5
27240
27241 glibcxx_cv_func___builtin_sinl_use=no
27242 fi
27243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27244 ac_ext=c
27245 ac_cpp='$CPP $CPPFLAGS'
27246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27249
27250
27251 fi
27252
27253 fi
27254 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
27255 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
27256 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
27257 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
27258 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
27259 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
27260 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263
27264 if test x$gcc_no_link = xyes; then
27265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27267 { (exit 1); exit 1; }; }
27268 fi
27269 cat >conftest.$ac_ext <<_ACEOF
27270 /* confdefs.h. */
27271 _ACEOF
27272 cat confdefs.h >>conftest.$ac_ext
27273 cat >>conftest.$ac_ext <<_ACEOF
27274 /* end confdefs.h. */
27275 #include <math.h>
27276 int
27277 main ()
27278 {
27279 __builtin_sinl(0);
27280 ;
27281 return 0;
27282 }
27283 _ACEOF
27284 rm -f conftest.$ac_objext conftest$ac_exeext
27285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27286 (eval $ac_link) 2>conftest.er1
27287 ac_status=$?
27288 grep -v '^ *+' conftest.er1 >conftest.err
27289 rm -f conftest.er1
27290 cat conftest.err >&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); } &&
27293 { ac_try='test -z "$ac_c_werror_flag"
27294 || test ! -s conftest.err'
27295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27296 (eval $ac_try) 2>&5
27297 ac_status=$?
27298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27299 (exit $ac_status); }; } &&
27300 { ac_try='test -s conftest$ac_exeext'
27301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27302 (eval $ac_try) 2>&5
27303 ac_status=$?
27304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27305 (exit $ac_status); }; }; then
27306 glibcxx_cv_func___builtin_sinl_link=yes
27307 else
27308 echo "$as_me: failed program was:" >&5
27309 sed 's/^/| /' conftest.$ac_ext >&5
27310
27311 glibcxx_cv_func___builtin_sinl_link=no
27312 fi
27313 rm -f conftest.err conftest.$ac_objext \
27314 conftest$ac_exeext conftest.$ac_ext
27315
27316 fi
27317
27318 fi
27319 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
27320 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
27321
27322 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
27323
27324 cat >>confdefs.h <<\_ACEOF
27325 #define HAVE___BUILTIN_SINL 1
27326 _ACEOF
27327
27328 fi
27329
27330 fi
27331
27332
27333
27334 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
27335 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
27336 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
27337 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
27338 echo $ECHO_N "(cached) $ECHO_C" >&6
27339 else
27340
27341
27342
27343 ac_ext=cc
27344 ac_cpp='$CXXCPP $CPPFLAGS'
27345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27348
27349 cat >conftest.$ac_ext <<_ACEOF
27350 /* confdefs.h. */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 #include <math.h>
27356 int
27357 main ()
27358 {
27359 __builtin_cosf(0);
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27366 (eval $ac_compile) 2>conftest.er1
27367 ac_status=$?
27368 grep -v '^ *+' conftest.er1 >conftest.err
27369 rm -f conftest.er1
27370 cat conftest.err >&5
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); } &&
27373 { ac_try='test -z "$ac_cxx_werror_flag"
27374 || test ! -s conftest.err'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27377 ac_status=$?
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; } &&
27380 { ac_try='test -s conftest.$ac_objext'
27381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27382 (eval $ac_try) 2>&5
27383 ac_status=$?
27384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27385 (exit $ac_status); }; }; then
27386 glibcxx_cv_func___builtin_cosf_use=yes
27387 else
27388 echo "$as_me: failed program was:" >&5
27389 sed 's/^/| /' conftest.$ac_ext >&5
27390
27391 glibcxx_cv_func___builtin_cosf_use=no
27392 fi
27393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27394 ac_ext=c
27395 ac_cpp='$CPP $CPPFLAGS'
27396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27399
27400
27401 fi
27402
27403 fi
27404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
27405 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
27406 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
27407 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
27408 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
27409 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
27410 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
27411 echo $ECHO_N "(cached) $ECHO_C" >&6
27412 else
27413
27414 if test x$gcc_no_link = xyes; then
27415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27417 { (exit 1); exit 1; }; }
27418 fi
27419 cat >conftest.$ac_ext <<_ACEOF
27420 /* confdefs.h. */
27421 _ACEOF
27422 cat confdefs.h >>conftest.$ac_ext
27423 cat >>conftest.$ac_ext <<_ACEOF
27424 /* end confdefs.h. */
27425 #include <math.h>
27426 int
27427 main ()
27428 {
27429 __builtin_cosf(0);
27430 ;
27431 return 0;
27432 }
27433 _ACEOF
27434 rm -f conftest.$ac_objext conftest$ac_exeext
27435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27436 (eval $ac_link) 2>conftest.er1
27437 ac_status=$?
27438 grep -v '^ *+' conftest.er1 >conftest.err
27439 rm -f conftest.er1
27440 cat conftest.err >&5
27441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27442 (exit $ac_status); } &&
27443 { ac_try='test -z "$ac_c_werror_flag"
27444 || test ! -s conftest.err'
27445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27446 (eval $ac_try) 2>&5
27447 ac_status=$?
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); }; } &&
27450 { ac_try='test -s conftest$ac_exeext'
27451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27452 (eval $ac_try) 2>&5
27453 ac_status=$?
27454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27455 (exit $ac_status); }; }; then
27456 glibcxx_cv_func___builtin_cosf_link=yes
27457 else
27458 echo "$as_me: failed program was:" >&5
27459 sed 's/^/| /' conftest.$ac_ext >&5
27460
27461 glibcxx_cv_func___builtin_cosf_link=no
27462 fi
27463 rm -f conftest.err conftest.$ac_objext \
27464 conftest$ac_exeext conftest.$ac_ext
27465
27466 fi
27467
27468 fi
27469 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
27470 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
27471
27472 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
27473
27474 cat >>confdefs.h <<\_ACEOF
27475 #define HAVE___BUILTIN_COSF 1
27476 _ACEOF
27477
27478 fi
27479
27480 fi
27481
27482
27483 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
27484 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
27485 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
27486 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
27487 echo $ECHO_N "(cached) $ECHO_C" >&6
27488 else
27489
27490
27491
27492 ac_ext=cc
27493 ac_cpp='$CXXCPP $CPPFLAGS'
27494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27497
27498 cat >conftest.$ac_ext <<_ACEOF
27499 /* confdefs.h. */
27500 _ACEOF
27501 cat confdefs.h >>conftest.$ac_ext
27502 cat >>conftest.$ac_ext <<_ACEOF
27503 /* end confdefs.h. */
27504 #include <math.h>
27505 int
27506 main ()
27507 {
27508 __builtin_cos(0);
27509 ;
27510 return 0;
27511 }
27512 _ACEOF
27513 rm -f conftest.$ac_objext
27514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27515 (eval $ac_compile) 2>conftest.er1
27516 ac_status=$?
27517 grep -v '^ *+' conftest.er1 >conftest.err
27518 rm -f conftest.er1
27519 cat conftest.err >&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } &&
27522 { ac_try='test -z "$ac_cxx_werror_flag"
27523 || test ! -s conftest.err'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27526 ac_status=$?
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; } &&
27529 { ac_try='test -s conftest.$ac_objext'
27530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27531 (eval $ac_try) 2>&5
27532 ac_status=$?
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); }; }; then
27535 glibcxx_cv_func___builtin_cos_use=yes
27536 else
27537 echo "$as_me: failed program was:" >&5
27538 sed 's/^/| /' conftest.$ac_ext >&5
27539
27540 glibcxx_cv_func___builtin_cos_use=no
27541 fi
27542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27543 ac_ext=c
27544 ac_cpp='$CPP $CPPFLAGS'
27545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27548
27549
27550 fi
27551
27552 fi
27553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27554 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27555 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27556 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27557 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27558 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27559 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27560 echo $ECHO_N "(cached) $ECHO_C" >&6
27561 else
27562
27563 if test x$gcc_no_link = xyes; then
27564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27566 { (exit 1); exit 1; }; }
27567 fi
27568 cat >conftest.$ac_ext <<_ACEOF
27569 /* confdefs.h. */
27570 _ACEOF
27571 cat confdefs.h >>conftest.$ac_ext
27572 cat >>conftest.$ac_ext <<_ACEOF
27573 /* end confdefs.h. */
27574 #include <math.h>
27575 int
27576 main ()
27577 {
27578 __builtin_cos(0);
27579 ;
27580 return 0;
27581 }
27582 _ACEOF
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585 (eval $ac_link) 2>conftest.er1
27586 ac_status=$?
27587 grep -v '^ *+' conftest.er1 >conftest.err
27588 rm -f conftest.er1
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_c_werror_flag"
27593 || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27596 ac_status=$?
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27602 ac_status=$?
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 glibcxx_cv_func___builtin_cos_link=yes
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27609
27610 glibcxx_cv_func___builtin_cos_link=no
27611 fi
27612 rm -f conftest.err conftest.$ac_objext \
27613 conftest$ac_exeext conftest.$ac_ext
27614
27615 fi
27616
27617 fi
27618 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27619 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27620
27621 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27622
27623 cat >>confdefs.h <<\_ACEOF
27624 #define HAVE___BUILTIN_COS 1
27625 _ACEOF
27626
27627 fi
27628
27629 fi
27630
27631
27632 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27633 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27634 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27635 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27636 echo $ECHO_N "(cached) $ECHO_C" >&6
27637 else
27638
27639
27640
27641 ac_ext=cc
27642 ac_cpp='$CXXCPP $CPPFLAGS'
27643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27646
27647 cat >conftest.$ac_ext <<_ACEOF
27648 /* confdefs.h. */
27649 _ACEOF
27650 cat confdefs.h >>conftest.$ac_ext
27651 cat >>conftest.$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27653 #include <math.h>
27654 int
27655 main ()
27656 {
27657 __builtin_cosl(0);
27658 ;
27659 return 0;
27660 }
27661 _ACEOF
27662 rm -f conftest.$ac_objext
27663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27664 (eval $ac_compile) 2>conftest.er1
27665 ac_status=$?
27666 grep -v '^ *+' conftest.er1 >conftest.err
27667 rm -f conftest.er1
27668 cat conftest.err >&5
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); } &&
27671 { ac_try='test -z "$ac_cxx_werror_flag"
27672 || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try='test -s conftest.$ac_objext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27681 ac_status=$?
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 glibcxx_cv_func___builtin_cosl_use=yes
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 glibcxx_cv_func___builtin_cosl_use=no
27690 fi
27691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27692 ac_ext=c
27693 ac_cpp='$CPP $CPPFLAGS'
27694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697
27698
27699 fi
27700
27701 fi
27702 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27703 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27704 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27705 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27706 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27707 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27708 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27709 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 else
27711
27712 if test x$gcc_no_link = xyes; then
27713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27715 { (exit 1); exit 1; }; }
27716 fi
27717 cat >conftest.$ac_ext <<_ACEOF
27718 /* confdefs.h. */
27719 _ACEOF
27720 cat confdefs.h >>conftest.$ac_ext
27721 cat >>conftest.$ac_ext <<_ACEOF
27722 /* end confdefs.h. */
27723 #include <math.h>
27724 int
27725 main ()
27726 {
27727 __builtin_cosl(0);
27728 ;
27729 return 0;
27730 }
27731 _ACEOF
27732 rm -f conftest.$ac_objext conftest$ac_exeext
27733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27734 (eval $ac_link) 2>conftest.er1
27735 ac_status=$?
27736 grep -v '^ *+' conftest.er1 >conftest.err
27737 rm -f conftest.er1
27738 cat conftest.err >&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } &&
27741 { ac_try='test -z "$ac_c_werror_flag"
27742 || test ! -s conftest.err'
27743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744 (eval $ac_try) 2>&5
27745 ac_status=$?
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; } &&
27748 { ac_try='test -s conftest$ac_exeext'
27749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27750 (eval $ac_try) 2>&5
27751 ac_status=$?
27752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27753 (exit $ac_status); }; }; then
27754 glibcxx_cv_func___builtin_cosl_link=yes
27755 else
27756 echo "$as_me: failed program was:" >&5
27757 sed 's/^/| /' conftest.$ac_ext >&5
27758
27759 glibcxx_cv_func___builtin_cosl_link=no
27760 fi
27761 rm -f conftest.err conftest.$ac_objext \
27762 conftest$ac_exeext conftest.$ac_ext
27763
27764 fi
27765
27766 fi
27767 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27768 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27769
27770 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27771
27772 cat >>confdefs.h <<\_ACEOF
27773 #define HAVE___BUILTIN_COSL 1
27774 _ACEOF
27775
27776 fi
27777
27778 fi
27779
27780
27781
27782
27783 echo "$as_me:$LINENO: checking for main in -lm" >&5
27784 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27785 if test "${ac_cv_lib_m_main+set}" = set; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788 ac_check_lib_save_LIBS=$LIBS
27789 LIBS="-lm $LIBS"
27790 if test x$gcc_no_link = xyes; then
27791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27793 { (exit 1); exit 1; }; }
27794 fi
27795 cat >conftest.$ac_ext <<_ACEOF
27796 /* confdefs.h. */
27797 _ACEOF
27798 cat confdefs.h >>conftest.$ac_ext
27799 cat >>conftest.$ac_ext <<_ACEOF
27800 /* end confdefs.h. */
27801
27802
27803 int
27804 main ()
27805 {
27806 main ();
27807 ;
27808 return 0;
27809 }
27810 _ACEOF
27811 rm -f conftest.$ac_objext conftest$ac_exeext
27812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27813 (eval $ac_link) 2>conftest.er1
27814 ac_status=$?
27815 grep -v '^ *+' conftest.er1 >conftest.err
27816 rm -f conftest.er1
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } &&
27820 { ac_try='test -z "$ac_c_werror_flag"
27821 || test ! -s conftest.err'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; } &&
27827 { ac_try='test -s conftest$ac_exeext'
27828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27829 (eval $ac_try) 2>&5
27830 ac_status=$?
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); }; }; then
27833 ac_cv_lib_m_main=yes
27834 else
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838 ac_cv_lib_m_main=no
27839 fi
27840 rm -f conftest.err conftest.$ac_objext \
27841 conftest$ac_exeext conftest.$ac_ext
27842 LIBS=$ac_check_lib_save_LIBS
27843 fi
27844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27845 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27846 if test $ac_cv_lib_m_main = yes; then
27847 cat >>confdefs.h <<_ACEOF
27848 #define HAVE_LIBM 1
27849 _ACEOF
27850
27851 LIBS="-lm $LIBS"
27852
27853 fi
27854
27855
27856 for ac_func in copysignf
27857 do
27858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27859 echo "$as_me:$LINENO: checking for $ac_func" >&5
27860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27861 if eval "test \"\${$as_ac_var+set}\" = set"; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864 if test x$gcc_no_link = xyes; then
27865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27867 { (exit 1); exit 1; }; }
27868 fi
27869 cat >conftest.$ac_ext <<_ACEOF
27870 /* confdefs.h. */
27871 _ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h. */
27875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27877 #define $ac_func innocuous_$ac_func
27878
27879 /* System header to define __stub macros and hopefully few prototypes,
27880 which can conflict with char $ac_func (); below.
27881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27882 <limits.h> exists even on freestanding compilers. */
27883
27884 #ifdef __STDC__
27885 # include <limits.h>
27886 #else
27887 # include <assert.h>
27888 #endif
27889
27890 #undef $ac_func
27891
27892 /* Override any gcc2 internal prototype to avoid an error. */
27893 #ifdef __cplusplus
27894 extern "C"
27895 {
27896 #endif
27897 /* We use char because int might match the return type of a gcc2
27898 builtin and then its argument prototype would still apply. */
27899 char $ac_func ();
27900 /* The GNU C library defines this for functions which it implements
27901 to always fail with ENOSYS. Some functions are actually named
27902 something starting with __ and the normal name is an alias. */
27903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27904 choke me
27905 #else
27906 char (*f) () = $ac_func;
27907 #endif
27908 #ifdef __cplusplus
27909 }
27910 #endif
27911
27912 int
27913 main ()
27914 {
27915 return f != $ac_func;
27916 ;
27917 return 0;
27918 }
27919 _ACEOF
27920 rm -f conftest.$ac_objext conftest$ac_exeext
27921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27922 (eval $ac_link) 2>conftest.er1
27923 ac_status=$?
27924 grep -v '^ *+' conftest.er1 >conftest.err
27925 rm -f conftest.er1
27926 cat conftest.err >&5
27927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27928 (exit $ac_status); } &&
27929 { ac_try='test -z "$ac_c_werror_flag"
27930 || test ! -s conftest.err'
27931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27932 (eval $ac_try) 2>&5
27933 ac_status=$?
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); }; } &&
27936 { ac_try='test -s conftest$ac_exeext'
27937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27938 (eval $ac_try) 2>&5
27939 ac_status=$?
27940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 (exit $ac_status); }; }; then
27942 eval "$as_ac_var=yes"
27943 else
27944 echo "$as_me: failed program was:" >&5
27945 sed 's/^/| /' conftest.$ac_ext >&5
27946
27947 eval "$as_ac_var=no"
27948 fi
27949 rm -f conftest.err conftest.$ac_objext \
27950 conftest$ac_exeext conftest.$ac_ext
27951 fi
27952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27954 if test `eval echo '${'$as_ac_var'}'` = yes; then
27955 cat >>confdefs.h <<_ACEOF
27956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27957 _ACEOF
27958
27959 else
27960 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27961 fi
27962 done
27963
27964
27965
27966 for ac_func in __signbit
27967 do
27968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27969 echo "$as_me:$LINENO: checking for $ac_func" >&5
27970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27971 if eval "test \"\${$as_ac_var+set}\" = set"; then
27972 echo $ECHO_N "(cached) $ECHO_C" >&6
27973 else
27974 if test x$gcc_no_link = xyes; then
27975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27977 { (exit 1); exit 1; }; }
27978 fi
27979 cat >conftest.$ac_ext <<_ACEOF
27980 /* confdefs.h. */
27981 _ACEOF
27982 cat confdefs.h >>conftest.$ac_ext
27983 cat >>conftest.$ac_ext <<_ACEOF
27984 /* end confdefs.h. */
27985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27987 #define $ac_func innocuous_$ac_func
27988
27989 /* System header to define __stub macros and hopefully few prototypes,
27990 which can conflict with char $ac_func (); below.
27991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27992 <limits.h> exists even on freestanding compilers. */
27993
27994 #ifdef __STDC__
27995 # include <limits.h>
27996 #else
27997 # include <assert.h>
27998 #endif
27999
28000 #undef $ac_func
28001
28002 /* Override any gcc2 internal prototype to avoid an error. */
28003 #ifdef __cplusplus
28004 extern "C"
28005 {
28006 #endif
28007 /* We use char because int might match the return type of a gcc2
28008 builtin and then its argument prototype would still apply. */
28009 char $ac_func ();
28010 /* The GNU C library defines this for functions which it implements
28011 to always fail with ENOSYS. Some functions are actually named
28012 something starting with __ and the normal name is an alias. */
28013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28014 choke me
28015 #else
28016 char (*f) () = $ac_func;
28017 #endif
28018 #ifdef __cplusplus
28019 }
28020 #endif
28021
28022 int
28023 main ()
28024 {
28025 return f != $ac_func;
28026 ;
28027 return 0;
28028 }
28029 _ACEOF
28030 rm -f conftest.$ac_objext conftest$ac_exeext
28031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28032 (eval $ac_link) 2>conftest.er1
28033 ac_status=$?
28034 grep -v '^ *+' conftest.er1 >conftest.err
28035 rm -f conftest.er1
28036 cat conftest.err >&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } &&
28039 { ac_try='test -z "$ac_c_werror_flag"
28040 || test ! -s conftest.err'
28041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28042 (eval $ac_try) 2>&5
28043 ac_status=$?
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); }; } &&
28046 { ac_try='test -s conftest$ac_exeext'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28049 ac_status=$?
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; }; then
28052 eval "$as_ac_var=yes"
28053 else
28054 echo "$as_me: failed program was:" >&5
28055 sed 's/^/| /' conftest.$ac_ext >&5
28056
28057 eval "$as_ac_var=no"
28058 fi
28059 rm -f conftest.err conftest.$ac_objext \
28060 conftest$ac_exeext conftest.$ac_ext
28061 fi
28062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28064 if test `eval echo '${'$as_ac_var'}'` = yes; then
28065 cat >>confdefs.h <<_ACEOF
28066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28067 _ACEOF
28068
28069 else
28070 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
28071 fi
28072 done
28073
28074
28075
28076 for ac_func in __signbitf
28077 do
28078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28079 echo "$as_me:$LINENO: checking for $ac_func" >&5
28080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28081 if eval "test \"\${$as_ac_var+set}\" = set"; then
28082 echo $ECHO_N "(cached) $ECHO_C" >&6
28083 else
28084 if test x$gcc_no_link = xyes; then
28085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28087 { (exit 1); exit 1; }; }
28088 fi
28089 cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h. */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28097 #define $ac_func innocuous_$ac_func
28098
28099 /* System header to define __stub macros and hopefully few prototypes,
28100 which can conflict with char $ac_func (); below.
28101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28102 <limits.h> exists even on freestanding compilers. */
28103
28104 #ifdef __STDC__
28105 # include <limits.h>
28106 #else
28107 # include <assert.h>
28108 #endif
28109
28110 #undef $ac_func
28111
28112 /* Override any gcc2 internal prototype to avoid an error. */
28113 #ifdef __cplusplus
28114 extern "C"
28115 {
28116 #endif
28117 /* We use char because int might match the return type of a gcc2
28118 builtin and then its argument prototype would still apply. */
28119 char $ac_func ();
28120 /* The GNU C library defines this for functions which it implements
28121 to always fail with ENOSYS. Some functions are actually named
28122 something starting with __ and the normal name is an alias. */
28123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28124 choke me
28125 #else
28126 char (*f) () = $ac_func;
28127 #endif
28128 #ifdef __cplusplus
28129 }
28130 #endif
28131
28132 int
28133 main ()
28134 {
28135 return f != $ac_func;
28136 ;
28137 return 0;
28138 }
28139 _ACEOF
28140 rm -f conftest.$ac_objext conftest$ac_exeext
28141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28142 (eval $ac_link) 2>conftest.er1
28143 ac_status=$?
28144 grep -v '^ *+' conftest.er1 >conftest.err
28145 rm -f conftest.er1
28146 cat conftest.err >&5
28147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28148 (exit $ac_status); } &&
28149 { ac_try='test -z "$ac_c_werror_flag"
28150 || test ! -s conftest.err'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28153 ac_status=$?
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; } &&
28156 { ac_try='test -s conftest$ac_exeext'
28157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 (eval $ac_try) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; }; then
28162 eval "$as_ac_var=yes"
28163 else
28164 echo "$as_me: failed program was:" >&5
28165 sed 's/^/| /' conftest.$ac_ext >&5
28166
28167 eval "$as_ac_var=no"
28168 fi
28169 rm -f conftest.err conftest.$ac_objext \
28170 conftest$ac_exeext conftest.$ac_ext
28171 fi
28172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28174 if test `eval echo '${'$as_ac_var'}'` = yes; then
28175 cat >>confdefs.h <<_ACEOF
28176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28177 _ACEOF
28178
28179 else
28180 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
28181 fi
28182 done
28183
28184
28185 if test x$ac_cv_func_copysignl = x"yes"; then
28186
28187 for ac_func in __signbitl
28188 do
28189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28190 echo "$as_me:$LINENO: checking for $ac_func" >&5
28191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28192 if eval "test \"\${$as_ac_var+set}\" = set"; then
28193 echo $ECHO_N "(cached) $ECHO_C" >&6
28194 else
28195 if test x$gcc_no_link = xyes; then
28196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28198 { (exit 1); exit 1; }; }
28199 fi
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28208 #define $ac_func innocuous_$ac_func
28209
28210 /* System header to define __stub macros and hopefully few prototypes,
28211 which can conflict with char $ac_func (); below.
28212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28213 <limits.h> exists even on freestanding compilers. */
28214
28215 #ifdef __STDC__
28216 # include <limits.h>
28217 #else
28218 # include <assert.h>
28219 #endif
28220
28221 #undef $ac_func
28222
28223 /* Override any gcc2 internal prototype to avoid an error. */
28224 #ifdef __cplusplus
28225 extern "C"
28226 {
28227 #endif
28228 /* We use char because int might match the return type of a gcc2
28229 builtin and then its argument prototype would still apply. */
28230 char $ac_func ();
28231 /* The GNU C library defines this for functions which it implements
28232 to always fail with ENOSYS. Some functions are actually named
28233 something starting with __ and the normal name is an alias. */
28234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28235 choke me
28236 #else
28237 char (*f) () = $ac_func;
28238 #endif
28239 #ifdef __cplusplus
28240 }
28241 #endif
28242
28243 int
28244 main ()
28245 {
28246 return f != $ac_func;
28247 ;
28248 return 0;
28249 }
28250 _ACEOF
28251 rm -f conftest.$ac_objext conftest$ac_exeext
28252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28253 (eval $ac_link) 2>conftest.er1
28254 ac_status=$?
28255 grep -v '^ *+' conftest.er1 >conftest.err
28256 rm -f conftest.er1
28257 cat conftest.err >&5
28258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28259 (exit $ac_status); } &&
28260 { ac_try='test -z "$ac_c_werror_flag"
28261 || test ! -s conftest.err'
28262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28263 (eval $ac_try) 2>&5
28264 ac_status=$?
28265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28266 (exit $ac_status); }; } &&
28267 { ac_try='test -s conftest$ac_exeext'
28268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28269 (eval $ac_try) 2>&5
28270 ac_status=$?
28271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28272 (exit $ac_status); }; }; then
28273 eval "$as_ac_var=yes"
28274 else
28275 echo "$as_me: failed program was:" >&5
28276 sed 's/^/| /' conftest.$ac_ext >&5
28277
28278 eval "$as_ac_var=no"
28279 fi
28280 rm -f conftest.err conftest.$ac_objext \
28281 conftest$ac_exeext conftest.$ac_ext
28282 fi
28283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28284 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28285 if test `eval echo '${'$as_ac_var'}'` = yes; then
28286 cat >>confdefs.h <<_ACEOF
28287 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28288 _ACEOF
28289
28290 else
28291 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
28292 fi
28293 done
28294
28295 fi
28296
28297 # Used in libmath/Makefile.am.
28298 if test -n "$LIBMATHOBJS"; then
28299 need_libmath=yes
28300 fi
28301
28302
28303
28304
28305 enable_iconv=no
28306 # Only continue checking if the ISO C99 headers exist and support is on.
28307 if test x"$enable_wchar_t" = xyes; then
28308
28309 # Use iconv for wchar_t to char conversions. As such, check for
28310 # X/Open Portability Guide, version 2 features (XPG2).
28311 if test "${ac_cv_header_iconv_h+set}" = set; then
28312 echo "$as_me:$LINENO: checking for iconv.h" >&5
28313 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28314 if test "${ac_cv_header_iconv_h+set}" = set; then
28315 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 fi
28317 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28318 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28319 else
28320 # Is the header compilable?
28321 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28322 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28323 cat >conftest.$ac_ext <<_ACEOF
28324 /* confdefs.h. */
28325 _ACEOF
28326 cat confdefs.h >>conftest.$ac_ext
28327 cat >>conftest.$ac_ext <<_ACEOF
28328 /* end confdefs.h. */
28329 $ac_includes_default
28330 #include <iconv.h>
28331 _ACEOF
28332 rm -f conftest.$ac_objext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28334 (eval $ac_compile) 2>conftest.er1
28335 ac_status=$?
28336 grep -v '^ *+' conftest.er1 >conftest.err
28337 rm -f conftest.er1
28338 cat conftest.err >&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); } &&
28341 { ac_try='test -z "$ac_c_werror_flag"
28342 || test ! -s conftest.err'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28345 ac_status=$?
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; } &&
28348 { ac_try='test -s conftest.$ac_objext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28351 ac_status=$?
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 ac_header_compiler=yes
28355 else
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28358
28359 ac_header_compiler=no
28360 fi
28361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28362 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28363 echo "${ECHO_T}$ac_header_compiler" >&6
28364
28365 # Is the header present?
28366 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28367 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28368 cat >conftest.$ac_ext <<_ACEOF
28369 /* confdefs.h. */
28370 _ACEOF
28371 cat confdefs.h >>conftest.$ac_ext
28372 cat >>conftest.$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28374 #include <iconv.h>
28375 _ACEOF
28376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28378 ac_status=$?
28379 grep -v '^ *+' conftest.er1 >conftest.err
28380 rm -f conftest.er1
28381 cat conftest.err >&5
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); } >/dev/null; then
28384 if test -s conftest.err; then
28385 ac_cpp_err=$ac_c_preproc_warn_flag
28386 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28387 else
28388 ac_cpp_err=
28389 fi
28390 else
28391 ac_cpp_err=yes
28392 fi
28393 if test -z "$ac_cpp_err"; then
28394 ac_header_preproc=yes
28395 else
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 ac_header_preproc=no
28400 fi
28401 rm -f conftest.err conftest.$ac_ext
28402 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28403 echo "${ECHO_T}$ac_header_preproc" >&6
28404
28405 # So? What about this header?
28406 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28407 yes:no: )
28408 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28409 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28410 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28411 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28412 ac_header_preproc=yes
28413 ;;
28414 no:yes:* )
28415 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28416 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28417 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28418 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28419 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28420 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28421 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28422 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28423 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28424 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28425 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28426 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28427 (
28428 cat <<\_ASBOX
28429 ## ----------------------------------------- ##
28430 ## Report this to the package-unused lists. ##
28431 ## ----------------------------------------- ##
28432 _ASBOX
28433 ) |
28434 sed "s/^/$as_me: WARNING: /" >&2
28435 ;;
28436 esac
28437 echo "$as_me:$LINENO: checking for iconv.h" >&5
28438 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28439 if test "${ac_cv_header_iconv_h+set}" = set; then
28440 echo $ECHO_N "(cached) $ECHO_C" >&6
28441 else
28442 ac_cv_header_iconv_h=$ac_header_preproc
28443 fi
28444 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28445 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28446
28447 fi
28448 if test $ac_cv_header_iconv_h = yes; then
28449 ac_has_iconv_h=yes
28450 else
28451 ac_has_iconv_h=no
28452 fi
28453
28454
28455 if test "${ac_cv_header_langinfo_h+set}" = set; then
28456 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28457 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28458 if test "${ac_cv_header_langinfo_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 fi
28461 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28462 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28463 else
28464 # Is the header compilable?
28465 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28466 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h. */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h. */
28473 $ac_includes_default
28474 #include <langinfo.h>
28475 _ACEOF
28476 rm -f conftest.$ac_objext
28477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28478 (eval $ac_compile) 2>conftest.er1
28479 ac_status=$?
28480 grep -v '^ *+' conftest.er1 >conftest.err
28481 rm -f conftest.er1
28482 cat conftest.err >&5
28483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28484 (exit $ac_status); } &&
28485 { ac_try='test -z "$ac_c_werror_flag"
28486 || test ! -s conftest.err'
28487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 (eval $ac_try) 2>&5
28489 ac_status=$?
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; } &&
28492 { ac_try='test -s conftest.$ac_objext'
28493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28494 (eval $ac_try) 2>&5
28495 ac_status=$?
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); }; }; then
28498 ac_header_compiler=yes
28499 else
28500 echo "$as_me: failed program was:" >&5
28501 sed 's/^/| /' conftest.$ac_ext >&5
28502
28503 ac_header_compiler=no
28504 fi
28505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28507 echo "${ECHO_T}$ac_header_compiler" >&6
28508
28509 # Is the header present?
28510 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28511 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28512 cat >conftest.$ac_ext <<_ACEOF
28513 /* confdefs.h. */
28514 _ACEOF
28515 cat confdefs.h >>conftest.$ac_ext
28516 cat >>conftest.$ac_ext <<_ACEOF
28517 /* end confdefs.h. */
28518 #include <langinfo.h>
28519 _ACEOF
28520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28522 ac_status=$?
28523 grep -v '^ *+' conftest.er1 >conftest.err
28524 rm -f conftest.er1
28525 cat conftest.err >&5
28526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28527 (exit $ac_status); } >/dev/null; then
28528 if test -s conftest.err; then
28529 ac_cpp_err=$ac_c_preproc_warn_flag
28530 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28531 else
28532 ac_cpp_err=
28533 fi
28534 else
28535 ac_cpp_err=yes
28536 fi
28537 if test -z "$ac_cpp_err"; then
28538 ac_header_preproc=yes
28539 else
28540 echo "$as_me: failed program was:" >&5
28541 sed 's/^/| /' conftest.$ac_ext >&5
28542
28543 ac_header_preproc=no
28544 fi
28545 rm -f conftest.err conftest.$ac_ext
28546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28547 echo "${ECHO_T}$ac_header_preproc" >&6
28548
28549 # So? What about this header?
28550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28551 yes:no: )
28552 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28553 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28554 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28555 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28556 ac_header_preproc=yes
28557 ;;
28558 no:yes:* )
28559 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28560 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28561 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28562 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28563 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28564 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28565 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28566 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28567 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28568 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28569 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28570 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28571 (
28572 cat <<\_ASBOX
28573 ## ----------------------------------------- ##
28574 ## Report this to the package-unused lists. ##
28575 ## ----------------------------------------- ##
28576 _ASBOX
28577 ) |
28578 sed "s/^/$as_me: WARNING: /" >&2
28579 ;;
28580 esac
28581 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28582 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28583 if test "${ac_cv_header_langinfo_h+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 else
28586 ac_cv_header_langinfo_h=$ac_header_preproc
28587 fi
28588 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28589 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28590
28591 fi
28592 if test $ac_cv_header_langinfo_h = yes; then
28593 ac_has_langinfo_h=yes
28594 else
28595 ac_has_langinfo_h=no
28596 fi
28597
28598
28599
28600 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28601 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28602 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28603 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28604 echo $ECHO_N "(cached) $ECHO_C" >&6
28605 else
28606 ac_check_lib_save_LIBS=$LIBS
28607 LIBS="-liconv $LIBS"
28608 if test x$gcc_no_link = xyes; then
28609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28611 { (exit 1); exit 1; }; }
28612 fi
28613 cat >conftest.$ac_ext <<_ACEOF
28614 /* confdefs.h. */
28615 _ACEOF
28616 cat confdefs.h >>conftest.$ac_ext
28617 cat >>conftest.$ac_ext <<_ACEOF
28618 /* end confdefs.h. */
28619
28620 /* Override any gcc2 internal prototype to avoid an error. */
28621 #ifdef __cplusplus
28622 extern "C"
28623 #endif
28624 /* We use char because int might match the return type of a gcc2
28625 builtin and then its argument prototype would still apply. */
28626 char iconv ();
28627 int
28628 main ()
28629 {
28630 iconv ();
28631 ;
28632 return 0;
28633 }
28634 _ACEOF
28635 rm -f conftest.$ac_objext conftest$ac_exeext
28636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28637 (eval $ac_link) 2>conftest.er1
28638 ac_status=$?
28639 grep -v '^ *+' conftest.er1 >conftest.err
28640 rm -f conftest.er1
28641 cat conftest.err >&5
28642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28643 (exit $ac_status); } &&
28644 { ac_try='test -z "$ac_c_werror_flag"
28645 || test ! -s conftest.err'
28646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28647 (eval $ac_try) 2>&5
28648 ac_status=$?
28649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28650 (exit $ac_status); }; } &&
28651 { ac_try='test -s conftest$ac_exeext'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28654 ac_status=$?
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; }; then
28657 ac_cv_lib_iconv_iconv=yes
28658 else
28659 echo "$as_me: failed program was:" >&5
28660 sed 's/^/| /' conftest.$ac_ext >&5
28661
28662 ac_cv_lib_iconv_iconv=no
28663 fi
28664 rm -f conftest.err conftest.$ac_objext \
28665 conftest$ac_exeext conftest.$ac_ext
28666 LIBS=$ac_check_lib_save_LIBS
28667 fi
28668 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28669 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28670 if test $ac_cv_lib_iconv_iconv = yes; then
28671 LIBICONV="-liconv"
28672 fi
28673
28674 ac_save_LIBS="$LIBS"
28675 LIBS="$LIBS $LIBICONV"
28676
28677
28678
28679
28680
28681
28682 for ac_func in iconv_open iconv_close iconv nl_langinfo
28683 do
28684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28685 echo "$as_me:$LINENO: checking for $ac_func" >&5
28686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28687 if eval "test \"\${$as_ac_var+set}\" = set"; then
28688 echo $ECHO_N "(cached) $ECHO_C" >&6
28689 else
28690 if test x$gcc_no_link = xyes; then
28691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28693 { (exit 1); exit 1; }; }
28694 fi
28695 cat >conftest.$ac_ext <<_ACEOF
28696 /* confdefs.h. */
28697 _ACEOF
28698 cat confdefs.h >>conftest.$ac_ext
28699 cat >>conftest.$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28703 #define $ac_func innocuous_$ac_func
28704
28705 /* System header to define __stub macros and hopefully few prototypes,
28706 which can conflict with char $ac_func (); below.
28707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28708 <limits.h> exists even on freestanding compilers. */
28709
28710 #ifdef __STDC__
28711 # include <limits.h>
28712 #else
28713 # include <assert.h>
28714 #endif
28715
28716 #undef $ac_func
28717
28718 /* Override any gcc2 internal prototype to avoid an error. */
28719 #ifdef __cplusplus
28720 extern "C"
28721 {
28722 #endif
28723 /* We use char because int might match the return type of a gcc2
28724 builtin and then its argument prototype would still apply. */
28725 char $ac_func ();
28726 /* The GNU C library defines this for functions which it implements
28727 to always fail with ENOSYS. Some functions are actually named
28728 something starting with __ and the normal name is an alias. */
28729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28730 choke me
28731 #else
28732 char (*f) () = $ac_func;
28733 #endif
28734 #ifdef __cplusplus
28735 }
28736 #endif
28737
28738 int
28739 main ()
28740 {
28741 return f != $ac_func;
28742 ;
28743 return 0;
28744 }
28745 _ACEOF
28746 rm -f conftest.$ac_objext conftest$ac_exeext
28747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28748 (eval $ac_link) 2>conftest.er1
28749 ac_status=$?
28750 grep -v '^ *+' conftest.er1 >conftest.err
28751 rm -f conftest.er1
28752 cat conftest.err >&5
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); } &&
28755 { ac_try='test -z "$ac_c_werror_flag"
28756 || test ! -s conftest.err'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28759 ac_status=$?
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; } &&
28762 { ac_try='test -s conftest$ac_exeext'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28765 ac_status=$?
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; }; then
28768 eval "$as_ac_var=yes"
28769 else
28770 echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28772
28773 eval "$as_ac_var=no"
28774 fi
28775 rm -f conftest.err conftest.$ac_objext \
28776 conftest$ac_exeext conftest.$ac_ext
28777 fi
28778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28780 if test `eval echo '${'$as_ac_var'}'` = yes; then
28781 cat >>confdefs.h <<_ACEOF
28782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28783 _ACEOF
28784 ac_XPG2funcs=yes
28785 else
28786 ac_XPG2funcs=no
28787 fi
28788 done
28789
28790
28791 LIBS="$ac_save_LIBS"
28792
28793 if test x"$ac_has_iconv_h" = xyes &&
28794 test x"$ac_has_langinfo_h" = xyes &&
28795 test x"$ac_XPG2funcs" = xyes;
28796 then
28797
28798 cat >>confdefs.h <<\_ACEOF
28799 #define _GLIBCXX_USE_ICONV 1
28800 _ACEOF
28801
28802 enable_iconv=yes
28803 fi
28804 fi
28805 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
28806 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
28807 echo "$as_me:$LINENO: result: $enable_iconv" >&5
28808 echo "${ECHO_T}$enable_iconv" >&6
28809
28810
28811 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28812 ac_save_CXXFLAGS="$CXXFLAGS"
28813 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28814
28815
28816 echo "$as_me:$LINENO: checking for strtold declaration" >&5
28817 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
28818 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28819 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822
28823
28824
28825 ac_ext=cc
28826 ac_cpp='$CXXCPP $CPPFLAGS'
28827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28830
28831 cat >conftest.$ac_ext <<_ACEOF
28832 /* confdefs.h. */
28833 _ACEOF
28834 cat confdefs.h >>conftest.$ac_ext
28835 cat >>conftest.$ac_ext <<_ACEOF
28836 /* end confdefs.h. */
28837 #include <stdlib.h>
28838 int
28839 main ()
28840 {
28841 strtold(0, 0);
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 rm -f conftest.$ac_objext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28848 (eval $ac_compile) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_cxx_werror_flag"
28856 || test ! -s conftest.err'
28857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28858 (eval $ac_try) 2>&5
28859 ac_status=$?
28860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28861 (exit $ac_status); }; } &&
28862 { ac_try='test -s conftest.$ac_objext'
28863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28864 (eval $ac_try) 2>&5
28865 ac_status=$?
28866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28867 (exit $ac_status); }; }; then
28868 glibcxx_cv_func_strtold_use=yes
28869 else
28870 echo "$as_me: failed program was:" >&5
28871 sed 's/^/| /' conftest.$ac_ext >&5
28872
28873 glibcxx_cv_func_strtold_use=no
28874 fi
28875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28876 ac_ext=c
28877 ac_cpp='$CPP $CPPFLAGS'
28878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28881
28882
28883 fi
28884
28885 fi
28886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
28887 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
28888 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28889
28890 for ac_func in strtold
28891 do
28892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28893 echo "$as_me:$LINENO: checking for $ac_func" >&5
28894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28895 if eval "test \"\${$as_ac_var+set}\" = set"; then
28896 echo $ECHO_N "(cached) $ECHO_C" >&6
28897 else
28898 if test x$gcc_no_link = xyes; then
28899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28901 { (exit 1); exit 1; }; }
28902 fi
28903 cat >conftest.$ac_ext <<_ACEOF
28904 /* confdefs.h. */
28905 _ACEOF
28906 cat confdefs.h >>conftest.$ac_ext
28907 cat >>conftest.$ac_ext <<_ACEOF
28908 /* end confdefs.h. */
28909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28911 #define $ac_func innocuous_$ac_func
28912
28913 /* System header to define __stub macros and hopefully few prototypes,
28914 which can conflict with char $ac_func (); below.
28915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28916 <limits.h> exists even on freestanding compilers. */
28917
28918 #ifdef __STDC__
28919 # include <limits.h>
28920 #else
28921 # include <assert.h>
28922 #endif
28923
28924 #undef $ac_func
28925
28926 /* Override any gcc2 internal prototype to avoid an error. */
28927 #ifdef __cplusplus
28928 extern "C"
28929 {
28930 #endif
28931 /* We use char because int might match the return type of a gcc2
28932 builtin and then its argument prototype would still apply. */
28933 char $ac_func ();
28934 /* The GNU C library defines this for functions which it implements
28935 to always fail with ENOSYS. Some functions are actually named
28936 something starting with __ and the normal name is an alias. */
28937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28938 choke me
28939 #else
28940 char (*f) () = $ac_func;
28941 #endif
28942 #ifdef __cplusplus
28943 }
28944 #endif
28945
28946 int
28947 main ()
28948 {
28949 return f != $ac_func;
28950 ;
28951 return 0;
28952 }
28953 _ACEOF
28954 rm -f conftest.$ac_objext conftest$ac_exeext
28955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28956 (eval $ac_link) 2>conftest.er1
28957 ac_status=$?
28958 grep -v '^ *+' conftest.er1 >conftest.err
28959 rm -f conftest.er1
28960 cat conftest.err >&5
28961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28962 (exit $ac_status); } &&
28963 { ac_try='test -z "$ac_c_werror_flag"
28964 || test ! -s conftest.err'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28967 ac_status=$?
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; } &&
28970 { ac_try='test -s conftest$ac_exeext'
28971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28972 (eval $ac_try) 2>&5
28973 ac_status=$?
28974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28975 (exit $ac_status); }; }; then
28976 eval "$as_ac_var=yes"
28977 else
28978 echo "$as_me: failed program was:" >&5
28979 sed 's/^/| /' conftest.$ac_ext >&5
28980
28981 eval "$as_ac_var=no"
28982 fi
28983 rm -f conftest.err conftest.$ac_objext \
28984 conftest$ac_exeext conftest.$ac_ext
28985 fi
28986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28988 if test `eval echo '${'$as_ac_var'}'` = yes; then
28989 cat >>confdefs.h <<_ACEOF
28990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28991 _ACEOF
28992
28993 fi
28994 done
28995
28996 fi
28997
28998
28999
29000
29001
29002 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29003 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29004 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29005 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 else
29008
29009
29010
29011 ac_ext=cc
29012 ac_cpp='$CXXCPP $CPPFLAGS'
29013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29016
29017 cat >conftest.$ac_ext <<_ACEOF
29018 /* confdefs.h. */
29019 _ACEOF
29020 cat confdefs.h >>conftest.$ac_ext
29021 cat >>conftest.$ac_ext <<_ACEOF
29022 /* end confdefs.h. */
29023 #include <stdlib.h>
29024 int
29025 main ()
29026 {
29027 strtof(0, 0);
29028 ;
29029 return 0;
29030 }
29031 _ACEOF
29032 rm -f conftest.$ac_objext
29033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29034 (eval $ac_compile) 2>conftest.er1
29035 ac_status=$?
29036 grep -v '^ *+' conftest.er1 >conftest.err
29037 rm -f conftest.er1
29038 cat conftest.err >&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); } &&
29041 { ac_try='test -z "$ac_cxx_werror_flag"
29042 || test ! -s conftest.err'
29043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044 (eval $ac_try) 2>&5
29045 ac_status=$?
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; } &&
29048 { ac_try='test -s conftest.$ac_objext'
29049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29050 (eval $ac_try) 2>&5
29051 ac_status=$?
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); }; }; then
29054 glibcxx_cv_func_strtof_use=yes
29055 else
29056 echo "$as_me: failed program was:" >&5
29057 sed 's/^/| /' conftest.$ac_ext >&5
29058
29059 glibcxx_cv_func_strtof_use=no
29060 fi
29061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29062 ac_ext=c
29063 ac_cpp='$CPP $CPPFLAGS'
29064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067
29068
29069 fi
29070
29071 fi
29072 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29073 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29074 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29075
29076 for ac_func in strtof
29077 do
29078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29079 echo "$as_me:$LINENO: checking for $ac_func" >&5
29080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29081 if eval "test \"\${$as_ac_var+set}\" = set"; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 else
29084 if test x$gcc_no_link = xyes; then
29085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29087 { (exit 1); exit 1; }; }
29088 fi
29089 cat >conftest.$ac_ext <<_ACEOF
29090 /* confdefs.h. */
29091 _ACEOF
29092 cat confdefs.h >>conftest.$ac_ext
29093 cat >>conftest.$ac_ext <<_ACEOF
29094 /* end confdefs.h. */
29095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29097 #define $ac_func innocuous_$ac_func
29098
29099 /* System header to define __stub macros and hopefully few prototypes,
29100 which can conflict with char $ac_func (); below.
29101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29102 <limits.h> exists even on freestanding compilers. */
29103
29104 #ifdef __STDC__
29105 # include <limits.h>
29106 #else
29107 # include <assert.h>
29108 #endif
29109
29110 #undef $ac_func
29111
29112 /* Override any gcc2 internal prototype to avoid an error. */
29113 #ifdef __cplusplus
29114 extern "C"
29115 {
29116 #endif
29117 /* We use char because int might match the return type of a gcc2
29118 builtin and then its argument prototype would still apply. */
29119 char $ac_func ();
29120 /* The GNU C library defines this for functions which it implements
29121 to always fail with ENOSYS. Some functions are actually named
29122 something starting with __ and the normal name is an alias. */
29123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29124 choke me
29125 #else
29126 char (*f) () = $ac_func;
29127 #endif
29128 #ifdef __cplusplus
29129 }
29130 #endif
29131
29132 int
29133 main ()
29134 {
29135 return f != $ac_func;
29136 ;
29137 return 0;
29138 }
29139 _ACEOF
29140 rm -f conftest.$ac_objext conftest$ac_exeext
29141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29142 (eval $ac_link) 2>conftest.er1
29143 ac_status=$?
29144 grep -v '^ *+' conftest.er1 >conftest.err
29145 rm -f conftest.er1
29146 cat conftest.err >&5
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); } &&
29149 { ac_try='test -z "$ac_c_werror_flag"
29150 || test ! -s conftest.err'
29151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29152 (eval $ac_try) 2>&5
29153 ac_status=$?
29154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 (exit $ac_status); }; } &&
29156 { ac_try='test -s conftest$ac_exeext'
29157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29158 (eval $ac_try) 2>&5
29159 ac_status=$?
29160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29161 (exit $ac_status); }; }; then
29162 eval "$as_ac_var=yes"
29163 else
29164 echo "$as_me: failed program was:" >&5
29165 sed 's/^/| /' conftest.$ac_ext >&5
29166
29167 eval "$as_ac_var=no"
29168 fi
29169 rm -f conftest.err conftest.$ac_objext \
29170 conftest$ac_exeext conftest.$ac_ext
29171 fi
29172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29174 if test `eval echo '${'$as_ac_var'}'` = yes; then
29175 cat >>confdefs.h <<_ACEOF
29176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29177 _ACEOF
29178
29179 fi
29180 done
29181
29182 fi
29183
29184
29185
29186
29187
29188 CXXFLAGS="$ac_save_CXXFLAGS"
29189
29190
29191 # For showmanyc_helper().
29192
29193
29194 for ac_header in sys/ioctl.h sys/filio.h
29195 do
29196 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29198 echo "$as_me:$LINENO: checking for $ac_header" >&5
29199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29201 echo $ECHO_N "(cached) $ECHO_C" >&6
29202 fi
29203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29205 else
29206 # Is the header compilable?
29207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29209 cat >conftest.$ac_ext <<_ACEOF
29210 /* confdefs.h. */
29211 _ACEOF
29212 cat confdefs.h >>conftest.$ac_ext
29213 cat >>conftest.$ac_ext <<_ACEOF
29214 /* end confdefs.h. */
29215 $ac_includes_default
29216 #include <$ac_header>
29217 _ACEOF
29218 rm -f conftest.$ac_objext
29219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29220 (eval $ac_compile) 2>conftest.er1
29221 ac_status=$?
29222 grep -v '^ *+' conftest.er1 >conftest.err
29223 rm -f conftest.er1
29224 cat conftest.err >&5
29225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29226 (exit $ac_status); } &&
29227 { ac_try='test -z "$ac_c_werror_flag"
29228 || test ! -s conftest.err'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; } &&
29234 { ac_try='test -s conftest.$ac_objext'
29235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29236 (eval $ac_try) 2>&5
29237 ac_status=$?
29238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29239 (exit $ac_status); }; }; then
29240 ac_header_compiler=yes
29241 else
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.$ac_ext >&5
29244
29245 ac_header_compiler=no
29246 fi
29247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29249 echo "${ECHO_T}$ac_header_compiler" >&6
29250
29251 # Is the header present?
29252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29254 cat >conftest.$ac_ext <<_ACEOF
29255 /* confdefs.h. */
29256 _ACEOF
29257 cat confdefs.h >>conftest.$ac_ext
29258 cat >>conftest.$ac_ext <<_ACEOF
29259 /* end confdefs.h. */
29260 #include <$ac_header>
29261 _ACEOF
29262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29264 ac_status=$?
29265 grep -v '^ *+' conftest.er1 >conftest.err
29266 rm -f conftest.er1
29267 cat conftest.err >&5
29268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29269 (exit $ac_status); } >/dev/null; then
29270 if test -s conftest.err; then
29271 ac_cpp_err=$ac_c_preproc_warn_flag
29272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29273 else
29274 ac_cpp_err=
29275 fi
29276 else
29277 ac_cpp_err=yes
29278 fi
29279 if test -z "$ac_cpp_err"; then
29280 ac_header_preproc=yes
29281 else
29282 echo "$as_me: failed program was:" >&5
29283 sed 's/^/| /' conftest.$ac_ext >&5
29284
29285 ac_header_preproc=no
29286 fi
29287 rm -f conftest.err conftest.$ac_ext
29288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29289 echo "${ECHO_T}$ac_header_preproc" >&6
29290
29291 # So? What about this header?
29292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29293 yes:no: )
29294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29298 ac_header_preproc=yes
29299 ;;
29300 no:yes:* )
29301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29313 (
29314 cat <<\_ASBOX
29315 ## ----------------------------------------- ##
29316 ## Report this to the package-unused lists. ##
29317 ## ----------------------------------------- ##
29318 _ASBOX
29319 ) |
29320 sed "s/^/$as_me: WARNING: /" >&2
29321 ;;
29322 esac
29323 echo "$as_me:$LINENO: checking for $ac_header" >&5
29324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29326 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 else
29328 eval "$as_ac_Header=\$ac_header_preproc"
29329 fi
29330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29332
29333 fi
29334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29335 cat >>confdefs.h <<_ACEOF
29336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29337 _ACEOF
29338
29339 fi
29340
29341 done
29342
29343
29344 echo "$as_me:$LINENO: checking for poll" >&5
29345 echo $ECHO_N "checking for poll... $ECHO_C" >&6
29346 if test "${glibcxx_cv_POLL+set}" = set; then
29347 echo $ECHO_N "(cached) $ECHO_C" >&6
29348 else
29349
29350 if test x$gcc_no_link = xyes; then
29351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29353 { (exit 1); exit 1; }; }
29354 fi
29355 cat >conftest.$ac_ext <<_ACEOF
29356 /* confdefs.h. */
29357 _ACEOF
29358 cat confdefs.h >>conftest.$ac_ext
29359 cat >>conftest.$ac_ext <<_ACEOF
29360 /* end confdefs.h. */
29361 #include <poll.h>
29362 int
29363 main ()
29364 {
29365 struct pollfd pfd[1];
29366 pfd[0].events = POLLIN;
29367 poll(pfd, 1, 0);
29368 ;
29369 return 0;
29370 }
29371 _ACEOF
29372 rm -f conftest.$ac_objext conftest$ac_exeext
29373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29374 (eval $ac_link) 2>conftest.er1
29375 ac_status=$?
29376 grep -v '^ *+' conftest.er1 >conftest.err
29377 rm -f conftest.er1
29378 cat conftest.err >&5
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); } &&
29381 { ac_try='test -z "$ac_c_werror_flag"
29382 || test ! -s conftest.err'
29383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29384 (eval $ac_try) 2>&5
29385 ac_status=$?
29386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29387 (exit $ac_status); }; } &&
29388 { ac_try='test -s conftest$ac_exeext'
29389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29390 (eval $ac_try) 2>&5
29391 ac_status=$?
29392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29393 (exit $ac_status); }; }; then
29394 glibcxx_cv_POLL=yes
29395 else
29396 echo "$as_me: failed program was:" >&5
29397 sed 's/^/| /' conftest.$ac_ext >&5
29398
29399 glibcxx_cv_POLL=no
29400 fi
29401 rm -f conftest.err conftest.$ac_objext \
29402 conftest$ac_exeext conftest.$ac_ext
29403
29404 fi
29405
29406 if test $glibcxx_cv_POLL = yes; then
29407
29408 cat >>confdefs.h <<\_ACEOF
29409 #define HAVE_POLL 1
29410 _ACEOF
29411
29412 fi
29413 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
29414 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
29415
29416
29417 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
29418 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
29419 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29421 else
29422
29423 if test x$gcc_no_link = xyes; then
29424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29426 { (exit 1); exit 1; }; }
29427 fi
29428 cat >conftest.$ac_ext <<_ACEOF
29429 /* confdefs.h. */
29430 _ACEOF
29431 cat confdefs.h >>conftest.$ac_ext
29432 cat >>conftest.$ac_ext <<_ACEOF
29433 /* end confdefs.h. */
29434 #include <sys/stat.h>
29435 int
29436 main ()
29437 {
29438 struct stat buffer;
29439 fstat(0, &buffer);
29440 S_ISREG(buffer.st_mode);
29441 ;
29442 return 0;
29443 }
29444 _ACEOF
29445 rm -f conftest.$ac_objext conftest$ac_exeext
29446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29447 (eval $ac_link) 2>conftest.er1
29448 ac_status=$?
29449 grep -v '^ *+' conftest.er1 >conftest.err
29450 rm -f conftest.er1
29451 cat conftest.err >&5
29452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29453 (exit $ac_status); } &&
29454 { ac_try='test -z "$ac_c_werror_flag"
29455 || test ! -s conftest.err'
29456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29457 (eval $ac_try) 2>&5
29458 ac_status=$?
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); }; } &&
29461 { ac_try='test -s conftest$ac_exeext'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; }; then
29467 glibcxx_cv_S_ISREG=yes
29468 else
29469 echo "$as_me: failed program was:" >&5
29470 sed 's/^/| /' conftest.$ac_ext >&5
29471
29472 glibcxx_cv_S_ISREG=no
29473 fi
29474 rm -f conftest.err conftest.$ac_objext \
29475 conftest$ac_exeext conftest.$ac_ext
29476
29477 fi
29478
29479 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29480 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 else
29482
29483 if test x$gcc_no_link = xyes; then
29484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29486 { (exit 1); exit 1; }; }
29487 fi
29488 cat >conftest.$ac_ext <<_ACEOF
29489 /* confdefs.h. */
29490 _ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29494 #include <sys/stat.h>
29495 int
29496 main ()
29497 {
29498 struct stat buffer;
29499 fstat(0, &buffer);
29500 S_IFREG & buffer.st_mode;
29501 ;
29502 return 0;
29503 }
29504 _ACEOF
29505 rm -f conftest.$ac_objext conftest$ac_exeext
29506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29507 (eval $ac_link) 2>conftest.er1
29508 ac_status=$?
29509 grep -v '^ *+' conftest.er1 >conftest.err
29510 rm -f conftest.er1
29511 cat conftest.err >&5
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); } &&
29514 { ac_try='test -z "$ac_c_werror_flag"
29515 || test ! -s conftest.err'
29516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29517 (eval $ac_try) 2>&5
29518 ac_status=$?
29519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29520 (exit $ac_status); }; } &&
29521 { ac_try='test -s conftest$ac_exeext'
29522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29523 (eval $ac_try) 2>&5
29524 ac_status=$?
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); }; }; then
29527 glibcxx_cv_S_IFREG=yes
29528 else
29529 echo "$as_me: failed program was:" >&5
29530 sed 's/^/| /' conftest.$ac_ext >&5
29531
29532 glibcxx_cv_S_IFREG=no
29533 fi
29534 rm -f conftest.err conftest.$ac_objext \
29535 conftest$ac_exeext conftest.$ac_ext
29536
29537 fi
29538
29539 res=no
29540 if test $glibcxx_cv_S_ISREG = yes; then
29541
29542 cat >>confdefs.h <<\_ACEOF
29543 #define HAVE_S_ISREG 1
29544 _ACEOF
29545
29546 res=S_ISREG
29547 elif test $glibcxx_cv_S_IFREG = yes; then
29548
29549 cat >>confdefs.h <<\_ACEOF
29550 #define HAVE_S_IFREG 1
29551 _ACEOF
29552
29553 res=S_IFREG
29554 fi
29555 echo "$as_me:$LINENO: result: $res" >&5
29556 echo "${ECHO_T}$res" >&6
29557
29558
29559 # For xsputn_2().
29560
29561 for ac_header in sys/uio.h
29562 do
29563 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29565 echo "$as_me:$LINENO: checking for $ac_header" >&5
29566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29568 echo $ECHO_N "(cached) $ECHO_C" >&6
29569 fi
29570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29571 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29572 else
29573 # Is the header compilable?
29574 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29575 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 $ac_includes_default
29583 #include <$ac_header>
29584 _ACEOF
29585 rm -f conftest.$ac_objext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29587 (eval $ac_compile) 2>conftest.er1
29588 ac_status=$?
29589 grep -v '^ *+' conftest.er1 >conftest.err
29590 rm -f conftest.er1
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try='test -z "$ac_c_werror_flag"
29595 || test ! -s conftest.err'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29598 ac_status=$?
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; } &&
29601 { ac_try='test -s conftest.$ac_objext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29604 ac_status=$?
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 ac_header_compiler=yes
29608 else
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29611
29612 ac_header_compiler=no
29613 fi
29614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29616 echo "${ECHO_T}$ac_header_compiler" >&6
29617
29618 # Is the header present?
29619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29621 cat >conftest.$ac_ext <<_ACEOF
29622 /* confdefs.h. */
29623 _ACEOF
29624 cat confdefs.h >>conftest.$ac_ext
29625 cat >>conftest.$ac_ext <<_ACEOF
29626 /* end confdefs.h. */
29627 #include <$ac_header>
29628 _ACEOF
29629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29631 ac_status=$?
29632 grep -v '^ *+' conftest.er1 >conftest.err
29633 rm -f conftest.er1
29634 cat conftest.err >&5
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); } >/dev/null; then
29637 if test -s conftest.err; then
29638 ac_cpp_err=$ac_c_preproc_warn_flag
29639 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29640 else
29641 ac_cpp_err=
29642 fi
29643 else
29644 ac_cpp_err=yes
29645 fi
29646 if test -z "$ac_cpp_err"; then
29647 ac_header_preproc=yes
29648 else
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29651
29652 ac_header_preproc=no
29653 fi
29654 rm -f conftest.err conftest.$ac_ext
29655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29656 echo "${ECHO_T}$ac_header_preproc" >&6
29657
29658 # So? What about this header?
29659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29660 yes:no: )
29661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29665 ac_header_preproc=yes
29666 ;;
29667 no:yes:* )
29668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29680 (
29681 cat <<\_ASBOX
29682 ## ----------------------------------------- ##
29683 ## Report this to the package-unused lists. ##
29684 ## ----------------------------------------- ##
29685 _ASBOX
29686 ) |
29687 sed "s/^/$as_me: WARNING: /" >&2
29688 ;;
29689 esac
29690 echo "$as_me:$LINENO: checking for $ac_header" >&5
29691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29693 echo $ECHO_N "(cached) $ECHO_C" >&6
29694 else
29695 eval "$as_ac_Header=\$ac_header_preproc"
29696 fi
29697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29699
29700 fi
29701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29702 cat >>confdefs.h <<_ACEOF
29703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29704 _ACEOF
29705
29706 fi
29707
29708 done
29709
29710
29711 echo "$as_me:$LINENO: checking for writev" >&5
29712 echo $ECHO_N "checking for writev... $ECHO_C" >&6
29713 if test "${glibcxx_cv_WRITEV+set}" = set; then
29714 echo $ECHO_N "(cached) $ECHO_C" >&6
29715 else
29716
29717 if test x$gcc_no_link = xyes; then
29718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29720 { (exit 1); exit 1; }; }
29721 fi
29722 cat >conftest.$ac_ext <<_ACEOF
29723 /* confdefs.h. */
29724 _ACEOF
29725 cat confdefs.h >>conftest.$ac_ext
29726 cat >>conftest.$ac_ext <<_ACEOF
29727 /* end confdefs.h. */
29728 #include <sys/uio.h>
29729 int
29730 main ()
29731 {
29732 struct iovec iov[2];
29733 writev(0, iov, 0);
29734 ;
29735 return 0;
29736 }
29737 _ACEOF
29738 rm -f conftest.$ac_objext conftest$ac_exeext
29739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29740 (eval $ac_link) 2>conftest.er1
29741 ac_status=$?
29742 grep -v '^ *+' conftest.er1 >conftest.err
29743 rm -f conftest.er1
29744 cat conftest.err >&5
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); } &&
29747 { ac_try='test -z "$ac_c_werror_flag"
29748 || test ! -s conftest.err'
29749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29750 (eval $ac_try) 2>&5
29751 ac_status=$?
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); }; } &&
29754 { ac_try='test -s conftest$ac_exeext'
29755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29756 (eval $ac_try) 2>&5
29757 ac_status=$?
29758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29759 (exit $ac_status); }; }; then
29760 glibcxx_cv_WRITEV=yes
29761 else
29762 echo "$as_me: failed program was:" >&5
29763 sed 's/^/| /' conftest.$ac_ext >&5
29764
29765 glibcxx_cv_WRITEV=no
29766 fi
29767 rm -f conftest.err conftest.$ac_objext \
29768 conftest$ac_exeext conftest.$ac_ext
29769
29770 fi
29771
29772 if test $glibcxx_cv_WRITEV = yes; then
29773
29774 cat >>confdefs.h <<\_ACEOF
29775 #define HAVE_WRITEV 1
29776 _ACEOF
29777
29778 fi
29779 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
29780 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
29781
29782
29783 # For the __streamoff_base_type typedef.
29784
29785 echo "$as_me:$LINENO: checking for int64_t" >&5
29786 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
29787 if test "${glibcxx_cv_INT64_T+set}" = set; then
29788 echo $ECHO_N "(cached) $ECHO_C" >&6
29789 else
29790
29791 cat >conftest.$ac_ext <<_ACEOF
29792 /* confdefs.h. */
29793 _ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h. */
29797 #include <stdint.h>
29798 int
29799 main ()
29800 {
29801 int64_t var;
29802 ;
29803 return 0;
29804 }
29805 _ACEOF
29806 rm -f conftest.$ac_objext
29807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29808 (eval $ac_compile) 2>conftest.er1
29809 ac_status=$?
29810 grep -v '^ *+' conftest.er1 >conftest.err
29811 rm -f conftest.er1
29812 cat conftest.err >&5
29813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29814 (exit $ac_status); } &&
29815 { ac_try='test -z "$ac_c_werror_flag"
29816 || test ! -s conftest.err'
29817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29818 (eval $ac_try) 2>&5
29819 ac_status=$?
29820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29821 (exit $ac_status); }; } &&
29822 { ac_try='test -s conftest.$ac_objext'
29823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29824 (eval $ac_try) 2>&5
29825 ac_status=$?
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); }; }; then
29828 glibcxx_cv_INT64_T=yes
29829 else
29830 echo "$as_me: failed program was:" >&5
29831 sed 's/^/| /' conftest.$ac_ext >&5
29832
29833 glibcxx_cv_INT64_T=no
29834 fi
29835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29836
29837 fi
29838
29839 if test $glibcxx_cv_INT64_T = yes; then
29840
29841 cat >>confdefs.h <<\_ACEOF
29842 #define HAVE_INT64_T 1
29843 _ACEOF
29844
29845 fi
29846 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
29847 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
29848
29849
29850 # For LFS support.
29851
29852
29853
29854 ac_ext=cc
29855 ac_cpp='$CXXCPP $CPPFLAGS'
29856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29859
29860 ac_save_CXXFLAGS="$CXXFLAGS"
29861 CXXFLAGS="$CXXFLAGS -fno-exceptions"
29862 echo "$as_me:$LINENO: checking for LFS support" >&5
29863 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
29864 if test "${glibcxx_cv_LFS+set}" = set; then
29865 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 else
29867
29868 if test x$gcc_no_link = xyes; then
29869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29871 { (exit 1); exit 1; }; }
29872 fi
29873 cat >conftest.$ac_ext <<_ACEOF
29874 /* confdefs.h. */
29875 _ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29879 #include <unistd.h>
29880 #include <stdio.h>
29881 #include <sys/stat.h>
29882
29883 int
29884 main ()
29885 {
29886 FILE* fp;
29887 fopen64("t", "w");
29888 fseeko64(fp, 0, SEEK_CUR);
29889 ftello64(fp);
29890 lseek64(1, 0, SEEK_CUR);
29891 struct stat64 buf;
29892 fstat64(1, &buf);
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 rm -f conftest.$ac_objext conftest$ac_exeext
29898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29899 (eval $ac_link) 2>conftest.er1
29900 ac_status=$?
29901 grep -v '^ *+' conftest.er1 >conftest.err
29902 rm -f conftest.er1
29903 cat conftest.err >&5
29904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29905 (exit $ac_status); } &&
29906 { ac_try='test -z "$ac_cxx_werror_flag"
29907 || test ! -s conftest.err'
29908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29909 (eval $ac_try) 2>&5
29910 ac_status=$?
29911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29912 (exit $ac_status); }; } &&
29913 { ac_try='test -s conftest$ac_exeext'
29914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29915 (eval $ac_try) 2>&5
29916 ac_status=$?
29917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29918 (exit $ac_status); }; }; then
29919 glibcxx_cv_LFS=yes
29920 else
29921 echo "$as_me: failed program was:" >&5
29922 sed 's/^/| /' conftest.$ac_ext >&5
29923
29924 glibcxx_cv_LFS=no
29925 fi
29926 rm -f conftest.err conftest.$ac_objext \
29927 conftest$ac_exeext conftest.$ac_ext
29928
29929 fi
29930
29931 if test $glibcxx_cv_LFS = yes; then
29932
29933 cat >>confdefs.h <<\_ACEOF
29934 #define _GLIBCXX_USE_LFS 1
29935 _ACEOF
29936
29937 fi
29938 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
29939 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
29940 CXXFLAGS="$ac_save_CXXFLAGS"
29941 ac_ext=c
29942 ac_cpp='$CPP $CPPFLAGS'
29943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29946
29947
29948
29949 # For TLS support.
29950
29951 # Check whether --enable-tls or --disable-tls was given.
29952 if test "${enable_tls+set}" = set; then
29953 enableval="$enable_tls"
29954
29955 case "$enableval" in
29956 yes|no) ;;
29957 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
29958 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
29959 { (exit 1); exit 1; }; } ;;
29960 esac
29961
29962 else
29963 enable_tls=yes
29964 fi;
29965
29966 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
29967 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
29968 if test "${have_tls+set}" = set; then
29969 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 else
29971
29972 if test "$cross_compiling" = yes; then
29973 cat >conftest.$ac_ext <<_ACEOF
29974 __thread int foo;
29975 _ACEOF
29976 rm -f conftest.$ac_objext
29977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29978 (eval $ac_compile) 2>conftest.er1
29979 ac_status=$?
29980 grep -v '^ *+' conftest.er1 >conftest.err
29981 rm -f conftest.er1
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } &&
29985 { ac_try='test -z "$ac_c_werror_flag"
29986 || test ! -s conftest.err'
29987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988 (eval $ac_try) 2>&5
29989 ac_status=$?
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; } &&
29992 { ac_try='test -s conftest.$ac_objext'
29993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29994 (eval $ac_try) 2>&5
29995 ac_status=$?
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); }; }; then
29998 have_tls=yes
29999 else
30000 echo "$as_me: failed program was:" >&5
30001 sed 's/^/| /' conftest.$ac_ext >&5
30002
30003 have_tls=no
30004 fi
30005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30006
30007 else
30008 cat >conftest.$ac_ext <<_ACEOF
30009 __thread int a; int b; int main() { return a = b; }
30010 _ACEOF
30011 rm -f conftest$ac_exeext
30012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30013 (eval $ac_link) 2>&5
30014 ac_status=$?
30015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30019 ac_status=$?
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; }; then
30022 save_LDFLAGS="$LDFLAGS"
30023 LDFLAGS="-static $LDFLAGS"
30024 if test "$cross_compiling" = yes; then
30025 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
30026 See \`config.log' for more details." >&5
30027 echo "$as_me: error: cannot run test program while cross compiling
30028 See \`config.log' for more details." >&2;}
30029 { (exit 1); exit 1; }; }
30030 else
30031 cat >conftest.$ac_ext <<_ACEOF
30032 __thread int a; int b; int main() { return a = b; }
30033 _ACEOF
30034 rm -f conftest$ac_exeext
30035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30036 (eval $ac_link) 2>&5
30037 ac_status=$?
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041 (eval $ac_try) 2>&5
30042 ac_status=$?
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); }; }; then
30045 have_tls=yes
30046 else
30047 echo "$as_me: program exited with status $ac_status" >&5
30048 echo "$as_me: failed program was:" >&5
30049 sed 's/^/| /' conftest.$ac_ext >&5
30050
30051 ( exit $ac_status )
30052 have_tls=no
30053 fi
30054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30055 fi
30056 LDFLAGS="$save_LDFLAGS"
30057 else
30058 echo "$as_me: program exited with status $ac_status" >&5
30059 echo "$as_me: failed program was:" >&5
30060 sed 's/^/| /' conftest.$ac_ext >&5
30061
30062 ( exit $ac_status )
30063 have_tls=no
30064 fi
30065 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30066 fi
30067 fi
30068 echo "$as_me:$LINENO: result: $have_tls" >&5
30069 echo "${ECHO_T}$have_tls" >&6
30070 if test "$enable_tls $have_tls" = "yes yes"; then
30071
30072 cat >>confdefs.h <<\_ACEOF
30073 #define HAVE_TLS 1
30074 _ACEOF
30075
30076 fi
30077
30078
30079 if test "${ac_cv_header_locale_h+set}" = set; then
30080 echo "$as_me:$LINENO: checking for locale.h" >&5
30081 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30082 if test "${ac_cv_header_locale_h+set}" = set; then
30083 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 fi
30085 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30086 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30087 else
30088 # Is the header compilable?
30089 echo "$as_me:$LINENO: checking locale.h usability" >&5
30090 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30091 cat >conftest.$ac_ext <<_ACEOF
30092 /* confdefs.h. */
30093 _ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30097 $ac_includes_default
30098 #include <locale.h>
30099 _ACEOF
30100 rm -f conftest.$ac_objext
30101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30102 (eval $ac_compile) 2>conftest.er1
30103 ac_status=$?
30104 grep -v '^ *+' conftest.er1 >conftest.err
30105 rm -f conftest.er1
30106 cat conftest.err >&5
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); } &&
30109 { ac_try='test -z "$ac_c_werror_flag"
30110 || test ! -s conftest.err'
30111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30112 (eval $ac_try) 2>&5
30113 ac_status=$?
30114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30115 (exit $ac_status); }; } &&
30116 { ac_try='test -s conftest.$ac_objext'
30117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30118 (eval $ac_try) 2>&5
30119 ac_status=$?
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); }; }; then
30122 ac_header_compiler=yes
30123 else
30124 echo "$as_me: failed program was:" >&5
30125 sed 's/^/| /' conftest.$ac_ext >&5
30126
30127 ac_header_compiler=no
30128 fi
30129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30130 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30131 echo "${ECHO_T}$ac_header_compiler" >&6
30132
30133 # Is the header present?
30134 echo "$as_me:$LINENO: checking locale.h presence" >&5
30135 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30136 cat >conftest.$ac_ext <<_ACEOF
30137 /* confdefs.h. */
30138 _ACEOF
30139 cat confdefs.h >>conftest.$ac_ext
30140 cat >>conftest.$ac_ext <<_ACEOF
30141 /* end confdefs.h. */
30142 #include <locale.h>
30143 _ACEOF
30144 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30145 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30146 ac_status=$?
30147 grep -v '^ *+' conftest.er1 >conftest.err
30148 rm -f conftest.er1
30149 cat conftest.err >&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); } >/dev/null; then
30152 if test -s conftest.err; then
30153 ac_cpp_err=$ac_c_preproc_warn_flag
30154 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30155 else
30156 ac_cpp_err=
30157 fi
30158 else
30159 ac_cpp_err=yes
30160 fi
30161 if test -z "$ac_cpp_err"; then
30162 ac_header_preproc=yes
30163 else
30164 echo "$as_me: failed program was:" >&5
30165 sed 's/^/| /' conftest.$ac_ext >&5
30166
30167 ac_header_preproc=no
30168 fi
30169 rm -f conftest.err conftest.$ac_ext
30170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30171 echo "${ECHO_T}$ac_header_preproc" >&6
30172
30173 # So? What about this header?
30174 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30175 yes:no: )
30176 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30177 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30178 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30179 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30180 ac_header_preproc=yes
30181 ;;
30182 no:yes:* )
30183 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30184 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30185 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30186 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30187 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30188 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30189 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30190 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30191 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30192 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30193 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30194 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30195 (
30196 cat <<\_ASBOX
30197 ## ----------------------------------------- ##
30198 ## Report this to the package-unused lists. ##
30199 ## ----------------------------------------- ##
30200 _ASBOX
30201 ) |
30202 sed "s/^/$as_me: WARNING: /" >&2
30203 ;;
30204 esac
30205 echo "$as_me:$LINENO: checking for locale.h" >&5
30206 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30207 if test "${ac_cv_header_locale_h+set}" = set; then
30208 echo $ECHO_N "(cached) $ECHO_C" >&6
30209 else
30210 ac_cv_header_locale_h=$ac_header_preproc
30211 fi
30212 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30213 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30214
30215 fi
30216 if test $ac_cv_header_locale_h = yes; then
30217
30218 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30219 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30220 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30221 echo $ECHO_N "(cached) $ECHO_C" >&6
30222 else
30223 if test x$gcc_no_link = xyes; then
30224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30226 { (exit 1); exit 1; }; }
30227 fi
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234 #include <locale.h>
30235 int
30236 main ()
30237 {
30238 return LC_MESSAGES
30239 ;
30240 return 0;
30241 }
30242 _ACEOF
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30245 (eval $ac_link) 2>conftest.er1
30246 ac_status=$?
30247 grep -v '^ *+' conftest.er1 >conftest.err
30248 rm -f conftest.er1
30249 cat conftest.err >&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try='test -z "$ac_c_werror_flag"
30253 || test ! -s conftest.err'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30256 ac_status=$?
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; } &&
30259 { ac_try='test -s conftest$ac_exeext'
30260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30261 (eval $ac_try) 2>&5
30262 ac_status=$?
30263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30264 (exit $ac_status); }; }; then
30265 ac_cv_val_LC_MESSAGES=yes
30266 else
30267 echo "$as_me: failed program was:" >&5
30268 sed 's/^/| /' conftest.$ac_ext >&5
30269
30270 ac_cv_val_LC_MESSAGES=no
30271 fi
30272 rm -f conftest.err conftest.$ac_objext \
30273 conftest$ac_exeext conftest.$ac_ext
30274 fi
30275 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30276 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30277 if test $ac_cv_val_LC_MESSAGES = yes; then
30278
30279 cat >>confdefs.h <<\_ACEOF
30280 #define HAVE_LC_MESSAGES 1
30281 _ACEOF
30282
30283 fi
30284
30285 fi
30286
30287
30288
30289
30290 cat >conftest.$ac_ext <<_ACEOF
30291 /* confdefs.h. */
30292 _ACEOF
30293 cat confdefs.h >>conftest.$ac_ext
30294 cat >>conftest.$ac_ext <<_ACEOF
30295 /* end confdefs.h. */
30296 #include <setjmp.h>
30297 int
30298 main ()
30299 {
30300 sigjmp_buf env;
30301 while (! sigsetjmp (env, 1))
30302 siglongjmp (env, 1);
30303
30304 ;
30305 return 0;
30306 }
30307 _ACEOF
30308 rm -f conftest.$ac_objext
30309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30310 (eval $ac_compile) 2>conftest.er1
30311 ac_status=$?
30312 grep -v '^ *+' conftest.er1 >conftest.err
30313 rm -f conftest.er1
30314 cat conftest.err >&5
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); } &&
30317 { ac_try='test -z "$ac_c_werror_flag"
30318 || test ! -s conftest.err'
30319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30320 (eval $ac_try) 2>&5
30321 ac_status=$?
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); }; } &&
30324 { ac_try='test -s conftest.$ac_objext'
30325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326 (eval $ac_try) 2>&5
30327 ac_status=$?
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; }; then
30330
30331 cat >>confdefs.h <<\_ACEOF
30332 #define HAVE_SIGSETJMP 1
30333 _ACEOF
30334
30335 else
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30338
30339 fi
30340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30341
30342 if test x$gcc_no_link = xyes; then
30343 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30344 ac_cv_func_mmap_fixed_mapped=no
30345 fi
30346 fi
30347 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
30348
30349
30350 for ac_header in stdlib.h unistd.h
30351 do
30352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30354 echo "$as_me:$LINENO: checking for $ac_header" >&5
30355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30358 fi
30359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30361 else
30362 # Is the header compilable?
30363 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30365 cat >conftest.$ac_ext <<_ACEOF
30366 /* confdefs.h. */
30367 _ACEOF
30368 cat confdefs.h >>conftest.$ac_ext
30369 cat >>conftest.$ac_ext <<_ACEOF
30370 /* end confdefs.h. */
30371 $ac_includes_default
30372 #include <$ac_header>
30373 _ACEOF
30374 rm -f conftest.$ac_objext
30375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30376 (eval $ac_compile) 2>conftest.er1
30377 ac_status=$?
30378 grep -v '^ *+' conftest.er1 >conftest.err
30379 rm -f conftest.er1
30380 cat conftest.err >&5
30381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30382 (exit $ac_status); } &&
30383 { ac_try='test -z "$ac_c_werror_flag"
30384 || test ! -s conftest.err'
30385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30386 (eval $ac_try) 2>&5
30387 ac_status=$?
30388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30389 (exit $ac_status); }; } &&
30390 { ac_try='test -s conftest.$ac_objext'
30391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30392 (eval $ac_try) 2>&5
30393 ac_status=$?
30394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30395 (exit $ac_status); }; }; then
30396 ac_header_compiler=yes
30397 else
30398 echo "$as_me: failed program was:" >&5
30399 sed 's/^/| /' conftest.$ac_ext >&5
30400
30401 ac_header_compiler=no
30402 fi
30403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30405 echo "${ECHO_T}$ac_header_compiler" >&6
30406
30407 # Is the header present?
30408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30410 cat >conftest.$ac_ext <<_ACEOF
30411 /* confdefs.h. */
30412 _ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30416 #include <$ac_header>
30417 _ACEOF
30418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30420 ac_status=$?
30421 grep -v '^ *+' conftest.er1 >conftest.err
30422 rm -f conftest.er1
30423 cat conftest.err >&5
30424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30425 (exit $ac_status); } >/dev/null; then
30426 if test -s conftest.err; then
30427 ac_cpp_err=$ac_c_preproc_warn_flag
30428 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30429 else
30430 ac_cpp_err=
30431 fi
30432 else
30433 ac_cpp_err=yes
30434 fi
30435 if test -z "$ac_cpp_err"; then
30436 ac_header_preproc=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_header_preproc=no
30442 fi
30443 rm -f conftest.err conftest.$ac_ext
30444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30445 echo "${ECHO_T}$ac_header_preproc" >&6
30446
30447 # So? What about this header?
30448 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30449 yes:no: )
30450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30454 ac_header_preproc=yes
30455 ;;
30456 no:yes:* )
30457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30469 (
30470 cat <<\_ASBOX
30471 ## ----------------------------------------- ##
30472 ## Report this to the package-unused lists. ##
30473 ## ----------------------------------------- ##
30474 _ASBOX
30475 ) |
30476 sed "s/^/$as_me: WARNING: /" >&2
30477 ;;
30478 esac
30479 echo "$as_me:$LINENO: checking for $ac_header" >&5
30480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30482 echo $ECHO_N "(cached) $ECHO_C" >&6
30483 else
30484 eval "$as_ac_Header=\$ac_header_preproc"
30485 fi
30486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30488
30489 fi
30490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30491 cat >>confdefs.h <<_ACEOF
30492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30493 _ACEOF
30494
30495 fi
30496
30497 done
30498
30499
30500 for ac_func in getpagesize
30501 do
30502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30503 echo "$as_me:$LINENO: checking for $ac_func" >&5
30504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30505 if eval "test \"\${$as_ac_var+set}\" = set"; then
30506 echo $ECHO_N "(cached) $ECHO_C" >&6
30507 else
30508 if test x$gcc_no_link = xyes; then
30509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30511 { (exit 1); exit 1; }; }
30512 fi
30513 cat >conftest.$ac_ext <<_ACEOF
30514 /* confdefs.h. */
30515 _ACEOF
30516 cat confdefs.h >>conftest.$ac_ext
30517 cat >>conftest.$ac_ext <<_ACEOF
30518 /* end confdefs.h. */
30519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30521 #define $ac_func innocuous_$ac_func
30522
30523 /* System header to define __stub macros and hopefully few prototypes,
30524 which can conflict with char $ac_func (); below.
30525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30526 <limits.h> exists even on freestanding compilers. */
30527
30528 #ifdef __STDC__
30529 # include <limits.h>
30530 #else
30531 # include <assert.h>
30532 #endif
30533
30534 #undef $ac_func
30535
30536 /* Override any gcc2 internal prototype to avoid an error. */
30537 #ifdef __cplusplus
30538 extern "C"
30539 {
30540 #endif
30541 /* We use char because int might match the return type of a gcc2
30542 builtin and then its argument prototype would still apply. */
30543 char $ac_func ();
30544 /* The GNU C library defines this for functions which it implements
30545 to always fail with ENOSYS. Some functions are actually named
30546 something starting with __ and the normal name is an alias. */
30547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30548 choke me
30549 #else
30550 char (*f) () = $ac_func;
30551 #endif
30552 #ifdef __cplusplus
30553 }
30554 #endif
30555
30556 int
30557 main ()
30558 {
30559 return f != $ac_func;
30560 ;
30561 return 0;
30562 }
30563 _ACEOF
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30566 (eval $ac_link) 2>conftest.er1
30567 ac_status=$?
30568 grep -v '^ *+' conftest.er1 >conftest.err
30569 rm -f conftest.er1
30570 cat conftest.err >&5
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); } &&
30573 { ac_try='test -z "$ac_c_werror_flag"
30574 || test ! -s conftest.err'
30575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30576 (eval $ac_try) 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; } &&
30580 { ac_try='test -s conftest$ac_exeext'
30581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30582 (eval $ac_try) 2>&5
30583 ac_status=$?
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); }; }; then
30586 eval "$as_ac_var=yes"
30587 else
30588 echo "$as_me: failed program was:" >&5
30589 sed 's/^/| /' conftest.$ac_ext >&5
30590
30591 eval "$as_ac_var=no"
30592 fi
30593 rm -f conftest.err conftest.$ac_objext \
30594 conftest$ac_exeext conftest.$ac_ext
30595 fi
30596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30598 if test `eval echo '${'$as_ac_var'}'` = yes; then
30599 cat >>confdefs.h <<_ACEOF
30600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30601 _ACEOF
30602
30603 fi
30604 done
30605
30606 echo "$as_me:$LINENO: checking for working mmap" >&5
30607 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30608 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30609 echo $ECHO_N "(cached) $ECHO_C" >&6
30610 else
30611 if test "$cross_compiling" = yes; then
30612 ac_cv_func_mmap_fixed_mapped=no
30613 else
30614 cat >conftest.$ac_ext <<_ACEOF
30615 /* confdefs.h. */
30616 _ACEOF
30617 cat confdefs.h >>conftest.$ac_ext
30618 cat >>conftest.$ac_ext <<_ACEOF
30619 /* end confdefs.h. */
30620 $ac_includes_default
30621 /* malloc might have been renamed as rpl_malloc. */
30622 #undef malloc
30623
30624 /* Thanks to Mike Haertel and Jim Avera for this test.
30625 Here is a matrix of mmap possibilities:
30626 mmap private not fixed
30627 mmap private fixed at somewhere currently unmapped
30628 mmap private fixed at somewhere already mapped
30629 mmap shared not fixed
30630 mmap shared fixed at somewhere currently unmapped
30631 mmap shared fixed at somewhere already mapped
30632 For private mappings, we should verify that changes cannot be read()
30633 back from the file, nor mmap's back from the file at a different
30634 address. (There have been systems where private was not correctly
30635 implemented like the infamous i386 svr4.0, and systems where the
30636 VM page cache was not coherent with the file system buffer cache
30637 like early versions of FreeBSD and possibly contemporary NetBSD.)
30638 For shared mappings, we should conversely verify that changes get
30639 propagated back to all the places they're supposed to be.
30640
30641 Grep wants private fixed already mapped.
30642 The main things grep needs to know about mmap are:
30643 * does it exist and is it safe to write into the mmap'd area
30644 * how to use it (BSD variants) */
30645
30646 #include <fcntl.h>
30647 #include <sys/mman.h>
30648
30649 #if !STDC_HEADERS && !HAVE_STDLIB_H
30650 char *malloc ();
30651 #endif
30652
30653 /* This mess was copied from the GNU getpagesize.h. */
30654 #if !HAVE_GETPAGESIZE
30655 /* Assume that all systems that can run configure have sys/param.h. */
30656 # if !HAVE_SYS_PARAM_H
30657 # define HAVE_SYS_PARAM_H 1
30658 # endif
30659
30660 # ifdef _SC_PAGESIZE
30661 # define getpagesize() sysconf(_SC_PAGESIZE)
30662 # else /* no _SC_PAGESIZE */
30663 # if HAVE_SYS_PARAM_H
30664 # include <sys/param.h>
30665 # ifdef EXEC_PAGESIZE
30666 # define getpagesize() EXEC_PAGESIZE
30667 # else /* no EXEC_PAGESIZE */
30668 # ifdef NBPG
30669 # define getpagesize() NBPG * CLSIZE
30670 # ifndef CLSIZE
30671 # define CLSIZE 1
30672 # endif /* no CLSIZE */
30673 # else /* no NBPG */
30674 # ifdef NBPC
30675 # define getpagesize() NBPC
30676 # else /* no NBPC */
30677 # ifdef PAGESIZE
30678 # define getpagesize() PAGESIZE
30679 # endif /* PAGESIZE */
30680 # endif /* no NBPC */
30681 # endif /* no NBPG */
30682 # endif /* no EXEC_PAGESIZE */
30683 # else /* no HAVE_SYS_PARAM_H */
30684 # define getpagesize() 8192 /* punt totally */
30685 # endif /* no HAVE_SYS_PARAM_H */
30686 # endif /* no _SC_PAGESIZE */
30687
30688 #endif /* no HAVE_GETPAGESIZE */
30689
30690 int
30691 main ()
30692 {
30693 char *data, *data2, *data3;
30694 int i, pagesize;
30695 int fd;
30696
30697 pagesize = getpagesize ();
30698
30699 /* First, make a file with some known garbage in it. */
30700 data = (char *) malloc (pagesize);
30701 if (!data)
30702 exit (1);
30703 for (i = 0; i < pagesize; ++i)
30704 *(data + i) = rand ();
30705 umask (0);
30706 fd = creat ("conftest.mmap", 0600);
30707 if (fd < 0)
30708 exit (1);
30709 if (write (fd, data, pagesize) != pagesize)
30710 exit (1);
30711 close (fd);
30712
30713 /* Next, try to mmap the file at a fixed address which already has
30714 something else allocated at it. If we can, also make sure that
30715 we see the same garbage. */
30716 fd = open ("conftest.mmap", O_RDWR);
30717 if (fd < 0)
30718 exit (1);
30719 data2 = (char *) malloc (2 * pagesize);
30720 if (!data2)
30721 exit (1);
30722 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30723 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30724 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30725 exit (1);
30726 for (i = 0; i < pagesize; ++i)
30727 if (*(data + i) != *(data2 + i))
30728 exit (1);
30729
30730 /* Finally, make sure that changes to the mapped area do not
30731 percolate back to the file as seen by read(). (This is a bug on
30732 some variants of i386 svr4.0.) */
30733 for (i = 0; i < pagesize; ++i)
30734 *(data2 + i) = *(data2 + i) + 1;
30735 data3 = (char *) malloc (pagesize);
30736 if (!data3)
30737 exit (1);
30738 if (read (fd, data3, pagesize) != pagesize)
30739 exit (1);
30740 for (i = 0; i < pagesize; ++i)
30741 if (*(data + i) != *(data3 + i))
30742 exit (1);
30743 close (fd);
30744 exit (0);
30745 }
30746 _ACEOF
30747 rm -f conftest$ac_exeext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30749 (eval $ac_link) 2>&5
30750 ac_status=$?
30751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30752 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30755 ac_status=$?
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; }; then
30758 ac_cv_func_mmap_fixed_mapped=yes
30759 else
30760 echo "$as_me: program exited with status $ac_status" >&5
30761 echo "$as_me: failed program was:" >&5
30762 sed 's/^/| /' conftest.$ac_ext >&5
30763
30764 ( exit $ac_status )
30765 ac_cv_func_mmap_fixed_mapped=no
30766 fi
30767 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30768 fi
30769 fi
30770 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30771 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30772 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30773
30774 cat >>confdefs.h <<\_ACEOF
30775 #define HAVE_MMAP 1
30776 _ACEOF
30777
30778 fi
30779 rm -f conftest.mmap
30780
30781 fi
30782
30783 else
30784
30785 # This lets us hard-code the functionality we know we'll have in the cross
30786 # target environment. "Let" is a sugar-coated word placed on an especially
30787 # dull and tedious hack, actually.
30788 #
30789 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30790 # that involve linking, can't be used:
30791 # "cannot open sim-crt0.o"
30792 # "cannot open crt0.o"
30793 # etc. All this is because there currently exists no unified, consistent
30794 # way for top level CC information to be passed down to target directories:
30795 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30796 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30797 # crosses can be removed.
30798
30799 # If Canadian cross, then don't pick up tools from the build directory.
30800 # Used only in GLIBCXX_EXPORT_INCLUDES.
30801 if test -n "$with_cross_host" &&
30802 test x"$build_alias" != x"$with_cross_host" &&
30803 test x"$build" != x"$target";
30804 then
30805 CANADIAN=yes
30806 else
30807 CANADIAN=no
30808 fi
30809
30810 # Construct crosses by hand, eliminating bits that need ld...
30811 # GLIBCXX_CHECK_COMPILER_FEATURES
30812 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30813 # GLIBCXX_CHECK_MATH_SUPPORT
30814
30815 # First, test for "known" system libraries. We may be using newlib even
30816 # on a hosted environment.
30817 if test "x${with_newlib}" = "xyes"; then
30818 os_include_dir="os/newlib"
30819 cat >>confdefs.h <<\_ACEOF
30820 #define HAVE_HYPOT 1
30821 _ACEOF
30822
30823
30824 # GLIBCXX_CHECK_STDLIB_SUPPORT
30825 cat >>confdefs.h <<\_ACEOF
30826 #define HAVE_STRTOF 1
30827 _ACEOF
30828
30829 # AC_FUNC_MMAP
30830 cat >>confdefs.h <<\_ACEOF
30831 #define HAVE_MMAP 1
30832 _ACEOF
30833
30834
30835 cat >>confdefs.h <<\_ACEOF
30836 #define HAVE_ACOSF 1
30837 _ACEOF
30838
30839 cat >>confdefs.h <<\_ACEOF
30840 #define HAVE_ASINF 1
30841 _ACEOF
30842
30843 cat >>confdefs.h <<\_ACEOF
30844 #define HAVE_ATAN2F 1
30845 _ACEOF
30846
30847 cat >>confdefs.h <<\_ACEOF
30848 #define HAVE_ATANF 1
30849 _ACEOF
30850
30851 cat >>confdefs.h <<\_ACEOF
30852 #define HAVE_CEILF 1
30853 _ACEOF
30854
30855 cat >>confdefs.h <<\_ACEOF
30856 #define HAVE_COPYSIGN 1
30857 _ACEOF
30858
30859 cat >>confdefs.h <<\_ACEOF
30860 #define HAVE_COPYSIGNF 1
30861 _ACEOF
30862
30863 cat >>confdefs.h <<\_ACEOF
30864 #define HAVE_COSF 1
30865 _ACEOF
30866
30867 cat >>confdefs.h <<\_ACEOF
30868 #define HAVE_COSHF 1
30869 _ACEOF
30870
30871 cat >>confdefs.h <<\_ACEOF
30872 #define HAVE_EXPF 1
30873 _ACEOF
30874
30875 cat >>confdefs.h <<\_ACEOF
30876 #define HAVE_FABSF 1
30877 _ACEOF
30878
30879 cat >>confdefs.h <<\_ACEOF
30880 #define HAVE_FLOORF 1
30881 _ACEOF
30882
30883 cat >>confdefs.h <<\_ACEOF
30884 #define HAVE_FMODF 1
30885 _ACEOF
30886
30887 cat >>confdefs.h <<\_ACEOF
30888 #define HAVE_FREXPF 1
30889 _ACEOF
30890
30891 cat >>confdefs.h <<\_ACEOF
30892 #define HAVE_LDEXPF 1
30893 _ACEOF
30894
30895 cat >>confdefs.h <<\_ACEOF
30896 #define HAVE_LOG10F 1
30897 _ACEOF
30898
30899 cat >>confdefs.h <<\_ACEOF
30900 #define HAVE_LOGF 1
30901 _ACEOF
30902
30903 cat >>confdefs.h <<\_ACEOF
30904 #define HAVE_MODFF 1
30905 _ACEOF
30906
30907 cat >>confdefs.h <<\_ACEOF
30908 #define HAVE_POWF 1
30909 _ACEOF
30910
30911 cat >>confdefs.h <<\_ACEOF
30912 #define HAVE_SINF 1
30913 _ACEOF
30914
30915 cat >>confdefs.h <<\_ACEOF
30916 #define HAVE_SINHF 1
30917 _ACEOF
30918
30919 cat >>confdefs.h <<\_ACEOF
30920 #define HAVE_SQRTF 1
30921 _ACEOF
30922
30923 cat >>confdefs.h <<\_ACEOF
30924 #define HAVE_TANF 1
30925 _ACEOF
30926
30927 cat >>confdefs.h <<\_ACEOF
30928 #define HAVE_TANHF 1
30929 _ACEOF
30930
30931
30932 cat >>confdefs.h <<\_ACEOF
30933 #define HAVE_S_ISREG 1
30934 _ACEOF
30935
30936 cat >>confdefs.h <<\_ACEOF
30937 #define HAVE_S_IFREG 1
30938 _ACEOF
30939
30940 else
30941
30942 # Base decisions on target environment.
30943 case "${host}" in
30944 arm*-*-symbianelf*)
30945 # This is a freestanding configuration; there is nothing to do here.
30946 ;;
30947
30948 *-darwin*)
30949 # Darwin versions vary, but the linker should work in a cross environment,
30950 # so we just check for all the features here.
30951 # Check for available headers.
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
30966 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
30967 sys/types.h
30968 do
30969 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30970 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30971 echo "$as_me:$LINENO: checking for $ac_header" >&5
30972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30974 echo $ECHO_N "(cached) $ECHO_C" >&6
30975 fi
30976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30978 else
30979 # Is the header compilable?
30980 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30981 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30982 cat >conftest.$ac_ext <<_ACEOF
30983 /* confdefs.h. */
30984 _ACEOF
30985 cat confdefs.h >>conftest.$ac_ext
30986 cat >>conftest.$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988 $ac_includes_default
30989 #include <$ac_header>
30990 _ACEOF
30991 rm -f conftest.$ac_objext
30992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30993 (eval $ac_compile) 2>conftest.er1
30994 ac_status=$?
30995 grep -v '^ *+' conftest.er1 >conftest.err
30996 rm -f conftest.er1
30997 cat conftest.err >&5
30998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30999 (exit $ac_status); } &&
31000 { ac_try='test -z "$ac_c_werror_flag"
31001 || test ! -s conftest.err'
31002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31003 (eval $ac_try) 2>&5
31004 ac_status=$?
31005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31006 (exit $ac_status); }; } &&
31007 { ac_try='test -s conftest.$ac_objext'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31010 ac_status=$?
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; }; then
31013 ac_header_compiler=yes
31014 else
31015 echo "$as_me: failed program was:" >&5
31016 sed 's/^/| /' conftest.$ac_ext >&5
31017
31018 ac_header_compiler=no
31019 fi
31020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31021 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31022 echo "${ECHO_T}$ac_header_compiler" >&6
31023
31024 # Is the header present?
31025 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31026 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31027 cat >conftest.$ac_ext <<_ACEOF
31028 /* confdefs.h. */
31029 _ACEOF
31030 cat confdefs.h >>conftest.$ac_ext
31031 cat >>conftest.$ac_ext <<_ACEOF
31032 /* end confdefs.h. */
31033 #include <$ac_header>
31034 _ACEOF
31035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31037 ac_status=$?
31038 grep -v '^ *+' conftest.er1 >conftest.err
31039 rm -f conftest.er1
31040 cat conftest.err >&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); } >/dev/null; then
31043 if test -s conftest.err; then
31044 ac_cpp_err=$ac_c_preproc_warn_flag
31045 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31046 else
31047 ac_cpp_err=
31048 fi
31049 else
31050 ac_cpp_err=yes
31051 fi
31052 if test -z "$ac_cpp_err"; then
31053 ac_header_preproc=yes
31054 else
31055 echo "$as_me: failed program was:" >&5
31056 sed 's/^/| /' conftest.$ac_ext >&5
31057
31058 ac_header_preproc=no
31059 fi
31060 rm -f conftest.err conftest.$ac_ext
31061 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31062 echo "${ECHO_T}$ac_header_preproc" >&6
31063
31064 # So? What about this header?
31065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31066 yes:no: )
31067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31071 ac_header_preproc=yes
31072 ;;
31073 no:yes:* )
31074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31086 (
31087 cat <<\_ASBOX
31088 ## ----------------------------------------- ##
31089 ## Report this to the package-unused lists. ##
31090 ## ----------------------------------------- ##
31091 _ASBOX
31092 ) |
31093 sed "s/^/$as_me: WARNING: /" >&2
31094 ;;
31095 esac
31096 echo "$as_me:$LINENO: checking for $ac_header" >&5
31097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31099 echo $ECHO_N "(cached) $ECHO_C" >&6
31100 else
31101 eval "$as_ac_Header=\$ac_header_preproc"
31102 fi
31103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31105
31106 fi
31107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31108 cat >>confdefs.h <<_ACEOF
31109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31110 _ACEOF
31111
31112 fi
31113
31114 done
31115
31116
31117
31118 # All these tests are for C++; save the language and the compiler flags.
31119 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31120 # found in GLIBCXX_CONFIGURE.
31121
31122
31123 ac_ext=cc
31124 ac_cpp='$CXXCPP $CPPFLAGS'
31125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31128
31129 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31130 ac_save_CXXFLAGS="$CXXFLAGS"
31131
31132 # Check for maintainer-mode bits.
31133 if test x"$USE_MAINTAINER_MODE" = xno; then
31134 WERROR=''
31135 else
31136 WERROR='-Werror'
31137 fi
31138
31139 # Check for -ffunction-sections -fdata-sections
31140 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31141 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31142 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31143 cat >conftest.$ac_ext <<_ACEOF
31144 /* confdefs.h. */
31145 _ACEOF
31146 cat confdefs.h >>conftest.$ac_ext
31147 cat >>conftest.$ac_ext <<_ACEOF
31148 /* end confdefs.h. */
31149
31150 int
31151 main ()
31152 {
31153 int foo;
31154 ;
31155 return 0;
31156 }
31157 _ACEOF
31158 rm -f conftest.$ac_objext
31159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31160 (eval $ac_compile) 2>conftest.er1
31161 ac_status=$?
31162 grep -v '^ *+' conftest.er1 >conftest.err
31163 rm -f conftest.er1
31164 cat conftest.err >&5
31165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31166 (exit $ac_status); } &&
31167 { ac_try='test -z "$ac_cxx_werror_flag"
31168 || test ! -s conftest.err'
31169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31170 (eval $ac_try) 2>&5
31171 ac_status=$?
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); }; } &&
31174 { ac_try='test -s conftest.$ac_objext'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 ac_fdsections=yes
31181 else
31182 echo "$as_me: failed program was:" >&5
31183 sed 's/^/| /' conftest.$ac_ext >&5
31184
31185 ac_fdsections=no
31186 fi
31187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31188 if test "$ac_test_CXXFLAGS" = set; then
31189 CXXFLAGS="$ac_save_CXXFLAGS"
31190 else
31191 # this is the suspicious part
31192 CXXFLAGS=''
31193 fi
31194 if test x"$ac_fdsections" = x"yes"; then
31195 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31196 fi
31197 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31198 echo "${ECHO_T}$ac_fdsections" >&6
31199
31200 ac_ext=c
31201 ac_cpp='$CPP $CPPFLAGS'
31202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31205
31206
31207
31208
31209 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31210
31211 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31212 ac_save_CXXFLAGS="$CXXFLAGS"
31213 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31214
31215 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31216 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31217 if test "${ac_cv_lib_m_sin+set}" = set; then
31218 echo $ECHO_N "(cached) $ECHO_C" >&6
31219 else
31220 ac_check_lib_save_LIBS=$LIBS
31221 LIBS="-lm $LIBS"
31222 if test x$gcc_no_link = xyes; then
31223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31225 { (exit 1); exit 1; }; }
31226 fi
31227 cat >conftest.$ac_ext <<_ACEOF
31228 /* confdefs.h. */
31229 _ACEOF
31230 cat confdefs.h >>conftest.$ac_ext
31231 cat >>conftest.$ac_ext <<_ACEOF
31232 /* end confdefs.h. */
31233
31234 /* Override any gcc2 internal prototype to avoid an error. */
31235 #ifdef __cplusplus
31236 extern "C"
31237 #endif
31238 /* We use char because int might match the return type of a gcc2
31239 builtin and then its argument prototype would still apply. */
31240 char sin ();
31241 int
31242 main ()
31243 {
31244 sin ();
31245 ;
31246 return 0;
31247 }
31248 _ACEOF
31249 rm -f conftest.$ac_objext conftest$ac_exeext
31250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31251 (eval $ac_link) 2>conftest.er1
31252 ac_status=$?
31253 grep -v '^ *+' conftest.er1 >conftest.err
31254 rm -f conftest.er1
31255 cat conftest.err >&5
31256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31257 (exit $ac_status); } &&
31258 { ac_try='test -z "$ac_c_werror_flag"
31259 || test ! -s conftest.err'
31260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31261 (eval $ac_try) 2>&5
31262 ac_status=$?
31263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31264 (exit $ac_status); }; } &&
31265 { ac_try='test -s conftest$ac_exeext'
31266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31267 (eval $ac_try) 2>&5
31268 ac_status=$?
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); }; }; then
31271 ac_cv_lib_m_sin=yes
31272 else
31273 echo "$as_me: failed program was:" >&5
31274 sed 's/^/| /' conftest.$ac_ext >&5
31275
31276 ac_cv_lib_m_sin=no
31277 fi
31278 rm -f conftest.err conftest.$ac_objext \
31279 conftest$ac_exeext conftest.$ac_ext
31280 LIBS=$ac_check_lib_save_LIBS
31281 fi
31282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31283 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31284 if test $ac_cv_lib_m_sin = yes; then
31285 libm="-lm"
31286 fi
31287
31288 ac_save_LIBS="$LIBS"
31289 LIBS="$LIBS $libm"
31290
31291
31292
31293 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31294 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31295 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31296 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31297 echo $ECHO_N "(cached) $ECHO_C" >&6
31298 else
31299
31300
31301
31302 ac_ext=cc
31303 ac_cpp='$CXXCPP $CPPFLAGS'
31304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31307
31308 cat >conftest.$ac_ext <<_ACEOF
31309 /* confdefs.h. */
31310 _ACEOF
31311 cat confdefs.h >>conftest.$ac_ext
31312 cat >>conftest.$ac_ext <<_ACEOF
31313 /* end confdefs.h. */
31314 #include <math.h>
31315 #ifdef HAVE_IEEEFP_H
31316 #include <ieeefp.h>
31317 #endif
31318
31319 int
31320 main ()
31321 {
31322 isinf(0);
31323 ;
31324 return 0;
31325 }
31326 _ACEOF
31327 rm -f conftest.$ac_objext
31328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31329 (eval $ac_compile) 2>conftest.er1
31330 ac_status=$?
31331 grep -v '^ *+' conftest.er1 >conftest.err
31332 rm -f conftest.er1
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } &&
31336 { ac_try='test -z "$ac_cxx_werror_flag"
31337 || test ! -s conftest.err'
31338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31339 (eval $ac_try) 2>&5
31340 ac_status=$?
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); }; } &&
31343 { ac_try='test -s conftest.$ac_objext'
31344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31345 (eval $ac_try) 2>&5
31346 ac_status=$?
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); }; }; then
31349 glibcxx_cv_func_isinf_use=yes
31350 else
31351 echo "$as_me: failed program was:" >&5
31352 sed 's/^/| /' conftest.$ac_ext >&5
31353
31354 glibcxx_cv_func_isinf_use=no
31355 fi
31356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31357 ac_ext=c
31358 ac_cpp='$CPP $CPPFLAGS'
31359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31362
31363
31364 fi
31365
31366 fi
31367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31368 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31369
31370 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31371
31372 for ac_func in isinf
31373 do
31374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31375 echo "$as_me:$LINENO: checking for $ac_func" >&5
31376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31377 if eval "test \"\${$as_ac_var+set}\" = set"; then
31378 echo $ECHO_N "(cached) $ECHO_C" >&6
31379 else
31380 if test x$gcc_no_link = xyes; then
31381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31383 { (exit 1); exit 1; }; }
31384 fi
31385 cat >conftest.$ac_ext <<_ACEOF
31386 /* confdefs.h. */
31387 _ACEOF
31388 cat confdefs.h >>conftest.$ac_ext
31389 cat >>conftest.$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31393 #define $ac_func innocuous_$ac_func
31394
31395 /* System header to define __stub macros and hopefully few prototypes,
31396 which can conflict with char $ac_func (); below.
31397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31398 <limits.h> exists even on freestanding compilers. */
31399
31400 #ifdef __STDC__
31401 # include <limits.h>
31402 #else
31403 # include <assert.h>
31404 #endif
31405
31406 #undef $ac_func
31407
31408 /* Override any gcc2 internal prototype to avoid an error. */
31409 #ifdef __cplusplus
31410 extern "C"
31411 {
31412 #endif
31413 /* We use char because int might match the return type of a gcc2
31414 builtin and then its argument prototype would still apply. */
31415 char $ac_func ();
31416 /* The GNU C library defines this for functions which it implements
31417 to always fail with ENOSYS. Some functions are actually named
31418 something starting with __ and the normal name is an alias. */
31419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31420 choke me
31421 #else
31422 char (*f) () = $ac_func;
31423 #endif
31424 #ifdef __cplusplus
31425 }
31426 #endif
31427
31428 int
31429 main ()
31430 {
31431 return f != $ac_func;
31432 ;
31433 return 0;
31434 }
31435 _ACEOF
31436 rm -f conftest.$ac_objext conftest$ac_exeext
31437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31438 (eval $ac_link) 2>conftest.er1
31439 ac_status=$?
31440 grep -v '^ *+' conftest.er1 >conftest.err
31441 rm -f conftest.er1
31442 cat conftest.err >&5
31443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31444 (exit $ac_status); } &&
31445 { ac_try='test -z "$ac_c_werror_flag"
31446 || test ! -s conftest.err'
31447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31448 (eval $ac_try) 2>&5
31449 ac_status=$?
31450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31451 (exit $ac_status); }; } &&
31452 { ac_try='test -s conftest$ac_exeext'
31453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31454 (eval $ac_try) 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; }; then
31458 eval "$as_ac_var=yes"
31459 else
31460 echo "$as_me: failed program was:" >&5
31461 sed 's/^/| /' conftest.$ac_ext >&5
31462
31463 eval "$as_ac_var=no"
31464 fi
31465 rm -f conftest.err conftest.$ac_objext \
31466 conftest$ac_exeext conftest.$ac_ext
31467 fi
31468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31470 if test `eval echo '${'$as_ac_var'}'` = yes; then
31471 cat >>confdefs.h <<_ACEOF
31472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31473 _ACEOF
31474
31475 fi
31476 done
31477
31478 else
31479
31480 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31481 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31482 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31483 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31485 else
31486
31487
31488
31489 ac_ext=cc
31490 ac_cpp='$CXXCPP $CPPFLAGS'
31491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31494
31495 cat >conftest.$ac_ext <<_ACEOF
31496 /* confdefs.h. */
31497 _ACEOF
31498 cat confdefs.h >>conftest.$ac_ext
31499 cat >>conftest.$ac_ext <<_ACEOF
31500 /* end confdefs.h. */
31501 #include <math.h>
31502 #ifdef HAVE_IEEEFP_H
31503 #include <ieeefp.h>
31504 #endif
31505
31506 int
31507 main ()
31508 {
31509 _isinf(0);
31510 ;
31511 return 0;
31512 }
31513 _ACEOF
31514 rm -f conftest.$ac_objext
31515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31516 (eval $ac_compile) 2>conftest.er1
31517 ac_status=$?
31518 grep -v '^ *+' conftest.er1 >conftest.err
31519 rm -f conftest.er1
31520 cat conftest.err >&5
31521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31522 (exit $ac_status); } &&
31523 { ac_try='test -z "$ac_cxx_werror_flag"
31524 || test ! -s conftest.err'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; } &&
31530 { ac_try='test -s conftest.$ac_objext'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31533 ac_status=$?
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; }; then
31536 glibcxx_cv_func__isinf_use=yes
31537 else
31538 echo "$as_me: failed program was:" >&5
31539 sed 's/^/| /' conftest.$ac_ext >&5
31540
31541 glibcxx_cv_func__isinf_use=no
31542 fi
31543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31544 ac_ext=c
31545 ac_cpp='$CPP $CPPFLAGS'
31546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31549
31550
31551 fi
31552
31553 fi
31554 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31555 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31556
31557 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31558
31559 for ac_func in _isinf
31560 do
31561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31562 echo "$as_me:$LINENO: checking for $ac_func" >&5
31563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31564 if eval "test \"\${$as_ac_var+set}\" = set"; then
31565 echo $ECHO_N "(cached) $ECHO_C" >&6
31566 else
31567 if test x$gcc_no_link = xyes; then
31568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31570 { (exit 1); exit 1; }; }
31571 fi
31572 cat >conftest.$ac_ext <<_ACEOF
31573 /* confdefs.h. */
31574 _ACEOF
31575 cat confdefs.h >>conftest.$ac_ext
31576 cat >>conftest.$ac_ext <<_ACEOF
31577 /* end confdefs.h. */
31578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31580 #define $ac_func innocuous_$ac_func
31581
31582 /* System header to define __stub macros and hopefully few prototypes,
31583 which can conflict with char $ac_func (); below.
31584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31585 <limits.h> exists even on freestanding compilers. */
31586
31587 #ifdef __STDC__
31588 # include <limits.h>
31589 #else
31590 # include <assert.h>
31591 #endif
31592
31593 #undef $ac_func
31594
31595 /* Override any gcc2 internal prototype to avoid an error. */
31596 #ifdef __cplusplus
31597 extern "C"
31598 {
31599 #endif
31600 /* We use char because int might match the return type of a gcc2
31601 builtin and then its argument prototype would still apply. */
31602 char $ac_func ();
31603 /* The GNU C library defines this for functions which it implements
31604 to always fail with ENOSYS. Some functions are actually named
31605 something starting with __ and the normal name is an alias. */
31606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31607 choke me
31608 #else
31609 char (*f) () = $ac_func;
31610 #endif
31611 #ifdef __cplusplus
31612 }
31613 #endif
31614
31615 int
31616 main ()
31617 {
31618 return f != $ac_func;
31619 ;
31620 return 0;
31621 }
31622 _ACEOF
31623 rm -f conftest.$ac_objext conftest$ac_exeext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31625 (eval $ac_link) 2>conftest.er1
31626 ac_status=$?
31627 grep -v '^ *+' conftest.er1 >conftest.err
31628 rm -f conftest.er1
31629 cat conftest.err >&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try='test -z "$ac_c_werror_flag"
31633 || test ! -s conftest.err'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31636 ac_status=$?
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; } &&
31639 { ac_try='test -s conftest$ac_exeext'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 eval "$as_ac_var=yes"
31646 else
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.$ac_ext >&5
31649
31650 eval "$as_ac_var=no"
31651 fi
31652 rm -f conftest.err conftest.$ac_objext \
31653 conftest$ac_exeext conftest.$ac_ext
31654 fi
31655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31657 if test `eval echo '${'$as_ac_var'}'` = yes; then
31658 cat >>confdefs.h <<_ACEOF
31659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31660 _ACEOF
31661
31662 fi
31663 done
31664
31665 fi
31666 fi
31667
31668
31669
31670
31671
31672
31673 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31674 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31675 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31676 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31678 else
31679
31680
31681
31682 ac_ext=cc
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687
31688 cat >conftest.$ac_ext <<_ACEOF
31689 /* confdefs.h. */
31690 _ACEOF
31691 cat confdefs.h >>conftest.$ac_ext
31692 cat >>conftest.$ac_ext <<_ACEOF
31693 /* end confdefs.h. */
31694 #include <math.h>
31695 #ifdef HAVE_IEEEFP_H
31696 #include <ieeefp.h>
31697 #endif
31698
31699 int
31700 main ()
31701 {
31702 isnan(0);
31703 ;
31704 return 0;
31705 }
31706 _ACEOF
31707 rm -f conftest.$ac_objext
31708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31709 (eval $ac_compile) 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } &&
31716 { ac_try='test -z "$ac_cxx_werror_flag"
31717 || test ! -s conftest.err'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31720 ac_status=$?
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; } &&
31723 { ac_try='test -s conftest.$ac_objext'
31724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31725 (eval $ac_try) 2>&5
31726 ac_status=$?
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); }; }; then
31729 glibcxx_cv_func_isnan_use=yes
31730 else
31731 echo "$as_me: failed program was:" >&5
31732 sed 's/^/| /' conftest.$ac_ext >&5
31733
31734 glibcxx_cv_func_isnan_use=no
31735 fi
31736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31737 ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742
31743
31744 fi
31745
31746 fi
31747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31748 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31749
31750 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31751
31752 for ac_func in isnan
31753 do
31754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31755 echo "$as_me:$LINENO: checking for $ac_func" >&5
31756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31757 if eval "test \"\${$as_ac_var+set}\" = set"; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31760 if test x$gcc_no_link = xyes; then
31761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31763 { (exit 1); exit 1; }; }
31764 fi
31765 cat >conftest.$ac_ext <<_ACEOF
31766 /* confdefs.h. */
31767 _ACEOF
31768 cat confdefs.h >>conftest.$ac_ext
31769 cat >>conftest.$ac_ext <<_ACEOF
31770 /* end confdefs.h. */
31771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31773 #define $ac_func innocuous_$ac_func
31774
31775 /* System header to define __stub macros and hopefully few prototypes,
31776 which can conflict with char $ac_func (); below.
31777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31778 <limits.h> exists even on freestanding compilers. */
31779
31780 #ifdef __STDC__
31781 # include <limits.h>
31782 #else
31783 # include <assert.h>
31784 #endif
31785
31786 #undef $ac_func
31787
31788 /* Override any gcc2 internal prototype to avoid an error. */
31789 #ifdef __cplusplus
31790 extern "C"
31791 {
31792 #endif
31793 /* We use char because int might match the return type of a gcc2
31794 builtin and then its argument prototype would still apply. */
31795 char $ac_func ();
31796 /* The GNU C library defines this for functions which it implements
31797 to always fail with ENOSYS. Some functions are actually named
31798 something starting with __ and the normal name is an alias. */
31799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31800 choke me
31801 #else
31802 char (*f) () = $ac_func;
31803 #endif
31804 #ifdef __cplusplus
31805 }
31806 #endif
31807
31808 int
31809 main ()
31810 {
31811 return f != $ac_func;
31812 ;
31813 return 0;
31814 }
31815 _ACEOF
31816 rm -f conftest.$ac_objext conftest$ac_exeext
31817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31818 (eval $ac_link) 2>conftest.er1
31819 ac_status=$?
31820 grep -v '^ *+' conftest.er1 >conftest.err
31821 rm -f conftest.er1
31822 cat conftest.err >&5
31823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31824 (exit $ac_status); } &&
31825 { ac_try='test -z "$ac_c_werror_flag"
31826 || test ! -s conftest.err'
31827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31828 (eval $ac_try) 2>&5
31829 ac_status=$?
31830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31831 (exit $ac_status); }; } &&
31832 { ac_try='test -s conftest$ac_exeext'
31833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31834 (eval $ac_try) 2>&5
31835 ac_status=$?
31836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31837 (exit $ac_status); }; }; then
31838 eval "$as_ac_var=yes"
31839 else
31840 echo "$as_me: failed program was:" >&5
31841 sed 's/^/| /' conftest.$ac_ext >&5
31842
31843 eval "$as_ac_var=no"
31844 fi
31845 rm -f conftest.err conftest.$ac_objext \
31846 conftest$ac_exeext conftest.$ac_ext
31847 fi
31848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31850 if test `eval echo '${'$as_ac_var'}'` = yes; then
31851 cat >>confdefs.h <<_ACEOF
31852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31853 _ACEOF
31854
31855 fi
31856 done
31857
31858 else
31859
31860 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31861 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31862 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31863 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 else
31866
31867
31868
31869 ac_ext=cc
31870 ac_cpp='$CXXCPP $CPPFLAGS'
31871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31874
31875 cat >conftest.$ac_ext <<_ACEOF
31876 /* confdefs.h. */
31877 _ACEOF
31878 cat confdefs.h >>conftest.$ac_ext
31879 cat >>conftest.$ac_ext <<_ACEOF
31880 /* end confdefs.h. */
31881 #include <math.h>
31882 #ifdef HAVE_IEEEFP_H
31883 #include <ieeefp.h>
31884 #endif
31885
31886 int
31887 main ()
31888 {
31889 _isnan(0);
31890 ;
31891 return 0;
31892 }
31893 _ACEOF
31894 rm -f conftest.$ac_objext
31895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31896 (eval $ac_compile) 2>conftest.er1
31897 ac_status=$?
31898 grep -v '^ *+' conftest.er1 >conftest.err
31899 rm -f conftest.er1
31900 cat conftest.err >&5
31901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31902 (exit $ac_status); } &&
31903 { ac_try='test -z "$ac_cxx_werror_flag"
31904 || test ! -s conftest.err'
31905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31906 (eval $ac_try) 2>&5
31907 ac_status=$?
31908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31909 (exit $ac_status); }; } &&
31910 { ac_try='test -s conftest.$ac_objext'
31911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31912 (eval $ac_try) 2>&5
31913 ac_status=$?
31914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31915 (exit $ac_status); }; }; then
31916 glibcxx_cv_func__isnan_use=yes
31917 else
31918 echo "$as_me: failed program was:" >&5
31919 sed 's/^/| /' conftest.$ac_ext >&5
31920
31921 glibcxx_cv_func__isnan_use=no
31922 fi
31923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31924 ac_ext=c
31925 ac_cpp='$CPP $CPPFLAGS'
31926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31929
31930
31931 fi
31932
31933 fi
31934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
31935 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
31936
31937 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
31938
31939 for ac_func in _isnan
31940 do
31941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31942 echo "$as_me:$LINENO: checking for $ac_func" >&5
31943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31944 if eval "test \"\${$as_ac_var+set}\" = set"; then
31945 echo $ECHO_N "(cached) $ECHO_C" >&6
31946 else
31947 if test x$gcc_no_link = xyes; then
31948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31950 { (exit 1); exit 1; }; }
31951 fi
31952 cat >conftest.$ac_ext <<_ACEOF
31953 /* confdefs.h. */
31954 _ACEOF
31955 cat confdefs.h >>conftest.$ac_ext
31956 cat >>conftest.$ac_ext <<_ACEOF
31957 /* end confdefs.h. */
31958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31960 #define $ac_func innocuous_$ac_func
31961
31962 /* System header to define __stub macros and hopefully few prototypes,
31963 which can conflict with char $ac_func (); below.
31964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31965 <limits.h> exists even on freestanding compilers. */
31966
31967 #ifdef __STDC__
31968 # include <limits.h>
31969 #else
31970 # include <assert.h>
31971 #endif
31972
31973 #undef $ac_func
31974
31975 /* Override any gcc2 internal prototype to avoid an error. */
31976 #ifdef __cplusplus
31977 extern "C"
31978 {
31979 #endif
31980 /* We use char because int might match the return type of a gcc2
31981 builtin and then its argument prototype would still apply. */
31982 char $ac_func ();
31983 /* The GNU C library defines this for functions which it implements
31984 to always fail with ENOSYS. Some functions are actually named
31985 something starting with __ and the normal name is an alias. */
31986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31987 choke me
31988 #else
31989 char (*f) () = $ac_func;
31990 #endif
31991 #ifdef __cplusplus
31992 }
31993 #endif
31994
31995 int
31996 main ()
31997 {
31998 return f != $ac_func;
31999 ;
32000 return 0;
32001 }
32002 _ACEOF
32003 rm -f conftest.$ac_objext conftest$ac_exeext
32004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32005 (eval $ac_link) 2>conftest.er1
32006 ac_status=$?
32007 grep -v '^ *+' conftest.er1 >conftest.err
32008 rm -f conftest.er1
32009 cat conftest.err >&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); } &&
32012 { ac_try='test -z "$ac_c_werror_flag"
32013 || test ! -s conftest.err'
32014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32015 (eval $ac_try) 2>&5
32016 ac_status=$?
32017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32018 (exit $ac_status); }; } &&
32019 { ac_try='test -s conftest$ac_exeext'
32020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32021 (eval $ac_try) 2>&5
32022 ac_status=$?
32023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32024 (exit $ac_status); }; }; then
32025 eval "$as_ac_var=yes"
32026 else
32027 echo "$as_me: failed program was:" >&5
32028 sed 's/^/| /' conftest.$ac_ext >&5
32029
32030 eval "$as_ac_var=no"
32031 fi
32032 rm -f conftest.err conftest.$ac_objext \
32033 conftest$ac_exeext conftest.$ac_ext
32034 fi
32035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32037 if test `eval echo '${'$as_ac_var'}'` = yes; then
32038 cat >>confdefs.h <<_ACEOF
32039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32040 _ACEOF
32041
32042 fi
32043 done
32044
32045 fi
32046 fi
32047
32048
32049
32050
32051
32052
32053 echo "$as_me:$LINENO: checking for finite declaration" >&5
32054 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32055 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32056 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32057 echo $ECHO_N "(cached) $ECHO_C" >&6
32058 else
32059
32060
32061
32062 ac_ext=cc
32063 ac_cpp='$CXXCPP $CPPFLAGS'
32064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32067
32068 cat >conftest.$ac_ext <<_ACEOF
32069 /* confdefs.h. */
32070 _ACEOF
32071 cat confdefs.h >>conftest.$ac_ext
32072 cat >>conftest.$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074 #include <math.h>
32075 #ifdef HAVE_IEEEFP_H
32076 #include <ieeefp.h>
32077 #endif
32078
32079 int
32080 main ()
32081 {
32082 finite(0);
32083 ;
32084 return 0;
32085 }
32086 _ACEOF
32087 rm -f conftest.$ac_objext
32088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32089 (eval $ac_compile) 2>conftest.er1
32090 ac_status=$?
32091 grep -v '^ *+' conftest.er1 >conftest.err
32092 rm -f conftest.er1
32093 cat conftest.err >&5
32094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32095 (exit $ac_status); } &&
32096 { ac_try='test -z "$ac_cxx_werror_flag"
32097 || test ! -s conftest.err'
32098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32099 (eval $ac_try) 2>&5
32100 ac_status=$?
32101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32102 (exit $ac_status); }; } &&
32103 { ac_try='test -s conftest.$ac_objext'
32104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32105 (eval $ac_try) 2>&5
32106 ac_status=$?
32107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32108 (exit $ac_status); }; }; then
32109 glibcxx_cv_func_finite_use=yes
32110 else
32111 echo "$as_me: failed program was:" >&5
32112 sed 's/^/| /' conftest.$ac_ext >&5
32113
32114 glibcxx_cv_func_finite_use=no
32115 fi
32116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32117 ac_ext=c
32118 ac_cpp='$CPP $CPPFLAGS'
32119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32122
32123
32124 fi
32125
32126 fi
32127 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32128 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32129
32130 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32131
32132 for ac_func in finite
32133 do
32134 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32135 echo "$as_me:$LINENO: checking for $ac_func" >&5
32136 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32137 if eval "test \"\${$as_ac_var+set}\" = set"; then
32138 echo $ECHO_N "(cached) $ECHO_C" >&6
32139 else
32140 if test x$gcc_no_link = xyes; then
32141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32143 { (exit 1); exit 1; }; }
32144 fi
32145 cat >conftest.$ac_ext <<_ACEOF
32146 /* confdefs.h. */
32147 _ACEOF
32148 cat confdefs.h >>conftest.$ac_ext
32149 cat >>conftest.$ac_ext <<_ACEOF
32150 /* end confdefs.h. */
32151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32153 #define $ac_func innocuous_$ac_func
32154
32155 /* System header to define __stub macros and hopefully few prototypes,
32156 which can conflict with char $ac_func (); below.
32157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32158 <limits.h> exists even on freestanding compilers. */
32159
32160 #ifdef __STDC__
32161 # include <limits.h>
32162 #else
32163 # include <assert.h>
32164 #endif
32165
32166 #undef $ac_func
32167
32168 /* Override any gcc2 internal prototype to avoid an error. */
32169 #ifdef __cplusplus
32170 extern "C"
32171 {
32172 #endif
32173 /* We use char because int might match the return type of a gcc2
32174 builtin and then its argument prototype would still apply. */
32175 char $ac_func ();
32176 /* The GNU C library defines this for functions which it implements
32177 to always fail with ENOSYS. Some functions are actually named
32178 something starting with __ and the normal name is an alias. */
32179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32180 choke me
32181 #else
32182 char (*f) () = $ac_func;
32183 #endif
32184 #ifdef __cplusplus
32185 }
32186 #endif
32187
32188 int
32189 main ()
32190 {
32191 return f != $ac_func;
32192 ;
32193 return 0;
32194 }
32195 _ACEOF
32196 rm -f conftest.$ac_objext conftest$ac_exeext
32197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32198 (eval $ac_link) 2>conftest.er1
32199 ac_status=$?
32200 grep -v '^ *+' conftest.er1 >conftest.err
32201 rm -f conftest.er1
32202 cat conftest.err >&5
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); } &&
32205 { ac_try='test -z "$ac_c_werror_flag"
32206 || test ! -s conftest.err'
32207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32208 (eval $ac_try) 2>&5
32209 ac_status=$?
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); }; } &&
32212 { ac_try='test -s conftest$ac_exeext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32215 ac_status=$?
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 eval "$as_ac_var=yes"
32219 else
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32222
32223 eval "$as_ac_var=no"
32224 fi
32225 rm -f conftest.err conftest.$ac_objext \
32226 conftest$ac_exeext conftest.$ac_ext
32227 fi
32228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32229 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32230 if test `eval echo '${'$as_ac_var'}'` = yes; then
32231 cat >>confdefs.h <<_ACEOF
32232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32233 _ACEOF
32234
32235 fi
32236 done
32237
32238 else
32239
32240 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32241 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32242 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32243 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 else
32246
32247
32248
32249 ac_ext=cc
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255 cat >conftest.$ac_ext <<_ACEOF
32256 /* confdefs.h. */
32257 _ACEOF
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32261 #include <math.h>
32262 #ifdef HAVE_IEEEFP_H
32263 #include <ieeefp.h>
32264 #endif
32265
32266 int
32267 main ()
32268 {
32269 _finite(0);
32270 ;
32271 return 0;
32272 }
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276 (eval $ac_compile) 2>conftest.er1
32277 ac_status=$?
32278 grep -v '^ *+' conftest.er1 >conftest.err
32279 rm -f conftest.er1
32280 cat conftest.err >&5
32281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32282 (exit $ac_status); } &&
32283 { ac_try='test -z "$ac_cxx_werror_flag"
32284 || test ! -s conftest.err'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; } &&
32290 { ac_try='test -s conftest.$ac_objext'
32291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32292 (eval $ac_try) 2>&5
32293 ac_status=$?
32294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32295 (exit $ac_status); }; }; then
32296 glibcxx_cv_func__finite_use=yes
32297 else
32298 echo "$as_me: failed program was:" >&5
32299 sed 's/^/| /' conftest.$ac_ext >&5
32300
32301 glibcxx_cv_func__finite_use=no
32302 fi
32303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32304 ac_ext=c
32305 ac_cpp='$CPP $CPPFLAGS'
32306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32309
32310
32311 fi
32312
32313 fi
32314 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32315 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32316
32317 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32318
32319 for ac_func in _finite
32320 do
32321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32322 echo "$as_me:$LINENO: checking for $ac_func" >&5
32323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32324 if eval "test \"\${$as_ac_var+set}\" = set"; then
32325 echo $ECHO_N "(cached) $ECHO_C" >&6
32326 else
32327 if test x$gcc_no_link = xyes; then
32328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32330 { (exit 1); exit 1; }; }
32331 fi
32332 cat >conftest.$ac_ext <<_ACEOF
32333 /* confdefs.h. */
32334 _ACEOF
32335 cat confdefs.h >>conftest.$ac_ext
32336 cat >>conftest.$ac_ext <<_ACEOF
32337 /* end confdefs.h. */
32338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32340 #define $ac_func innocuous_$ac_func
32341
32342 /* System header to define __stub macros and hopefully few prototypes,
32343 which can conflict with char $ac_func (); below.
32344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32345 <limits.h> exists even on freestanding compilers. */
32346
32347 #ifdef __STDC__
32348 # include <limits.h>
32349 #else
32350 # include <assert.h>
32351 #endif
32352
32353 #undef $ac_func
32354
32355 /* Override any gcc2 internal prototype to avoid an error. */
32356 #ifdef __cplusplus
32357 extern "C"
32358 {
32359 #endif
32360 /* We use char because int might match the return type of a gcc2
32361 builtin and then its argument prototype would still apply. */
32362 char $ac_func ();
32363 /* The GNU C library defines this for functions which it implements
32364 to always fail with ENOSYS. Some functions are actually named
32365 something starting with __ and the normal name is an alias. */
32366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32367 choke me
32368 #else
32369 char (*f) () = $ac_func;
32370 #endif
32371 #ifdef __cplusplus
32372 }
32373 #endif
32374
32375 int
32376 main ()
32377 {
32378 return f != $ac_func;
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext conftest$ac_exeext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32385 (eval $ac_link) 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -z "$ac_c_werror_flag"
32393 || test ! -s conftest.err'
32394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32395 (eval $ac_try) 2>&5
32396 ac_status=$?
32397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 (exit $ac_status); }; } &&
32399 { ac_try='test -s conftest$ac_exeext'
32400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32401 (eval $ac_try) 2>&5
32402 ac_status=$?
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); }; }; then
32405 eval "$as_ac_var=yes"
32406 else
32407 echo "$as_me: failed program was:" >&5
32408 sed 's/^/| /' conftest.$ac_ext >&5
32409
32410 eval "$as_ac_var=no"
32411 fi
32412 rm -f conftest.err conftest.$ac_objext \
32413 conftest$ac_exeext conftest.$ac_ext
32414 fi
32415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32417 if test `eval echo '${'$as_ac_var'}'` = yes; then
32418 cat >>confdefs.h <<_ACEOF
32419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32420 _ACEOF
32421
32422 fi
32423 done
32424
32425 fi
32426 fi
32427
32428
32429
32430
32431
32432
32433 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32434 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32435 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32436 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32437 echo $ECHO_N "(cached) $ECHO_C" >&6
32438 else
32439
32440
32441
32442 ac_ext=cc
32443 ac_cpp='$CXXCPP $CPPFLAGS'
32444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32447
32448 cat >conftest.$ac_ext <<_ACEOF
32449 /* confdefs.h. */
32450 _ACEOF
32451 cat confdefs.h >>conftest.$ac_ext
32452 cat >>conftest.$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32454 #include <math.h>
32455 int
32456 main ()
32457 {
32458 copysign(0, 0);
32459 ;
32460 return 0;
32461 }
32462 _ACEOF
32463 rm -f conftest.$ac_objext
32464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32465 (eval $ac_compile) 2>conftest.er1
32466 ac_status=$?
32467 grep -v '^ *+' conftest.er1 >conftest.err
32468 rm -f conftest.er1
32469 cat conftest.err >&5
32470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32471 (exit $ac_status); } &&
32472 { ac_try='test -z "$ac_cxx_werror_flag"
32473 || test ! -s conftest.err'
32474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32475 (eval $ac_try) 2>&5
32476 ac_status=$?
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); }; } &&
32479 { ac_try='test -s conftest.$ac_objext'
32480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32481 (eval $ac_try) 2>&5
32482 ac_status=$?
32483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32484 (exit $ac_status); }; }; then
32485 glibcxx_cv_func_copysign_use=yes
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 glibcxx_cv_func_copysign_use=no
32491 fi
32492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32493 ac_ext=c
32494 ac_cpp='$CPP $CPPFLAGS'
32495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498
32499
32500 fi
32501
32502 fi
32503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32504 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32505
32506 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32507
32508 for ac_func in copysign
32509 do
32510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32511 echo "$as_me:$LINENO: checking for $ac_func" >&5
32512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32513 if eval "test \"\${$as_ac_var+set}\" = set"; then
32514 echo $ECHO_N "(cached) $ECHO_C" >&6
32515 else
32516 if test x$gcc_no_link = xyes; then
32517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32519 { (exit 1); exit 1; }; }
32520 fi
32521 cat >conftest.$ac_ext <<_ACEOF
32522 /* confdefs.h. */
32523 _ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32529 #define $ac_func innocuous_$ac_func
32530
32531 /* System header to define __stub macros and hopefully few prototypes,
32532 which can conflict with char $ac_func (); below.
32533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32534 <limits.h> exists even on freestanding compilers. */
32535
32536 #ifdef __STDC__
32537 # include <limits.h>
32538 #else
32539 # include <assert.h>
32540 #endif
32541
32542 #undef $ac_func
32543
32544 /* Override any gcc2 internal prototype to avoid an error. */
32545 #ifdef __cplusplus
32546 extern "C"
32547 {
32548 #endif
32549 /* We use char because int might match the return type of a gcc2
32550 builtin and then its argument prototype would still apply. */
32551 char $ac_func ();
32552 /* The GNU C library defines this for functions which it implements
32553 to always fail with ENOSYS. Some functions are actually named
32554 something starting with __ and the normal name is an alias. */
32555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32556 choke me
32557 #else
32558 char (*f) () = $ac_func;
32559 #endif
32560 #ifdef __cplusplus
32561 }
32562 #endif
32563
32564 int
32565 main ()
32566 {
32567 return f != $ac_func;
32568 ;
32569 return 0;
32570 }
32571 _ACEOF
32572 rm -f conftest.$ac_objext conftest$ac_exeext
32573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32574 (eval $ac_link) 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } &&
32581 { ac_try='test -z "$ac_c_werror_flag"
32582 || test ! -s conftest.err'
32583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32584 (eval $ac_try) 2>&5
32585 ac_status=$?
32586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32587 (exit $ac_status); }; } &&
32588 { ac_try='test -s conftest$ac_exeext'
32589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32590 (eval $ac_try) 2>&5
32591 ac_status=$?
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); }; }; then
32594 eval "$as_ac_var=yes"
32595 else
32596 echo "$as_me: failed program was:" >&5
32597 sed 's/^/| /' conftest.$ac_ext >&5
32598
32599 eval "$as_ac_var=no"
32600 fi
32601 rm -f conftest.err conftest.$ac_objext \
32602 conftest$ac_exeext conftest.$ac_ext
32603 fi
32604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32606 if test `eval echo '${'$as_ac_var'}'` = yes; then
32607 cat >>confdefs.h <<_ACEOF
32608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32609 _ACEOF
32610
32611 fi
32612 done
32613
32614 else
32615
32616 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32617 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32618 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32619 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32620 echo $ECHO_N "(cached) $ECHO_C" >&6
32621 else
32622
32623
32624
32625 ac_ext=cc
32626 ac_cpp='$CXXCPP $CPPFLAGS'
32627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32630
32631 cat >conftest.$ac_ext <<_ACEOF
32632 /* confdefs.h. */
32633 _ACEOF
32634 cat confdefs.h >>conftest.$ac_ext
32635 cat >>conftest.$ac_ext <<_ACEOF
32636 /* end confdefs.h. */
32637 #include <math.h>
32638 int
32639 main ()
32640 {
32641 _copysign(0, 0);
32642 ;
32643 return 0;
32644 }
32645 _ACEOF
32646 rm -f conftest.$ac_objext
32647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32648 (eval $ac_compile) 2>conftest.er1
32649 ac_status=$?
32650 grep -v '^ *+' conftest.er1 >conftest.err
32651 rm -f conftest.er1
32652 cat conftest.err >&5
32653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32654 (exit $ac_status); } &&
32655 { ac_try='test -z "$ac_cxx_werror_flag"
32656 || test ! -s conftest.err'
32657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32658 (eval $ac_try) 2>&5
32659 ac_status=$?
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); }; } &&
32662 { ac_try='test -s conftest.$ac_objext'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32665 ac_status=$?
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; }; then
32668 glibcxx_cv_func__copysign_use=yes
32669 else
32670 echo "$as_me: failed program was:" >&5
32671 sed 's/^/| /' conftest.$ac_ext >&5
32672
32673 glibcxx_cv_func__copysign_use=no
32674 fi
32675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32676 ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32681
32682
32683 fi
32684
32685 fi
32686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32687 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32688
32689 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32690
32691 for ac_func in _copysign
32692 do
32693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32694 echo "$as_me:$LINENO: checking for $ac_func" >&5
32695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32696 if eval "test \"\${$as_ac_var+set}\" = set"; then
32697 echo $ECHO_N "(cached) $ECHO_C" >&6
32698 else
32699 if test x$gcc_no_link = xyes; then
32700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32702 { (exit 1); exit 1; }; }
32703 fi
32704 cat >conftest.$ac_ext <<_ACEOF
32705 /* confdefs.h. */
32706 _ACEOF
32707 cat confdefs.h >>conftest.$ac_ext
32708 cat >>conftest.$ac_ext <<_ACEOF
32709 /* end confdefs.h. */
32710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32712 #define $ac_func innocuous_$ac_func
32713
32714 /* System header to define __stub macros and hopefully few prototypes,
32715 which can conflict with char $ac_func (); below.
32716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32717 <limits.h> exists even on freestanding compilers. */
32718
32719 #ifdef __STDC__
32720 # include <limits.h>
32721 #else
32722 # include <assert.h>
32723 #endif
32724
32725 #undef $ac_func
32726
32727 /* Override any gcc2 internal prototype to avoid an error. */
32728 #ifdef __cplusplus
32729 extern "C"
32730 {
32731 #endif
32732 /* We use char because int might match the return type of a gcc2
32733 builtin and then its argument prototype would still apply. */
32734 char $ac_func ();
32735 /* The GNU C library defines this for functions which it implements
32736 to always fail with ENOSYS. Some functions are actually named
32737 something starting with __ and the normal name is an alias. */
32738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32739 choke me
32740 #else
32741 char (*f) () = $ac_func;
32742 #endif
32743 #ifdef __cplusplus
32744 }
32745 #endif
32746
32747 int
32748 main ()
32749 {
32750 return f != $ac_func;
32751 ;
32752 return 0;
32753 }
32754 _ACEOF
32755 rm -f conftest.$ac_objext conftest$ac_exeext
32756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32757 (eval $ac_link) 2>conftest.er1
32758 ac_status=$?
32759 grep -v '^ *+' conftest.er1 >conftest.err
32760 rm -f conftest.er1
32761 cat conftest.err >&5
32762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32763 (exit $ac_status); } &&
32764 { ac_try='test -z "$ac_c_werror_flag"
32765 || test ! -s conftest.err'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32768 ac_status=$?
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; } &&
32771 { ac_try='test -s conftest$ac_exeext'
32772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32773 (eval $ac_try) 2>&5
32774 ac_status=$?
32775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32776 (exit $ac_status); }; }; then
32777 eval "$as_ac_var=yes"
32778 else
32779 echo "$as_me: failed program was:" >&5
32780 sed 's/^/| /' conftest.$ac_ext >&5
32781
32782 eval "$as_ac_var=no"
32783 fi
32784 rm -f conftest.err conftest.$ac_objext \
32785 conftest$ac_exeext conftest.$ac_ext
32786 fi
32787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32789 if test `eval echo '${'$as_ac_var'}'` = yes; then
32790 cat >>confdefs.h <<_ACEOF
32791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32792 _ACEOF
32793
32794 fi
32795 done
32796
32797 fi
32798 fi
32799
32800
32801
32802
32803
32804
32805 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32806 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32807 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32808 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32810 else
32811
32812
32813
32814 ac_ext=cc
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819
32820 cat >conftest.$ac_ext <<_ACEOF
32821 /* confdefs.h. */
32822 _ACEOF
32823 cat confdefs.h >>conftest.$ac_ext
32824 cat >>conftest.$ac_ext <<_ACEOF
32825 /* end confdefs.h. */
32826 #include <math.h>
32827 int
32828 main ()
32829 {
32830 sincos(0, 0, 0);
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext
32836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32837 (eval $ac_compile) 2>conftest.er1
32838 ac_status=$?
32839 grep -v '^ *+' conftest.er1 >conftest.err
32840 rm -f conftest.er1
32841 cat conftest.err >&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); } &&
32844 { ac_try='test -z "$ac_cxx_werror_flag"
32845 || test ! -s conftest.err'
32846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32847 (eval $ac_try) 2>&5
32848 ac_status=$?
32849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32850 (exit $ac_status); }; } &&
32851 { ac_try='test -s conftest.$ac_objext'
32852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32853 (eval $ac_try) 2>&5
32854 ac_status=$?
32855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32856 (exit $ac_status); }; }; then
32857 glibcxx_cv_func_sincos_use=yes
32858 else
32859 echo "$as_me: failed program was:" >&5
32860 sed 's/^/| /' conftest.$ac_ext >&5
32861
32862 glibcxx_cv_func_sincos_use=no
32863 fi
32864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32865 ac_ext=c
32866 ac_cpp='$CPP $CPPFLAGS'
32867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32870
32871
32872 fi
32873
32874 fi
32875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32876 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32877
32878 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32879
32880 for ac_func in sincos
32881 do
32882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32883 echo "$as_me:$LINENO: checking for $ac_func" >&5
32884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32885 if eval "test \"\${$as_ac_var+set}\" = set"; then
32886 echo $ECHO_N "(cached) $ECHO_C" >&6
32887 else
32888 if test x$gcc_no_link = xyes; then
32889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32891 { (exit 1); exit 1; }; }
32892 fi
32893 cat >conftest.$ac_ext <<_ACEOF
32894 /* confdefs.h. */
32895 _ACEOF
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32901 #define $ac_func innocuous_$ac_func
32902
32903 /* System header to define __stub macros and hopefully few prototypes,
32904 which can conflict with char $ac_func (); below.
32905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32906 <limits.h> exists even on freestanding compilers. */
32907
32908 #ifdef __STDC__
32909 # include <limits.h>
32910 #else
32911 # include <assert.h>
32912 #endif
32913
32914 #undef $ac_func
32915
32916 /* Override any gcc2 internal prototype to avoid an error. */
32917 #ifdef __cplusplus
32918 extern "C"
32919 {
32920 #endif
32921 /* We use char because int might match the return type of a gcc2
32922 builtin and then its argument prototype would still apply. */
32923 char $ac_func ();
32924 /* The GNU C library defines this for functions which it implements
32925 to always fail with ENOSYS. Some functions are actually named
32926 something starting with __ and the normal name is an alias. */
32927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32928 choke me
32929 #else
32930 char (*f) () = $ac_func;
32931 #endif
32932 #ifdef __cplusplus
32933 }
32934 #endif
32935
32936 int
32937 main ()
32938 {
32939 return f != $ac_func;
32940 ;
32941 return 0;
32942 }
32943 _ACEOF
32944 rm -f conftest.$ac_objext conftest$ac_exeext
32945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32946 (eval $ac_link) 2>conftest.er1
32947 ac_status=$?
32948 grep -v '^ *+' conftest.er1 >conftest.err
32949 rm -f conftest.er1
32950 cat conftest.err >&5
32951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32952 (exit $ac_status); } &&
32953 { ac_try='test -z "$ac_c_werror_flag"
32954 || test ! -s conftest.err'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32957 ac_status=$?
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; } &&
32960 { ac_try='test -s conftest$ac_exeext'
32961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32962 (eval $ac_try) 2>&5
32963 ac_status=$?
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); }; }; then
32966 eval "$as_ac_var=yes"
32967 else
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.$ac_ext >&5
32970
32971 eval "$as_ac_var=no"
32972 fi
32973 rm -f conftest.err conftest.$ac_objext \
32974 conftest$ac_exeext conftest.$ac_ext
32975 fi
32976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32978 if test `eval echo '${'$as_ac_var'}'` = yes; then
32979 cat >>confdefs.h <<_ACEOF
32980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32981 _ACEOF
32982
32983 fi
32984 done
32985
32986 else
32987
32988 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
32989 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
32990 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32991 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
32992 echo $ECHO_N "(cached) $ECHO_C" >&6
32993 else
32994
32995
32996
32997 ac_ext=cc
32998 ac_cpp='$CXXCPP $CPPFLAGS'
32999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33002
33003 cat >conftest.$ac_ext <<_ACEOF
33004 /* confdefs.h. */
33005 _ACEOF
33006 cat confdefs.h >>conftest.$ac_ext
33007 cat >>conftest.$ac_ext <<_ACEOF
33008 /* end confdefs.h. */
33009 #include <math.h>
33010 int
33011 main ()
33012 {
33013 _sincos(0, 0, 0);
33014 ;
33015 return 0;
33016 }
33017 _ACEOF
33018 rm -f conftest.$ac_objext
33019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33020 (eval $ac_compile) 2>conftest.er1
33021 ac_status=$?
33022 grep -v '^ *+' conftest.er1 >conftest.err
33023 rm -f conftest.er1
33024 cat conftest.err >&5
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); } &&
33027 { ac_try='test -z "$ac_cxx_werror_flag"
33028 || test ! -s conftest.err'
33029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33030 (eval $ac_try) 2>&5
33031 ac_status=$?
33032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33033 (exit $ac_status); }; } &&
33034 { ac_try='test -s conftest.$ac_objext'
33035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33036 (eval $ac_try) 2>&5
33037 ac_status=$?
33038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039 (exit $ac_status); }; }; then
33040 glibcxx_cv_func__sincos_use=yes
33041 else
33042 echo "$as_me: failed program was:" >&5
33043 sed 's/^/| /' conftest.$ac_ext >&5
33044
33045 glibcxx_cv_func__sincos_use=no
33046 fi
33047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33048 ac_ext=c
33049 ac_cpp='$CPP $CPPFLAGS'
33050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33053
33054
33055 fi
33056
33057 fi
33058 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33059 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33060
33061 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33062
33063 for ac_func in _sincos
33064 do
33065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33066 echo "$as_me:$LINENO: checking for $ac_func" >&5
33067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33068 if eval "test \"\${$as_ac_var+set}\" = set"; then
33069 echo $ECHO_N "(cached) $ECHO_C" >&6
33070 else
33071 if test x$gcc_no_link = xyes; then
33072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33074 { (exit 1); exit 1; }; }
33075 fi
33076 cat >conftest.$ac_ext <<_ACEOF
33077 /* confdefs.h. */
33078 _ACEOF
33079 cat confdefs.h >>conftest.$ac_ext
33080 cat >>conftest.$ac_ext <<_ACEOF
33081 /* end confdefs.h. */
33082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33084 #define $ac_func innocuous_$ac_func
33085
33086 /* System header to define __stub macros and hopefully few prototypes,
33087 which can conflict with char $ac_func (); below.
33088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33089 <limits.h> exists even on freestanding compilers. */
33090
33091 #ifdef __STDC__
33092 # include <limits.h>
33093 #else
33094 # include <assert.h>
33095 #endif
33096
33097 #undef $ac_func
33098
33099 /* Override any gcc2 internal prototype to avoid an error. */
33100 #ifdef __cplusplus
33101 extern "C"
33102 {
33103 #endif
33104 /* We use char because int might match the return type of a gcc2
33105 builtin and then its argument prototype would still apply. */
33106 char $ac_func ();
33107 /* The GNU C library defines this for functions which it implements
33108 to always fail with ENOSYS. Some functions are actually named
33109 something starting with __ and the normal name is an alias. */
33110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33111 choke me
33112 #else
33113 char (*f) () = $ac_func;
33114 #endif
33115 #ifdef __cplusplus
33116 }
33117 #endif
33118
33119 int
33120 main ()
33121 {
33122 return f != $ac_func;
33123 ;
33124 return 0;
33125 }
33126 _ACEOF
33127 rm -f conftest.$ac_objext conftest$ac_exeext
33128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33129 (eval $ac_link) 2>conftest.er1
33130 ac_status=$?
33131 grep -v '^ *+' conftest.er1 >conftest.err
33132 rm -f conftest.er1
33133 cat conftest.err >&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); } &&
33136 { ac_try='test -z "$ac_c_werror_flag"
33137 || test ! -s conftest.err'
33138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33139 (eval $ac_try) 2>&5
33140 ac_status=$?
33141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33142 (exit $ac_status); }; } &&
33143 { ac_try='test -s conftest$ac_exeext'
33144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33145 (eval $ac_try) 2>&5
33146 ac_status=$?
33147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33148 (exit $ac_status); }; }; then
33149 eval "$as_ac_var=yes"
33150 else
33151 echo "$as_me: failed program was:" >&5
33152 sed 's/^/| /' conftest.$ac_ext >&5
33153
33154 eval "$as_ac_var=no"
33155 fi
33156 rm -f conftest.err conftest.$ac_objext \
33157 conftest$ac_exeext conftest.$ac_ext
33158 fi
33159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33160 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33161 if test `eval echo '${'$as_ac_var'}'` = yes; then
33162 cat >>confdefs.h <<_ACEOF
33163 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33164 _ACEOF
33165
33166 fi
33167 done
33168
33169 fi
33170 fi
33171
33172
33173
33174
33175
33176
33177 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33178 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33179 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33180 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33181 echo $ECHO_N "(cached) $ECHO_C" >&6
33182 else
33183
33184
33185
33186 ac_ext=cc
33187 ac_cpp='$CXXCPP $CPPFLAGS'
33188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33191
33192 cat >conftest.$ac_ext <<_ACEOF
33193 /* confdefs.h. */
33194 _ACEOF
33195 cat confdefs.h >>conftest.$ac_ext
33196 cat >>conftest.$ac_ext <<_ACEOF
33197 /* end confdefs.h. */
33198 #include <math.h>
33199 #ifdef HAVE_IEEEFP_H
33200 #include <ieeefp.h>
33201 #endif
33202
33203 int
33204 main ()
33205 {
33206 fpclass(0);
33207 ;
33208 return 0;
33209 }
33210 _ACEOF
33211 rm -f conftest.$ac_objext
33212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33213 (eval $ac_compile) 2>conftest.er1
33214 ac_status=$?
33215 grep -v '^ *+' conftest.er1 >conftest.err
33216 rm -f conftest.er1
33217 cat conftest.err >&5
33218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33219 (exit $ac_status); } &&
33220 { ac_try='test -z "$ac_cxx_werror_flag"
33221 || test ! -s conftest.err'
33222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33223 (eval $ac_try) 2>&5
33224 ac_status=$?
33225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226 (exit $ac_status); }; } &&
33227 { ac_try='test -s conftest.$ac_objext'
33228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33229 (eval $ac_try) 2>&5
33230 ac_status=$?
33231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33232 (exit $ac_status); }; }; then
33233 glibcxx_cv_func_fpclass_use=yes
33234 else
33235 echo "$as_me: failed program was:" >&5
33236 sed 's/^/| /' conftest.$ac_ext >&5
33237
33238 glibcxx_cv_func_fpclass_use=no
33239 fi
33240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33241 ac_ext=c
33242 ac_cpp='$CPP $CPPFLAGS'
33243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33246
33247
33248 fi
33249
33250 fi
33251 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33252 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33253
33254 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33255
33256 for ac_func in fpclass
33257 do
33258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33259 echo "$as_me:$LINENO: checking for $ac_func" >&5
33260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33261 if eval "test \"\${$as_ac_var+set}\" = set"; then
33262 echo $ECHO_N "(cached) $ECHO_C" >&6
33263 else
33264 if test x$gcc_no_link = xyes; then
33265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33267 { (exit 1); exit 1; }; }
33268 fi
33269 cat >conftest.$ac_ext <<_ACEOF
33270 /* confdefs.h. */
33271 _ACEOF
33272 cat confdefs.h >>conftest.$ac_ext
33273 cat >>conftest.$ac_ext <<_ACEOF
33274 /* end confdefs.h. */
33275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33277 #define $ac_func innocuous_$ac_func
33278
33279 /* System header to define __stub macros and hopefully few prototypes,
33280 which can conflict with char $ac_func (); below.
33281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33282 <limits.h> exists even on freestanding compilers. */
33283
33284 #ifdef __STDC__
33285 # include <limits.h>
33286 #else
33287 # include <assert.h>
33288 #endif
33289
33290 #undef $ac_func
33291
33292 /* Override any gcc2 internal prototype to avoid an error. */
33293 #ifdef __cplusplus
33294 extern "C"
33295 {
33296 #endif
33297 /* We use char because int might match the return type of a gcc2
33298 builtin and then its argument prototype would still apply. */
33299 char $ac_func ();
33300 /* The GNU C library defines this for functions which it implements
33301 to always fail with ENOSYS. Some functions are actually named
33302 something starting with __ and the normal name is an alias. */
33303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33304 choke me
33305 #else
33306 char (*f) () = $ac_func;
33307 #endif
33308 #ifdef __cplusplus
33309 }
33310 #endif
33311
33312 int
33313 main ()
33314 {
33315 return f != $ac_func;
33316 ;
33317 return 0;
33318 }
33319 _ACEOF
33320 rm -f conftest.$ac_objext conftest$ac_exeext
33321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33322 (eval $ac_link) 2>conftest.er1
33323 ac_status=$?
33324 grep -v '^ *+' conftest.er1 >conftest.err
33325 rm -f conftest.er1
33326 cat conftest.err >&5
33327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33328 (exit $ac_status); } &&
33329 { ac_try='test -z "$ac_c_werror_flag"
33330 || test ! -s conftest.err'
33331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33332 (eval $ac_try) 2>&5
33333 ac_status=$?
33334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33335 (exit $ac_status); }; } &&
33336 { ac_try='test -s conftest$ac_exeext'
33337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33338 (eval $ac_try) 2>&5
33339 ac_status=$?
33340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33341 (exit $ac_status); }; }; then
33342 eval "$as_ac_var=yes"
33343 else
33344 echo "$as_me: failed program was:" >&5
33345 sed 's/^/| /' conftest.$ac_ext >&5
33346
33347 eval "$as_ac_var=no"
33348 fi
33349 rm -f conftest.err conftest.$ac_objext \
33350 conftest$ac_exeext conftest.$ac_ext
33351 fi
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33357 _ACEOF
33358
33359 fi
33360 done
33361
33362 else
33363
33364 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33365 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33366 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33367 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 else
33370
33371
33372
33373 ac_ext=cc
33374 ac_cpp='$CXXCPP $CPPFLAGS'
33375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33378
33379 cat >conftest.$ac_ext <<_ACEOF
33380 /* confdefs.h. */
33381 _ACEOF
33382 cat confdefs.h >>conftest.$ac_ext
33383 cat >>conftest.$ac_ext <<_ACEOF
33384 /* end confdefs.h. */
33385 #include <math.h>
33386 #ifdef HAVE_IEEEFP_H
33387 #include <ieeefp.h>
33388 #endif
33389
33390 int
33391 main ()
33392 {
33393 _fpclass(0);
33394 ;
33395 return 0;
33396 }
33397 _ACEOF
33398 rm -f conftest.$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400 (eval $ac_compile) 2>conftest.er1
33401 ac_status=$?
33402 grep -v '^ *+' conftest.er1 >conftest.err
33403 rm -f conftest.er1
33404 cat conftest.err >&5
33405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33406 (exit $ac_status); } &&
33407 { ac_try='test -z "$ac_cxx_werror_flag"
33408 || test ! -s conftest.err'
33409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33410 (eval $ac_try) 2>&5
33411 ac_status=$?
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; } &&
33414 { ac_try='test -s conftest.$ac_objext'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; }; then
33420 glibcxx_cv_func__fpclass_use=yes
33421 else
33422 echo "$as_me: failed program was:" >&5
33423 sed 's/^/| /' conftest.$ac_ext >&5
33424
33425 glibcxx_cv_func__fpclass_use=no
33426 fi
33427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33428 ac_ext=c
33429 ac_cpp='$CPP $CPPFLAGS'
33430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433
33434
33435 fi
33436
33437 fi
33438 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33439 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33440
33441 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33442
33443 for ac_func in _fpclass
33444 do
33445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33446 echo "$as_me:$LINENO: checking for $ac_func" >&5
33447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33448 if eval "test \"\${$as_ac_var+set}\" = set"; then
33449 echo $ECHO_N "(cached) $ECHO_C" >&6
33450 else
33451 if test x$gcc_no_link = xyes; then
33452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33454 { (exit 1); exit 1; }; }
33455 fi
33456 cat >conftest.$ac_ext <<_ACEOF
33457 /* confdefs.h. */
33458 _ACEOF
33459 cat confdefs.h >>conftest.$ac_ext
33460 cat >>conftest.$ac_ext <<_ACEOF
33461 /* end confdefs.h. */
33462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33464 #define $ac_func innocuous_$ac_func
33465
33466 /* System header to define __stub macros and hopefully few prototypes,
33467 which can conflict with char $ac_func (); below.
33468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33469 <limits.h> exists even on freestanding compilers. */
33470
33471 #ifdef __STDC__
33472 # include <limits.h>
33473 #else
33474 # include <assert.h>
33475 #endif
33476
33477 #undef $ac_func
33478
33479 /* Override any gcc2 internal prototype to avoid an error. */
33480 #ifdef __cplusplus
33481 extern "C"
33482 {
33483 #endif
33484 /* We use char because int might match the return type of a gcc2
33485 builtin and then its argument prototype would still apply. */
33486 char $ac_func ();
33487 /* The GNU C library defines this for functions which it implements
33488 to always fail with ENOSYS. Some functions are actually named
33489 something starting with __ and the normal name is an alias. */
33490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33491 choke me
33492 #else
33493 char (*f) () = $ac_func;
33494 #endif
33495 #ifdef __cplusplus
33496 }
33497 #endif
33498
33499 int
33500 main ()
33501 {
33502 return f != $ac_func;
33503 ;
33504 return 0;
33505 }
33506 _ACEOF
33507 rm -f conftest.$ac_objext conftest$ac_exeext
33508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33509 (eval $ac_link) 2>conftest.er1
33510 ac_status=$?
33511 grep -v '^ *+' conftest.er1 >conftest.err
33512 rm -f conftest.er1
33513 cat conftest.err >&5
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); } &&
33516 { ac_try='test -z "$ac_c_werror_flag"
33517 || test ! -s conftest.err'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33520 ac_status=$?
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; } &&
33523 { ac_try='test -s conftest$ac_exeext'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33526 ac_status=$?
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; }; then
33529 eval "$as_ac_var=yes"
33530 else
33531 echo "$as_me: failed program was:" >&5
33532 sed 's/^/| /' conftest.$ac_ext >&5
33533
33534 eval "$as_ac_var=no"
33535 fi
33536 rm -f conftest.err conftest.$ac_objext \
33537 conftest$ac_exeext conftest.$ac_ext
33538 fi
33539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33541 if test `eval echo '${'$as_ac_var'}'` = yes; then
33542 cat >>confdefs.h <<_ACEOF
33543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33544 _ACEOF
33545
33546 fi
33547 done
33548
33549 fi
33550 fi
33551
33552
33553
33554
33555
33556
33557 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33558 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33559 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33560 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33561 echo $ECHO_N "(cached) $ECHO_C" >&6
33562 else
33563
33564
33565
33566 ac_ext=cc
33567 ac_cpp='$CXXCPP $CPPFLAGS'
33568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33571
33572 cat >conftest.$ac_ext <<_ACEOF
33573 /* confdefs.h. */
33574 _ACEOF
33575 cat confdefs.h >>conftest.$ac_ext
33576 cat >>conftest.$ac_ext <<_ACEOF
33577 /* end confdefs.h. */
33578 #include <math.h>
33579 #ifdef HAVE_IEEEFP_H
33580 #include <ieeefp.h>
33581 #endif
33582
33583 int
33584 main ()
33585 {
33586 qfpclass(0);
33587 ;
33588 return 0;
33589 }
33590 _ACEOF
33591 rm -f conftest.$ac_objext
33592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33593 (eval $ac_compile) 2>conftest.er1
33594 ac_status=$?
33595 grep -v '^ *+' conftest.er1 >conftest.err
33596 rm -f conftest.er1
33597 cat conftest.err >&5
33598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33599 (exit $ac_status); } &&
33600 { ac_try='test -z "$ac_cxx_werror_flag"
33601 || test ! -s conftest.err'
33602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33603 (eval $ac_try) 2>&5
33604 ac_status=$?
33605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33606 (exit $ac_status); }; } &&
33607 { ac_try='test -s conftest.$ac_objext'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33610 ac_status=$?
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; }; then
33613 glibcxx_cv_func_qfpclass_use=yes
33614 else
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33617
33618 glibcxx_cv_func_qfpclass_use=no
33619 fi
33620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33621 ac_ext=c
33622 ac_cpp='$CPP $CPPFLAGS'
33623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33626
33627
33628 fi
33629
33630 fi
33631 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33632 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33633
33634 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33635
33636 for ac_func in qfpclass
33637 do
33638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33639 echo "$as_me:$LINENO: checking for $ac_func" >&5
33640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33641 if eval "test \"\${$as_ac_var+set}\" = set"; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644 if test x$gcc_no_link = xyes; then
33645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33647 { (exit 1); exit 1; }; }
33648 fi
33649 cat >conftest.$ac_ext <<_ACEOF
33650 /* confdefs.h. */
33651 _ACEOF
33652 cat confdefs.h >>conftest.$ac_ext
33653 cat >>conftest.$ac_ext <<_ACEOF
33654 /* end confdefs.h. */
33655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33657 #define $ac_func innocuous_$ac_func
33658
33659 /* System header to define __stub macros and hopefully few prototypes,
33660 which can conflict with char $ac_func (); below.
33661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33662 <limits.h> exists even on freestanding compilers. */
33663
33664 #ifdef __STDC__
33665 # include <limits.h>
33666 #else
33667 # include <assert.h>
33668 #endif
33669
33670 #undef $ac_func
33671
33672 /* Override any gcc2 internal prototype to avoid an error. */
33673 #ifdef __cplusplus
33674 extern "C"
33675 {
33676 #endif
33677 /* We use char because int might match the return type of a gcc2
33678 builtin and then its argument prototype would still apply. */
33679 char $ac_func ();
33680 /* The GNU C library defines this for functions which it implements
33681 to always fail with ENOSYS. Some functions are actually named
33682 something starting with __ and the normal name is an alias. */
33683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33684 choke me
33685 #else
33686 char (*f) () = $ac_func;
33687 #endif
33688 #ifdef __cplusplus
33689 }
33690 #endif
33691
33692 int
33693 main ()
33694 {
33695 return f != $ac_func;
33696 ;
33697 return 0;
33698 }
33699 _ACEOF
33700 rm -f conftest.$ac_objext conftest$ac_exeext
33701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33702 (eval $ac_link) 2>conftest.er1
33703 ac_status=$?
33704 grep -v '^ *+' conftest.er1 >conftest.err
33705 rm -f conftest.er1
33706 cat conftest.err >&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); } &&
33709 { ac_try='test -z "$ac_c_werror_flag"
33710 || test ! -s conftest.err'
33711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33712 (eval $ac_try) 2>&5
33713 ac_status=$?
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); }; } &&
33716 { ac_try='test -s conftest$ac_exeext'
33717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33718 (eval $ac_try) 2>&5
33719 ac_status=$?
33720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33721 (exit $ac_status); }; }; then
33722 eval "$as_ac_var=yes"
33723 else
33724 echo "$as_me: failed program was:" >&5
33725 sed 's/^/| /' conftest.$ac_ext >&5
33726
33727 eval "$as_ac_var=no"
33728 fi
33729 rm -f conftest.err conftest.$ac_objext \
33730 conftest$ac_exeext conftest.$ac_ext
33731 fi
33732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33734 if test `eval echo '${'$as_ac_var'}'` = yes; then
33735 cat >>confdefs.h <<_ACEOF
33736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33737 _ACEOF
33738
33739 fi
33740 done
33741
33742 else
33743
33744 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33745 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33746 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33747 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33748 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 else
33750
33751
33752
33753 ac_ext=cc
33754 ac_cpp='$CXXCPP $CPPFLAGS'
33755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33758
33759 cat >conftest.$ac_ext <<_ACEOF
33760 /* confdefs.h. */
33761 _ACEOF
33762 cat confdefs.h >>conftest.$ac_ext
33763 cat >>conftest.$ac_ext <<_ACEOF
33764 /* end confdefs.h. */
33765 #include <math.h>
33766 #ifdef HAVE_IEEEFP_H
33767 #include <ieeefp.h>
33768 #endif
33769
33770 int
33771 main ()
33772 {
33773 _qfpclass(0);
33774 ;
33775 return 0;
33776 }
33777 _ACEOF
33778 rm -f conftest.$ac_objext
33779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33780 (eval $ac_compile) 2>conftest.er1
33781 ac_status=$?
33782 grep -v '^ *+' conftest.er1 >conftest.err
33783 rm -f conftest.er1
33784 cat conftest.err >&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } &&
33787 { ac_try='test -z "$ac_cxx_werror_flag"
33788 || test ! -s conftest.err'
33789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33790 (eval $ac_try) 2>&5
33791 ac_status=$?
33792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33793 (exit $ac_status); }; } &&
33794 { ac_try='test -s conftest.$ac_objext'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; }; then
33800 glibcxx_cv_func__qfpclass_use=yes
33801 else
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.$ac_ext >&5
33804
33805 glibcxx_cv_func__qfpclass_use=no
33806 fi
33807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33808 ac_ext=c
33809 ac_cpp='$CPP $CPPFLAGS'
33810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33813
33814
33815 fi
33816
33817 fi
33818 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33819 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33820
33821 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33822
33823 for ac_func in _qfpclass
33824 do
33825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33826 echo "$as_me:$LINENO: checking for $ac_func" >&5
33827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33828 if eval "test \"\${$as_ac_var+set}\" = set"; then
33829 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 else
33831 if test x$gcc_no_link = xyes; then
33832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33834 { (exit 1); exit 1; }; }
33835 fi
33836 cat >conftest.$ac_ext <<_ACEOF
33837 /* confdefs.h. */
33838 _ACEOF
33839 cat confdefs.h >>conftest.$ac_ext
33840 cat >>conftest.$ac_ext <<_ACEOF
33841 /* end confdefs.h. */
33842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33844 #define $ac_func innocuous_$ac_func
33845
33846 /* System header to define __stub macros and hopefully few prototypes,
33847 which can conflict with char $ac_func (); below.
33848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33849 <limits.h> exists even on freestanding compilers. */
33850
33851 #ifdef __STDC__
33852 # include <limits.h>
33853 #else
33854 # include <assert.h>
33855 #endif
33856
33857 #undef $ac_func
33858
33859 /* Override any gcc2 internal prototype to avoid an error. */
33860 #ifdef __cplusplus
33861 extern "C"
33862 {
33863 #endif
33864 /* We use char because int might match the return type of a gcc2
33865 builtin and then its argument prototype would still apply. */
33866 char $ac_func ();
33867 /* The GNU C library defines this for functions which it implements
33868 to always fail with ENOSYS. Some functions are actually named
33869 something starting with __ and the normal name is an alias. */
33870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33871 choke me
33872 #else
33873 char (*f) () = $ac_func;
33874 #endif
33875 #ifdef __cplusplus
33876 }
33877 #endif
33878
33879 int
33880 main ()
33881 {
33882 return f != $ac_func;
33883 ;
33884 return 0;
33885 }
33886 _ACEOF
33887 rm -f conftest.$ac_objext conftest$ac_exeext
33888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33889 (eval $ac_link) 2>conftest.er1
33890 ac_status=$?
33891 grep -v '^ *+' conftest.er1 >conftest.err
33892 rm -f conftest.er1
33893 cat conftest.err >&5
33894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33895 (exit $ac_status); } &&
33896 { ac_try='test -z "$ac_c_werror_flag"
33897 || test ! -s conftest.err'
33898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33899 (eval $ac_try) 2>&5
33900 ac_status=$?
33901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33902 (exit $ac_status); }; } &&
33903 { ac_try='test -s conftest$ac_exeext'
33904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33905 (eval $ac_try) 2>&5
33906 ac_status=$?
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); }; }; then
33909 eval "$as_ac_var=yes"
33910 else
33911 echo "$as_me: failed program was:" >&5
33912 sed 's/^/| /' conftest.$ac_ext >&5
33913
33914 eval "$as_ac_var=no"
33915 fi
33916 rm -f conftest.err conftest.$ac_objext \
33917 conftest$ac_exeext conftest.$ac_ext
33918 fi
33919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33921 if test `eval echo '${'$as_ac_var'}'` = yes; then
33922 cat >>confdefs.h <<_ACEOF
33923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33924 _ACEOF
33925
33926 fi
33927 done
33928
33929 fi
33930 fi
33931
33932
33933
33934
33935
33936
33937 echo "$as_me:$LINENO: checking for hypot declaration" >&5
33938 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
33939 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33940 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
33941 echo $ECHO_N "(cached) $ECHO_C" >&6
33942 else
33943
33944
33945
33946 ac_ext=cc
33947 ac_cpp='$CXXCPP $CPPFLAGS'
33948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33951
33952 cat >conftest.$ac_ext <<_ACEOF
33953 /* confdefs.h. */
33954 _ACEOF
33955 cat confdefs.h >>conftest.$ac_ext
33956 cat >>conftest.$ac_ext <<_ACEOF
33957 /* end confdefs.h. */
33958 #include <math.h>
33959 int
33960 main ()
33961 {
33962 hypot(0, 0);
33963 ;
33964 return 0;
33965 }
33966 _ACEOF
33967 rm -f conftest.$ac_objext
33968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33969 (eval $ac_compile) 2>conftest.er1
33970 ac_status=$?
33971 grep -v '^ *+' conftest.er1 >conftest.err
33972 rm -f conftest.er1
33973 cat conftest.err >&5
33974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33975 (exit $ac_status); } &&
33976 { ac_try='test -z "$ac_cxx_werror_flag"
33977 || test ! -s conftest.err'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33980 ac_status=$?
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; } &&
33983 { ac_try='test -s conftest.$ac_objext'
33984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33985 (eval $ac_try) 2>&5
33986 ac_status=$?
33987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33988 (exit $ac_status); }; }; then
33989 glibcxx_cv_func_hypot_use=yes
33990 else
33991 echo "$as_me: failed program was:" >&5
33992 sed 's/^/| /' conftest.$ac_ext >&5
33993
33994 glibcxx_cv_func_hypot_use=no
33995 fi
33996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33997 ac_ext=c
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34002
34003
34004 fi
34005
34006 fi
34007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34008 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34009
34010 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34011
34012 for ac_func in hypot
34013 do
34014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34015 echo "$as_me:$LINENO: checking for $ac_func" >&5
34016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34017 if eval "test \"\${$as_ac_var+set}\" = set"; then
34018 echo $ECHO_N "(cached) $ECHO_C" >&6
34019 else
34020 if test x$gcc_no_link = xyes; then
34021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34023 { (exit 1); exit 1; }; }
34024 fi
34025 cat >conftest.$ac_ext <<_ACEOF
34026 /* confdefs.h. */
34027 _ACEOF
34028 cat confdefs.h >>conftest.$ac_ext
34029 cat >>conftest.$ac_ext <<_ACEOF
34030 /* end confdefs.h. */
34031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34033 #define $ac_func innocuous_$ac_func
34034
34035 /* System header to define __stub macros and hopefully few prototypes,
34036 which can conflict with char $ac_func (); below.
34037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34038 <limits.h> exists even on freestanding compilers. */
34039
34040 #ifdef __STDC__
34041 # include <limits.h>
34042 #else
34043 # include <assert.h>
34044 #endif
34045
34046 #undef $ac_func
34047
34048 /* Override any gcc2 internal prototype to avoid an error. */
34049 #ifdef __cplusplus
34050 extern "C"
34051 {
34052 #endif
34053 /* We use char because int might match the return type of a gcc2
34054 builtin and then its argument prototype would still apply. */
34055 char $ac_func ();
34056 /* The GNU C library defines this for functions which it implements
34057 to always fail with ENOSYS. Some functions are actually named
34058 something starting with __ and the normal name is an alias. */
34059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34060 choke me
34061 #else
34062 char (*f) () = $ac_func;
34063 #endif
34064 #ifdef __cplusplus
34065 }
34066 #endif
34067
34068 int
34069 main ()
34070 {
34071 return f != $ac_func;
34072 ;
34073 return 0;
34074 }
34075 _ACEOF
34076 rm -f conftest.$ac_objext conftest$ac_exeext
34077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34078 (eval $ac_link) 2>conftest.er1
34079 ac_status=$?
34080 grep -v '^ *+' conftest.er1 >conftest.err
34081 rm -f conftest.er1
34082 cat conftest.err >&5
34083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34084 (exit $ac_status); } &&
34085 { ac_try='test -z "$ac_c_werror_flag"
34086 || test ! -s conftest.err'
34087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34088 (eval $ac_try) 2>&5
34089 ac_status=$?
34090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34091 (exit $ac_status); }; } &&
34092 { ac_try='test -s conftest$ac_exeext'
34093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34094 (eval $ac_try) 2>&5
34095 ac_status=$?
34096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34097 (exit $ac_status); }; }; then
34098 eval "$as_ac_var=yes"
34099 else
34100 echo "$as_me: failed program was:" >&5
34101 sed 's/^/| /' conftest.$ac_ext >&5
34102
34103 eval "$as_ac_var=no"
34104 fi
34105 rm -f conftest.err conftest.$ac_objext \
34106 conftest$ac_exeext conftest.$ac_ext
34107 fi
34108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34110 if test `eval echo '${'$as_ac_var'}'` = yes; then
34111 cat >>confdefs.h <<_ACEOF
34112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118 else
34119
34120 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34121 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34122 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34123 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34124 echo $ECHO_N "(cached) $ECHO_C" >&6
34125 else
34126
34127
34128
34129 ac_ext=cc
34130 ac_cpp='$CXXCPP $CPPFLAGS'
34131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34134
34135 cat >conftest.$ac_ext <<_ACEOF
34136 /* confdefs.h. */
34137 _ACEOF
34138 cat confdefs.h >>conftest.$ac_ext
34139 cat >>conftest.$ac_ext <<_ACEOF
34140 /* end confdefs.h. */
34141 #include <math.h>
34142 int
34143 main ()
34144 {
34145 _hypot(0, 0);
34146 ;
34147 return 0;
34148 }
34149 _ACEOF
34150 rm -f conftest.$ac_objext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34152 (eval $ac_compile) 2>conftest.er1
34153 ac_status=$?
34154 grep -v '^ *+' conftest.er1 >conftest.err
34155 rm -f conftest.er1
34156 cat conftest.err >&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); } &&
34159 { ac_try='test -z "$ac_cxx_werror_flag"
34160 || test ! -s conftest.err'
34161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34162 (eval $ac_try) 2>&5
34163 ac_status=$?
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); }; } &&
34166 { ac_try='test -s conftest.$ac_objext'
34167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34168 (eval $ac_try) 2>&5
34169 ac_status=$?
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); }; }; then
34172 glibcxx_cv_func__hypot_use=yes
34173 else
34174 echo "$as_me: failed program was:" >&5
34175 sed 's/^/| /' conftest.$ac_ext >&5
34176
34177 glibcxx_cv_func__hypot_use=no
34178 fi
34179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34180 ac_ext=c
34181 ac_cpp='$CPP $CPPFLAGS'
34182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34185
34186
34187 fi
34188
34189 fi
34190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34191 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34192
34193 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34194
34195 for ac_func in _hypot
34196 do
34197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34198 echo "$as_me:$LINENO: checking for $ac_func" >&5
34199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34200 if eval "test \"\${$as_ac_var+set}\" = set"; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 if test x$gcc_no_link = xyes; then
34204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34206 { (exit 1); exit 1; }; }
34207 fi
34208 cat >conftest.$ac_ext <<_ACEOF
34209 /* confdefs.h. */
34210 _ACEOF
34211 cat confdefs.h >>conftest.$ac_ext
34212 cat >>conftest.$ac_ext <<_ACEOF
34213 /* end confdefs.h. */
34214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34216 #define $ac_func innocuous_$ac_func
34217
34218 /* System header to define __stub macros and hopefully few prototypes,
34219 which can conflict with char $ac_func (); below.
34220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34221 <limits.h> exists even on freestanding compilers. */
34222
34223 #ifdef __STDC__
34224 # include <limits.h>
34225 #else
34226 # include <assert.h>
34227 #endif
34228
34229 #undef $ac_func
34230
34231 /* Override any gcc2 internal prototype to avoid an error. */
34232 #ifdef __cplusplus
34233 extern "C"
34234 {
34235 #endif
34236 /* We use char because int might match the return type of a gcc2
34237 builtin and then its argument prototype would still apply. */
34238 char $ac_func ();
34239 /* The GNU C library defines this for functions which it implements
34240 to always fail with ENOSYS. Some functions are actually named
34241 something starting with __ and the normal name is an alias. */
34242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34243 choke me
34244 #else
34245 char (*f) () = $ac_func;
34246 #endif
34247 #ifdef __cplusplus
34248 }
34249 #endif
34250
34251 int
34252 main ()
34253 {
34254 return f != $ac_func;
34255 ;
34256 return 0;
34257 }
34258 _ACEOF
34259 rm -f conftest.$ac_objext conftest$ac_exeext
34260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34261 (eval $ac_link) 2>conftest.er1
34262 ac_status=$?
34263 grep -v '^ *+' conftest.er1 >conftest.err
34264 rm -f conftest.er1
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } &&
34268 { ac_try='test -z "$ac_c_werror_flag"
34269 || test ! -s conftest.err'
34270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34271 (eval $ac_try) 2>&5
34272 ac_status=$?
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); }; } &&
34275 { ac_try='test -s conftest$ac_exeext'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34278 ac_status=$?
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; }; then
34281 eval "$as_ac_var=yes"
34282 else
34283 echo "$as_me: failed program was:" >&5
34284 sed 's/^/| /' conftest.$ac_ext >&5
34285
34286 eval "$as_ac_var=no"
34287 fi
34288 rm -f conftest.err conftest.$ac_objext \
34289 conftest$ac_exeext conftest.$ac_ext
34290 fi
34291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34293 if test `eval echo '${'$as_ac_var'}'` = yes; then
34294 cat >>confdefs.h <<_ACEOF
34295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34296 _ACEOF
34297
34298 fi
34299 done
34300
34301 fi
34302 fi
34303
34304
34305
34306
34307
34308
34309 echo "$as_me:$LINENO: checking for float trig functions" >&5
34310 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34311 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34313 else
34314
34315
34316
34317 ac_ext=cc
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34322
34323 cat >conftest.$ac_ext <<_ACEOF
34324 /* confdefs.h. */
34325 _ACEOF
34326 cat confdefs.h >>conftest.$ac_ext
34327 cat >>conftest.$ac_ext <<_ACEOF
34328 /* end confdefs.h. */
34329 #include <math.h>
34330 int
34331 main ()
34332 {
34333 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 rm -f conftest.$ac_objext
34339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34340 (eval $ac_compile) 2>conftest.er1
34341 ac_status=$?
34342 grep -v '^ *+' conftest.er1 >conftest.err
34343 rm -f conftest.er1
34344 cat conftest.err >&5
34345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34346 (exit $ac_status); } &&
34347 { ac_try='test -z "$ac_cxx_werror_flag"
34348 || test ! -s conftest.err'
34349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34350 (eval $ac_try) 2>&5
34351 ac_status=$?
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); }; } &&
34354 { ac_try='test -s conftest.$ac_objext'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34357 ac_status=$?
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; }; then
34360 glibcxx_cv_func_float_trig_use=yes
34361 else
34362 echo "$as_me: failed program was:" >&5
34363 sed 's/^/| /' conftest.$ac_ext >&5
34364
34365 glibcxx_cv_func_float_trig_use=no
34366 fi
34367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34368 ac_ext=c
34369 ac_cpp='$CPP $CPPFLAGS'
34370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34373
34374 fi
34375
34376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34377 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34378 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34389 do
34390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34391 echo "$as_me:$LINENO: checking for $ac_func" >&5
34392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34393 if eval "test \"\${$as_ac_var+set}\" = set"; then
34394 echo $ECHO_N "(cached) $ECHO_C" >&6
34395 else
34396 if test x$gcc_no_link = xyes; then
34397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34399 { (exit 1); exit 1; }; }
34400 fi
34401 cat >conftest.$ac_ext <<_ACEOF
34402 /* confdefs.h. */
34403 _ACEOF
34404 cat confdefs.h >>conftest.$ac_ext
34405 cat >>conftest.$ac_ext <<_ACEOF
34406 /* end confdefs.h. */
34407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34409 #define $ac_func innocuous_$ac_func
34410
34411 /* System header to define __stub macros and hopefully few prototypes,
34412 which can conflict with char $ac_func (); below.
34413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34414 <limits.h> exists even on freestanding compilers. */
34415
34416 #ifdef __STDC__
34417 # include <limits.h>
34418 #else
34419 # include <assert.h>
34420 #endif
34421
34422 #undef $ac_func
34423
34424 /* Override any gcc2 internal prototype to avoid an error. */
34425 #ifdef __cplusplus
34426 extern "C"
34427 {
34428 #endif
34429 /* We use char because int might match the return type of a gcc2
34430 builtin and then its argument prototype would still apply. */
34431 char $ac_func ();
34432 /* The GNU C library defines this for functions which it implements
34433 to always fail with ENOSYS. Some functions are actually named
34434 something starting with __ and the normal name is an alias. */
34435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34436 choke me
34437 #else
34438 char (*f) () = $ac_func;
34439 #endif
34440 #ifdef __cplusplus
34441 }
34442 #endif
34443
34444 int
34445 main ()
34446 {
34447 return f != $ac_func;
34448 ;
34449 return 0;
34450 }
34451 _ACEOF
34452 rm -f conftest.$ac_objext conftest$ac_exeext
34453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34454 (eval $ac_link) 2>conftest.er1
34455 ac_status=$?
34456 grep -v '^ *+' conftest.er1 >conftest.err
34457 rm -f conftest.er1
34458 cat conftest.err >&5
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); } &&
34461 { ac_try='test -z "$ac_c_werror_flag"
34462 || test ! -s conftest.err'
34463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34464 (eval $ac_try) 2>&5
34465 ac_status=$?
34466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34467 (exit $ac_status); }; } &&
34468 { ac_try='test -s conftest$ac_exeext'
34469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34470 (eval $ac_try) 2>&5
34471 ac_status=$?
34472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34473 (exit $ac_status); }; }; then
34474 eval "$as_ac_var=yes"
34475 else
34476 echo "$as_me: failed program was:" >&5
34477 sed 's/^/| /' conftest.$ac_ext >&5
34478
34479 eval "$as_ac_var=no"
34480 fi
34481 rm -f conftest.err conftest.$ac_objext \
34482 conftest$ac_exeext conftest.$ac_ext
34483 fi
34484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34486 if test `eval echo '${'$as_ac_var'}'` = yes; then
34487 cat >>confdefs.h <<_ACEOF
34488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34489 _ACEOF
34490
34491 fi
34492 done
34493
34494 else
34495 echo "$as_me:$LINENO: checking for _float trig functions" >&5
34496 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
34497 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
34498 echo $ECHO_N "(cached) $ECHO_C" >&6
34499 else
34500
34501
34502
34503 ac_ext=cc
34504 ac_cpp='$CXXCPP $CPPFLAGS'
34505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508
34509 cat >conftest.$ac_ext <<_ACEOF
34510 /* confdefs.h. */
34511 _ACEOF
34512 cat confdefs.h >>conftest.$ac_ext
34513 cat >>conftest.$ac_ext <<_ACEOF
34514 /* end confdefs.h. */
34515 #include <math.h>
34516 int
34517 main ()
34518 {
34519 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34520 ;
34521 return 0;
34522 }
34523 _ACEOF
34524 rm -f conftest.$ac_objext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34526 (eval $ac_compile) 2>conftest.er1
34527 ac_status=$?
34528 grep -v '^ *+' conftest.er1 >conftest.err
34529 rm -f conftest.er1
34530 cat conftest.err >&5
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); } &&
34533 { ac_try='test -z "$ac_cxx_werror_flag"
34534 || test ! -s conftest.err'
34535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34536 (eval $ac_try) 2>&5
34537 ac_status=$?
34538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34539 (exit $ac_status); }; } &&
34540 { ac_try='test -s conftest.$ac_objext'
34541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34542 (eval $ac_try) 2>&5
34543 ac_status=$?
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); }; }; then
34546 glibcxx_cv_func__float_trig_use=yes
34547 else
34548 echo "$as_me: failed program was:" >&5
34549 sed 's/^/| /' conftest.$ac_ext >&5
34550
34551 glibcxx_cv_func__float_trig_use=no
34552 fi
34553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34554 ac_ext=c
34555 ac_cpp='$CPP $CPPFLAGS'
34556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34559
34560 fi
34561
34562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
34563 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
34564 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34575 do
34576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34577 echo "$as_me:$LINENO: checking for $ac_func" >&5
34578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34579 if eval "test \"\${$as_ac_var+set}\" = set"; then
34580 echo $ECHO_N "(cached) $ECHO_C" >&6
34581 else
34582 if test x$gcc_no_link = xyes; then
34583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34585 { (exit 1); exit 1; }; }
34586 fi
34587 cat >conftest.$ac_ext <<_ACEOF
34588 /* confdefs.h. */
34589 _ACEOF
34590 cat confdefs.h >>conftest.$ac_ext
34591 cat >>conftest.$ac_ext <<_ACEOF
34592 /* end confdefs.h. */
34593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34595 #define $ac_func innocuous_$ac_func
34596
34597 /* System header to define __stub macros and hopefully few prototypes,
34598 which can conflict with char $ac_func (); below.
34599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34600 <limits.h> exists even on freestanding compilers. */
34601
34602 #ifdef __STDC__
34603 # include <limits.h>
34604 #else
34605 # include <assert.h>
34606 #endif
34607
34608 #undef $ac_func
34609
34610 /* Override any gcc2 internal prototype to avoid an error. */
34611 #ifdef __cplusplus
34612 extern "C"
34613 {
34614 #endif
34615 /* We use char because int might match the return type of a gcc2
34616 builtin and then its argument prototype would still apply. */
34617 char $ac_func ();
34618 /* The GNU C library defines this for functions which it implements
34619 to always fail with ENOSYS. Some functions are actually named
34620 something starting with __ and the normal name is an alias. */
34621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34622 choke me
34623 #else
34624 char (*f) () = $ac_func;
34625 #endif
34626 #ifdef __cplusplus
34627 }
34628 #endif
34629
34630 int
34631 main ()
34632 {
34633 return f != $ac_func;
34634 ;
34635 return 0;
34636 }
34637 _ACEOF
34638 rm -f conftest.$ac_objext conftest$ac_exeext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34640 (eval $ac_link) 2>conftest.er1
34641 ac_status=$?
34642 grep -v '^ *+' conftest.er1 >conftest.err
34643 rm -f conftest.er1
34644 cat conftest.err >&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } &&
34647 { ac_try='test -z "$ac_c_werror_flag"
34648 || test ! -s conftest.err'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34651 ac_status=$?
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try='test -s conftest$ac_exeext'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34657 ac_status=$?
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; }; then
34660 eval "$as_ac_var=yes"
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 eval "$as_ac_var=no"
34666 fi
34667 rm -f conftest.err conftest.$ac_objext \
34668 conftest$ac_exeext conftest.$ac_ext
34669 fi
34670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34672 if test `eval echo '${'$as_ac_var'}'` = yes; then
34673 cat >>confdefs.h <<_ACEOF
34674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34675 _ACEOF
34676
34677 fi
34678 done
34679
34680 fi
34681 fi
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696 echo "$as_me:$LINENO: checking for float round functions" >&5
34697 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34698 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34699 echo $ECHO_N "(cached) $ECHO_C" >&6
34700 else
34701
34702
34703
34704 ac_ext=cc
34705 ac_cpp='$CXXCPP $CPPFLAGS'
34706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34709
34710 cat >conftest.$ac_ext <<_ACEOF
34711 /* confdefs.h. */
34712 _ACEOF
34713 cat confdefs.h >>conftest.$ac_ext
34714 cat >>conftest.$ac_ext <<_ACEOF
34715 /* end confdefs.h. */
34716 #include <math.h>
34717 int
34718 main ()
34719 {
34720 ceilf (0); floorf (0);
34721 ;
34722 return 0;
34723 }
34724 _ACEOF
34725 rm -f conftest.$ac_objext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34727 (eval $ac_compile) 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } &&
34734 { ac_try='test -z "$ac_cxx_werror_flag"
34735 || test ! -s conftest.err'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34738 ac_status=$?
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34741 { ac_try='test -s conftest.$ac_objext'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; }; then
34747 glibcxx_cv_func_float_round_use=yes
34748 else
34749 echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.$ac_ext >&5
34751
34752 glibcxx_cv_func_float_round_use=no
34753 fi
34754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34755 ac_ext=c
34756 ac_cpp='$CPP $CPPFLAGS'
34757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34760
34761 fi
34762
34763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34764 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34765 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34766
34767
34768 for ac_func in ceilf floorf
34769 do
34770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34771 echo "$as_me:$LINENO: checking for $ac_func" >&5
34772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34773 if eval "test \"\${$as_ac_var+set}\" = set"; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34775 else
34776 if test x$gcc_no_link = xyes; then
34777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34779 { (exit 1); exit 1; }; }
34780 fi
34781 cat >conftest.$ac_ext <<_ACEOF
34782 /* confdefs.h. */
34783 _ACEOF
34784 cat confdefs.h >>conftest.$ac_ext
34785 cat >>conftest.$ac_ext <<_ACEOF
34786 /* end confdefs.h. */
34787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34789 #define $ac_func innocuous_$ac_func
34790
34791 /* System header to define __stub macros and hopefully few prototypes,
34792 which can conflict with char $ac_func (); below.
34793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34794 <limits.h> exists even on freestanding compilers. */
34795
34796 #ifdef __STDC__
34797 # include <limits.h>
34798 #else
34799 # include <assert.h>
34800 #endif
34801
34802 #undef $ac_func
34803
34804 /* Override any gcc2 internal prototype to avoid an error. */
34805 #ifdef __cplusplus
34806 extern "C"
34807 {
34808 #endif
34809 /* We use char because int might match the return type of a gcc2
34810 builtin and then its argument prototype would still apply. */
34811 char $ac_func ();
34812 /* The GNU C library defines this for functions which it implements
34813 to always fail with ENOSYS. Some functions are actually named
34814 something starting with __ and the normal name is an alias. */
34815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34816 choke me
34817 #else
34818 char (*f) () = $ac_func;
34819 #endif
34820 #ifdef __cplusplus
34821 }
34822 #endif
34823
34824 int
34825 main ()
34826 {
34827 return f != $ac_func;
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 rm -f conftest.$ac_objext conftest$ac_exeext
34833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34834 (eval $ac_link) 2>conftest.er1
34835 ac_status=$?
34836 grep -v '^ *+' conftest.er1 >conftest.err
34837 rm -f conftest.er1
34838 cat conftest.err >&5
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); } &&
34841 { ac_try='test -z "$ac_c_werror_flag"
34842 || test ! -s conftest.err'
34843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34844 (eval $ac_try) 2>&5
34845 ac_status=$?
34846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34847 (exit $ac_status); }; } &&
34848 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
34854 eval "$as_ac_var=yes"
34855 else
34856 echo "$as_me: failed program was:" >&5
34857 sed 's/^/| /' conftest.$ac_ext >&5
34858
34859 eval "$as_ac_var=no"
34860 fi
34861 rm -f conftest.err conftest.$ac_objext \
34862 conftest$ac_exeext conftest.$ac_ext
34863 fi
34864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34866 if test `eval echo '${'$as_ac_var'}'` = yes; then
34867 cat >>confdefs.h <<_ACEOF
34868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34869 _ACEOF
34870
34871 fi
34872 done
34873
34874 else
34875 echo "$as_me:$LINENO: checking for _float round functions" >&5
34876 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
34877 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
34878 echo $ECHO_N "(cached) $ECHO_C" >&6
34879 else
34880
34881
34882
34883 ac_ext=cc
34884 ac_cpp='$CXXCPP $CPPFLAGS'
34885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34888
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895 #include <math.h>
34896 int
34897 main ()
34898 {
34899 _ceilf (0); _floorf (0);
34900 ;
34901 return 0;
34902 }
34903 _ACEOF
34904 rm -f conftest.$ac_objext
34905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34906 (eval $ac_compile) 2>conftest.er1
34907 ac_status=$?
34908 grep -v '^ *+' conftest.er1 >conftest.err
34909 rm -f conftest.er1
34910 cat conftest.err >&5
34911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34912 (exit $ac_status); } &&
34913 { ac_try='test -z "$ac_cxx_werror_flag"
34914 || test ! -s conftest.err'
34915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34916 (eval $ac_try) 2>&5
34917 ac_status=$?
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); }; } &&
34920 { ac_try='test -s conftest.$ac_objext'
34921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34922 (eval $ac_try) 2>&5
34923 ac_status=$?
34924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34925 (exit $ac_status); }; }; then
34926 glibcxx_cv_func__float_round_use=yes
34927 else
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34930
34931 glibcxx_cv_func__float_round_use=no
34932 fi
34933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34934 ac_ext=c
34935 ac_cpp='$CPP $CPPFLAGS'
34936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34939
34940 fi
34941
34942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
34943 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
34944 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34945
34946
34947 for ac_func in _ceilf _floorf
34948 do
34949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34950 echo "$as_me:$LINENO: checking for $ac_func" >&5
34951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34952 if eval "test \"\${$as_ac_var+set}\" = set"; then
34953 echo $ECHO_N "(cached) $ECHO_C" >&6
34954 else
34955 if test x$gcc_no_link = xyes; then
34956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34958 { (exit 1); exit 1; }; }
34959 fi
34960 cat >conftest.$ac_ext <<_ACEOF
34961 /* confdefs.h. */
34962 _ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34968 #define $ac_func innocuous_$ac_func
34969
34970 /* System header to define __stub macros and hopefully few prototypes,
34971 which can conflict with char $ac_func (); below.
34972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34973 <limits.h> exists even on freestanding compilers. */
34974
34975 #ifdef __STDC__
34976 # include <limits.h>
34977 #else
34978 # include <assert.h>
34979 #endif
34980
34981 #undef $ac_func
34982
34983 /* Override any gcc2 internal prototype to avoid an error. */
34984 #ifdef __cplusplus
34985 extern "C"
34986 {
34987 #endif
34988 /* We use char because int might match the return type of a gcc2
34989 builtin and then its argument prototype would still apply. */
34990 char $ac_func ();
34991 /* The GNU C library defines this for functions which it implements
34992 to always fail with ENOSYS. Some functions are actually named
34993 something starting with __ and the normal name is an alias. */
34994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34995 choke me
34996 #else
34997 char (*f) () = $ac_func;
34998 #endif
34999 #ifdef __cplusplus
35000 }
35001 #endif
35002
35003 int
35004 main ()
35005 {
35006 return f != $ac_func;
35007 ;
35008 return 0;
35009 }
35010 _ACEOF
35011 rm -f conftest.$ac_objext conftest$ac_exeext
35012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35013 (eval $ac_link) 2>conftest.er1
35014 ac_status=$?
35015 grep -v '^ *+' conftest.er1 >conftest.err
35016 rm -f conftest.er1
35017 cat conftest.err >&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } &&
35020 { ac_try='test -z "$ac_c_werror_flag"
35021 || test ! -s conftest.err'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35024 ac_status=$?
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; } &&
35027 { ac_try='test -s conftest$ac_exeext'
35028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35029 (eval $ac_try) 2>&5
35030 ac_status=$?
35031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35032 (exit $ac_status); }; }; then
35033 eval "$as_ac_var=yes"
35034 else
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35037
35038 eval "$as_ac_var=no"
35039 fi
35040 rm -f conftest.err conftest.$ac_objext \
35041 conftest$ac_exeext conftest.$ac_ext
35042 fi
35043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35045 if test `eval echo '${'$as_ac_var'}'` = yes; then
35046 cat >>confdefs.h <<_ACEOF
35047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35048 _ACEOF
35049
35050 fi
35051 done
35052
35053 fi
35054 fi
35055
35056
35057
35058
35059
35060
35061
35062
35063 echo "$as_me:$LINENO: checking for expf declaration" >&5
35064 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
35065 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35066 if test "${glibcxx_cv_func_expf_use+set}" = set; then
35067 echo $ECHO_N "(cached) $ECHO_C" >&6
35068 else
35069
35070
35071
35072 ac_ext=cc
35073 ac_cpp='$CXXCPP $CPPFLAGS'
35074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35077
35078 cat >conftest.$ac_ext <<_ACEOF
35079 /* confdefs.h. */
35080 _ACEOF
35081 cat confdefs.h >>conftest.$ac_ext
35082 cat >>conftest.$ac_ext <<_ACEOF
35083 /* end confdefs.h. */
35084 #include <math.h>
35085 #ifdef HAVE_IEEEFP_H
35086 #include <ieeefp.h>
35087 #endif
35088
35089 int
35090 main ()
35091 {
35092 expf(0);
35093 ;
35094 return 0;
35095 }
35096 _ACEOF
35097 rm -f conftest.$ac_objext
35098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35099 (eval $ac_compile) 2>conftest.er1
35100 ac_status=$?
35101 grep -v '^ *+' conftest.er1 >conftest.err
35102 rm -f conftest.er1
35103 cat conftest.err >&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); } &&
35106 { ac_try='test -z "$ac_cxx_werror_flag"
35107 || test ! -s conftest.err'
35108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35109 (eval $ac_try) 2>&5
35110 ac_status=$?
35111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35112 (exit $ac_status); }; } &&
35113 { ac_try='test -s conftest.$ac_objext'
35114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35115 (eval $ac_try) 2>&5
35116 ac_status=$?
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); }; }; then
35119 glibcxx_cv_func_expf_use=yes
35120 else
35121 echo "$as_me: failed program was:" >&5
35122 sed 's/^/| /' conftest.$ac_ext >&5
35123
35124 glibcxx_cv_func_expf_use=no
35125 fi
35126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35127 ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35132
35133
35134 fi
35135
35136 fi
35137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
35138 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
35139
35140 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35141
35142 for ac_func in expf
35143 do
35144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35145 echo "$as_me:$LINENO: checking for $ac_func" >&5
35146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35147 if eval "test \"\${$as_ac_var+set}\" = set"; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 else
35150 if test x$gcc_no_link = xyes; then
35151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35153 { (exit 1); exit 1; }; }
35154 fi
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35163 #define $ac_func innocuous_$ac_func
35164
35165 /* System header to define __stub macros and hopefully few prototypes,
35166 which can conflict with char $ac_func (); below.
35167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35168 <limits.h> exists even on freestanding compilers. */
35169
35170 #ifdef __STDC__
35171 # include <limits.h>
35172 #else
35173 # include <assert.h>
35174 #endif
35175
35176 #undef $ac_func
35177
35178 /* Override any gcc2 internal prototype to avoid an error. */
35179 #ifdef __cplusplus
35180 extern "C"
35181 {
35182 #endif
35183 /* We use char because int might match the return type of a gcc2
35184 builtin and then its argument prototype would still apply. */
35185 char $ac_func ();
35186 /* The GNU C library defines this for functions which it implements
35187 to always fail with ENOSYS. Some functions are actually named
35188 something starting with __ and the normal name is an alias. */
35189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35190 choke me
35191 #else
35192 char (*f) () = $ac_func;
35193 #endif
35194 #ifdef __cplusplus
35195 }
35196 #endif
35197
35198 int
35199 main ()
35200 {
35201 return f != $ac_func;
35202 ;
35203 return 0;
35204 }
35205 _ACEOF
35206 rm -f conftest.$ac_objext conftest$ac_exeext
35207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35208 (eval $ac_link) 2>conftest.er1
35209 ac_status=$?
35210 grep -v '^ *+' conftest.er1 >conftest.err
35211 rm -f conftest.er1
35212 cat conftest.err >&5
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); } &&
35215 { ac_try='test -z "$ac_c_werror_flag"
35216 || test ! -s conftest.err'
35217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35218 (eval $ac_try) 2>&5
35219 ac_status=$?
35220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35221 (exit $ac_status); }; } &&
35222 { ac_try='test -s conftest$ac_exeext'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35225 ac_status=$?
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }; then
35228 eval "$as_ac_var=yes"
35229 else
35230 echo "$as_me: failed program was:" >&5
35231 sed 's/^/| /' conftest.$ac_ext >&5
35232
35233 eval "$as_ac_var=no"
35234 fi
35235 rm -f conftest.err conftest.$ac_objext \
35236 conftest$ac_exeext conftest.$ac_ext
35237 fi
35238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35240 if test `eval echo '${'$as_ac_var'}'` = yes; then
35241 cat >>confdefs.h <<_ACEOF
35242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35243 _ACEOF
35244
35245 fi
35246 done
35247
35248 else
35249
35250 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35251 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35252 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35253 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35254 echo $ECHO_N "(cached) $ECHO_C" >&6
35255 else
35256
35257
35258
35259 ac_ext=cc
35260 ac_cpp='$CXXCPP $CPPFLAGS'
35261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35264
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 #include <math.h>
35272 #ifdef HAVE_IEEEFP_H
35273 #include <ieeefp.h>
35274 #endif
35275
35276 int
35277 main ()
35278 {
35279 _expf(0);
35280 ;
35281 return 0;
35282 }
35283 _ACEOF
35284 rm -f conftest.$ac_objext
35285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35286 (eval $ac_compile) 2>conftest.er1
35287 ac_status=$?
35288 grep -v '^ *+' conftest.er1 >conftest.err
35289 rm -f conftest.er1
35290 cat conftest.err >&5
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); } &&
35293 { ac_try='test -z "$ac_cxx_werror_flag"
35294 || test ! -s conftest.err'
35295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35296 (eval $ac_try) 2>&5
35297 ac_status=$?
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); }; } &&
35300 { ac_try='test -s conftest.$ac_objext'
35301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35302 (eval $ac_try) 2>&5
35303 ac_status=$?
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); }; }; then
35306 glibcxx_cv_func__expf_use=yes
35307 else
35308 echo "$as_me: failed program was:" >&5
35309 sed 's/^/| /' conftest.$ac_ext >&5
35310
35311 glibcxx_cv_func__expf_use=no
35312 fi
35313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35314 ac_ext=c
35315 ac_cpp='$CPP $CPPFLAGS'
35316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35319
35320
35321 fi
35322
35323 fi
35324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35325 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35326
35327 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35328
35329 for ac_func in _expf
35330 do
35331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35332 echo "$as_me:$LINENO: checking for $ac_func" >&5
35333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35334 if eval "test \"\${$as_ac_var+set}\" = set"; then
35335 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 else
35337 if test x$gcc_no_link = xyes; then
35338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35340 { (exit 1); exit 1; }; }
35341 fi
35342 cat >conftest.$ac_ext <<_ACEOF
35343 /* confdefs.h. */
35344 _ACEOF
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35350 #define $ac_func innocuous_$ac_func
35351
35352 /* System header to define __stub macros and hopefully few prototypes,
35353 which can conflict with char $ac_func (); below.
35354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35355 <limits.h> exists even on freestanding compilers. */
35356
35357 #ifdef __STDC__
35358 # include <limits.h>
35359 #else
35360 # include <assert.h>
35361 #endif
35362
35363 #undef $ac_func
35364
35365 /* Override any gcc2 internal prototype to avoid an error. */
35366 #ifdef __cplusplus
35367 extern "C"
35368 {
35369 #endif
35370 /* We use char because int might match the return type of a gcc2
35371 builtin and then its argument prototype would still apply. */
35372 char $ac_func ();
35373 /* The GNU C library defines this for functions which it implements
35374 to always fail with ENOSYS. Some functions are actually named
35375 something starting with __ and the normal name is an alias. */
35376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35377 choke me
35378 #else
35379 char (*f) () = $ac_func;
35380 #endif
35381 #ifdef __cplusplus
35382 }
35383 #endif
35384
35385 int
35386 main ()
35387 {
35388 return f != $ac_func;
35389 ;
35390 return 0;
35391 }
35392 _ACEOF
35393 rm -f conftest.$ac_objext conftest$ac_exeext
35394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35395 (eval $ac_link) 2>conftest.er1
35396 ac_status=$?
35397 grep -v '^ *+' conftest.er1 >conftest.err
35398 rm -f conftest.er1
35399 cat conftest.err >&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } &&
35402 { ac_try='test -z "$ac_c_werror_flag"
35403 || test ! -s conftest.err'
35404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35405 (eval $ac_try) 2>&5
35406 ac_status=$?
35407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35408 (exit $ac_status); }; } &&
35409 { ac_try='test -s conftest$ac_exeext'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35412 ac_status=$?
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; }; then
35415 eval "$as_ac_var=yes"
35416 else
35417 echo "$as_me: failed program was:" >&5
35418 sed 's/^/| /' conftest.$ac_ext >&5
35419
35420 eval "$as_ac_var=no"
35421 fi
35422 rm -f conftest.err conftest.$ac_objext \
35423 conftest$ac_exeext conftest.$ac_ext
35424 fi
35425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35427 if test `eval echo '${'$as_ac_var'}'` = yes; then
35428 cat >>confdefs.h <<_ACEOF
35429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35430 _ACEOF
35431
35432 fi
35433 done
35434
35435 fi
35436 fi
35437
35438
35439
35440
35441
35442
35443 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35444 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35445 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35446 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35447 echo $ECHO_N "(cached) $ECHO_C" >&6
35448 else
35449
35450
35451
35452 ac_ext=cc
35453 ac_cpp='$CXXCPP $CPPFLAGS'
35454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35457
35458 cat >conftest.$ac_ext <<_ACEOF
35459 /* confdefs.h. */
35460 _ACEOF
35461 cat confdefs.h >>conftest.$ac_ext
35462 cat >>conftest.$ac_ext <<_ACEOF
35463 /* end confdefs.h. */
35464 #include <math.h>
35465 #ifdef HAVE_IEEEFP_H
35466 #include <ieeefp.h>
35467 #endif
35468
35469 int
35470 main ()
35471 {
35472 isnanf(0);
35473 ;
35474 return 0;
35475 }
35476 _ACEOF
35477 rm -f conftest.$ac_objext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35479 (eval $ac_compile) 2>conftest.er1
35480 ac_status=$?
35481 grep -v '^ *+' conftest.er1 >conftest.err
35482 rm -f conftest.er1
35483 cat conftest.err >&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try='test -z "$ac_cxx_werror_flag"
35487 || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try='test -s conftest.$ac_objext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35496 ac_status=$?
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35499 glibcxx_cv_func_isnanf_use=yes
35500 else
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35503
35504 glibcxx_cv_func_isnanf_use=no
35505 fi
35506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35507 ac_ext=c
35508 ac_cpp='$CPP $CPPFLAGS'
35509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35512
35513
35514 fi
35515
35516 fi
35517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35518 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35519
35520 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35521
35522 for ac_func in isnanf
35523 do
35524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35525 echo "$as_me:$LINENO: checking for $ac_func" >&5
35526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35527 if eval "test \"\${$as_ac_var+set}\" = set"; then
35528 echo $ECHO_N "(cached) $ECHO_C" >&6
35529 else
35530 if test x$gcc_no_link = xyes; then
35531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35533 { (exit 1); exit 1; }; }
35534 fi
35535 cat >conftest.$ac_ext <<_ACEOF
35536 /* confdefs.h. */
35537 _ACEOF
35538 cat confdefs.h >>conftest.$ac_ext
35539 cat >>conftest.$ac_ext <<_ACEOF
35540 /* end confdefs.h. */
35541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35543 #define $ac_func innocuous_$ac_func
35544
35545 /* System header to define __stub macros and hopefully few prototypes,
35546 which can conflict with char $ac_func (); below.
35547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35548 <limits.h> exists even on freestanding compilers. */
35549
35550 #ifdef __STDC__
35551 # include <limits.h>
35552 #else
35553 # include <assert.h>
35554 #endif
35555
35556 #undef $ac_func
35557
35558 /* Override any gcc2 internal prototype to avoid an error. */
35559 #ifdef __cplusplus
35560 extern "C"
35561 {
35562 #endif
35563 /* We use char because int might match the return type of a gcc2
35564 builtin and then its argument prototype would still apply. */
35565 char $ac_func ();
35566 /* The GNU C library defines this for functions which it implements
35567 to always fail with ENOSYS. Some functions are actually named
35568 something starting with __ and the normal name is an alias. */
35569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35570 choke me
35571 #else
35572 char (*f) () = $ac_func;
35573 #endif
35574 #ifdef __cplusplus
35575 }
35576 #endif
35577
35578 int
35579 main ()
35580 {
35581 return f != $ac_func;
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 rm -f conftest.$ac_objext conftest$ac_exeext
35587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35588 (eval $ac_link) 2>conftest.er1
35589 ac_status=$?
35590 grep -v '^ *+' conftest.er1 >conftest.err
35591 rm -f conftest.er1
35592 cat conftest.err >&5
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); } &&
35595 { ac_try='test -z "$ac_c_werror_flag"
35596 || test ! -s conftest.err'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35599 ac_status=$?
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; } &&
35602 { ac_try='test -s conftest$ac_exeext'
35603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35604 (eval $ac_try) 2>&5
35605 ac_status=$?
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); }; }; then
35608 eval "$as_ac_var=yes"
35609 else
35610 echo "$as_me: failed program was:" >&5
35611 sed 's/^/| /' conftest.$ac_ext >&5
35612
35613 eval "$as_ac_var=no"
35614 fi
35615 rm -f conftest.err conftest.$ac_objext \
35616 conftest$ac_exeext conftest.$ac_ext
35617 fi
35618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35620 if test `eval echo '${'$as_ac_var'}'` = yes; then
35621 cat >>confdefs.h <<_ACEOF
35622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35623 _ACEOF
35624
35625 fi
35626 done
35627
35628 else
35629
35630 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35631 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35632 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35633 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35635 else
35636
35637
35638
35639 ac_ext=cc
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35644
35645 cat >conftest.$ac_ext <<_ACEOF
35646 /* confdefs.h. */
35647 _ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 #include <math.h>
35652 #ifdef HAVE_IEEEFP_H
35653 #include <ieeefp.h>
35654 #endif
35655
35656 int
35657 main ()
35658 {
35659 _isnanf(0);
35660 ;
35661 return 0;
35662 }
35663 _ACEOF
35664 rm -f conftest.$ac_objext
35665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35666 (eval $ac_compile) 2>conftest.er1
35667 ac_status=$?
35668 grep -v '^ *+' conftest.er1 >conftest.err
35669 rm -f conftest.er1
35670 cat conftest.err >&5
35671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672 (exit $ac_status); } &&
35673 { ac_try='test -z "$ac_cxx_werror_flag"
35674 || test ! -s conftest.err'
35675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35676 (eval $ac_try) 2>&5
35677 ac_status=$?
35678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35679 (exit $ac_status); }; } &&
35680 { ac_try='test -s conftest.$ac_objext'
35681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35682 (eval $ac_try) 2>&5
35683 ac_status=$?
35684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35685 (exit $ac_status); }; }; then
35686 glibcxx_cv_func__isnanf_use=yes
35687 else
35688 echo "$as_me: failed program was:" >&5
35689 sed 's/^/| /' conftest.$ac_ext >&5
35690
35691 glibcxx_cv_func__isnanf_use=no
35692 fi
35693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35694 ac_ext=c
35695 ac_cpp='$CPP $CPPFLAGS'
35696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35699
35700
35701 fi
35702
35703 fi
35704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35705 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35706
35707 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35708
35709 for ac_func in _isnanf
35710 do
35711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35712 echo "$as_me:$LINENO: checking for $ac_func" >&5
35713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35714 if eval "test \"\${$as_ac_var+set}\" = set"; then
35715 echo $ECHO_N "(cached) $ECHO_C" >&6
35716 else
35717 if test x$gcc_no_link = xyes; then
35718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35720 { (exit 1); exit 1; }; }
35721 fi
35722 cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h. */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h. */
35728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35730 #define $ac_func innocuous_$ac_func
35731
35732 /* System header to define __stub macros and hopefully few prototypes,
35733 which can conflict with char $ac_func (); below.
35734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35735 <limits.h> exists even on freestanding compilers. */
35736
35737 #ifdef __STDC__
35738 # include <limits.h>
35739 #else
35740 # include <assert.h>
35741 #endif
35742
35743 #undef $ac_func
35744
35745 /* Override any gcc2 internal prototype to avoid an error. */
35746 #ifdef __cplusplus
35747 extern "C"
35748 {
35749 #endif
35750 /* We use char because int might match the return type of a gcc2
35751 builtin and then its argument prototype would still apply. */
35752 char $ac_func ();
35753 /* The GNU C library defines this for functions which it implements
35754 to always fail with ENOSYS. Some functions are actually named
35755 something starting with __ and the normal name is an alias. */
35756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35757 choke me
35758 #else
35759 char (*f) () = $ac_func;
35760 #endif
35761 #ifdef __cplusplus
35762 }
35763 #endif
35764
35765 int
35766 main ()
35767 {
35768 return f != $ac_func;
35769 ;
35770 return 0;
35771 }
35772 _ACEOF
35773 rm -f conftest.$ac_objext conftest$ac_exeext
35774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35775 (eval $ac_link) 2>conftest.er1
35776 ac_status=$?
35777 grep -v '^ *+' conftest.er1 >conftest.err
35778 rm -f conftest.er1
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } &&
35782 { ac_try='test -z "$ac_c_werror_flag"
35783 || test ! -s conftest.err'
35784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35785 (eval $ac_try) 2>&5
35786 ac_status=$?
35787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35788 (exit $ac_status); }; } &&
35789 { ac_try='test -s conftest$ac_exeext'
35790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35791 (eval $ac_try) 2>&5
35792 ac_status=$?
35793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 (exit $ac_status); }; }; then
35795 eval "$as_ac_var=yes"
35796 else
35797 echo "$as_me: failed program was:" >&5
35798 sed 's/^/| /' conftest.$ac_ext >&5
35799
35800 eval "$as_ac_var=no"
35801 fi
35802 rm -f conftest.err conftest.$ac_objext \
35803 conftest$ac_exeext conftest.$ac_ext
35804 fi
35805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35807 if test `eval echo '${'$as_ac_var'}'` = yes; then
35808 cat >>confdefs.h <<_ACEOF
35809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35810 _ACEOF
35811
35812 fi
35813 done
35814
35815 fi
35816 fi
35817
35818
35819
35820
35821
35822
35823 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35824 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35825 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35826 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35827 echo $ECHO_N "(cached) $ECHO_C" >&6
35828 else
35829
35830
35831
35832 ac_ext=cc
35833 ac_cpp='$CXXCPP $CPPFLAGS'
35834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35837
35838 cat >conftest.$ac_ext <<_ACEOF
35839 /* confdefs.h. */
35840 _ACEOF
35841 cat confdefs.h >>conftest.$ac_ext
35842 cat >>conftest.$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844 #include <math.h>
35845 #ifdef HAVE_IEEEFP_H
35846 #include <ieeefp.h>
35847 #endif
35848
35849 int
35850 main ()
35851 {
35852 isinff(0);
35853 ;
35854 return 0;
35855 }
35856 _ACEOF
35857 rm -f conftest.$ac_objext
35858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35859 (eval $ac_compile) 2>conftest.er1
35860 ac_status=$?
35861 grep -v '^ *+' conftest.er1 >conftest.err
35862 rm -f conftest.er1
35863 cat conftest.err >&5
35864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865 (exit $ac_status); } &&
35866 { ac_try='test -z "$ac_cxx_werror_flag"
35867 || test ! -s conftest.err'
35868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35869 (eval $ac_try) 2>&5
35870 ac_status=$?
35871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35872 (exit $ac_status); }; } &&
35873 { ac_try='test -s conftest.$ac_objext'
35874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35875 (eval $ac_try) 2>&5
35876 ac_status=$?
35877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35878 (exit $ac_status); }; }; then
35879 glibcxx_cv_func_isinff_use=yes
35880 else
35881 echo "$as_me: failed program was:" >&5
35882 sed 's/^/| /' conftest.$ac_ext >&5
35883
35884 glibcxx_cv_func_isinff_use=no
35885 fi
35886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35892
35893
35894 fi
35895
35896 fi
35897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35898 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35899
35900 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35901
35902 for ac_func in isinff
35903 do
35904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35905 echo "$as_me:$LINENO: checking for $ac_func" >&5
35906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35907 if eval "test \"\${$as_ac_var+set}\" = set"; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35909 else
35910 if test x$gcc_no_link = xyes; then
35911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35913 { (exit 1); exit 1; }; }
35914 fi
35915 cat >conftest.$ac_ext <<_ACEOF
35916 /* confdefs.h. */
35917 _ACEOF
35918 cat confdefs.h >>conftest.$ac_ext
35919 cat >>conftest.$ac_ext <<_ACEOF
35920 /* end confdefs.h. */
35921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35923 #define $ac_func innocuous_$ac_func
35924
35925 /* System header to define __stub macros and hopefully few prototypes,
35926 which can conflict with char $ac_func (); below.
35927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35928 <limits.h> exists even on freestanding compilers. */
35929
35930 #ifdef __STDC__
35931 # include <limits.h>
35932 #else
35933 # include <assert.h>
35934 #endif
35935
35936 #undef $ac_func
35937
35938 /* Override any gcc2 internal prototype to avoid an error. */
35939 #ifdef __cplusplus
35940 extern "C"
35941 {
35942 #endif
35943 /* We use char because int might match the return type of a gcc2
35944 builtin and then its argument prototype would still apply. */
35945 char $ac_func ();
35946 /* The GNU C library defines this for functions which it implements
35947 to always fail with ENOSYS. Some functions are actually named
35948 something starting with __ and the normal name is an alias. */
35949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35950 choke me
35951 #else
35952 char (*f) () = $ac_func;
35953 #endif
35954 #ifdef __cplusplus
35955 }
35956 #endif
35957
35958 int
35959 main ()
35960 {
35961 return f != $ac_func;
35962 ;
35963 return 0;
35964 }
35965 _ACEOF
35966 rm -f conftest.$ac_objext conftest$ac_exeext
35967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35968 (eval $ac_link) 2>conftest.er1
35969 ac_status=$?
35970 grep -v '^ *+' conftest.er1 >conftest.err
35971 rm -f conftest.er1
35972 cat conftest.err >&5
35973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35974 (exit $ac_status); } &&
35975 { ac_try='test -z "$ac_c_werror_flag"
35976 || test ! -s conftest.err'
35977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35978 (eval $ac_try) 2>&5
35979 ac_status=$?
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); }; } &&
35982 { ac_try='test -s conftest$ac_exeext'
35983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35984 (eval $ac_try) 2>&5
35985 ac_status=$?
35986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35987 (exit $ac_status); }; }; then
35988 eval "$as_ac_var=yes"
35989 else
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35992
35993 eval "$as_ac_var=no"
35994 fi
35995 rm -f conftest.err conftest.$ac_objext \
35996 conftest$ac_exeext conftest.$ac_ext
35997 fi
35998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36000 if test `eval echo '${'$as_ac_var'}'` = yes; then
36001 cat >>confdefs.h <<_ACEOF
36002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36003 _ACEOF
36004
36005 fi
36006 done
36007
36008 else
36009
36010 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
36011 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
36012 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36013 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 else
36016
36017
36018
36019 ac_ext=cc
36020 ac_cpp='$CXXCPP $CPPFLAGS'
36021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36024
36025 cat >conftest.$ac_ext <<_ACEOF
36026 /* confdefs.h. */
36027 _ACEOF
36028 cat confdefs.h >>conftest.$ac_ext
36029 cat >>conftest.$ac_ext <<_ACEOF
36030 /* end confdefs.h. */
36031 #include <math.h>
36032 #ifdef HAVE_IEEEFP_H
36033 #include <ieeefp.h>
36034 #endif
36035
36036 int
36037 main ()
36038 {
36039 _isinff(0);
36040 ;
36041 return 0;
36042 }
36043 _ACEOF
36044 rm -f conftest.$ac_objext
36045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36046 (eval $ac_compile) 2>conftest.er1
36047 ac_status=$?
36048 grep -v '^ *+' conftest.er1 >conftest.err
36049 rm -f conftest.er1
36050 cat conftest.err >&5
36051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052 (exit $ac_status); } &&
36053 { ac_try='test -z "$ac_cxx_werror_flag"
36054 || test ! -s conftest.err'
36055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36056 (eval $ac_try) 2>&5
36057 ac_status=$?
36058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36059 (exit $ac_status); }; } &&
36060 { ac_try='test -s conftest.$ac_objext'
36061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36062 (eval $ac_try) 2>&5
36063 ac_status=$?
36064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36065 (exit $ac_status); }; }; then
36066 glibcxx_cv_func__isinff_use=yes
36067 else
36068 echo "$as_me: failed program was:" >&5
36069 sed 's/^/| /' conftest.$ac_ext >&5
36070
36071 glibcxx_cv_func__isinff_use=no
36072 fi
36073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36074 ac_ext=c
36075 ac_cpp='$CPP $CPPFLAGS'
36076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36079
36080
36081 fi
36082
36083 fi
36084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
36085 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
36086
36087 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36088
36089 for ac_func in _isinff
36090 do
36091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36092 echo "$as_me:$LINENO: checking for $ac_func" >&5
36093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36094 if eval "test \"\${$as_ac_var+set}\" = set"; then
36095 echo $ECHO_N "(cached) $ECHO_C" >&6
36096 else
36097 if test x$gcc_no_link = xyes; then
36098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36100 { (exit 1); exit 1; }; }
36101 fi
36102 cat >conftest.$ac_ext <<_ACEOF
36103 /* confdefs.h. */
36104 _ACEOF
36105 cat confdefs.h >>conftest.$ac_ext
36106 cat >>conftest.$ac_ext <<_ACEOF
36107 /* end confdefs.h. */
36108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36110 #define $ac_func innocuous_$ac_func
36111
36112 /* System header to define __stub macros and hopefully few prototypes,
36113 which can conflict with char $ac_func (); below.
36114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36115 <limits.h> exists even on freestanding compilers. */
36116
36117 #ifdef __STDC__
36118 # include <limits.h>
36119 #else
36120 # include <assert.h>
36121 #endif
36122
36123 #undef $ac_func
36124
36125 /* Override any gcc2 internal prototype to avoid an error. */
36126 #ifdef __cplusplus
36127 extern "C"
36128 {
36129 #endif
36130 /* We use char because int might match the return type of a gcc2
36131 builtin and then its argument prototype would still apply. */
36132 char $ac_func ();
36133 /* The GNU C library defines this for functions which it implements
36134 to always fail with ENOSYS. Some functions are actually named
36135 something starting with __ and the normal name is an alias. */
36136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36137 choke me
36138 #else
36139 char (*f) () = $ac_func;
36140 #endif
36141 #ifdef __cplusplus
36142 }
36143 #endif
36144
36145 int
36146 main ()
36147 {
36148 return f != $ac_func;
36149 ;
36150 return 0;
36151 }
36152 _ACEOF
36153 rm -f conftest.$ac_objext conftest$ac_exeext
36154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36155 (eval $ac_link) 2>conftest.er1
36156 ac_status=$?
36157 grep -v '^ *+' conftest.er1 >conftest.err
36158 rm -f conftest.er1
36159 cat conftest.err >&5
36160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36161 (exit $ac_status); } &&
36162 { ac_try='test -z "$ac_c_werror_flag"
36163 || test ! -s conftest.err'
36164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36165 (eval $ac_try) 2>&5
36166 ac_status=$?
36167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36168 (exit $ac_status); }; } &&
36169 { ac_try='test -s conftest$ac_exeext'
36170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36171 (eval $ac_try) 2>&5
36172 ac_status=$?
36173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36174 (exit $ac_status); }; }; then
36175 eval "$as_ac_var=yes"
36176 else
36177 echo "$as_me: failed program was:" >&5
36178 sed 's/^/| /' conftest.$ac_ext >&5
36179
36180 eval "$as_ac_var=no"
36181 fi
36182 rm -f conftest.err conftest.$ac_objext \
36183 conftest$ac_exeext conftest.$ac_ext
36184 fi
36185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36187 if test `eval echo '${'$as_ac_var'}'` = yes; then
36188 cat >>confdefs.h <<_ACEOF
36189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36190 _ACEOF
36191
36192 fi
36193 done
36194
36195 fi
36196 fi
36197
36198
36199
36200
36201
36202
36203 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
36204 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
36205 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36206 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 else
36209
36210
36211
36212 ac_ext=cc
36213 ac_cpp='$CXXCPP $CPPFLAGS'
36214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36217
36218 cat >conftest.$ac_ext <<_ACEOF
36219 /* confdefs.h. */
36220 _ACEOF
36221 cat confdefs.h >>conftest.$ac_ext
36222 cat >>conftest.$ac_ext <<_ACEOF
36223 /* end confdefs.h. */
36224 #include <math.h>
36225 int
36226 main ()
36227 {
36228 atan2f(0, 0);
36229 ;
36230 return 0;
36231 }
36232 _ACEOF
36233 rm -f conftest.$ac_objext
36234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36235 (eval $ac_compile) 2>conftest.er1
36236 ac_status=$?
36237 grep -v '^ *+' conftest.er1 >conftest.err
36238 rm -f conftest.er1
36239 cat conftest.err >&5
36240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36241 (exit $ac_status); } &&
36242 { ac_try='test -z "$ac_cxx_werror_flag"
36243 || test ! -s conftest.err'
36244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36245 (eval $ac_try) 2>&5
36246 ac_status=$?
36247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36248 (exit $ac_status); }; } &&
36249 { ac_try='test -s conftest.$ac_objext'
36250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36251 (eval $ac_try) 2>&5
36252 ac_status=$?
36253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36254 (exit $ac_status); }; }; then
36255 glibcxx_cv_func_atan2f_use=yes
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 glibcxx_cv_func_atan2f_use=no
36261 fi
36262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36263 ac_ext=c
36264 ac_cpp='$CPP $CPPFLAGS'
36265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36268
36269
36270 fi
36271
36272 fi
36273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36274 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36275
36276 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36277
36278 for ac_func in atan2f
36279 do
36280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36281 echo "$as_me:$LINENO: checking for $ac_func" >&5
36282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36283 if eval "test \"\${$as_ac_var+set}\" = set"; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36285 else
36286 if test x$gcc_no_link = xyes; then
36287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36289 { (exit 1); exit 1; }; }
36290 fi
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef $ac_func
36313
36314 /* Override any gcc2 internal prototype to avoid an error. */
36315 #ifdef __cplusplus
36316 extern "C"
36317 {
36318 #endif
36319 /* We use char because int might match the return type of a gcc2
36320 builtin and then its argument prototype would still apply. */
36321 char $ac_func ();
36322 /* The GNU C library defines this for functions which it implements
36323 to always fail with ENOSYS. Some functions are actually named
36324 something starting with __ and the normal name is an alias. */
36325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36326 choke me
36327 #else
36328 char (*f) () = $ac_func;
36329 #endif
36330 #ifdef __cplusplus
36331 }
36332 #endif
36333
36334 int
36335 main ()
36336 {
36337 return f != $ac_func;
36338 ;
36339 return 0;
36340 }
36341 _ACEOF
36342 rm -f conftest.$ac_objext conftest$ac_exeext
36343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36344 (eval $ac_link) 2>conftest.er1
36345 ac_status=$?
36346 grep -v '^ *+' conftest.er1 >conftest.err
36347 rm -f conftest.er1
36348 cat conftest.err >&5
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); } &&
36351 { ac_try='test -z "$ac_c_werror_flag"
36352 || test ! -s conftest.err'
36353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354 (eval $ac_try) 2>&5
36355 ac_status=$?
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); }; } &&
36358 { ac_try='test -s conftest$ac_exeext'
36359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36360 (eval $ac_try) 2>&5
36361 ac_status=$?
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); }; }; then
36364 eval "$as_ac_var=yes"
36365 else
36366 echo "$as_me: failed program was:" >&5
36367 sed 's/^/| /' conftest.$ac_ext >&5
36368
36369 eval "$as_ac_var=no"
36370 fi
36371 rm -f conftest.err conftest.$ac_objext \
36372 conftest$ac_exeext conftest.$ac_ext
36373 fi
36374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36376 if test `eval echo '${'$as_ac_var'}'` = yes; then
36377 cat >>confdefs.h <<_ACEOF
36378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36379 _ACEOF
36380
36381 fi
36382 done
36383
36384 else
36385
36386 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36387 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36388 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36389 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36391 else
36392
36393
36394
36395 ac_ext=cc
36396 ac_cpp='$CXXCPP $CPPFLAGS'
36397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36400
36401 cat >conftest.$ac_ext <<_ACEOF
36402 /* confdefs.h. */
36403 _ACEOF
36404 cat confdefs.h >>conftest.$ac_ext
36405 cat >>conftest.$ac_ext <<_ACEOF
36406 /* end confdefs.h. */
36407 #include <math.h>
36408 int
36409 main ()
36410 {
36411 _atan2f(0, 0);
36412 ;
36413 return 0;
36414 }
36415 _ACEOF
36416 rm -f conftest.$ac_objext
36417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36418 (eval $ac_compile) 2>conftest.er1
36419 ac_status=$?
36420 grep -v '^ *+' conftest.er1 >conftest.err
36421 rm -f conftest.er1
36422 cat conftest.err >&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); } &&
36425 { ac_try='test -z "$ac_cxx_werror_flag"
36426 || test ! -s conftest.err'
36427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36428 (eval $ac_try) 2>&5
36429 ac_status=$?
36430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36431 (exit $ac_status); }; } &&
36432 { ac_try='test -s conftest.$ac_objext'
36433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434 (eval $ac_try) 2>&5
36435 ac_status=$?
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); }; }; then
36438 glibcxx_cv_func__atan2f_use=yes
36439 else
36440 echo "$as_me: failed program was:" >&5
36441 sed 's/^/| /' conftest.$ac_ext >&5
36442
36443 glibcxx_cv_func__atan2f_use=no
36444 fi
36445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36446 ac_ext=c
36447 ac_cpp='$CPP $CPPFLAGS'
36448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451
36452
36453 fi
36454
36455 fi
36456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36457 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36458
36459 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36460
36461 for ac_func in _atan2f
36462 do
36463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36464 echo "$as_me:$LINENO: checking for $ac_func" >&5
36465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36466 if eval "test \"\${$as_ac_var+set}\" = set"; then
36467 echo $ECHO_N "(cached) $ECHO_C" >&6
36468 else
36469 if test x$gcc_no_link = xyes; then
36470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36472 { (exit 1); exit 1; }; }
36473 fi
36474 cat >conftest.$ac_ext <<_ACEOF
36475 /* confdefs.h. */
36476 _ACEOF
36477 cat confdefs.h >>conftest.$ac_ext
36478 cat >>conftest.$ac_ext <<_ACEOF
36479 /* end confdefs.h. */
36480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36482 #define $ac_func innocuous_$ac_func
36483
36484 /* System header to define __stub macros and hopefully few prototypes,
36485 which can conflict with char $ac_func (); below.
36486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36487 <limits.h> exists even on freestanding compilers. */
36488
36489 #ifdef __STDC__
36490 # include <limits.h>
36491 #else
36492 # include <assert.h>
36493 #endif
36494
36495 #undef $ac_func
36496
36497 /* Override any gcc2 internal prototype to avoid an error. */
36498 #ifdef __cplusplus
36499 extern "C"
36500 {
36501 #endif
36502 /* We use char because int might match the return type of a gcc2
36503 builtin and then its argument prototype would still apply. */
36504 char $ac_func ();
36505 /* The GNU C library defines this for functions which it implements
36506 to always fail with ENOSYS. Some functions are actually named
36507 something starting with __ and the normal name is an alias. */
36508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36509 choke me
36510 #else
36511 char (*f) () = $ac_func;
36512 #endif
36513 #ifdef __cplusplus
36514 }
36515 #endif
36516
36517 int
36518 main ()
36519 {
36520 return f != $ac_func;
36521 ;
36522 return 0;
36523 }
36524 _ACEOF
36525 rm -f conftest.$ac_objext conftest$ac_exeext
36526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36527 (eval $ac_link) 2>conftest.er1
36528 ac_status=$?
36529 grep -v '^ *+' conftest.er1 >conftest.err
36530 rm -f conftest.er1
36531 cat conftest.err >&5
36532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36533 (exit $ac_status); } &&
36534 { ac_try='test -z "$ac_c_werror_flag"
36535 || test ! -s conftest.err'
36536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36537 (eval $ac_try) 2>&5
36538 ac_status=$?
36539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36540 (exit $ac_status); }; } &&
36541 { ac_try='test -s conftest$ac_exeext'
36542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36543 (eval $ac_try) 2>&5
36544 ac_status=$?
36545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36546 (exit $ac_status); }; }; then
36547 eval "$as_ac_var=yes"
36548 else
36549 echo "$as_me: failed program was:" >&5
36550 sed 's/^/| /' conftest.$ac_ext >&5
36551
36552 eval "$as_ac_var=no"
36553 fi
36554 rm -f conftest.err conftest.$ac_objext \
36555 conftest$ac_exeext conftest.$ac_ext
36556 fi
36557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36559 if test `eval echo '${'$as_ac_var'}'` = yes; then
36560 cat >>confdefs.h <<_ACEOF
36561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36562 _ACEOF
36563
36564 fi
36565 done
36566
36567 fi
36568 fi
36569
36570
36571
36572
36573
36574
36575 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36576 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36577 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36578 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36579 echo $ECHO_N "(cached) $ECHO_C" >&6
36580 else
36581
36582
36583
36584 ac_ext=cc
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589
36590 cat >conftest.$ac_ext <<_ACEOF
36591 /* confdefs.h. */
36592 _ACEOF
36593 cat confdefs.h >>conftest.$ac_ext
36594 cat >>conftest.$ac_ext <<_ACEOF
36595 /* end confdefs.h. */
36596 #include <math.h>
36597 #ifdef HAVE_IEEEFP_H
36598 #include <ieeefp.h>
36599 #endif
36600
36601 int
36602 main ()
36603 {
36604 fabsf(0);
36605 ;
36606 return 0;
36607 }
36608 _ACEOF
36609 rm -f conftest.$ac_objext
36610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36611 (eval $ac_compile) 2>conftest.er1
36612 ac_status=$?
36613 grep -v '^ *+' conftest.er1 >conftest.err
36614 rm -f conftest.er1
36615 cat conftest.err >&5
36616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36617 (exit $ac_status); } &&
36618 { ac_try='test -z "$ac_cxx_werror_flag"
36619 || test ! -s conftest.err'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; } &&
36625 { ac_try='test -s conftest.$ac_objext'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36628 ac_status=$?
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; }; then
36631 glibcxx_cv_func_fabsf_use=yes
36632 else
36633 echo "$as_me: failed program was:" >&5
36634 sed 's/^/| /' conftest.$ac_ext >&5
36635
36636 glibcxx_cv_func_fabsf_use=no
36637 fi
36638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644
36645
36646 fi
36647
36648 fi
36649 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36650 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36651
36652 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36653
36654 for ac_func in fabsf
36655 do
36656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36657 echo "$as_me:$LINENO: checking for $ac_func" >&5
36658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36659 if eval "test \"\${$as_ac_var+set}\" = set"; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 else
36662 if test x$gcc_no_link = xyes; then
36663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36665 { (exit 1); exit 1; }; }
36666 fi
36667 cat >conftest.$ac_ext <<_ACEOF
36668 /* confdefs.h. */
36669 _ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36675 #define $ac_func innocuous_$ac_func
36676
36677 /* System header to define __stub macros and hopefully few prototypes,
36678 which can conflict with char $ac_func (); below.
36679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36680 <limits.h> exists even on freestanding compilers. */
36681
36682 #ifdef __STDC__
36683 # include <limits.h>
36684 #else
36685 # include <assert.h>
36686 #endif
36687
36688 #undef $ac_func
36689
36690 /* Override any gcc2 internal prototype to avoid an error. */
36691 #ifdef __cplusplus
36692 extern "C"
36693 {
36694 #endif
36695 /* We use char because int might match the return type of a gcc2
36696 builtin and then its argument prototype would still apply. */
36697 char $ac_func ();
36698 /* The GNU C library defines this for functions which it implements
36699 to always fail with ENOSYS. Some functions are actually named
36700 something starting with __ and the normal name is an alias. */
36701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36702 choke me
36703 #else
36704 char (*f) () = $ac_func;
36705 #endif
36706 #ifdef __cplusplus
36707 }
36708 #endif
36709
36710 int
36711 main ()
36712 {
36713 return f != $ac_func;
36714 ;
36715 return 0;
36716 }
36717 _ACEOF
36718 rm -f conftest.$ac_objext conftest$ac_exeext
36719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36720 (eval $ac_link) 2>conftest.er1
36721 ac_status=$?
36722 grep -v '^ *+' conftest.er1 >conftest.err
36723 rm -f conftest.er1
36724 cat conftest.err >&5
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); } &&
36727 { ac_try='test -z "$ac_c_werror_flag"
36728 || test ! -s conftest.err'
36729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36730 (eval $ac_try) 2>&5
36731 ac_status=$?
36732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36733 (exit $ac_status); }; } &&
36734 { ac_try='test -s conftest$ac_exeext'
36735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36736 (eval $ac_try) 2>&5
36737 ac_status=$?
36738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36739 (exit $ac_status); }; }; then
36740 eval "$as_ac_var=yes"
36741 else
36742 echo "$as_me: failed program was:" >&5
36743 sed 's/^/| /' conftest.$ac_ext >&5
36744
36745 eval "$as_ac_var=no"
36746 fi
36747 rm -f conftest.err conftest.$ac_objext \
36748 conftest$ac_exeext conftest.$ac_ext
36749 fi
36750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36752 if test `eval echo '${'$as_ac_var'}'` = yes; then
36753 cat >>confdefs.h <<_ACEOF
36754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36755 _ACEOF
36756
36757 fi
36758 done
36759
36760 else
36761
36762 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36763 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36764 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36765 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36766 echo $ECHO_N "(cached) $ECHO_C" >&6
36767 else
36768
36769
36770
36771 ac_ext=cc
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776
36777 cat >conftest.$ac_ext <<_ACEOF
36778 /* confdefs.h. */
36779 _ACEOF
36780 cat confdefs.h >>conftest.$ac_ext
36781 cat >>conftest.$ac_ext <<_ACEOF
36782 /* end confdefs.h. */
36783 #include <math.h>
36784 #ifdef HAVE_IEEEFP_H
36785 #include <ieeefp.h>
36786 #endif
36787
36788 int
36789 main ()
36790 {
36791 _fabsf(0);
36792 ;
36793 return 0;
36794 }
36795 _ACEOF
36796 rm -f conftest.$ac_objext
36797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36798 (eval $ac_compile) 2>conftest.er1
36799 ac_status=$?
36800 grep -v '^ *+' conftest.er1 >conftest.err
36801 rm -f conftest.er1
36802 cat conftest.err >&5
36803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36804 (exit $ac_status); } &&
36805 { ac_try='test -z "$ac_cxx_werror_flag"
36806 || test ! -s conftest.err'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; } &&
36812 { ac_try='test -s conftest.$ac_objext'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36815 ac_status=$?
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; }; then
36818 glibcxx_cv_func__fabsf_use=yes
36819 else
36820 echo "$as_me: failed program was:" >&5
36821 sed 's/^/| /' conftest.$ac_ext >&5
36822
36823 glibcxx_cv_func__fabsf_use=no
36824 fi
36825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36826 ac_ext=c
36827 ac_cpp='$CPP $CPPFLAGS'
36828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831
36832
36833 fi
36834
36835 fi
36836 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36837 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36838
36839 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36840
36841 for ac_func in _fabsf
36842 do
36843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36844 echo "$as_me:$LINENO: checking for $ac_func" >&5
36845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36846 if eval "test \"\${$as_ac_var+set}\" = set"; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36848 else
36849 if test x$gcc_no_link = xyes; then
36850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36852 { (exit 1); exit 1; }; }
36853 fi
36854 cat >conftest.$ac_ext <<_ACEOF
36855 /* confdefs.h. */
36856 _ACEOF
36857 cat confdefs.h >>conftest.$ac_ext
36858 cat >>conftest.$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36862 #define $ac_func innocuous_$ac_func
36863
36864 /* System header to define __stub macros and hopefully few prototypes,
36865 which can conflict with char $ac_func (); below.
36866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36867 <limits.h> exists even on freestanding compilers. */
36868
36869 #ifdef __STDC__
36870 # include <limits.h>
36871 #else
36872 # include <assert.h>
36873 #endif
36874
36875 #undef $ac_func
36876
36877 /* Override any gcc2 internal prototype to avoid an error. */
36878 #ifdef __cplusplus
36879 extern "C"
36880 {
36881 #endif
36882 /* We use char because int might match the return type of a gcc2
36883 builtin and then its argument prototype would still apply. */
36884 char $ac_func ();
36885 /* The GNU C library defines this for functions which it implements
36886 to always fail with ENOSYS. Some functions are actually named
36887 something starting with __ and the normal name is an alias. */
36888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36889 choke me
36890 #else
36891 char (*f) () = $ac_func;
36892 #endif
36893 #ifdef __cplusplus
36894 }
36895 #endif
36896
36897 int
36898 main ()
36899 {
36900 return f != $ac_func;
36901 ;
36902 return 0;
36903 }
36904 _ACEOF
36905 rm -f conftest.$ac_objext conftest$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>conftest.er1
36908 ac_status=$?
36909 grep -v '^ *+' conftest.er1 >conftest.err
36910 rm -f conftest.er1
36911 cat conftest.err >&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); } &&
36914 { ac_try='test -z "$ac_c_werror_flag"
36915 || test ! -s conftest.err'
36916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36917 (eval $ac_try) 2>&5
36918 ac_status=$?
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); }; } &&
36921 { ac_try='test -s conftest$ac_exeext'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; }; then
36927 eval "$as_ac_var=yes"
36928 else
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.$ac_ext >&5
36931
36932 eval "$as_ac_var=no"
36933 fi
36934 rm -f conftest.err conftest.$ac_objext \
36935 conftest$ac_exeext conftest.$ac_ext
36936 fi
36937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36939 if test `eval echo '${'$as_ac_var'}'` = yes; then
36940 cat >>confdefs.h <<_ACEOF
36941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36942 _ACEOF
36943
36944 fi
36945 done
36946
36947 fi
36948 fi
36949
36950
36951
36952
36953
36954
36955 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36956 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36957 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36958 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961
36962
36963
36964 ac_ext=cc
36965 ac_cpp='$CXXCPP $CPPFLAGS'
36966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36969
36970 cat >conftest.$ac_ext <<_ACEOF
36971 /* confdefs.h. */
36972 _ACEOF
36973 cat confdefs.h >>conftest.$ac_ext
36974 cat >>conftest.$ac_ext <<_ACEOF
36975 /* end confdefs.h. */
36976 #include <math.h>
36977 int
36978 main ()
36979 {
36980 fmodf(0, 0);
36981 ;
36982 return 0;
36983 }
36984 _ACEOF
36985 rm -f conftest.$ac_objext
36986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36987 (eval $ac_compile) 2>conftest.er1
36988 ac_status=$?
36989 grep -v '^ *+' conftest.er1 >conftest.err
36990 rm -f conftest.er1
36991 cat conftest.err >&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); } &&
36994 { ac_try='test -z "$ac_cxx_werror_flag"
36995 || test ! -s conftest.err'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36998 ac_status=$?
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; } &&
37001 { ac_try='test -s conftest.$ac_objext'
37002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37003 (eval $ac_try) 2>&5
37004 ac_status=$?
37005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37006 (exit $ac_status); }; }; then
37007 glibcxx_cv_func_fmodf_use=yes
37008 else
37009 echo "$as_me: failed program was:" >&5
37010 sed 's/^/| /' conftest.$ac_ext >&5
37011
37012 glibcxx_cv_func_fmodf_use=no
37013 fi
37014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37015 ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020
37021
37022 fi
37023
37024 fi
37025 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
37026 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
37027
37028 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37029
37030 for ac_func in fmodf
37031 do
37032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37033 echo "$as_me:$LINENO: checking for $ac_func" >&5
37034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37035 if eval "test \"\${$as_ac_var+set}\" = set"; then
37036 echo $ECHO_N "(cached) $ECHO_C" >&6
37037 else
37038 if test x$gcc_no_link = xyes; then
37039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37041 { (exit 1); exit 1; }; }
37042 fi
37043 cat >conftest.$ac_ext <<_ACEOF
37044 /* confdefs.h. */
37045 _ACEOF
37046 cat confdefs.h >>conftest.$ac_ext
37047 cat >>conftest.$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37051 #define $ac_func innocuous_$ac_func
37052
37053 /* System header to define __stub macros and hopefully few prototypes,
37054 which can conflict with char $ac_func (); below.
37055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37056 <limits.h> exists even on freestanding compilers. */
37057
37058 #ifdef __STDC__
37059 # include <limits.h>
37060 #else
37061 # include <assert.h>
37062 #endif
37063
37064 #undef $ac_func
37065
37066 /* Override any gcc2 internal prototype to avoid an error. */
37067 #ifdef __cplusplus
37068 extern "C"
37069 {
37070 #endif
37071 /* We use char because int might match the return type of a gcc2
37072 builtin and then its argument prototype would still apply. */
37073 char $ac_func ();
37074 /* The GNU C library defines this for functions which it implements
37075 to always fail with ENOSYS. Some functions are actually named
37076 something starting with __ and the normal name is an alias. */
37077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37078 choke me
37079 #else
37080 char (*f) () = $ac_func;
37081 #endif
37082 #ifdef __cplusplus
37083 }
37084 #endif
37085
37086 int
37087 main ()
37088 {
37089 return f != $ac_func;
37090 ;
37091 return 0;
37092 }
37093 _ACEOF
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37096 (eval $ac_link) 2>conftest.er1
37097 ac_status=$?
37098 grep -v '^ *+' conftest.er1 >conftest.err
37099 rm -f conftest.er1
37100 cat conftest.err >&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } &&
37103 { ac_try='test -z "$ac_c_werror_flag"
37104 || test ! -s conftest.err'
37105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37106 (eval $ac_try) 2>&5
37107 ac_status=$?
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); }; } &&
37110 { ac_try='test -s conftest$ac_exeext'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37113 ac_status=$?
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; }; then
37116 eval "$as_ac_var=yes"
37117 else
37118 echo "$as_me: failed program was:" >&5
37119 sed 's/^/| /' conftest.$ac_ext >&5
37120
37121 eval "$as_ac_var=no"
37122 fi
37123 rm -f conftest.err conftest.$ac_objext \
37124 conftest$ac_exeext conftest.$ac_ext
37125 fi
37126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37128 if test `eval echo '${'$as_ac_var'}'` = yes; then
37129 cat >>confdefs.h <<_ACEOF
37130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37131 _ACEOF
37132
37133 fi
37134 done
37135
37136 else
37137
37138 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
37139 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
37140 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37141 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
37142 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 else
37144
37145
37146
37147 ac_ext=cc
37148 ac_cpp='$CXXCPP $CPPFLAGS'
37149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37152
37153 cat >conftest.$ac_ext <<_ACEOF
37154 /* confdefs.h. */
37155 _ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37159 #include <math.h>
37160 int
37161 main ()
37162 {
37163 _fmodf(0, 0);
37164 ;
37165 return 0;
37166 }
37167 _ACEOF
37168 rm -f conftest.$ac_objext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37170 (eval $ac_compile) 2>conftest.er1
37171 ac_status=$?
37172 grep -v '^ *+' conftest.er1 >conftest.err
37173 rm -f conftest.er1
37174 cat conftest.err >&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try='test -z "$ac_cxx_werror_flag"
37178 || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37181 ac_status=$?
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37187 ac_status=$?
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190 glibcxx_cv_func__fmodf_use=yes
37191 else
37192 echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.$ac_ext >&5
37194
37195 glibcxx_cv_func__fmodf_use=no
37196 fi
37197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37198 ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203
37204
37205 fi
37206
37207 fi
37208 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
37209 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
37210
37211 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37212
37213 for ac_func in _fmodf
37214 do
37215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37216 echo "$as_me:$LINENO: checking for $ac_func" >&5
37217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37218 if eval "test \"\${$as_ac_var+set}\" = set"; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 else
37221 if test x$gcc_no_link = xyes; then
37222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37224 { (exit 1); exit 1; }; }
37225 fi
37226 cat >conftest.$ac_ext <<_ACEOF
37227 /* confdefs.h. */
37228 _ACEOF
37229 cat confdefs.h >>conftest.$ac_ext
37230 cat >>conftest.$ac_ext <<_ACEOF
37231 /* end confdefs.h. */
37232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37234 #define $ac_func innocuous_$ac_func
37235
37236 /* System header to define __stub macros and hopefully few prototypes,
37237 which can conflict with char $ac_func (); below.
37238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37239 <limits.h> exists even on freestanding compilers. */
37240
37241 #ifdef __STDC__
37242 # include <limits.h>
37243 #else
37244 # include <assert.h>
37245 #endif
37246
37247 #undef $ac_func
37248
37249 /* Override any gcc2 internal prototype to avoid an error. */
37250 #ifdef __cplusplus
37251 extern "C"
37252 {
37253 #endif
37254 /* We use char because int might match the return type of a gcc2
37255 builtin and then its argument prototype would still apply. */
37256 char $ac_func ();
37257 /* The GNU C library defines this for functions which it implements
37258 to always fail with ENOSYS. Some functions are actually named
37259 something starting with __ and the normal name is an alias. */
37260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37261 choke me
37262 #else
37263 char (*f) () = $ac_func;
37264 #endif
37265 #ifdef __cplusplus
37266 }
37267 #endif
37268
37269 int
37270 main ()
37271 {
37272 return f != $ac_func;
37273 ;
37274 return 0;
37275 }
37276 _ACEOF
37277 rm -f conftest.$ac_objext conftest$ac_exeext
37278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37279 (eval $ac_link) 2>conftest.er1
37280 ac_status=$?
37281 grep -v '^ *+' conftest.er1 >conftest.err
37282 rm -f conftest.er1
37283 cat conftest.err >&5
37284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37285 (exit $ac_status); } &&
37286 { ac_try='test -z "$ac_c_werror_flag"
37287 || test ! -s conftest.err'
37288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37289 (eval $ac_try) 2>&5
37290 ac_status=$?
37291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37292 (exit $ac_status); }; } &&
37293 { ac_try='test -s conftest$ac_exeext'
37294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37295 (eval $ac_try) 2>&5
37296 ac_status=$?
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); }; }; then
37299 eval "$as_ac_var=yes"
37300 else
37301 echo "$as_me: failed program was:" >&5
37302 sed 's/^/| /' conftest.$ac_ext >&5
37303
37304 eval "$as_ac_var=no"
37305 fi
37306 rm -f conftest.err conftest.$ac_objext \
37307 conftest$ac_exeext conftest.$ac_ext
37308 fi
37309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37311 if test `eval echo '${'$as_ac_var'}'` = yes; then
37312 cat >>confdefs.h <<_ACEOF
37313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37314 _ACEOF
37315
37316 fi
37317 done
37318
37319 fi
37320 fi
37321
37322
37323
37324
37325
37326
37327 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37328 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37329 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37330 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37331 echo $ECHO_N "(cached) $ECHO_C" >&6
37332 else
37333
37334
37335
37336 ac_ext=cc
37337 ac_cpp='$CXXCPP $CPPFLAGS'
37338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37341
37342 cat >conftest.$ac_ext <<_ACEOF
37343 /* confdefs.h. */
37344 _ACEOF
37345 cat confdefs.h >>conftest.$ac_ext
37346 cat >>conftest.$ac_ext <<_ACEOF
37347 /* end confdefs.h. */
37348 #include <math.h>
37349 int
37350 main ()
37351 {
37352 frexpf(0, 0);
37353 ;
37354 return 0;
37355 }
37356 _ACEOF
37357 rm -f conftest.$ac_objext
37358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37359 (eval $ac_compile) 2>conftest.er1
37360 ac_status=$?
37361 grep -v '^ *+' conftest.er1 >conftest.err
37362 rm -f conftest.er1
37363 cat conftest.err >&5
37364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37365 (exit $ac_status); } &&
37366 { ac_try='test -z "$ac_cxx_werror_flag"
37367 || test ! -s conftest.err'
37368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37369 (eval $ac_try) 2>&5
37370 ac_status=$?
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); }; } &&
37373 { ac_try='test -s conftest.$ac_objext'
37374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375 (eval $ac_try) 2>&5
37376 ac_status=$?
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); }; }; then
37379 glibcxx_cv_func_frexpf_use=yes
37380 else
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37383
37384 glibcxx_cv_func_frexpf_use=no
37385 fi
37386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37387 ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392
37393
37394 fi
37395
37396 fi
37397 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37398 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37399
37400 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37401
37402 for ac_func in frexpf
37403 do
37404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_var+set}\" = set"; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37409 else
37410 if test x$gcc_no_link = xyes; then
37411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37413 { (exit 1); exit 1; }; }
37414 fi
37415 cat >conftest.$ac_ext <<_ACEOF
37416 /* confdefs.h. */
37417 _ACEOF
37418 cat confdefs.h >>conftest.$ac_ext
37419 cat >>conftest.$ac_ext <<_ACEOF
37420 /* end confdefs.h. */
37421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37423 #define $ac_func innocuous_$ac_func
37424
37425 /* System header to define __stub macros and hopefully few prototypes,
37426 which can conflict with char $ac_func (); below.
37427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37428 <limits.h> exists even on freestanding compilers. */
37429
37430 #ifdef __STDC__
37431 # include <limits.h>
37432 #else
37433 # include <assert.h>
37434 #endif
37435
37436 #undef $ac_func
37437
37438 /* Override any gcc2 internal prototype to avoid an error. */
37439 #ifdef __cplusplus
37440 extern "C"
37441 {
37442 #endif
37443 /* We use char because int might match the return type of a gcc2
37444 builtin and then its argument prototype would still apply. */
37445 char $ac_func ();
37446 /* The GNU C library defines this for functions which it implements
37447 to always fail with ENOSYS. Some functions are actually named
37448 something starting with __ and the normal name is an alias. */
37449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37450 choke me
37451 #else
37452 char (*f) () = $ac_func;
37453 #endif
37454 #ifdef __cplusplus
37455 }
37456 #endif
37457
37458 int
37459 main ()
37460 {
37461 return f != $ac_func;
37462 ;
37463 return 0;
37464 }
37465 _ACEOF
37466 rm -f conftest.$ac_objext conftest$ac_exeext
37467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37468 (eval $ac_link) 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } &&
37475 { ac_try='test -z "$ac_c_werror_flag"
37476 || test ! -s conftest.err'
37477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37478 (eval $ac_try) 2>&5
37479 ac_status=$?
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); }; } &&
37482 { ac_try='test -s conftest$ac_exeext'
37483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37484 (eval $ac_try) 2>&5
37485 ac_status=$?
37486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37487 (exit $ac_status); }; }; then
37488 eval "$as_ac_var=yes"
37489 else
37490 echo "$as_me: failed program was:" >&5
37491 sed 's/^/| /' conftest.$ac_ext >&5
37492
37493 eval "$as_ac_var=no"
37494 fi
37495 rm -f conftest.err conftest.$ac_objext \
37496 conftest$ac_exeext conftest.$ac_ext
37497 fi
37498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 _ACEOF
37504
37505 fi
37506 done
37507
37508 else
37509
37510 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37511 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37512 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37513 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37516
37517
37518
37519 ac_ext=cc
37520 ac_cpp='$CXXCPP $CPPFLAGS'
37521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37524
37525 cat >conftest.$ac_ext <<_ACEOF
37526 /* confdefs.h. */
37527 _ACEOF
37528 cat confdefs.h >>conftest.$ac_ext
37529 cat >>conftest.$ac_ext <<_ACEOF
37530 /* end confdefs.h. */
37531 #include <math.h>
37532 int
37533 main ()
37534 {
37535 _frexpf(0, 0);
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 rm -f conftest.$ac_objext
37541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37542 (eval $ac_compile) 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } &&
37549 { ac_try='test -z "$ac_cxx_werror_flag"
37550 || test ! -s conftest.err'
37551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552 (eval $ac_try) 2>&5
37553 ac_status=$?
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); }; } &&
37556 { ac_try='test -s conftest.$ac_objext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 glibcxx_cv_func__frexpf_use=yes
37563 else
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37566
37567 glibcxx_cv_func__frexpf_use=no
37568 fi
37569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37570 ac_ext=c
37571 ac_cpp='$CPP $CPPFLAGS'
37572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37575
37576
37577 fi
37578
37579 fi
37580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37581 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37582
37583 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37584
37585 for ac_func in _frexpf
37586 do
37587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37588 echo "$as_me:$LINENO: checking for $ac_func" >&5
37589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37590 if eval "test \"\${$as_ac_var+set}\" = set"; then
37591 echo $ECHO_N "(cached) $ECHO_C" >&6
37592 else
37593 if test x$gcc_no_link = xyes; then
37594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37596 { (exit 1); exit 1; }; }
37597 fi
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37606 #define $ac_func innocuous_$ac_func
37607
37608 /* System header to define __stub macros and hopefully few prototypes,
37609 which can conflict with char $ac_func (); below.
37610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37611 <limits.h> exists even on freestanding compilers. */
37612
37613 #ifdef __STDC__
37614 # include <limits.h>
37615 #else
37616 # include <assert.h>
37617 #endif
37618
37619 #undef $ac_func
37620
37621 /* Override any gcc2 internal prototype to avoid an error. */
37622 #ifdef __cplusplus
37623 extern "C"
37624 {
37625 #endif
37626 /* We use char because int might match the return type of a gcc2
37627 builtin and then its argument prototype would still apply. */
37628 char $ac_func ();
37629 /* The GNU C library defines this for functions which it implements
37630 to always fail with ENOSYS. Some functions are actually named
37631 something starting with __ and the normal name is an alias. */
37632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37633 choke me
37634 #else
37635 char (*f) () = $ac_func;
37636 #endif
37637 #ifdef __cplusplus
37638 }
37639 #endif
37640
37641 int
37642 main ()
37643 {
37644 return f != $ac_func;
37645 ;
37646 return 0;
37647 }
37648 _ACEOF
37649 rm -f conftest.$ac_objext conftest$ac_exeext
37650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37651 (eval $ac_link) 2>conftest.er1
37652 ac_status=$?
37653 grep -v '^ *+' conftest.er1 >conftest.err
37654 rm -f conftest.er1
37655 cat conftest.err >&5
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); } &&
37658 { ac_try='test -z "$ac_c_werror_flag"
37659 || test ! -s conftest.err'
37660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37661 (eval $ac_try) 2>&5
37662 ac_status=$?
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); }; } &&
37665 { ac_try='test -s conftest$ac_exeext'
37666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37667 (eval $ac_try) 2>&5
37668 ac_status=$?
37669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37670 (exit $ac_status); }; }; then
37671 eval "$as_ac_var=yes"
37672 else
37673 echo "$as_me: failed program was:" >&5
37674 sed 's/^/| /' conftest.$ac_ext >&5
37675
37676 eval "$as_ac_var=no"
37677 fi
37678 rm -f conftest.err conftest.$ac_objext \
37679 conftest$ac_exeext conftest.$ac_ext
37680 fi
37681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37683 if test `eval echo '${'$as_ac_var'}'` = yes; then
37684 cat >>confdefs.h <<_ACEOF
37685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37686 _ACEOF
37687
37688 fi
37689 done
37690
37691 fi
37692 fi
37693
37694
37695
37696
37697
37698
37699 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37700 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37701 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37702 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37703 echo $ECHO_N "(cached) $ECHO_C" >&6
37704 else
37705
37706
37707
37708 ac_ext=cc
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37713
37714 cat >conftest.$ac_ext <<_ACEOF
37715 /* confdefs.h. */
37716 _ACEOF
37717 cat confdefs.h >>conftest.$ac_ext
37718 cat >>conftest.$ac_ext <<_ACEOF
37719 /* end confdefs.h. */
37720 #include <math.h>
37721 int
37722 main ()
37723 {
37724 hypotf(0, 0);
37725 ;
37726 return 0;
37727 }
37728 _ACEOF
37729 rm -f conftest.$ac_objext
37730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37731 (eval $ac_compile) 2>conftest.er1
37732 ac_status=$?
37733 grep -v '^ *+' conftest.er1 >conftest.err
37734 rm -f conftest.er1
37735 cat conftest.err >&5
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); } &&
37738 { ac_try='test -z "$ac_cxx_werror_flag"
37739 || test ! -s conftest.err'
37740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37741 (eval $ac_try) 2>&5
37742 ac_status=$?
37743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37744 (exit $ac_status); }; } &&
37745 { ac_try='test -s conftest.$ac_objext'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37748 ac_status=$?
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; }; then
37751 glibcxx_cv_func_hypotf_use=yes
37752 else
37753 echo "$as_me: failed program was:" >&5
37754 sed 's/^/| /' conftest.$ac_ext >&5
37755
37756 glibcxx_cv_func_hypotf_use=no
37757 fi
37758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37759 ac_ext=c
37760 ac_cpp='$CPP $CPPFLAGS'
37761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37764
37765
37766 fi
37767
37768 fi
37769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37770 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37771
37772 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37773
37774 for ac_func in hypotf
37775 do
37776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37777 echo "$as_me:$LINENO: checking for $ac_func" >&5
37778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37779 if eval "test \"\${$as_ac_var+set}\" = set"; then
37780 echo $ECHO_N "(cached) $ECHO_C" >&6
37781 else
37782 if test x$gcc_no_link = xyes; then
37783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37785 { (exit 1); exit 1; }; }
37786 fi
37787 cat >conftest.$ac_ext <<_ACEOF
37788 /* confdefs.h. */
37789 _ACEOF
37790 cat confdefs.h >>conftest.$ac_ext
37791 cat >>conftest.$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37795 #define $ac_func innocuous_$ac_func
37796
37797 /* System header to define __stub macros and hopefully few prototypes,
37798 which can conflict with char $ac_func (); below.
37799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37800 <limits.h> exists even on freestanding compilers. */
37801
37802 #ifdef __STDC__
37803 # include <limits.h>
37804 #else
37805 # include <assert.h>
37806 #endif
37807
37808 #undef $ac_func
37809
37810 /* Override any gcc2 internal prototype to avoid an error. */
37811 #ifdef __cplusplus
37812 extern "C"
37813 {
37814 #endif
37815 /* We use char because int might match the return type of a gcc2
37816 builtin and then its argument prototype would still apply. */
37817 char $ac_func ();
37818 /* The GNU C library defines this for functions which it implements
37819 to always fail with ENOSYS. Some functions are actually named
37820 something starting with __ and the normal name is an alias. */
37821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37822 choke me
37823 #else
37824 char (*f) () = $ac_func;
37825 #endif
37826 #ifdef __cplusplus
37827 }
37828 #endif
37829
37830 int
37831 main ()
37832 {
37833 return f != $ac_func;
37834 ;
37835 return 0;
37836 }
37837 _ACEOF
37838 rm -f conftest.$ac_objext conftest$ac_exeext
37839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37840 (eval $ac_link) 2>conftest.er1
37841 ac_status=$?
37842 grep -v '^ *+' conftest.er1 >conftest.err
37843 rm -f conftest.er1
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } &&
37847 { ac_try='test -z "$ac_c_werror_flag"
37848 || test ! -s conftest.err'
37849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37850 (eval $ac_try) 2>&5
37851 ac_status=$?
37852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37853 (exit $ac_status); }; } &&
37854 { ac_try='test -s conftest$ac_exeext'
37855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37856 (eval $ac_try) 2>&5
37857 ac_status=$?
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); }; }; then
37860 eval "$as_ac_var=yes"
37861 else
37862 echo "$as_me: failed program was:" >&5
37863 sed 's/^/| /' conftest.$ac_ext >&5
37864
37865 eval "$as_ac_var=no"
37866 fi
37867 rm -f conftest.err conftest.$ac_objext \
37868 conftest$ac_exeext conftest.$ac_ext
37869 fi
37870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37872 if test `eval echo '${'$as_ac_var'}'` = yes; then
37873 cat >>confdefs.h <<_ACEOF
37874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37875 _ACEOF
37876
37877 fi
37878 done
37879
37880 else
37881
37882 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37883 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37884 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37885 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37886 echo $ECHO_N "(cached) $ECHO_C" >&6
37887 else
37888
37889
37890
37891 ac_ext=cc
37892 ac_cpp='$CXXCPP $CPPFLAGS'
37893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37896
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 #include <math.h>
37904 int
37905 main ()
37906 {
37907 _hypotf(0, 0);
37908 ;
37909 return 0;
37910 }
37911 _ACEOF
37912 rm -f conftest.$ac_objext
37913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37914 (eval $ac_compile) 2>conftest.er1
37915 ac_status=$?
37916 grep -v '^ *+' conftest.er1 >conftest.err
37917 rm -f conftest.er1
37918 cat conftest.err >&5
37919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920 (exit $ac_status); } &&
37921 { ac_try='test -z "$ac_cxx_werror_flag"
37922 || test ! -s conftest.err'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37925 ac_status=$?
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; } &&
37928 { ac_try='test -s conftest.$ac_objext'
37929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930 (eval $ac_try) 2>&5
37931 ac_status=$?
37932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933 (exit $ac_status); }; }; then
37934 glibcxx_cv_func__hypotf_use=yes
37935 else
37936 echo "$as_me: failed program was:" >&5
37937 sed 's/^/| /' conftest.$ac_ext >&5
37938
37939 glibcxx_cv_func__hypotf_use=no
37940 fi
37941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37942 ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37947
37948
37949 fi
37950
37951 fi
37952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37953 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37954
37955 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37956
37957 for ac_func in _hypotf
37958 do
37959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37960 echo "$as_me:$LINENO: checking for $ac_func" >&5
37961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37962 if eval "test \"\${$as_ac_var+set}\" = set"; then
37963 echo $ECHO_N "(cached) $ECHO_C" >&6
37964 else
37965 if test x$gcc_no_link = xyes; then
37966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37968 { (exit 1); exit 1; }; }
37969 fi
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h. */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37978 #define $ac_func innocuous_$ac_func
37979
37980 /* System header to define __stub macros and hopefully few prototypes,
37981 which can conflict with char $ac_func (); below.
37982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37983 <limits.h> exists even on freestanding compilers. */
37984
37985 #ifdef __STDC__
37986 # include <limits.h>
37987 #else
37988 # include <assert.h>
37989 #endif
37990
37991 #undef $ac_func
37992
37993 /* Override any gcc2 internal prototype to avoid an error. */
37994 #ifdef __cplusplus
37995 extern "C"
37996 {
37997 #endif
37998 /* We use char because int might match the return type of a gcc2
37999 builtin and then its argument prototype would still apply. */
38000 char $ac_func ();
38001 /* The GNU C library defines this for functions which it implements
38002 to always fail with ENOSYS. Some functions are actually named
38003 something starting with __ and the normal name is an alias. */
38004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38005 choke me
38006 #else
38007 char (*f) () = $ac_func;
38008 #endif
38009 #ifdef __cplusplus
38010 }
38011 #endif
38012
38013 int
38014 main ()
38015 {
38016 return f != $ac_func;
38017 ;
38018 return 0;
38019 }
38020 _ACEOF
38021 rm -f conftest.$ac_objext conftest$ac_exeext
38022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38023 (eval $ac_link) 2>conftest.er1
38024 ac_status=$?
38025 grep -v '^ *+' conftest.er1 >conftest.err
38026 rm -f conftest.er1
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } &&
38030 { ac_try='test -z "$ac_c_werror_flag"
38031 || test ! -s conftest.err'
38032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38033 (eval $ac_try) 2>&5
38034 ac_status=$?
38035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38036 (exit $ac_status); }; } &&
38037 { ac_try='test -s conftest$ac_exeext'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38040 ac_status=$?
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; }; then
38043 eval "$as_ac_var=yes"
38044 else
38045 echo "$as_me: failed program was:" >&5
38046 sed 's/^/| /' conftest.$ac_ext >&5
38047
38048 eval "$as_ac_var=no"
38049 fi
38050 rm -f conftest.err conftest.$ac_objext \
38051 conftest$ac_exeext conftest.$ac_ext
38052 fi
38053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38055 if test `eval echo '${'$as_ac_var'}'` = yes; then
38056 cat >>confdefs.h <<_ACEOF
38057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38058 _ACEOF
38059
38060 fi
38061 done
38062
38063 fi
38064 fi
38065
38066
38067
38068
38069
38070
38071 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
38072 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
38073 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38074 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
38075 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 else
38077
38078
38079
38080 ac_ext=cc
38081 ac_cpp='$CXXCPP $CPPFLAGS'
38082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38085
38086 cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h. */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 #include <math.h>
38093 int
38094 main ()
38095 {
38096 ldexpf(0, 0);
38097 ;
38098 return 0;
38099 }
38100 _ACEOF
38101 rm -f conftest.$ac_objext
38102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38103 (eval $ac_compile) 2>conftest.er1
38104 ac_status=$?
38105 grep -v '^ *+' conftest.er1 >conftest.err
38106 rm -f conftest.er1
38107 cat conftest.err >&5
38108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38109 (exit $ac_status); } &&
38110 { ac_try='test -z "$ac_cxx_werror_flag"
38111 || test ! -s conftest.err'
38112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113 (eval $ac_try) 2>&5
38114 ac_status=$?
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); }; } &&
38117 { ac_try='test -s conftest.$ac_objext'
38118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38119 (eval $ac_try) 2>&5
38120 ac_status=$?
38121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38122 (exit $ac_status); }; }; then
38123 glibcxx_cv_func_ldexpf_use=yes
38124 else
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38127
38128 glibcxx_cv_func_ldexpf_use=no
38129 fi
38130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38131 ac_ext=c
38132 ac_cpp='$CPP $CPPFLAGS'
38133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38136
38137
38138 fi
38139
38140 fi
38141 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
38142 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
38143
38144 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38145
38146 for ac_func in ldexpf
38147 do
38148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38149 echo "$as_me:$LINENO: checking for $ac_func" >&5
38150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38151 if eval "test \"\${$as_ac_var+set}\" = set"; then
38152 echo $ECHO_N "(cached) $ECHO_C" >&6
38153 else
38154 if test x$gcc_no_link = xyes; then
38155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38157 { (exit 1); exit 1; }; }
38158 fi
38159 cat >conftest.$ac_ext <<_ACEOF
38160 /* confdefs.h. */
38161 _ACEOF
38162 cat confdefs.h >>conftest.$ac_ext
38163 cat >>conftest.$ac_ext <<_ACEOF
38164 /* end confdefs.h. */
38165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38167 #define $ac_func innocuous_$ac_func
38168
38169 /* System header to define __stub macros and hopefully few prototypes,
38170 which can conflict with char $ac_func (); below.
38171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38172 <limits.h> exists even on freestanding compilers. */
38173
38174 #ifdef __STDC__
38175 # include <limits.h>
38176 #else
38177 # include <assert.h>
38178 #endif
38179
38180 #undef $ac_func
38181
38182 /* Override any gcc2 internal prototype to avoid an error. */
38183 #ifdef __cplusplus
38184 extern "C"
38185 {
38186 #endif
38187 /* We use char because int might match the return type of a gcc2
38188 builtin and then its argument prototype would still apply. */
38189 char $ac_func ();
38190 /* The GNU C library defines this for functions which it implements
38191 to always fail with ENOSYS. Some functions are actually named
38192 something starting with __ and the normal name is an alias. */
38193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38194 choke me
38195 #else
38196 char (*f) () = $ac_func;
38197 #endif
38198 #ifdef __cplusplus
38199 }
38200 #endif
38201
38202 int
38203 main ()
38204 {
38205 return f != $ac_func;
38206 ;
38207 return 0;
38208 }
38209 _ACEOF
38210 rm -f conftest.$ac_objext conftest$ac_exeext
38211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38212 (eval $ac_link) 2>conftest.er1
38213 ac_status=$?
38214 grep -v '^ *+' conftest.er1 >conftest.err
38215 rm -f conftest.er1
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218 (exit $ac_status); } &&
38219 { ac_try='test -z "$ac_c_werror_flag"
38220 || test ! -s conftest.err'
38221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222 (eval $ac_try) 2>&5
38223 ac_status=$?
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); }; } &&
38226 { ac_try='test -s conftest$ac_exeext'
38227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228 (eval $ac_try) 2>&5
38229 ac_status=$?
38230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231 (exit $ac_status); }; }; then
38232 eval "$as_ac_var=yes"
38233 else
38234 echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 eval "$as_ac_var=no"
38238 fi
38239 rm -f conftest.err conftest.$ac_objext \
38240 conftest$ac_exeext conftest.$ac_ext
38241 fi
38242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38244 if test `eval echo '${'$as_ac_var'}'` = yes; then
38245 cat >>confdefs.h <<_ACEOF
38246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38247 _ACEOF
38248
38249 fi
38250 done
38251
38252 else
38253
38254 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
38255 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
38256 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38257 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38258 echo $ECHO_N "(cached) $ECHO_C" >&6
38259 else
38260
38261
38262
38263 ac_ext=cc
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38268
38269 cat >conftest.$ac_ext <<_ACEOF
38270 /* confdefs.h. */
38271 _ACEOF
38272 cat confdefs.h >>conftest.$ac_ext
38273 cat >>conftest.$ac_ext <<_ACEOF
38274 /* end confdefs.h. */
38275 #include <math.h>
38276 int
38277 main ()
38278 {
38279 _ldexpf(0, 0);
38280 ;
38281 return 0;
38282 }
38283 _ACEOF
38284 rm -f conftest.$ac_objext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38286 (eval $ac_compile) 2>conftest.er1
38287 ac_status=$?
38288 grep -v '^ *+' conftest.er1 >conftest.err
38289 rm -f conftest.er1
38290 cat conftest.err >&5
38291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38292 (exit $ac_status); } &&
38293 { ac_try='test -z "$ac_cxx_werror_flag"
38294 || test ! -s conftest.err'
38295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296 (eval $ac_try) 2>&5
38297 ac_status=$?
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); }; } &&
38300 { ac_try='test -s conftest.$ac_objext'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38303 ac_status=$?
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; }; then
38306 glibcxx_cv_func__ldexpf_use=yes
38307 else
38308 echo "$as_me: failed program was:" >&5
38309 sed 's/^/| /' conftest.$ac_ext >&5
38310
38311 glibcxx_cv_func__ldexpf_use=no
38312 fi
38313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38314 ac_ext=c
38315 ac_cpp='$CPP $CPPFLAGS'
38316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38319
38320
38321 fi
38322
38323 fi
38324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38325 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38326
38327 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38328
38329 for ac_func in _ldexpf
38330 do
38331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38332 echo "$as_me:$LINENO: checking for $ac_func" >&5
38333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38334 if eval "test \"\${$as_ac_var+set}\" = set"; then
38335 echo $ECHO_N "(cached) $ECHO_C" >&6
38336 else
38337 if test x$gcc_no_link = xyes; then
38338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38340 { (exit 1); exit 1; }; }
38341 fi
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h. */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38350 #define $ac_func innocuous_$ac_func
38351
38352 /* System header to define __stub macros and hopefully few prototypes,
38353 which can conflict with char $ac_func (); below.
38354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38355 <limits.h> exists even on freestanding compilers. */
38356
38357 #ifdef __STDC__
38358 # include <limits.h>
38359 #else
38360 # include <assert.h>
38361 #endif
38362
38363 #undef $ac_func
38364
38365 /* Override any gcc2 internal prototype to avoid an error. */
38366 #ifdef __cplusplus
38367 extern "C"
38368 {
38369 #endif
38370 /* We use char because int might match the return type of a gcc2
38371 builtin and then its argument prototype would still apply. */
38372 char $ac_func ();
38373 /* The GNU C library defines this for functions which it implements
38374 to always fail with ENOSYS. Some functions are actually named
38375 something starting with __ and the normal name is an alias. */
38376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38377 choke me
38378 #else
38379 char (*f) () = $ac_func;
38380 #endif
38381 #ifdef __cplusplus
38382 }
38383 #endif
38384
38385 int
38386 main ()
38387 {
38388 return f != $ac_func;
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 rm -f conftest.$ac_objext conftest$ac_exeext
38394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38395 (eval $ac_link) 2>conftest.er1
38396 ac_status=$?
38397 grep -v '^ *+' conftest.er1 >conftest.err
38398 rm -f conftest.er1
38399 cat conftest.err >&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } &&
38402 { ac_try='test -z "$ac_c_werror_flag"
38403 || test ! -s conftest.err'
38404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38405 (eval $ac_try) 2>&5
38406 ac_status=$?
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); }; } &&
38409 { ac_try='test -s conftest$ac_exeext'
38410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38411 (eval $ac_try) 2>&5
38412 ac_status=$?
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); }; }; then
38415 eval "$as_ac_var=yes"
38416 else
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38419
38420 eval "$as_ac_var=no"
38421 fi
38422 rm -f conftest.err conftest.$ac_objext \
38423 conftest$ac_exeext conftest.$ac_ext
38424 fi
38425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38427 if test `eval echo '${'$as_ac_var'}'` = yes; then
38428 cat >>confdefs.h <<_ACEOF
38429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38430 _ACEOF
38431
38432 fi
38433 done
38434
38435 fi
38436 fi
38437
38438
38439
38440
38441
38442
38443 echo "$as_me:$LINENO: checking for logf declaration" >&5
38444 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38445 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38446 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449
38450
38451
38452 ac_ext=cc
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457
38458 cat >conftest.$ac_ext <<_ACEOF
38459 /* confdefs.h. */
38460 _ACEOF
38461 cat confdefs.h >>conftest.$ac_ext
38462 cat >>conftest.$ac_ext <<_ACEOF
38463 /* end confdefs.h. */
38464 #include <math.h>
38465 #ifdef HAVE_IEEEFP_H
38466 #include <ieeefp.h>
38467 #endif
38468
38469 int
38470 main ()
38471 {
38472 logf(0);
38473 ;
38474 return 0;
38475 }
38476 _ACEOF
38477 rm -f conftest.$ac_objext
38478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38479 (eval $ac_compile) 2>conftest.er1
38480 ac_status=$?
38481 grep -v '^ *+' conftest.er1 >conftest.err
38482 rm -f conftest.er1
38483 cat conftest.err >&5
38484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38485 (exit $ac_status); } &&
38486 { ac_try='test -z "$ac_cxx_werror_flag"
38487 || test ! -s conftest.err'
38488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38489 (eval $ac_try) 2>&5
38490 ac_status=$?
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); }; } &&
38493 { ac_try='test -s conftest.$ac_objext'
38494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38495 (eval $ac_try) 2>&5
38496 ac_status=$?
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); }; }; then
38499 glibcxx_cv_func_logf_use=yes
38500 else
38501 echo "$as_me: failed program was:" >&5
38502 sed 's/^/| /' conftest.$ac_ext >&5
38503
38504 glibcxx_cv_func_logf_use=no
38505 fi
38506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38507 ac_ext=c
38508 ac_cpp='$CPP $CPPFLAGS'
38509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38512
38513
38514 fi
38515
38516 fi
38517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38518 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38519
38520 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38521
38522 for ac_func in logf
38523 do
38524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38525 echo "$as_me:$LINENO: checking for $ac_func" >&5
38526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38527 if eval "test \"\${$as_ac_var+set}\" = set"; then
38528 echo $ECHO_N "(cached) $ECHO_C" >&6
38529 else
38530 if test x$gcc_no_link = xyes; then
38531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38533 { (exit 1); exit 1; }; }
38534 fi
38535 cat >conftest.$ac_ext <<_ACEOF
38536 /* confdefs.h. */
38537 _ACEOF
38538 cat confdefs.h >>conftest.$ac_ext
38539 cat >>conftest.$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38543 #define $ac_func innocuous_$ac_func
38544
38545 /* System header to define __stub macros and hopefully few prototypes,
38546 which can conflict with char $ac_func (); below.
38547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38548 <limits.h> exists even on freestanding compilers. */
38549
38550 #ifdef __STDC__
38551 # include <limits.h>
38552 #else
38553 # include <assert.h>
38554 #endif
38555
38556 #undef $ac_func
38557
38558 /* Override any gcc2 internal prototype to avoid an error. */
38559 #ifdef __cplusplus
38560 extern "C"
38561 {
38562 #endif
38563 /* We use char because int might match the return type of a gcc2
38564 builtin and then its argument prototype would still apply. */
38565 char $ac_func ();
38566 /* The GNU C library defines this for functions which it implements
38567 to always fail with ENOSYS. Some functions are actually named
38568 something starting with __ and the normal name is an alias. */
38569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38570 choke me
38571 #else
38572 char (*f) () = $ac_func;
38573 #endif
38574 #ifdef __cplusplus
38575 }
38576 #endif
38577
38578 int
38579 main ()
38580 {
38581 return f != $ac_func;
38582 ;
38583 return 0;
38584 }
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38588 (eval $ac_link) 2>conftest.er1
38589 ac_status=$?
38590 grep -v '^ *+' conftest.er1 >conftest.err
38591 rm -f conftest.er1
38592 cat conftest.err >&5
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); } &&
38595 { ac_try='test -z "$ac_c_werror_flag"
38596 || test ! -s conftest.err'
38597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38598 (eval $ac_try) 2>&5
38599 ac_status=$?
38600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38601 (exit $ac_status); }; } &&
38602 { ac_try='test -s conftest$ac_exeext'
38603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38604 (eval $ac_try) 2>&5
38605 ac_status=$?
38606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38607 (exit $ac_status); }; }; then
38608 eval "$as_ac_var=yes"
38609 else
38610 echo "$as_me: failed program was:" >&5
38611 sed 's/^/| /' conftest.$ac_ext >&5
38612
38613 eval "$as_ac_var=no"
38614 fi
38615 rm -f conftest.err conftest.$ac_objext \
38616 conftest$ac_exeext conftest.$ac_ext
38617 fi
38618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38620 if test `eval echo '${'$as_ac_var'}'` = yes; then
38621 cat >>confdefs.h <<_ACEOF
38622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38623 _ACEOF
38624
38625 fi
38626 done
38627
38628 else
38629
38630 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38631 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38632 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38633 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 else
38636
38637
38638
38639 ac_ext=cc
38640 ac_cpp='$CXXCPP $CPPFLAGS'
38641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38644
38645 cat >conftest.$ac_ext <<_ACEOF
38646 /* confdefs.h. */
38647 _ACEOF
38648 cat confdefs.h >>conftest.$ac_ext
38649 cat >>conftest.$ac_ext <<_ACEOF
38650 /* end confdefs.h. */
38651 #include <math.h>
38652 #ifdef HAVE_IEEEFP_H
38653 #include <ieeefp.h>
38654 #endif
38655
38656 int
38657 main ()
38658 {
38659 _logf(0);
38660 ;
38661 return 0;
38662 }
38663 _ACEOF
38664 rm -f conftest.$ac_objext
38665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38666 (eval $ac_compile) 2>conftest.er1
38667 ac_status=$?
38668 grep -v '^ *+' conftest.er1 >conftest.err
38669 rm -f conftest.er1
38670 cat conftest.err >&5
38671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38672 (exit $ac_status); } &&
38673 { ac_try='test -z "$ac_cxx_werror_flag"
38674 || test ! -s conftest.err'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38677 ac_status=$?
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; } &&
38680 { ac_try='test -s conftest.$ac_objext'
38681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38682 (eval $ac_try) 2>&5
38683 ac_status=$?
38684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38685 (exit $ac_status); }; }; then
38686 glibcxx_cv_func__logf_use=yes
38687 else
38688 echo "$as_me: failed program was:" >&5
38689 sed 's/^/| /' conftest.$ac_ext >&5
38690
38691 glibcxx_cv_func__logf_use=no
38692 fi
38693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38694 ac_ext=c
38695 ac_cpp='$CPP $CPPFLAGS'
38696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38699
38700
38701 fi
38702
38703 fi
38704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38705 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38706
38707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38708
38709 for ac_func in _logf
38710 do
38711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38712 echo "$as_me:$LINENO: checking for $ac_func" >&5
38713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38714 if eval "test \"\${$as_ac_var+set}\" = set"; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38717 if test x$gcc_no_link = xyes; then
38718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38720 { (exit 1); exit 1; }; }
38721 fi
38722 cat >conftest.$ac_ext <<_ACEOF
38723 /* confdefs.h. */
38724 _ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38730 #define $ac_func innocuous_$ac_func
38731
38732 /* System header to define __stub macros and hopefully few prototypes,
38733 which can conflict with char $ac_func (); below.
38734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38735 <limits.h> exists even on freestanding compilers. */
38736
38737 #ifdef __STDC__
38738 # include <limits.h>
38739 #else
38740 # include <assert.h>
38741 #endif
38742
38743 #undef $ac_func
38744
38745 /* Override any gcc2 internal prototype to avoid an error. */
38746 #ifdef __cplusplus
38747 extern "C"
38748 {
38749 #endif
38750 /* We use char because int might match the return type of a gcc2
38751 builtin and then its argument prototype would still apply. */
38752 char $ac_func ();
38753 /* The GNU C library defines this for functions which it implements
38754 to always fail with ENOSYS. Some functions are actually named
38755 something starting with __ and the normal name is an alias. */
38756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38757 choke me
38758 #else
38759 char (*f) () = $ac_func;
38760 #endif
38761 #ifdef __cplusplus
38762 }
38763 #endif
38764
38765 int
38766 main ()
38767 {
38768 return f != $ac_func;
38769 ;
38770 return 0;
38771 }
38772 _ACEOF
38773 rm -f conftest.$ac_objext conftest$ac_exeext
38774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38775 (eval $ac_link) 2>conftest.er1
38776 ac_status=$?
38777 grep -v '^ *+' conftest.er1 >conftest.err
38778 rm -f conftest.er1
38779 cat conftest.err >&5
38780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38781 (exit $ac_status); } &&
38782 { ac_try='test -z "$ac_c_werror_flag"
38783 || test ! -s conftest.err'
38784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38785 (eval $ac_try) 2>&5
38786 ac_status=$?
38787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38788 (exit $ac_status); }; } &&
38789 { ac_try='test -s conftest$ac_exeext'
38790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38791 (eval $ac_try) 2>&5
38792 ac_status=$?
38793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38794 (exit $ac_status); }; }; then
38795 eval "$as_ac_var=yes"
38796 else
38797 echo "$as_me: failed program was:" >&5
38798 sed 's/^/| /' conftest.$ac_ext >&5
38799
38800 eval "$as_ac_var=no"
38801 fi
38802 rm -f conftest.err conftest.$ac_objext \
38803 conftest$ac_exeext conftest.$ac_ext
38804 fi
38805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38807 if test `eval echo '${'$as_ac_var'}'` = yes; then
38808 cat >>confdefs.h <<_ACEOF
38809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38810 _ACEOF
38811
38812 fi
38813 done
38814
38815 fi
38816 fi
38817
38818
38819
38820
38821
38822
38823 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38824 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38825 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38826 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38827 echo $ECHO_N "(cached) $ECHO_C" >&6
38828 else
38829
38830
38831
38832 ac_ext=cc
38833 ac_cpp='$CXXCPP $CPPFLAGS'
38834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38837
38838 cat >conftest.$ac_ext <<_ACEOF
38839 /* confdefs.h. */
38840 _ACEOF
38841 cat confdefs.h >>conftest.$ac_ext
38842 cat >>conftest.$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844 #include <math.h>
38845 #ifdef HAVE_IEEEFP_H
38846 #include <ieeefp.h>
38847 #endif
38848
38849 int
38850 main ()
38851 {
38852 log10f(0);
38853 ;
38854 return 0;
38855 }
38856 _ACEOF
38857 rm -f conftest.$ac_objext
38858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38859 (eval $ac_compile) 2>conftest.er1
38860 ac_status=$?
38861 grep -v '^ *+' conftest.er1 >conftest.err
38862 rm -f conftest.er1
38863 cat conftest.err >&5
38864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38865 (exit $ac_status); } &&
38866 { ac_try='test -z "$ac_cxx_werror_flag"
38867 || test ! -s conftest.err'
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); }; } &&
38873 { ac_try='test -s conftest.$ac_objext'
38874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38875 (eval $ac_try) 2>&5
38876 ac_status=$?
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); }; }; then
38879 glibcxx_cv_func_log10f_use=yes
38880 else
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.$ac_ext >&5
38883
38884 glibcxx_cv_func_log10f_use=no
38885 fi
38886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38887 ac_ext=c
38888 ac_cpp='$CPP $CPPFLAGS'
38889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38892
38893
38894 fi
38895
38896 fi
38897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38898 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38899
38900 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38901
38902 for ac_func in log10f
38903 do
38904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38905 echo "$as_me:$LINENO: checking for $ac_func" >&5
38906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38907 if eval "test \"\${$as_ac_var+set}\" = set"; then
38908 echo $ECHO_N "(cached) $ECHO_C" >&6
38909 else
38910 if test x$gcc_no_link = xyes; then
38911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38913 { (exit 1); exit 1; }; }
38914 fi
38915 cat >conftest.$ac_ext <<_ACEOF
38916 /* confdefs.h. */
38917 _ACEOF
38918 cat confdefs.h >>conftest.$ac_ext
38919 cat >>conftest.$ac_ext <<_ACEOF
38920 /* end confdefs.h. */
38921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38923 #define $ac_func innocuous_$ac_func
38924
38925 /* System header to define __stub macros and hopefully few prototypes,
38926 which can conflict with char $ac_func (); below.
38927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38928 <limits.h> exists even on freestanding compilers. */
38929
38930 #ifdef __STDC__
38931 # include <limits.h>
38932 #else
38933 # include <assert.h>
38934 #endif
38935
38936 #undef $ac_func
38937
38938 /* Override any gcc2 internal prototype to avoid an error. */
38939 #ifdef __cplusplus
38940 extern "C"
38941 {
38942 #endif
38943 /* We use char because int might match the return type of a gcc2
38944 builtin and then its argument prototype would still apply. */
38945 char $ac_func ();
38946 /* The GNU C library defines this for functions which it implements
38947 to always fail with ENOSYS. Some functions are actually named
38948 something starting with __ and the normal name is an alias. */
38949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38950 choke me
38951 #else
38952 char (*f) () = $ac_func;
38953 #endif
38954 #ifdef __cplusplus
38955 }
38956 #endif
38957
38958 int
38959 main ()
38960 {
38961 return f != $ac_func;
38962 ;
38963 return 0;
38964 }
38965 _ACEOF
38966 rm -f conftest.$ac_objext conftest$ac_exeext
38967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38968 (eval $ac_link) 2>conftest.er1
38969 ac_status=$?
38970 grep -v '^ *+' conftest.er1 >conftest.err
38971 rm -f conftest.er1
38972 cat conftest.err >&5
38973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38974 (exit $ac_status); } &&
38975 { ac_try='test -z "$ac_c_werror_flag"
38976 || test ! -s conftest.err'
38977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38978 (eval $ac_try) 2>&5
38979 ac_status=$?
38980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38981 (exit $ac_status); }; } &&
38982 { ac_try='test -s conftest$ac_exeext'
38983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38984 (eval $ac_try) 2>&5
38985 ac_status=$?
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); }; }; then
38988 eval "$as_ac_var=yes"
38989 else
38990 echo "$as_me: failed program was:" >&5
38991 sed 's/^/| /' conftest.$ac_ext >&5
38992
38993 eval "$as_ac_var=no"
38994 fi
38995 rm -f conftest.err conftest.$ac_objext \
38996 conftest$ac_exeext conftest.$ac_ext
38997 fi
38998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39000 if test `eval echo '${'$as_ac_var'}'` = yes; then
39001 cat >>confdefs.h <<_ACEOF
39002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39003 _ACEOF
39004
39005 fi
39006 done
39007
39008 else
39009
39010 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
39011 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
39012 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
39013 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
39014 echo $ECHO_N "(cached) $ECHO_C" >&6
39015 else
39016
39017
39018
39019 ac_ext=cc
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39024
39025 cat >conftest.$ac_ext <<_ACEOF
39026 /* confdefs.h. */
39027 _ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031 #include <math.h>
39032 #ifdef HAVE_IEEEFP_H
39033 #include <ieeefp.h>
39034 #endif
39035
39036 int
39037 main ()
39038 {
39039 _log10f(0);
39040 ;
39041 return 0;
39042 }
39043 _ACEOF
39044 rm -f conftest.$ac_objext
39045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39046 (eval $ac_compile) 2>conftest.er1
39047 ac_status=$?
39048 grep -v '^ *+' conftest.er1 >conftest.err
39049 rm -f conftest.er1
39050 cat conftest.err >&5
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); } &&
39053 { ac_try='test -z "$ac_cxx_werror_flag"
39054 || test ! -s conftest.err'
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); }; } &&
39060 { ac_try='test -s conftest.$ac_objext'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39063 ac_status=$?
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; }; then
39066 glibcxx_cv_func__log10f_use=yes
39067 else
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39070
39071 glibcxx_cv_func__log10f_use=no
39072 fi
39073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39074 ac_ext=c
39075 ac_cpp='$CPP $CPPFLAGS'
39076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39079
39080
39081 fi
39082
39083 fi
39084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
39085 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
39086
39087 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
39088
39089 for ac_func in _log10f
39090 do
39091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39092 echo "$as_me:$LINENO: checking for $ac_func" >&5
39093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39094 if eval "test \"\${$as_ac_var+set}\" = set"; then
39095 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 else
39097 if test x$gcc_no_link = xyes; then
39098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39100 { (exit 1); exit 1; }; }
39101 fi
39102 cat >conftest.$ac_ext <<_ACEOF
39103 /* confdefs.h. */
39104 _ACEOF
39105 cat confdefs.h >>conftest.$ac_ext
39106 cat >>conftest.$ac_ext <<_ACEOF
39107 /* end confdefs.h. */
39108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39110 #define $ac_func innocuous_$ac_func
39111
39112 /* System header to define __stub macros and hopefully few prototypes,
39113 which can conflict with char $ac_func (); below.
39114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39115 <limits.h> exists even on freestanding compilers. */
39116
39117 #ifdef __STDC__
39118 # include <limits.h>
39119 #else
39120 # include <assert.h>
39121 #endif
39122
39123 #undef $ac_func
39124
39125 /* Override any gcc2 internal prototype to avoid an error. */
39126 #ifdef __cplusplus
39127 extern "C"
39128 {
39129 #endif
39130 /* We use char because int might match the return type of a gcc2
39131 builtin and then its argument prototype would still apply. */
39132 char $ac_func ();
39133 /* The GNU C library defines this for functions which it implements
39134 to always fail with ENOSYS. Some functions are actually named
39135 something starting with __ and the normal name is an alias. */
39136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39137 choke me
39138 #else
39139 char (*f) () = $ac_func;
39140 #endif
39141 #ifdef __cplusplus
39142 }
39143 #endif
39144
39145 int
39146 main ()
39147 {
39148 return f != $ac_func;
39149 ;
39150 return 0;
39151 }
39152 _ACEOF
39153 rm -f conftest.$ac_objext conftest$ac_exeext
39154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39155 (eval $ac_link) 2>conftest.er1
39156 ac_status=$?
39157 grep -v '^ *+' conftest.er1 >conftest.err
39158 rm -f conftest.er1
39159 cat conftest.err >&5
39160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161 (exit $ac_status); } &&
39162 { ac_try='test -z "$ac_c_werror_flag"
39163 || test ! -s conftest.err'
39164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39165 (eval $ac_try) 2>&5
39166 ac_status=$?
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); }; } &&
39169 { ac_try='test -s conftest$ac_exeext'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39172 ac_status=$?
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; }; then
39175 eval "$as_ac_var=yes"
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39179
39180 eval "$as_ac_var=no"
39181 fi
39182 rm -f conftest.err conftest.$ac_objext \
39183 conftest$ac_exeext conftest.$ac_ext
39184 fi
39185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39187 if test `eval echo '${'$as_ac_var'}'` = yes; then
39188 cat >>confdefs.h <<_ACEOF
39189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39190 _ACEOF
39191
39192 fi
39193 done
39194
39195 fi
39196 fi
39197
39198
39199
39200
39201
39202
39203 echo "$as_me:$LINENO: checking for modff declaration" >&5
39204 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
39205 if test x${glibcxx_cv_func_modff_use+set} != xset; then
39206 if test "${glibcxx_cv_func_modff_use+set}" = set; then
39207 echo $ECHO_N "(cached) $ECHO_C" >&6
39208 else
39209
39210
39211
39212 ac_ext=cc
39213 ac_cpp='$CXXCPP $CPPFLAGS'
39214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39217
39218 cat >conftest.$ac_ext <<_ACEOF
39219 /* confdefs.h. */
39220 _ACEOF
39221 cat confdefs.h >>conftest.$ac_ext
39222 cat >>conftest.$ac_ext <<_ACEOF
39223 /* end confdefs.h. */
39224 #include <math.h>
39225 int
39226 main ()
39227 {
39228 modff(0, 0);
39229 ;
39230 return 0;
39231 }
39232 _ACEOF
39233 rm -f conftest.$ac_objext
39234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39235 (eval $ac_compile) 2>conftest.er1
39236 ac_status=$?
39237 grep -v '^ *+' conftest.er1 >conftest.err
39238 rm -f conftest.er1
39239 cat conftest.err >&5
39240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39241 (exit $ac_status); } &&
39242 { ac_try='test -z "$ac_cxx_werror_flag"
39243 || test ! -s conftest.err'
39244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39245 (eval $ac_try) 2>&5
39246 ac_status=$?
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); }; } &&
39249 { ac_try='test -s conftest.$ac_objext'
39250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39251 (eval $ac_try) 2>&5
39252 ac_status=$?
39253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39254 (exit $ac_status); }; }; then
39255 glibcxx_cv_func_modff_use=yes
39256 else
39257 echo "$as_me: failed program was:" >&5
39258 sed 's/^/| /' conftest.$ac_ext >&5
39259
39260 glibcxx_cv_func_modff_use=no
39261 fi
39262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39263 ac_ext=c
39264 ac_cpp='$CPP $CPPFLAGS'
39265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39268
39269
39270 fi
39271
39272 fi
39273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39274 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39275
39276 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39277
39278 for ac_func in modff
39279 do
39280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39281 echo "$as_me:$LINENO: checking for $ac_func" >&5
39282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39283 if eval "test \"\${$as_ac_var+set}\" = set"; then
39284 echo $ECHO_N "(cached) $ECHO_C" >&6
39285 else
39286 if test x$gcc_no_link = xyes; then
39287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39289 { (exit 1); exit 1; }; }
39290 fi
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h. */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39299 #define $ac_func innocuous_$ac_func
39300
39301 /* System header to define __stub macros and hopefully few prototypes,
39302 which can conflict with char $ac_func (); below.
39303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39304 <limits.h> exists even on freestanding compilers. */
39305
39306 #ifdef __STDC__
39307 # include <limits.h>
39308 #else
39309 # include <assert.h>
39310 #endif
39311
39312 #undef $ac_func
39313
39314 /* Override any gcc2 internal prototype to avoid an error. */
39315 #ifdef __cplusplus
39316 extern "C"
39317 {
39318 #endif
39319 /* We use char because int might match the return type of a gcc2
39320 builtin and then its argument prototype would still apply. */
39321 char $ac_func ();
39322 /* The GNU C library defines this for functions which it implements
39323 to always fail with ENOSYS. Some functions are actually named
39324 something starting with __ and the normal name is an alias. */
39325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39326 choke me
39327 #else
39328 char (*f) () = $ac_func;
39329 #endif
39330 #ifdef __cplusplus
39331 }
39332 #endif
39333
39334 int
39335 main ()
39336 {
39337 return f != $ac_func;
39338 ;
39339 return 0;
39340 }
39341 _ACEOF
39342 rm -f conftest.$ac_objext conftest$ac_exeext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39344 (eval $ac_link) 2>conftest.er1
39345 ac_status=$?
39346 grep -v '^ *+' conftest.er1 >conftest.err
39347 rm -f conftest.er1
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try='test -z "$ac_c_werror_flag"
39352 || test ! -s conftest.err'
39353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39354 (eval $ac_try) 2>&5
39355 ac_status=$?
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); }; } &&
39358 { ac_try='test -s conftest$ac_exeext'
39359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39360 (eval $ac_try) 2>&5
39361 ac_status=$?
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); }; }; then
39364 eval "$as_ac_var=yes"
39365 else
39366 echo "$as_me: failed program was:" >&5
39367 sed 's/^/| /' conftest.$ac_ext >&5
39368
39369 eval "$as_ac_var=no"
39370 fi
39371 rm -f conftest.err conftest.$ac_objext \
39372 conftest$ac_exeext conftest.$ac_ext
39373 fi
39374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39376 if test `eval echo '${'$as_ac_var'}'` = yes; then
39377 cat >>confdefs.h <<_ACEOF
39378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39379 _ACEOF
39380
39381 fi
39382 done
39383
39384 else
39385
39386 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39387 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39388 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39389 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39390 echo $ECHO_N "(cached) $ECHO_C" >&6
39391 else
39392
39393
39394
39395 ac_ext=cc
39396 ac_cpp='$CXXCPP $CPPFLAGS'
39397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39400
39401 cat >conftest.$ac_ext <<_ACEOF
39402 /* confdefs.h. */
39403 _ACEOF
39404 cat confdefs.h >>conftest.$ac_ext
39405 cat >>conftest.$ac_ext <<_ACEOF
39406 /* end confdefs.h. */
39407 #include <math.h>
39408 int
39409 main ()
39410 {
39411 _modff(0, 0);
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 rm -f conftest.$ac_objext
39417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39418 (eval $ac_compile) 2>conftest.er1
39419 ac_status=$?
39420 grep -v '^ *+' conftest.er1 >conftest.err
39421 rm -f conftest.er1
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } &&
39425 { ac_try='test -z "$ac_cxx_werror_flag"
39426 || test ! -s conftest.err'
39427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39428 (eval $ac_try) 2>&5
39429 ac_status=$?
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; } &&
39432 { ac_try='test -s conftest.$ac_objext'
39433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39434 (eval $ac_try) 2>&5
39435 ac_status=$?
39436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39437 (exit $ac_status); }; }; then
39438 glibcxx_cv_func__modff_use=yes
39439 else
39440 echo "$as_me: failed program was:" >&5
39441 sed 's/^/| /' conftest.$ac_ext >&5
39442
39443 glibcxx_cv_func__modff_use=no
39444 fi
39445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39446 ac_ext=c
39447 ac_cpp='$CPP $CPPFLAGS'
39448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39451
39452
39453 fi
39454
39455 fi
39456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39457 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39458
39459 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39460
39461 for ac_func in _modff
39462 do
39463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39464 echo "$as_me:$LINENO: checking for $ac_func" >&5
39465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39466 if eval "test \"\${$as_ac_var+set}\" = set"; then
39467 echo $ECHO_N "(cached) $ECHO_C" >&6
39468 else
39469 if test x$gcc_no_link = xyes; then
39470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39472 { (exit 1); exit 1; }; }
39473 fi
39474 cat >conftest.$ac_ext <<_ACEOF
39475 /* confdefs.h. */
39476 _ACEOF
39477 cat confdefs.h >>conftest.$ac_ext
39478 cat >>conftest.$ac_ext <<_ACEOF
39479 /* end confdefs.h. */
39480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39482 #define $ac_func innocuous_$ac_func
39483
39484 /* System header to define __stub macros and hopefully few prototypes,
39485 which can conflict with char $ac_func (); below.
39486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39487 <limits.h> exists even on freestanding compilers. */
39488
39489 #ifdef __STDC__
39490 # include <limits.h>
39491 #else
39492 # include <assert.h>
39493 #endif
39494
39495 #undef $ac_func
39496
39497 /* Override any gcc2 internal prototype to avoid an error. */
39498 #ifdef __cplusplus
39499 extern "C"
39500 {
39501 #endif
39502 /* We use char because int might match the return type of a gcc2
39503 builtin and then its argument prototype would still apply. */
39504 char $ac_func ();
39505 /* The GNU C library defines this for functions which it implements
39506 to always fail with ENOSYS. Some functions are actually named
39507 something starting with __ and the normal name is an alias. */
39508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39509 choke me
39510 #else
39511 char (*f) () = $ac_func;
39512 #endif
39513 #ifdef __cplusplus
39514 }
39515 #endif
39516
39517 int
39518 main ()
39519 {
39520 return f != $ac_func;
39521 ;
39522 return 0;
39523 }
39524 _ACEOF
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39527 (eval $ac_link) 2>conftest.er1
39528 ac_status=$?
39529 grep -v '^ *+' conftest.er1 >conftest.err
39530 rm -f conftest.er1
39531 cat conftest.err >&5
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); } &&
39534 { ac_try='test -z "$ac_c_werror_flag"
39535 || test ! -s conftest.err'
39536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39537 (eval $ac_try) 2>&5
39538 ac_status=$?
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); }; } &&
39541 { ac_try='test -s conftest$ac_exeext'
39542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39543 (eval $ac_try) 2>&5
39544 ac_status=$?
39545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39546 (exit $ac_status); }; }; then
39547 eval "$as_ac_var=yes"
39548 else
39549 echo "$as_me: failed program was:" >&5
39550 sed 's/^/| /' conftest.$ac_ext >&5
39551
39552 eval "$as_ac_var=no"
39553 fi
39554 rm -f conftest.err conftest.$ac_objext \
39555 conftest$ac_exeext conftest.$ac_ext
39556 fi
39557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39559 if test `eval echo '${'$as_ac_var'}'` = yes; then
39560 cat >>confdefs.h <<_ACEOF
39561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39562 _ACEOF
39563
39564 fi
39565 done
39566
39567 fi
39568 fi
39569
39570
39571
39572
39573
39574
39575 echo "$as_me:$LINENO: checking for modf declaration" >&5
39576 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
39577 if test x${glibcxx_cv_func_modf_use+set} != xset; then
39578 if test "${glibcxx_cv_func_modf_use+set}" = set; then
39579 echo $ECHO_N "(cached) $ECHO_C" >&6
39580 else
39581
39582
39583
39584 ac_ext=cc
39585 ac_cpp='$CXXCPP $CPPFLAGS'
39586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39589
39590 cat >conftest.$ac_ext <<_ACEOF
39591 /* confdefs.h. */
39592 _ACEOF
39593 cat confdefs.h >>conftest.$ac_ext
39594 cat >>conftest.$ac_ext <<_ACEOF
39595 /* end confdefs.h. */
39596 #include <math.h>
39597 int
39598 main ()
39599 {
39600 modf(0, 0);
39601 ;
39602 return 0;
39603 }
39604 _ACEOF
39605 rm -f conftest.$ac_objext
39606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39607 (eval $ac_compile) 2>conftest.er1
39608 ac_status=$?
39609 grep -v '^ *+' conftest.er1 >conftest.err
39610 rm -f conftest.er1
39611 cat conftest.err >&5
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); } &&
39614 { ac_try='test -z "$ac_cxx_werror_flag"
39615 || test ! -s conftest.err'
39616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39617 (eval $ac_try) 2>&5
39618 ac_status=$?
39619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39620 (exit $ac_status); }; } &&
39621 { ac_try='test -s conftest.$ac_objext'
39622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39623 (eval $ac_try) 2>&5
39624 ac_status=$?
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); }; }; then
39627 glibcxx_cv_func_modf_use=yes
39628 else
39629 echo "$as_me: failed program was:" >&5
39630 sed 's/^/| /' conftest.$ac_ext >&5
39631
39632 glibcxx_cv_func_modf_use=no
39633 fi
39634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39635 ac_ext=c
39636 ac_cpp='$CPP $CPPFLAGS'
39637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39640
39641
39642 fi
39643
39644 fi
39645 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
39646 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
39647
39648 if test x$glibcxx_cv_func_modf_use = x"yes"; then
39649
39650 for ac_func in modf
39651 do
39652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39653 echo "$as_me:$LINENO: checking for $ac_func" >&5
39654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39655 if eval "test \"\${$as_ac_var+set}\" = set"; then
39656 echo $ECHO_N "(cached) $ECHO_C" >&6
39657 else
39658 if test x$gcc_no_link = xyes; then
39659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39661 { (exit 1); exit 1; }; }
39662 fi
39663 cat >conftest.$ac_ext <<_ACEOF
39664 /* confdefs.h. */
39665 _ACEOF
39666 cat confdefs.h >>conftest.$ac_ext
39667 cat >>conftest.$ac_ext <<_ACEOF
39668 /* end confdefs.h. */
39669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39671 #define $ac_func innocuous_$ac_func
39672
39673 /* System header to define __stub macros and hopefully few prototypes,
39674 which can conflict with char $ac_func (); below.
39675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39676 <limits.h> exists even on freestanding compilers. */
39677
39678 #ifdef __STDC__
39679 # include <limits.h>
39680 #else
39681 # include <assert.h>
39682 #endif
39683
39684 #undef $ac_func
39685
39686 /* Override any gcc2 internal prototype to avoid an error. */
39687 #ifdef __cplusplus
39688 extern "C"
39689 {
39690 #endif
39691 /* We use char because int might match the return type of a gcc2
39692 builtin and then its argument prototype would still apply. */
39693 char $ac_func ();
39694 /* The GNU C library defines this for functions which it implements
39695 to always fail with ENOSYS. Some functions are actually named
39696 something starting with __ and the normal name is an alias. */
39697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39698 choke me
39699 #else
39700 char (*f) () = $ac_func;
39701 #endif
39702 #ifdef __cplusplus
39703 }
39704 #endif
39705
39706 int
39707 main ()
39708 {
39709 return f != $ac_func;
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 rm -f conftest.$ac_objext conftest$ac_exeext
39715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39716 (eval $ac_link) 2>conftest.er1
39717 ac_status=$?
39718 grep -v '^ *+' conftest.er1 >conftest.err
39719 rm -f conftest.er1
39720 cat conftest.err >&5
39721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39722 (exit $ac_status); } &&
39723 { ac_try='test -z "$ac_c_werror_flag"
39724 || test ! -s conftest.err'
39725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39726 (eval $ac_try) 2>&5
39727 ac_status=$?
39728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39729 (exit $ac_status); }; } &&
39730 { ac_try='test -s conftest$ac_exeext'
39731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39732 (eval $ac_try) 2>&5
39733 ac_status=$?
39734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39735 (exit $ac_status); }; }; then
39736 eval "$as_ac_var=yes"
39737 else
39738 echo "$as_me: failed program was:" >&5
39739 sed 's/^/| /' conftest.$ac_ext >&5
39740
39741 eval "$as_ac_var=no"
39742 fi
39743 rm -f conftest.err conftest.$ac_objext \
39744 conftest$ac_exeext conftest.$ac_ext
39745 fi
39746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39748 if test `eval echo '${'$as_ac_var'}'` = yes; then
39749 cat >>confdefs.h <<_ACEOF
39750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39751 _ACEOF
39752
39753 fi
39754 done
39755
39756 else
39757
39758 echo "$as_me:$LINENO: checking for _modf declaration" >&5
39759 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
39760 if test x${glibcxx_cv_func__modf_use+set} != xset; then
39761 if test "${glibcxx_cv_func__modf_use+set}" = set; then
39762 echo $ECHO_N "(cached) $ECHO_C" >&6
39763 else
39764
39765
39766
39767 ac_ext=cc
39768 ac_cpp='$CXXCPP $CPPFLAGS'
39769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39772
39773 cat >conftest.$ac_ext <<_ACEOF
39774 /* confdefs.h. */
39775 _ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779 #include <math.h>
39780 int
39781 main ()
39782 {
39783 _modf(0, 0);
39784 ;
39785 return 0;
39786 }
39787 _ACEOF
39788 rm -f conftest.$ac_objext
39789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39790 (eval $ac_compile) 2>conftest.er1
39791 ac_status=$?
39792 grep -v '^ *+' conftest.er1 >conftest.err
39793 rm -f conftest.er1
39794 cat conftest.err >&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); } &&
39797 { ac_try='test -z "$ac_cxx_werror_flag"
39798 || test ! -s conftest.err'
39799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39800 (eval $ac_try) 2>&5
39801 ac_status=$?
39802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39803 (exit $ac_status); }; } &&
39804 { ac_try='test -s conftest.$ac_objext'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39807 ac_status=$?
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; }; then
39810 glibcxx_cv_func__modf_use=yes
39811 else
39812 echo "$as_me: failed program was:" >&5
39813 sed 's/^/| /' conftest.$ac_ext >&5
39814
39815 glibcxx_cv_func__modf_use=no
39816 fi
39817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39818 ac_ext=c
39819 ac_cpp='$CPP $CPPFLAGS'
39820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39823
39824
39825 fi
39826
39827 fi
39828 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
39829 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
39830
39831 if test x$glibcxx_cv_func__modf_use = x"yes"; then
39832
39833 for ac_func in _modf
39834 do
39835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39836 echo "$as_me:$LINENO: checking for $ac_func" >&5
39837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39838 if eval "test \"\${$as_ac_var+set}\" = set"; then
39839 echo $ECHO_N "(cached) $ECHO_C" >&6
39840 else
39841 if test x$gcc_no_link = xyes; then
39842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39844 { (exit 1); exit 1; }; }
39845 fi
39846 cat >conftest.$ac_ext <<_ACEOF
39847 /* confdefs.h. */
39848 _ACEOF
39849 cat confdefs.h >>conftest.$ac_ext
39850 cat >>conftest.$ac_ext <<_ACEOF
39851 /* end confdefs.h. */
39852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39854 #define $ac_func innocuous_$ac_func
39855
39856 /* System header to define __stub macros and hopefully few prototypes,
39857 which can conflict with char $ac_func (); below.
39858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39859 <limits.h> exists even on freestanding compilers. */
39860
39861 #ifdef __STDC__
39862 # include <limits.h>
39863 #else
39864 # include <assert.h>
39865 #endif
39866
39867 #undef $ac_func
39868
39869 /* Override any gcc2 internal prototype to avoid an error. */
39870 #ifdef __cplusplus
39871 extern "C"
39872 {
39873 #endif
39874 /* We use char because int might match the return type of a gcc2
39875 builtin and then its argument prototype would still apply. */
39876 char $ac_func ();
39877 /* The GNU C library defines this for functions which it implements
39878 to always fail with ENOSYS. Some functions are actually named
39879 something starting with __ and the normal name is an alias. */
39880 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39881 choke me
39882 #else
39883 char (*f) () = $ac_func;
39884 #endif
39885 #ifdef __cplusplus
39886 }
39887 #endif
39888
39889 int
39890 main ()
39891 {
39892 return f != $ac_func;
39893 ;
39894 return 0;
39895 }
39896 _ACEOF
39897 rm -f conftest.$ac_objext conftest$ac_exeext
39898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39899 (eval $ac_link) 2>conftest.er1
39900 ac_status=$?
39901 grep -v '^ *+' conftest.er1 >conftest.err
39902 rm -f conftest.er1
39903 cat conftest.err >&5
39904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39905 (exit $ac_status); } &&
39906 { ac_try='test -z "$ac_c_werror_flag"
39907 || test ! -s conftest.err'
39908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39909 (eval $ac_try) 2>&5
39910 ac_status=$?
39911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39912 (exit $ac_status); }; } &&
39913 { ac_try='test -s conftest$ac_exeext'
39914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39915 (eval $ac_try) 2>&5
39916 ac_status=$?
39917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39918 (exit $ac_status); }; }; then
39919 eval "$as_ac_var=yes"
39920 else
39921 echo "$as_me: failed program was:" >&5
39922 sed 's/^/| /' conftest.$ac_ext >&5
39923
39924 eval "$as_ac_var=no"
39925 fi
39926 rm -f conftest.err conftest.$ac_objext \
39927 conftest$ac_exeext conftest.$ac_ext
39928 fi
39929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39931 if test `eval echo '${'$as_ac_var'}'` = yes; then
39932 cat >>confdefs.h <<_ACEOF
39933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39934 _ACEOF
39935
39936 fi
39937 done
39938
39939 fi
39940 fi
39941
39942
39943
39944
39945
39946
39947 echo "$as_me:$LINENO: checking for powf declaration" >&5
39948 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39949 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39950 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39951 echo $ECHO_N "(cached) $ECHO_C" >&6
39952 else
39953
39954
39955
39956 ac_ext=cc
39957 ac_cpp='$CXXCPP $CPPFLAGS'
39958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39961
39962 cat >conftest.$ac_ext <<_ACEOF
39963 /* confdefs.h. */
39964 _ACEOF
39965 cat confdefs.h >>conftest.$ac_ext
39966 cat >>conftest.$ac_ext <<_ACEOF
39967 /* end confdefs.h. */
39968 #include <math.h>
39969 int
39970 main ()
39971 {
39972 powf(0, 0);
39973 ;
39974 return 0;
39975 }
39976 _ACEOF
39977 rm -f conftest.$ac_objext
39978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39979 (eval $ac_compile) 2>conftest.er1
39980 ac_status=$?
39981 grep -v '^ *+' conftest.er1 >conftest.err
39982 rm -f conftest.er1
39983 cat conftest.err >&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } &&
39986 { ac_try='test -z "$ac_cxx_werror_flag"
39987 || test ! -s conftest.err'
39988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39989 (eval $ac_try) 2>&5
39990 ac_status=$?
39991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39992 (exit $ac_status); }; } &&
39993 { ac_try='test -s conftest.$ac_objext'
39994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39995 (eval $ac_try) 2>&5
39996 ac_status=$?
39997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39998 (exit $ac_status); }; }; then
39999 glibcxx_cv_func_powf_use=yes
40000 else
40001 echo "$as_me: failed program was:" >&5
40002 sed 's/^/| /' conftest.$ac_ext >&5
40003
40004 glibcxx_cv_func_powf_use=no
40005 fi
40006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40007 ac_ext=c
40008 ac_cpp='$CPP $CPPFLAGS'
40009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40012
40013
40014 fi
40015
40016 fi
40017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
40018 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
40019
40020 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40021
40022 for ac_func in powf
40023 do
40024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40025 echo "$as_me:$LINENO: checking for $ac_func" >&5
40026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40027 if eval "test \"\${$as_ac_var+set}\" = set"; then
40028 echo $ECHO_N "(cached) $ECHO_C" >&6
40029 else
40030 if test x$gcc_no_link = xyes; then
40031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40033 { (exit 1); exit 1; }; }
40034 fi
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40043 #define $ac_func innocuous_$ac_func
40044
40045 /* System header to define __stub macros and hopefully few prototypes,
40046 which can conflict with char $ac_func (); below.
40047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40048 <limits.h> exists even on freestanding compilers. */
40049
40050 #ifdef __STDC__
40051 # include <limits.h>
40052 #else
40053 # include <assert.h>
40054 #endif
40055
40056 #undef $ac_func
40057
40058 /* Override any gcc2 internal prototype to avoid an error. */
40059 #ifdef __cplusplus
40060 extern "C"
40061 {
40062 #endif
40063 /* We use char because int might match the return type of a gcc2
40064 builtin and then its argument prototype would still apply. */
40065 char $ac_func ();
40066 /* The GNU C library defines this for functions which it implements
40067 to always fail with ENOSYS. Some functions are actually named
40068 something starting with __ and the normal name is an alias. */
40069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40070 choke me
40071 #else
40072 char (*f) () = $ac_func;
40073 #endif
40074 #ifdef __cplusplus
40075 }
40076 #endif
40077
40078 int
40079 main ()
40080 {
40081 return f != $ac_func;
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 rm -f conftest.$ac_objext conftest$ac_exeext
40087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40088 (eval $ac_link) 2>conftest.er1
40089 ac_status=$?
40090 grep -v '^ *+' conftest.er1 >conftest.err
40091 rm -f conftest.er1
40092 cat conftest.err >&5
40093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40094 (exit $ac_status); } &&
40095 { ac_try='test -z "$ac_c_werror_flag"
40096 || test ! -s conftest.err'
40097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40098 (eval $ac_try) 2>&5
40099 ac_status=$?
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); }; } &&
40102 { ac_try='test -s conftest$ac_exeext'
40103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40104 (eval $ac_try) 2>&5
40105 ac_status=$?
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); }; }; then
40108 eval "$as_ac_var=yes"
40109 else
40110 echo "$as_me: failed program was:" >&5
40111 sed 's/^/| /' conftest.$ac_ext >&5
40112
40113 eval "$as_ac_var=no"
40114 fi
40115 rm -f conftest.err conftest.$ac_objext \
40116 conftest$ac_exeext conftest.$ac_ext
40117 fi
40118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40120 if test `eval echo '${'$as_ac_var'}'` = yes; then
40121 cat >>confdefs.h <<_ACEOF
40122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40123 _ACEOF
40124
40125 fi
40126 done
40127
40128 else
40129
40130 echo "$as_me:$LINENO: checking for _powf declaration" >&5
40131 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
40132 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40133 if test "${glibcxx_cv_func__powf_use+set}" = set; then
40134 echo $ECHO_N "(cached) $ECHO_C" >&6
40135 else
40136
40137
40138
40139 ac_ext=cc
40140 ac_cpp='$CXXCPP $CPPFLAGS'
40141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40144
40145 cat >conftest.$ac_ext <<_ACEOF
40146 /* confdefs.h. */
40147 _ACEOF
40148 cat confdefs.h >>conftest.$ac_ext
40149 cat >>conftest.$ac_ext <<_ACEOF
40150 /* end confdefs.h. */
40151 #include <math.h>
40152 int
40153 main ()
40154 {
40155 _powf(0, 0);
40156 ;
40157 return 0;
40158 }
40159 _ACEOF
40160 rm -f conftest.$ac_objext
40161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40162 (eval $ac_compile) 2>conftest.er1
40163 ac_status=$?
40164 grep -v '^ *+' conftest.er1 >conftest.err
40165 rm -f conftest.er1
40166 cat conftest.err >&5
40167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40168 (exit $ac_status); } &&
40169 { ac_try='test -z "$ac_cxx_werror_flag"
40170 || test ! -s conftest.err'
40171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40172 (eval $ac_try) 2>&5
40173 ac_status=$?
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); }; } &&
40176 { ac_try='test -s conftest.$ac_objext'
40177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40178 (eval $ac_try) 2>&5
40179 ac_status=$?
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); }; }; then
40182 glibcxx_cv_func__powf_use=yes
40183 else
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40186
40187 glibcxx_cv_func__powf_use=no
40188 fi
40189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40190 ac_ext=c
40191 ac_cpp='$CPP $CPPFLAGS'
40192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40195
40196
40197 fi
40198
40199 fi
40200 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
40201 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
40202
40203 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40204
40205 for ac_func in _powf
40206 do
40207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40208 echo "$as_me:$LINENO: checking for $ac_func" >&5
40209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40210 if eval "test \"\${$as_ac_var+set}\" = set"; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40212 else
40213 if test x$gcc_no_link = xyes; then
40214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40216 { (exit 1); exit 1; }; }
40217 fi
40218 cat >conftest.$ac_ext <<_ACEOF
40219 /* confdefs.h. */
40220 _ACEOF
40221 cat confdefs.h >>conftest.$ac_ext
40222 cat >>conftest.$ac_ext <<_ACEOF
40223 /* end confdefs.h. */
40224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40226 #define $ac_func innocuous_$ac_func
40227
40228 /* System header to define __stub macros and hopefully few prototypes,
40229 which can conflict with char $ac_func (); below.
40230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40231 <limits.h> exists even on freestanding compilers. */
40232
40233 #ifdef __STDC__
40234 # include <limits.h>
40235 #else
40236 # include <assert.h>
40237 #endif
40238
40239 #undef $ac_func
40240
40241 /* Override any gcc2 internal prototype to avoid an error. */
40242 #ifdef __cplusplus
40243 extern "C"
40244 {
40245 #endif
40246 /* We use char because int might match the return type of a gcc2
40247 builtin and then its argument prototype would still apply. */
40248 char $ac_func ();
40249 /* The GNU C library defines this for functions which it implements
40250 to always fail with ENOSYS. Some functions are actually named
40251 something starting with __ and the normal name is an alias. */
40252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40253 choke me
40254 #else
40255 char (*f) () = $ac_func;
40256 #endif
40257 #ifdef __cplusplus
40258 }
40259 #endif
40260
40261 int
40262 main ()
40263 {
40264 return f != $ac_func;
40265 ;
40266 return 0;
40267 }
40268 _ACEOF
40269 rm -f conftest.$ac_objext conftest$ac_exeext
40270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40271 (eval $ac_link) 2>conftest.er1
40272 ac_status=$?
40273 grep -v '^ *+' conftest.er1 >conftest.err
40274 rm -f conftest.er1
40275 cat conftest.err >&5
40276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40277 (exit $ac_status); } &&
40278 { ac_try='test -z "$ac_c_werror_flag"
40279 || test ! -s conftest.err'
40280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40281 (eval $ac_try) 2>&5
40282 ac_status=$?
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); }; } &&
40285 { ac_try='test -s conftest$ac_exeext'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40288 ac_status=$?
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; }; then
40291 eval "$as_ac_var=yes"
40292 else
40293 echo "$as_me: failed program was:" >&5
40294 sed 's/^/| /' conftest.$ac_ext >&5
40295
40296 eval "$as_ac_var=no"
40297 fi
40298 rm -f conftest.err conftest.$ac_objext \
40299 conftest$ac_exeext conftest.$ac_ext
40300 fi
40301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40303 if test `eval echo '${'$as_ac_var'}'` = yes; then
40304 cat >>confdefs.h <<_ACEOF
40305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40306 _ACEOF
40307
40308 fi
40309 done
40310
40311 fi
40312 fi
40313
40314
40315
40316
40317
40318
40319 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
40320 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
40321 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40322 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
40323 echo $ECHO_N "(cached) $ECHO_C" >&6
40324 else
40325
40326
40327
40328 ac_ext=cc
40329 ac_cpp='$CXXCPP $CPPFLAGS'
40330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40333
40334 cat >conftest.$ac_ext <<_ACEOF
40335 /* confdefs.h. */
40336 _ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 #include <math.h>
40341 #ifdef HAVE_IEEEFP_H
40342 #include <ieeefp.h>
40343 #endif
40344
40345 int
40346 main ()
40347 {
40348 sqrtf(0);
40349 ;
40350 return 0;
40351 }
40352 _ACEOF
40353 rm -f conftest.$ac_objext
40354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40355 (eval $ac_compile) 2>conftest.er1
40356 ac_status=$?
40357 grep -v '^ *+' conftest.er1 >conftest.err
40358 rm -f conftest.er1
40359 cat conftest.err >&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } &&
40362 { ac_try='test -z "$ac_cxx_werror_flag"
40363 || test ! -s conftest.err'
40364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40365 (eval $ac_try) 2>&5
40366 ac_status=$?
40367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40368 (exit $ac_status); }; } &&
40369 { ac_try='test -s conftest.$ac_objext'
40370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40371 (eval $ac_try) 2>&5
40372 ac_status=$?
40373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40374 (exit $ac_status); }; }; then
40375 glibcxx_cv_func_sqrtf_use=yes
40376 else
40377 echo "$as_me: failed program was:" >&5
40378 sed 's/^/| /' conftest.$ac_ext >&5
40379
40380 glibcxx_cv_func_sqrtf_use=no
40381 fi
40382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40383 ac_ext=c
40384 ac_cpp='$CPP $CPPFLAGS'
40385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40388
40389
40390 fi
40391
40392 fi
40393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
40394 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
40395
40396 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
40397
40398 for ac_func in sqrtf
40399 do
40400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40401 echo "$as_me:$LINENO: checking for $ac_func" >&5
40402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40403 if eval "test \"\${$as_ac_var+set}\" = set"; then
40404 echo $ECHO_N "(cached) $ECHO_C" >&6
40405 else
40406 if test x$gcc_no_link = xyes; then
40407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40409 { (exit 1); exit 1; }; }
40410 fi
40411 cat >conftest.$ac_ext <<_ACEOF
40412 /* confdefs.h. */
40413 _ACEOF
40414 cat confdefs.h >>conftest.$ac_ext
40415 cat >>conftest.$ac_ext <<_ACEOF
40416 /* end confdefs.h. */
40417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40419 #define $ac_func innocuous_$ac_func
40420
40421 /* System header to define __stub macros and hopefully few prototypes,
40422 which can conflict with char $ac_func (); below.
40423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40424 <limits.h> exists even on freestanding compilers. */
40425
40426 #ifdef __STDC__
40427 # include <limits.h>
40428 #else
40429 # include <assert.h>
40430 #endif
40431
40432 #undef $ac_func
40433
40434 /* Override any gcc2 internal prototype to avoid an error. */
40435 #ifdef __cplusplus
40436 extern "C"
40437 {
40438 #endif
40439 /* We use char because int might match the return type of a gcc2
40440 builtin and then its argument prototype would still apply. */
40441 char $ac_func ();
40442 /* The GNU C library defines this for functions which it implements
40443 to always fail with ENOSYS. Some functions are actually named
40444 something starting with __ and the normal name is an alias. */
40445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40446 choke me
40447 #else
40448 char (*f) () = $ac_func;
40449 #endif
40450 #ifdef __cplusplus
40451 }
40452 #endif
40453
40454 int
40455 main ()
40456 {
40457 return f != $ac_func;
40458 ;
40459 return 0;
40460 }
40461 _ACEOF
40462 rm -f conftest.$ac_objext conftest$ac_exeext
40463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40464 (eval $ac_link) 2>conftest.er1
40465 ac_status=$?
40466 grep -v '^ *+' conftest.er1 >conftest.err
40467 rm -f conftest.er1
40468 cat conftest.err >&5
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); } &&
40471 { ac_try='test -z "$ac_c_werror_flag"
40472 || test ! -s conftest.err'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40475 ac_status=$?
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; } &&
40478 { ac_try='test -s conftest$ac_exeext'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40481 ac_status=$?
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; }; then
40484 eval "$as_ac_var=yes"
40485 else
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.$ac_ext >&5
40488
40489 eval "$as_ac_var=no"
40490 fi
40491 rm -f conftest.err conftest.$ac_objext \
40492 conftest$ac_exeext conftest.$ac_ext
40493 fi
40494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40496 if test `eval echo '${'$as_ac_var'}'` = yes; then
40497 cat >>confdefs.h <<_ACEOF
40498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40499 _ACEOF
40500
40501 fi
40502 done
40503
40504 else
40505
40506 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
40507 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
40508 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
40509 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
40510 echo $ECHO_N "(cached) $ECHO_C" >&6
40511 else
40512
40513
40514
40515 ac_ext=cc
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40520
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527 #include <math.h>
40528 #ifdef HAVE_IEEEFP_H
40529 #include <ieeefp.h>
40530 #endif
40531
40532 int
40533 main ()
40534 {
40535 _sqrtf(0);
40536 ;
40537 return 0;
40538 }
40539 _ACEOF
40540 rm -f conftest.$ac_objext
40541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40542 (eval $ac_compile) 2>conftest.er1
40543 ac_status=$?
40544 grep -v '^ *+' conftest.er1 >conftest.err
40545 rm -f conftest.er1
40546 cat conftest.err >&5
40547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40548 (exit $ac_status); } &&
40549 { ac_try='test -z "$ac_cxx_werror_flag"
40550 || test ! -s conftest.err'
40551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40552 (eval $ac_try) 2>&5
40553 ac_status=$?
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); }; } &&
40556 { ac_try='test -s conftest.$ac_objext'
40557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558 (eval $ac_try) 2>&5
40559 ac_status=$?
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); }; }; then
40562 glibcxx_cv_func__sqrtf_use=yes
40563 else
40564 echo "$as_me: failed program was:" >&5
40565 sed 's/^/| /' conftest.$ac_ext >&5
40566
40567 glibcxx_cv_func__sqrtf_use=no
40568 fi
40569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40570 ac_ext=c
40571 ac_cpp='$CPP $CPPFLAGS'
40572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40575
40576
40577 fi
40578
40579 fi
40580 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
40581 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
40582
40583 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
40584
40585 for ac_func in _sqrtf
40586 do
40587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40588 echo "$as_me:$LINENO: checking for $ac_func" >&5
40589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40590 if eval "test \"\${$as_ac_var+set}\" = set"; then
40591 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 else
40593 if test x$gcc_no_link = xyes; then
40594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40596 { (exit 1); exit 1; }; }
40597 fi
40598 cat >conftest.$ac_ext <<_ACEOF
40599 /* confdefs.h. */
40600 _ACEOF
40601 cat confdefs.h >>conftest.$ac_ext
40602 cat >>conftest.$ac_ext <<_ACEOF
40603 /* end confdefs.h. */
40604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40605 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40606 #define $ac_func innocuous_$ac_func
40607
40608 /* System header to define __stub macros and hopefully few prototypes,
40609 which can conflict with char $ac_func (); below.
40610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40611 <limits.h> exists even on freestanding compilers. */
40612
40613 #ifdef __STDC__
40614 # include <limits.h>
40615 #else
40616 # include <assert.h>
40617 #endif
40618
40619 #undef $ac_func
40620
40621 /* Override any gcc2 internal prototype to avoid an error. */
40622 #ifdef __cplusplus
40623 extern "C"
40624 {
40625 #endif
40626 /* We use char because int might match the return type of a gcc2
40627 builtin and then its argument prototype would still apply. */
40628 char $ac_func ();
40629 /* The GNU C library defines this for functions which it implements
40630 to always fail with ENOSYS. Some functions are actually named
40631 something starting with __ and the normal name is an alias. */
40632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40633 choke me
40634 #else
40635 char (*f) () = $ac_func;
40636 #endif
40637 #ifdef __cplusplus
40638 }
40639 #endif
40640
40641 int
40642 main ()
40643 {
40644 return f != $ac_func;
40645 ;
40646 return 0;
40647 }
40648 _ACEOF
40649 rm -f conftest.$ac_objext conftest$ac_exeext
40650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40651 (eval $ac_link) 2>conftest.er1
40652 ac_status=$?
40653 grep -v '^ *+' conftest.er1 >conftest.err
40654 rm -f conftest.er1
40655 cat conftest.err >&5
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); } &&
40658 { ac_try='test -z "$ac_c_werror_flag"
40659 || test ! -s conftest.err'
40660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40661 (eval $ac_try) 2>&5
40662 ac_status=$?
40663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40664 (exit $ac_status); }; } &&
40665 { ac_try='test -s conftest$ac_exeext'
40666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40667 (eval $ac_try) 2>&5
40668 ac_status=$?
40669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40670 (exit $ac_status); }; }; then
40671 eval "$as_ac_var=yes"
40672 else
40673 echo "$as_me: failed program was:" >&5
40674 sed 's/^/| /' conftest.$ac_ext >&5
40675
40676 eval "$as_ac_var=no"
40677 fi
40678 rm -f conftest.err conftest.$ac_objext \
40679 conftest$ac_exeext conftest.$ac_ext
40680 fi
40681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40683 if test `eval echo '${'$as_ac_var'}'` = yes; then
40684 cat >>confdefs.h <<_ACEOF
40685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40686 _ACEOF
40687
40688 fi
40689 done
40690
40691 fi
40692 fi
40693
40694
40695
40696
40697
40698
40699 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40700 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40701 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40702 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40703 echo $ECHO_N "(cached) $ECHO_C" >&6
40704 else
40705
40706
40707
40708 ac_ext=cc
40709 ac_cpp='$CXXCPP $CPPFLAGS'
40710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40713
40714 cat >conftest.$ac_ext <<_ACEOF
40715 /* confdefs.h. */
40716 _ACEOF
40717 cat confdefs.h >>conftest.$ac_ext
40718 cat >>conftest.$ac_ext <<_ACEOF
40719 /* end confdefs.h. */
40720 #include <math.h>
40721 int
40722 main ()
40723 {
40724 sincosf(0, 0, 0);
40725 ;
40726 return 0;
40727 }
40728 _ACEOF
40729 rm -f conftest.$ac_objext
40730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40731 (eval $ac_compile) 2>conftest.er1
40732 ac_status=$?
40733 grep -v '^ *+' conftest.er1 >conftest.err
40734 rm -f conftest.er1
40735 cat conftest.err >&5
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } &&
40738 { ac_try='test -z "$ac_cxx_werror_flag"
40739 || test ! -s conftest.err'
40740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40741 (eval $ac_try) 2>&5
40742 ac_status=$?
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); }; } &&
40745 { ac_try='test -s conftest.$ac_objext'
40746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747 (eval $ac_try) 2>&5
40748 ac_status=$?
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); }; }; then
40751 glibcxx_cv_func_sincosf_use=yes
40752 else
40753 echo "$as_me: failed program was:" >&5
40754 sed 's/^/| /' conftest.$ac_ext >&5
40755
40756 glibcxx_cv_func_sincosf_use=no
40757 fi
40758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40759 ac_ext=c
40760 ac_cpp='$CPP $CPPFLAGS'
40761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40764
40765
40766 fi
40767
40768 fi
40769 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40770 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40771
40772 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40773
40774 for ac_func in sincosf
40775 do
40776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40777 echo "$as_me:$LINENO: checking for $ac_func" >&5
40778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40779 if eval "test \"\${$as_ac_var+set}\" = set"; then
40780 echo $ECHO_N "(cached) $ECHO_C" >&6
40781 else
40782 if test x$gcc_no_link = xyes; then
40783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40785 { (exit 1); exit 1; }; }
40786 fi
40787 cat >conftest.$ac_ext <<_ACEOF
40788 /* confdefs.h. */
40789 _ACEOF
40790 cat confdefs.h >>conftest.$ac_ext
40791 cat >>conftest.$ac_ext <<_ACEOF
40792 /* end confdefs.h. */
40793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40795 #define $ac_func innocuous_$ac_func
40796
40797 /* System header to define __stub macros and hopefully few prototypes,
40798 which can conflict with char $ac_func (); below.
40799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40800 <limits.h> exists even on freestanding compilers. */
40801
40802 #ifdef __STDC__
40803 # include <limits.h>
40804 #else
40805 # include <assert.h>
40806 #endif
40807
40808 #undef $ac_func
40809
40810 /* Override any gcc2 internal prototype to avoid an error. */
40811 #ifdef __cplusplus
40812 extern "C"
40813 {
40814 #endif
40815 /* We use char because int might match the return type of a gcc2
40816 builtin and then its argument prototype would still apply. */
40817 char $ac_func ();
40818 /* The GNU C library defines this for functions which it implements
40819 to always fail with ENOSYS. Some functions are actually named
40820 something starting with __ and the normal name is an alias. */
40821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40822 choke me
40823 #else
40824 char (*f) () = $ac_func;
40825 #endif
40826 #ifdef __cplusplus
40827 }
40828 #endif
40829
40830 int
40831 main ()
40832 {
40833 return f != $ac_func;
40834 ;
40835 return 0;
40836 }
40837 _ACEOF
40838 rm -f conftest.$ac_objext conftest$ac_exeext
40839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40840 (eval $ac_link) 2>conftest.er1
40841 ac_status=$?
40842 grep -v '^ *+' conftest.er1 >conftest.err
40843 rm -f conftest.er1
40844 cat conftest.err >&5
40845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40846 (exit $ac_status); } &&
40847 { ac_try='test -z "$ac_c_werror_flag"
40848 || test ! -s conftest.err'
40849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40850 (eval $ac_try) 2>&5
40851 ac_status=$?
40852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40853 (exit $ac_status); }; } &&
40854 { ac_try='test -s conftest$ac_exeext'
40855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40856 (eval $ac_try) 2>&5
40857 ac_status=$?
40858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40859 (exit $ac_status); }; }; then
40860 eval "$as_ac_var=yes"
40861 else
40862 echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40864
40865 eval "$as_ac_var=no"
40866 fi
40867 rm -f conftest.err conftest.$ac_objext \
40868 conftest$ac_exeext conftest.$ac_ext
40869 fi
40870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40872 if test `eval echo '${'$as_ac_var'}'` = yes; then
40873 cat >>confdefs.h <<_ACEOF
40874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40875 _ACEOF
40876
40877 fi
40878 done
40879
40880 else
40881
40882 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40883 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40884 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40885 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40887 else
40888
40889
40890
40891 ac_ext=cc
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897 cat >conftest.$ac_ext <<_ACEOF
40898 /* confdefs.h. */
40899 _ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 #include <math.h>
40904 int
40905 main ()
40906 {
40907 _sincosf(0, 0, 0);
40908 ;
40909 return 0;
40910 }
40911 _ACEOF
40912 rm -f conftest.$ac_objext
40913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40914 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sincosf_use=yes
40935 else
40936 echo "$as_me: failed program was:" >&5
40937 sed 's/^/| /' conftest.$ac_ext >&5
40938
40939 glibcxx_cv_func__sincosf_use=no
40940 fi
40941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40942 ac_ext=c
40943 ac_cpp='$CPP $CPPFLAGS'
40944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40947
40948
40949 fi
40950
40951 fi
40952 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40953 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40954
40955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40956
40957 for ac_func in _sincosf
40958 do
40959 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40960 echo "$as_me:$LINENO: checking for $ac_func" >&5
40961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40962 if eval "test \"\${$as_ac_var+set}\" = set"; then
40963 echo $ECHO_N "(cached) $ECHO_C" >&6
40964 else
40965 if test x$gcc_no_link = xyes; then
40966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40968 { (exit 1); exit 1; }; }
40969 fi
40970 cat >conftest.$ac_ext <<_ACEOF
40971 /* confdefs.h. */
40972 _ACEOF
40973 cat confdefs.h >>conftest.$ac_ext
40974 cat >>conftest.$ac_ext <<_ACEOF
40975 /* end confdefs.h. */
40976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40978 #define $ac_func innocuous_$ac_func
40979
40980 /* System header to define __stub macros and hopefully few prototypes,
40981 which can conflict with char $ac_func (); below.
40982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40983 <limits.h> exists even on freestanding compilers. */
40984
40985 #ifdef __STDC__
40986 # include <limits.h>
40987 #else
40988 # include <assert.h>
40989 #endif
40990
40991 #undef $ac_func
40992
40993 /* Override any gcc2 internal prototype to avoid an error. */
40994 #ifdef __cplusplus
40995 extern "C"
40996 {
40997 #endif
40998 /* We use char because int might match the return type of a gcc2
40999 builtin and then its argument prototype would still apply. */
41000 char $ac_func ();
41001 /* The GNU C library defines this for functions which it implements
41002 to always fail with ENOSYS. Some functions are actually named
41003 something starting with __ and the normal name is an alias. */
41004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41005 choke me
41006 #else
41007 char (*f) () = $ac_func;
41008 #endif
41009 #ifdef __cplusplus
41010 }
41011 #endif
41012
41013 int
41014 main ()
41015 {
41016 return f != $ac_func;
41017 ;
41018 return 0;
41019 }
41020 _ACEOF
41021 rm -f conftest.$ac_objext conftest$ac_exeext
41022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41023 (eval $ac_link) 2>conftest.er1
41024 ac_status=$?
41025 grep -v '^ *+' conftest.er1 >conftest.err
41026 rm -f conftest.er1
41027 cat conftest.err >&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); } &&
41030 { ac_try='test -z "$ac_c_werror_flag"
41031 || test ! -s conftest.err'
41032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41033 (eval $ac_try) 2>&5
41034 ac_status=$?
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); }; } &&
41037 { ac_try='test -s conftest$ac_exeext'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; }; then
41043 eval "$as_ac_var=yes"
41044 else
41045 echo "$as_me: failed program was:" >&5
41046 sed 's/^/| /' conftest.$ac_ext >&5
41047
41048 eval "$as_ac_var=no"
41049 fi
41050 rm -f conftest.err conftest.$ac_objext \
41051 conftest$ac_exeext conftest.$ac_ext
41052 fi
41053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41055 if test `eval echo '${'$as_ac_var'}'` = yes; then
41056 cat >>confdefs.h <<_ACEOF
41057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41058 _ACEOF
41059
41060 fi
41061 done
41062
41063 fi
41064 fi
41065
41066
41067
41068
41069
41070
41071 echo "$as_me:$LINENO: checking for finitef declaration" >&5
41072 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
41073 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41074 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
41075 echo $ECHO_N "(cached) $ECHO_C" >&6
41076 else
41077
41078
41079
41080 ac_ext=cc
41081 ac_cpp='$CXXCPP $CPPFLAGS'
41082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41085
41086 cat >conftest.$ac_ext <<_ACEOF
41087 /* confdefs.h. */
41088 _ACEOF
41089 cat confdefs.h >>conftest.$ac_ext
41090 cat >>conftest.$ac_ext <<_ACEOF
41091 /* end confdefs.h. */
41092 #include <math.h>
41093 #ifdef HAVE_IEEEFP_H
41094 #include <ieeefp.h>
41095 #endif
41096
41097 int
41098 main ()
41099 {
41100 finitef(0);
41101 ;
41102 return 0;
41103 }
41104 _ACEOF
41105 rm -f conftest.$ac_objext
41106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41107 (eval $ac_compile) 2>conftest.er1
41108 ac_status=$?
41109 grep -v '^ *+' conftest.er1 >conftest.err
41110 rm -f conftest.er1
41111 cat conftest.err >&5
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); } &&
41114 { ac_try='test -z "$ac_cxx_werror_flag"
41115 || test ! -s conftest.err'
41116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41117 (eval $ac_try) 2>&5
41118 ac_status=$?
41119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41120 (exit $ac_status); }; } &&
41121 { ac_try='test -s conftest.$ac_objext'
41122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41123 (eval $ac_try) 2>&5
41124 ac_status=$?
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); }; }; then
41127 glibcxx_cv_func_finitef_use=yes
41128 else
41129 echo "$as_me: failed program was:" >&5
41130 sed 's/^/| /' conftest.$ac_ext >&5
41131
41132 glibcxx_cv_func_finitef_use=no
41133 fi
41134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41135 ac_ext=c
41136 ac_cpp='$CPP $CPPFLAGS'
41137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41140
41141
41142 fi
41143
41144 fi
41145 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
41146 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
41147
41148 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41149
41150 for ac_func in finitef
41151 do
41152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41153 echo "$as_me:$LINENO: checking for $ac_func" >&5
41154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41155 if eval "test \"\${$as_ac_var+set}\" = set"; then
41156 echo $ECHO_N "(cached) $ECHO_C" >&6
41157 else
41158 if test x$gcc_no_link = xyes; then
41159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41161 { (exit 1); exit 1; }; }
41162 fi
41163 cat >conftest.$ac_ext <<_ACEOF
41164 /* confdefs.h. */
41165 _ACEOF
41166 cat confdefs.h >>conftest.$ac_ext
41167 cat >>conftest.$ac_ext <<_ACEOF
41168 /* end confdefs.h. */
41169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41171 #define $ac_func innocuous_$ac_func
41172
41173 /* System header to define __stub macros and hopefully few prototypes,
41174 which can conflict with char $ac_func (); below.
41175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41176 <limits.h> exists even on freestanding compilers. */
41177
41178 #ifdef __STDC__
41179 # include <limits.h>
41180 #else
41181 # include <assert.h>
41182 #endif
41183
41184 #undef $ac_func
41185
41186 /* Override any gcc2 internal prototype to avoid an error. */
41187 #ifdef __cplusplus
41188 extern "C"
41189 {
41190 #endif
41191 /* We use char because int might match the return type of a gcc2
41192 builtin and then its argument prototype would still apply. */
41193 char $ac_func ();
41194 /* The GNU C library defines this for functions which it implements
41195 to always fail with ENOSYS. Some functions are actually named
41196 something starting with __ and the normal name is an alias. */
41197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41198 choke me
41199 #else
41200 char (*f) () = $ac_func;
41201 #endif
41202 #ifdef __cplusplus
41203 }
41204 #endif
41205
41206 int
41207 main ()
41208 {
41209 return f != $ac_func;
41210 ;
41211 return 0;
41212 }
41213 _ACEOF
41214 rm -f conftest.$ac_objext conftest$ac_exeext
41215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41216 (eval $ac_link) 2>conftest.er1
41217 ac_status=$?
41218 grep -v '^ *+' conftest.er1 >conftest.err
41219 rm -f conftest.er1
41220 cat conftest.err >&5
41221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41222 (exit $ac_status); } &&
41223 { ac_try='test -z "$ac_c_werror_flag"
41224 || test ! -s conftest.err'
41225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41226 (eval $ac_try) 2>&5
41227 ac_status=$?
41228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41229 (exit $ac_status); }; } &&
41230 { ac_try='test -s conftest$ac_exeext'
41231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41232 (eval $ac_try) 2>&5
41233 ac_status=$?
41234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41235 (exit $ac_status); }; }; then
41236 eval "$as_ac_var=yes"
41237 else
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41240
41241 eval "$as_ac_var=no"
41242 fi
41243 rm -f conftest.err conftest.$ac_objext \
41244 conftest$ac_exeext conftest.$ac_ext
41245 fi
41246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41248 if test `eval echo '${'$as_ac_var'}'` = yes; then
41249 cat >>confdefs.h <<_ACEOF
41250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41251 _ACEOF
41252
41253 fi
41254 done
41255
41256 else
41257
41258 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
41259 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
41260 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41261 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
41262 echo $ECHO_N "(cached) $ECHO_C" >&6
41263 else
41264
41265
41266
41267 ac_ext=cc
41268 ac_cpp='$CXXCPP $CPPFLAGS'
41269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41272
41273 cat >conftest.$ac_ext <<_ACEOF
41274 /* confdefs.h. */
41275 _ACEOF
41276 cat confdefs.h >>conftest.$ac_ext
41277 cat >>conftest.$ac_ext <<_ACEOF
41278 /* end confdefs.h. */
41279 #include <math.h>
41280 #ifdef HAVE_IEEEFP_H
41281 #include <ieeefp.h>
41282 #endif
41283
41284 int
41285 main ()
41286 {
41287 _finitef(0);
41288 ;
41289 return 0;
41290 }
41291 _ACEOF
41292 rm -f conftest.$ac_objext
41293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41294 (eval $ac_compile) 2>conftest.er1
41295 ac_status=$?
41296 grep -v '^ *+' conftest.er1 >conftest.err
41297 rm -f conftest.er1
41298 cat conftest.err >&5
41299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41300 (exit $ac_status); } &&
41301 { ac_try='test -z "$ac_cxx_werror_flag"
41302 || test ! -s conftest.err'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41305 ac_status=$?
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; } &&
41308 { ac_try='test -s conftest.$ac_objext'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41311 ac_status=$?
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; }; then
41314 glibcxx_cv_func__finitef_use=yes
41315 else
41316 echo "$as_me: failed program was:" >&5
41317 sed 's/^/| /' conftest.$ac_ext >&5
41318
41319 glibcxx_cv_func__finitef_use=no
41320 fi
41321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41322 ac_ext=c
41323 ac_cpp='$CPP $CPPFLAGS'
41324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41327
41328
41329 fi
41330
41331 fi
41332 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
41333 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
41334
41335 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41336
41337 for ac_func in _finitef
41338 do
41339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41340 echo "$as_me:$LINENO: checking for $ac_func" >&5
41341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41342 if eval "test \"\${$as_ac_var+set}\" = set"; then
41343 echo $ECHO_N "(cached) $ECHO_C" >&6
41344 else
41345 if test x$gcc_no_link = xyes; then
41346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41348 { (exit 1); exit 1; }; }
41349 fi
41350 cat >conftest.$ac_ext <<_ACEOF
41351 /* confdefs.h. */
41352 _ACEOF
41353 cat confdefs.h >>conftest.$ac_ext
41354 cat >>conftest.$ac_ext <<_ACEOF
41355 /* end confdefs.h. */
41356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41358 #define $ac_func innocuous_$ac_func
41359
41360 /* System header to define __stub macros and hopefully few prototypes,
41361 which can conflict with char $ac_func (); below.
41362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41363 <limits.h> exists even on freestanding compilers. */
41364
41365 #ifdef __STDC__
41366 # include <limits.h>
41367 #else
41368 # include <assert.h>
41369 #endif
41370
41371 #undef $ac_func
41372
41373 /* Override any gcc2 internal prototype to avoid an error. */
41374 #ifdef __cplusplus
41375 extern "C"
41376 {
41377 #endif
41378 /* We use char because int might match the return type of a gcc2
41379 builtin and then its argument prototype would still apply. */
41380 char $ac_func ();
41381 /* The GNU C library defines this for functions which it implements
41382 to always fail with ENOSYS. Some functions are actually named
41383 something starting with __ and the normal name is an alias. */
41384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41385 choke me
41386 #else
41387 char (*f) () = $ac_func;
41388 #endif
41389 #ifdef __cplusplus
41390 }
41391 #endif
41392
41393 int
41394 main ()
41395 {
41396 return f != $ac_func;
41397 ;
41398 return 0;
41399 }
41400 _ACEOF
41401 rm -f conftest.$ac_objext conftest$ac_exeext
41402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41403 (eval $ac_link) 2>conftest.er1
41404 ac_status=$?
41405 grep -v '^ *+' conftest.er1 >conftest.err
41406 rm -f conftest.er1
41407 cat conftest.err >&5
41408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41409 (exit $ac_status); } &&
41410 { ac_try='test -z "$ac_c_werror_flag"
41411 || test ! -s conftest.err'
41412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41413 (eval $ac_try) 2>&5
41414 ac_status=$?
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); }; } &&
41417 { ac_try='test -s conftest$ac_exeext'
41418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41419 (eval $ac_try) 2>&5
41420 ac_status=$?
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); }; }; then
41423 eval "$as_ac_var=yes"
41424 else
41425 echo "$as_me: failed program was:" >&5
41426 sed 's/^/| /' conftest.$ac_ext >&5
41427
41428 eval "$as_ac_var=no"
41429 fi
41430 rm -f conftest.err conftest.$ac_objext \
41431 conftest$ac_exeext conftest.$ac_ext
41432 fi
41433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41435 if test `eval echo '${'$as_ac_var'}'` = yes; then
41436 cat >>confdefs.h <<_ACEOF
41437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41438 _ACEOF
41439
41440 fi
41441 done
41442
41443 fi
41444 fi
41445
41446
41447
41448
41449
41450
41451 echo "$as_me:$LINENO: checking for long double trig functions" >&5
41452 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
41453 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
41454 echo $ECHO_N "(cached) $ECHO_C" >&6
41455 else
41456
41457
41458
41459 ac_ext=cc
41460 ac_cpp='$CXXCPP $CPPFLAGS'
41461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41464
41465 cat >conftest.$ac_ext <<_ACEOF
41466 /* confdefs.h. */
41467 _ACEOF
41468 cat confdefs.h >>conftest.$ac_ext
41469 cat >>conftest.$ac_ext <<_ACEOF
41470 /* end confdefs.h. */
41471 #include <math.h>
41472 int
41473 main ()
41474 {
41475 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41476 ;
41477 return 0;
41478 }
41479 _ACEOF
41480 rm -f conftest.$ac_objext
41481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41482 (eval $ac_compile) 2>conftest.er1
41483 ac_status=$?
41484 grep -v '^ *+' conftest.er1 >conftest.err
41485 rm -f conftest.er1
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } &&
41489 { ac_try='test -z "$ac_cxx_werror_flag"
41490 || test ! -s conftest.err'
41491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41492 (eval $ac_try) 2>&5
41493 ac_status=$?
41494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41495 (exit $ac_status); }; } &&
41496 { ac_try='test -s conftest.$ac_objext'
41497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41498 (eval $ac_try) 2>&5
41499 ac_status=$?
41500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41501 (exit $ac_status); }; }; then
41502 glibcxx_cv_func_long_double_trig_use=yes
41503 else
41504 echo "$as_me: failed program was:" >&5
41505 sed 's/^/| /' conftest.$ac_ext >&5
41506
41507 glibcxx_cv_func_long_double_trig_use=no
41508 fi
41509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41510 ac_ext=c
41511 ac_cpp='$CPP $CPPFLAGS'
41512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41515
41516 fi
41517
41518 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
41519 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
41520 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41521
41522
41523
41524
41525
41526
41527
41528
41529
41530 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41531 do
41532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 echo "$as_me:$LINENO: checking for $ac_func" >&5
41534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41535 if eval "test \"\${$as_ac_var+set}\" = set"; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41538 if test x$gcc_no_link = xyes; then
41539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41541 { (exit 1); exit 1; }; }
41542 fi
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41551 #define $ac_func innocuous_$ac_func
41552
41553 /* System header to define __stub macros and hopefully few prototypes,
41554 which can conflict with char $ac_func (); below.
41555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41556 <limits.h> exists even on freestanding compilers. */
41557
41558 #ifdef __STDC__
41559 # include <limits.h>
41560 #else
41561 # include <assert.h>
41562 #endif
41563
41564 #undef $ac_func
41565
41566 /* Override any gcc2 internal prototype to avoid an error. */
41567 #ifdef __cplusplus
41568 extern "C"
41569 {
41570 #endif
41571 /* We use char because int might match the return type of a gcc2
41572 builtin and then its argument prototype would still apply. */
41573 char $ac_func ();
41574 /* The GNU C library defines this for functions which it implements
41575 to always fail with ENOSYS. Some functions are actually named
41576 something starting with __ and the normal name is an alias. */
41577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41578 choke me
41579 #else
41580 char (*f) () = $ac_func;
41581 #endif
41582 #ifdef __cplusplus
41583 }
41584 #endif
41585
41586 int
41587 main ()
41588 {
41589 return f != $ac_func;
41590 ;
41591 return 0;
41592 }
41593 _ACEOF
41594 rm -f conftest.$ac_objext conftest$ac_exeext
41595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41596 (eval $ac_link) 2>conftest.er1
41597 ac_status=$?
41598 grep -v '^ *+' conftest.er1 >conftest.err
41599 rm -f conftest.er1
41600 cat conftest.err >&5
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); } &&
41603 { ac_try='test -z "$ac_c_werror_flag"
41604 || test ! -s conftest.err'
41605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41606 (eval $ac_try) 2>&5
41607 ac_status=$?
41608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41609 (exit $ac_status); }; } &&
41610 { ac_try='test -s conftest$ac_exeext'
41611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41612 (eval $ac_try) 2>&5
41613 ac_status=$?
41614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41615 (exit $ac_status); }; }; then
41616 eval "$as_ac_var=yes"
41617 else
41618 echo "$as_me: failed program was:" >&5
41619 sed 's/^/| /' conftest.$ac_ext >&5
41620
41621 eval "$as_ac_var=no"
41622 fi
41623 rm -f conftest.err conftest.$ac_objext \
41624 conftest$ac_exeext conftest.$ac_ext
41625 fi
41626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41628 if test `eval echo '${'$as_ac_var'}'` = yes; then
41629 cat >>confdefs.h <<_ACEOF
41630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41631 _ACEOF
41632
41633 fi
41634 done
41635
41636 else
41637 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41638 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41639 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41640 echo $ECHO_N "(cached) $ECHO_C" >&6
41641 else
41642
41643
41644
41645 ac_ext=cc
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41650
41651 cat >conftest.$ac_ext <<_ACEOF
41652 /* confdefs.h. */
41653 _ACEOF
41654 cat confdefs.h >>conftest.$ac_ext
41655 cat >>conftest.$ac_ext <<_ACEOF
41656 /* end confdefs.h. */
41657 #include <math.h>
41658 int
41659 main ()
41660 {
41661 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41662 ;
41663 return 0;
41664 }
41665 _ACEOF
41666 rm -f conftest.$ac_objext
41667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41668 (eval $ac_compile) 2>conftest.er1
41669 ac_status=$?
41670 grep -v '^ *+' conftest.er1 >conftest.err
41671 rm -f conftest.er1
41672 cat conftest.err >&5
41673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41674 (exit $ac_status); } &&
41675 { ac_try='test -z "$ac_cxx_werror_flag"
41676 || test ! -s conftest.err'
41677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678 (eval $ac_try) 2>&5
41679 ac_status=$?
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); }; } &&
41682 { ac_try='test -s conftest.$ac_objext'
41683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41684 (eval $ac_try) 2>&5
41685 ac_status=$?
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); }; }; then
41688 glibcxx_cv_func__long_double_trig_use=yes
41689 else
41690 echo "$as_me: failed program was:" >&5
41691 sed 's/^/| /' conftest.$ac_ext >&5
41692
41693 glibcxx_cv_func__long_double_trig_use=no
41694 fi
41695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41696 ac_ext=c
41697 ac_cpp='$CPP $CPPFLAGS'
41698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41701
41702 fi
41703
41704 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
41705 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
41706 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41707
41708
41709
41710
41711
41712
41713
41714
41715
41716 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41717 do
41718 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41719 echo "$as_me:$LINENO: checking for $ac_func" >&5
41720 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41721 if eval "test \"\${$as_ac_var+set}\" = set"; then
41722 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 else
41724 if test x$gcc_no_link = xyes; then
41725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41727 { (exit 1); exit 1; }; }
41728 fi
41729 cat >conftest.$ac_ext <<_ACEOF
41730 /* confdefs.h. */
41731 _ACEOF
41732 cat confdefs.h >>conftest.$ac_ext
41733 cat >>conftest.$ac_ext <<_ACEOF
41734 /* end confdefs.h. */
41735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41737 #define $ac_func innocuous_$ac_func
41738
41739 /* System header to define __stub macros and hopefully few prototypes,
41740 which can conflict with char $ac_func (); below.
41741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41742 <limits.h> exists even on freestanding compilers. */
41743
41744 #ifdef __STDC__
41745 # include <limits.h>
41746 #else
41747 # include <assert.h>
41748 #endif
41749
41750 #undef $ac_func
41751
41752 /* Override any gcc2 internal prototype to avoid an error. */
41753 #ifdef __cplusplus
41754 extern "C"
41755 {
41756 #endif
41757 /* We use char because int might match the return type of a gcc2
41758 builtin and then its argument prototype would still apply. */
41759 char $ac_func ();
41760 /* The GNU C library defines this for functions which it implements
41761 to always fail with ENOSYS. Some functions are actually named
41762 something starting with __ and the normal name is an alias. */
41763 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41764 choke me
41765 #else
41766 char (*f) () = $ac_func;
41767 #endif
41768 #ifdef __cplusplus
41769 }
41770 #endif
41771
41772 int
41773 main ()
41774 {
41775 return f != $ac_func;
41776 ;
41777 return 0;
41778 }
41779 _ACEOF
41780 rm -f conftest.$ac_objext conftest$ac_exeext
41781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41782 (eval $ac_link) 2>conftest.er1
41783 ac_status=$?
41784 grep -v '^ *+' conftest.er1 >conftest.err
41785 rm -f conftest.er1
41786 cat conftest.err >&5
41787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41788 (exit $ac_status); } &&
41789 { ac_try='test -z "$ac_c_werror_flag"
41790 || test ! -s conftest.err'
41791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41792 (eval $ac_try) 2>&5
41793 ac_status=$?
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); }; } &&
41796 { ac_try='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41799 ac_status=$?
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41803 else
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.$ac_ext >&5
41806
41807 eval "$as_ac_var=no"
41808 fi
41809 rm -f conftest.err conftest.$ac_objext \
41810 conftest$ac_exeext conftest.$ac_ext
41811 fi
41812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41814 if test `eval echo '${'$as_ac_var'}'` = yes; then
41815 cat >>confdefs.h <<_ACEOF
41816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41817 _ACEOF
41818
41819 fi
41820 done
41821
41822 fi
41823 fi
41824
41825
41826
41827
41828
41829
41830
41831
41832
41833
41834
41835
41836
41837
41838 echo "$as_me:$LINENO: checking for long double round functions" >&5
41839 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
41840 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
41841 echo $ECHO_N "(cached) $ECHO_C" >&6
41842 else
41843
41844
41845
41846 ac_ext=cc
41847 ac_cpp='$CXXCPP $CPPFLAGS'
41848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41851
41852 cat >conftest.$ac_ext <<_ACEOF
41853 /* confdefs.h. */
41854 _ACEOF
41855 cat confdefs.h >>conftest.$ac_ext
41856 cat >>conftest.$ac_ext <<_ACEOF
41857 /* end confdefs.h. */
41858 #include <math.h>
41859 int
41860 main ()
41861 {
41862 ceill (0); floorl (0);
41863 ;
41864 return 0;
41865 }
41866 _ACEOF
41867 rm -f conftest.$ac_objext
41868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41869 (eval $ac_compile) 2>conftest.er1
41870 ac_status=$?
41871 grep -v '^ *+' conftest.er1 >conftest.err
41872 rm -f conftest.er1
41873 cat conftest.err >&5
41874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41875 (exit $ac_status); } &&
41876 { ac_try='test -z "$ac_cxx_werror_flag"
41877 || test ! -s conftest.err'
41878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41879 (eval $ac_try) 2>&5
41880 ac_status=$?
41881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41882 (exit $ac_status); }; } &&
41883 { ac_try='test -s conftest.$ac_objext'
41884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41885 (eval $ac_try) 2>&5
41886 ac_status=$?
41887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41888 (exit $ac_status); }; }; then
41889 glibcxx_cv_func_long_double_round_use=yes
41890 else
41891 echo "$as_me: failed program was:" >&5
41892 sed 's/^/| /' conftest.$ac_ext >&5
41893
41894 glibcxx_cv_func_long_double_round_use=no
41895 fi
41896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41897 ac_ext=c
41898 ac_cpp='$CPP $CPPFLAGS'
41899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41902
41903 fi
41904
41905 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41906 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41907 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41908
41909
41910 for ac_func in ceill floorl
41911 do
41912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41913 echo "$as_me:$LINENO: checking for $ac_func" >&5
41914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41915 if eval "test \"\${$as_ac_var+set}\" = set"; then
41916 echo $ECHO_N "(cached) $ECHO_C" >&6
41917 else
41918 if test x$gcc_no_link = xyes; then
41919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41921 { (exit 1); exit 1; }; }
41922 fi
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41931 #define $ac_func innocuous_$ac_func
41932
41933 /* System header to define __stub macros and hopefully few prototypes,
41934 which can conflict with char $ac_func (); below.
41935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41936 <limits.h> exists even on freestanding compilers. */
41937
41938 #ifdef __STDC__
41939 # include <limits.h>
41940 #else
41941 # include <assert.h>
41942 #endif
41943
41944 #undef $ac_func
41945
41946 /* Override any gcc2 internal prototype to avoid an error. */
41947 #ifdef __cplusplus
41948 extern "C"
41949 {
41950 #endif
41951 /* We use char because int might match the return type of a gcc2
41952 builtin and then its argument prototype would still apply. */
41953 char $ac_func ();
41954 /* The GNU C library defines this for functions which it implements
41955 to always fail with ENOSYS. Some functions are actually named
41956 something starting with __ and the normal name is an alias. */
41957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41958 choke me
41959 #else
41960 char (*f) () = $ac_func;
41961 #endif
41962 #ifdef __cplusplus
41963 }
41964 #endif
41965
41966 int
41967 main ()
41968 {
41969 return f != $ac_func;
41970 ;
41971 return 0;
41972 }
41973 _ACEOF
41974 rm -f conftest.$ac_objext conftest$ac_exeext
41975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41976 (eval $ac_link) 2>conftest.er1
41977 ac_status=$?
41978 grep -v '^ *+' conftest.er1 >conftest.err
41979 rm -f conftest.er1
41980 cat conftest.err >&5
41981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41982 (exit $ac_status); } &&
41983 { ac_try='test -z "$ac_c_werror_flag"
41984 || test ! -s conftest.err'
41985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41986 (eval $ac_try) 2>&5
41987 ac_status=$?
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); }; } &&
41990 { ac_try='test -s conftest$ac_exeext'
41991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41992 (eval $ac_try) 2>&5
41993 ac_status=$?
41994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41995 (exit $ac_status); }; }; then
41996 eval "$as_ac_var=yes"
41997 else
41998 echo "$as_me: failed program was:" >&5
41999 sed 's/^/| /' conftest.$ac_ext >&5
42000
42001 eval "$as_ac_var=no"
42002 fi
42003 rm -f conftest.err conftest.$ac_objext \
42004 conftest$ac_exeext conftest.$ac_ext
42005 fi
42006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42008 if test `eval echo '${'$as_ac_var'}'` = yes; then
42009 cat >>confdefs.h <<_ACEOF
42010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42011 _ACEOF
42012
42013 fi
42014 done
42015
42016 else
42017 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42018 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42019 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42020 echo $ECHO_N "(cached) $ECHO_C" >&6
42021 else
42022
42023
42024
42025 ac_ext=cc
42026 ac_cpp='$CXXCPP $CPPFLAGS'
42027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42030
42031 cat >conftest.$ac_ext <<_ACEOF
42032 /* confdefs.h. */
42033 _ACEOF
42034 cat confdefs.h >>conftest.$ac_ext
42035 cat >>conftest.$ac_ext <<_ACEOF
42036 /* end confdefs.h. */
42037 #include <math.h>
42038 int
42039 main ()
42040 {
42041 _ceill (0); _floorl (0);
42042 ;
42043 return 0;
42044 }
42045 _ACEOF
42046 rm -f conftest.$ac_objext
42047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42048 (eval $ac_compile) 2>conftest.er1
42049 ac_status=$?
42050 grep -v '^ *+' conftest.er1 >conftest.err
42051 rm -f conftest.er1
42052 cat conftest.err >&5
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); } &&
42055 { ac_try='test -z "$ac_cxx_werror_flag"
42056 || test ! -s conftest.err'
42057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42058 (eval $ac_try) 2>&5
42059 ac_status=$?
42060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42061 (exit $ac_status); }; } &&
42062 { ac_try='test -s conftest.$ac_objext'
42063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42064 (eval $ac_try) 2>&5
42065 ac_status=$?
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); }; }; then
42068 glibcxx_cv_func__long_double_round_use=yes
42069 else
42070 echo "$as_me: failed program was:" >&5
42071 sed 's/^/| /' conftest.$ac_ext >&5
42072
42073 glibcxx_cv_func__long_double_round_use=no
42074 fi
42075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42076 ac_ext=c
42077 ac_cpp='$CPP $CPPFLAGS'
42078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081
42082 fi
42083
42084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42085 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42086 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42087
42088
42089 for ac_func in _ceill _floorl
42090 do
42091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42092 echo "$as_me:$LINENO: checking for $ac_func" >&5
42093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42094 if eval "test \"\${$as_ac_var+set}\" = set"; then
42095 echo $ECHO_N "(cached) $ECHO_C" >&6
42096 else
42097 if test x$gcc_no_link = xyes; then
42098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42100 { (exit 1); exit 1; }; }
42101 fi
42102 cat >conftest.$ac_ext <<_ACEOF
42103 /* confdefs.h. */
42104 _ACEOF
42105 cat confdefs.h >>conftest.$ac_ext
42106 cat >>conftest.$ac_ext <<_ACEOF
42107 /* end confdefs.h. */
42108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42110 #define $ac_func innocuous_$ac_func
42111
42112 /* System header to define __stub macros and hopefully few prototypes,
42113 which can conflict with char $ac_func (); below.
42114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42115 <limits.h> exists even on freestanding compilers. */
42116
42117 #ifdef __STDC__
42118 # include <limits.h>
42119 #else
42120 # include <assert.h>
42121 #endif
42122
42123 #undef $ac_func
42124
42125 /* Override any gcc2 internal prototype to avoid an error. */
42126 #ifdef __cplusplus
42127 extern "C"
42128 {
42129 #endif
42130 /* We use char because int might match the return type of a gcc2
42131 builtin and then its argument prototype would still apply. */
42132 char $ac_func ();
42133 /* The GNU C library defines this for functions which it implements
42134 to always fail with ENOSYS. Some functions are actually named
42135 something starting with __ and the normal name is an alias. */
42136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42137 choke me
42138 #else
42139 char (*f) () = $ac_func;
42140 #endif
42141 #ifdef __cplusplus
42142 }
42143 #endif
42144
42145 int
42146 main ()
42147 {
42148 return f != $ac_func;
42149 ;
42150 return 0;
42151 }
42152 _ACEOF
42153 rm -f conftest.$ac_objext conftest$ac_exeext
42154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42155 (eval $ac_link) 2>conftest.er1
42156 ac_status=$?
42157 grep -v '^ *+' conftest.er1 >conftest.err
42158 rm -f conftest.er1
42159 cat conftest.err >&5
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); } &&
42162 { ac_try='test -z "$ac_c_werror_flag"
42163 || test ! -s conftest.err'
42164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42165 (eval $ac_try) 2>&5
42166 ac_status=$?
42167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42168 (exit $ac_status); }; } &&
42169 { ac_try='test -s conftest$ac_exeext'
42170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42171 (eval $ac_try) 2>&5
42172 ac_status=$?
42173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42174 (exit $ac_status); }; }; then
42175 eval "$as_ac_var=yes"
42176 else
42177 echo "$as_me: failed program was:" >&5
42178 sed 's/^/| /' conftest.$ac_ext >&5
42179
42180 eval "$as_ac_var=no"
42181 fi
42182 rm -f conftest.err conftest.$ac_objext \
42183 conftest$ac_exeext conftest.$ac_ext
42184 fi
42185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42187 if test `eval echo '${'$as_ac_var'}'` = yes; then
42188 cat >>confdefs.h <<_ACEOF
42189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42190 _ACEOF
42191
42192 fi
42193 done
42194
42195 fi
42196 fi
42197
42198
42199
42200
42201
42202
42203
42204
42205 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42206 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42207 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42208 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42209 echo $ECHO_N "(cached) $ECHO_C" >&6
42210 else
42211
42212
42213
42214 ac_ext=cc
42215 ac_cpp='$CXXCPP $CPPFLAGS'
42216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42219
42220 cat >conftest.$ac_ext <<_ACEOF
42221 /* confdefs.h. */
42222 _ACEOF
42223 cat confdefs.h >>conftest.$ac_ext
42224 cat >>conftest.$ac_ext <<_ACEOF
42225 /* end confdefs.h. */
42226 #include <math.h>
42227 #ifdef HAVE_IEEEFP_H
42228 #include <ieeefp.h>
42229 #endif
42230
42231 int
42232 main ()
42233 {
42234 isnanl(0);
42235 ;
42236 return 0;
42237 }
42238 _ACEOF
42239 rm -f conftest.$ac_objext
42240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42241 (eval $ac_compile) 2>conftest.er1
42242 ac_status=$?
42243 grep -v '^ *+' conftest.er1 >conftest.err
42244 rm -f conftest.er1
42245 cat conftest.err >&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); } &&
42248 { ac_try='test -z "$ac_cxx_werror_flag"
42249 || test ! -s conftest.err'
42250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42251 (eval $ac_try) 2>&5
42252 ac_status=$?
42253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42254 (exit $ac_status); }; } &&
42255 { ac_try='test -s conftest.$ac_objext'
42256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42257 (eval $ac_try) 2>&5
42258 ac_status=$?
42259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42260 (exit $ac_status); }; }; then
42261 glibcxx_cv_func_isnanl_use=yes
42262 else
42263 echo "$as_me: failed program was:" >&5
42264 sed 's/^/| /' conftest.$ac_ext >&5
42265
42266 glibcxx_cv_func_isnanl_use=no
42267 fi
42268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42269 ac_ext=c
42270 ac_cpp='$CPP $CPPFLAGS'
42271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42274
42275
42276 fi
42277
42278 fi
42279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42280 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42281
42282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42283
42284 for ac_func in isnanl
42285 do
42286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42287 echo "$as_me:$LINENO: checking for $ac_func" >&5
42288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42289 if eval "test \"\${$as_ac_var+set}\" = set"; then
42290 echo $ECHO_N "(cached) $ECHO_C" >&6
42291 else
42292 if test x$gcc_no_link = xyes; then
42293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42295 { (exit 1); exit 1; }; }
42296 fi
42297 cat >conftest.$ac_ext <<_ACEOF
42298 /* confdefs.h. */
42299 _ACEOF
42300 cat confdefs.h >>conftest.$ac_ext
42301 cat >>conftest.$ac_ext <<_ACEOF
42302 /* end confdefs.h. */
42303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42305 #define $ac_func innocuous_$ac_func
42306
42307 /* System header to define __stub macros and hopefully few prototypes,
42308 which can conflict with char $ac_func (); below.
42309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42310 <limits.h> exists even on freestanding compilers. */
42311
42312 #ifdef __STDC__
42313 # include <limits.h>
42314 #else
42315 # include <assert.h>
42316 #endif
42317
42318 #undef $ac_func
42319
42320 /* Override any gcc2 internal prototype to avoid an error. */
42321 #ifdef __cplusplus
42322 extern "C"
42323 {
42324 #endif
42325 /* We use char because int might match the return type of a gcc2
42326 builtin and then its argument prototype would still apply. */
42327 char $ac_func ();
42328 /* The GNU C library defines this for functions which it implements
42329 to always fail with ENOSYS. Some functions are actually named
42330 something starting with __ and the normal name is an alias. */
42331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42332 choke me
42333 #else
42334 char (*f) () = $ac_func;
42335 #endif
42336 #ifdef __cplusplus
42337 }
42338 #endif
42339
42340 int
42341 main ()
42342 {
42343 return f != $ac_func;
42344 ;
42345 return 0;
42346 }
42347 _ACEOF
42348 rm -f conftest.$ac_objext conftest$ac_exeext
42349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42350 (eval $ac_link) 2>conftest.er1
42351 ac_status=$?
42352 grep -v '^ *+' conftest.er1 >conftest.err
42353 rm -f conftest.er1
42354 cat conftest.err >&5
42355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42356 (exit $ac_status); } &&
42357 { ac_try='test -z "$ac_c_werror_flag"
42358 || test ! -s conftest.err'
42359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42360 (eval $ac_try) 2>&5
42361 ac_status=$?
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); }; } &&
42364 { ac_try='test -s conftest$ac_exeext'
42365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42366 (eval $ac_try) 2>&5
42367 ac_status=$?
42368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42369 (exit $ac_status); }; }; then
42370 eval "$as_ac_var=yes"
42371 else
42372 echo "$as_me: failed program was:" >&5
42373 sed 's/^/| /' conftest.$ac_ext >&5
42374
42375 eval "$as_ac_var=no"
42376 fi
42377 rm -f conftest.err conftest.$ac_objext \
42378 conftest$ac_exeext conftest.$ac_ext
42379 fi
42380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42382 if test `eval echo '${'$as_ac_var'}'` = yes; then
42383 cat >>confdefs.h <<_ACEOF
42384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42385 _ACEOF
42386
42387 fi
42388 done
42389
42390 else
42391
42392 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
42393 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
42394 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42395 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
42396 echo $ECHO_N "(cached) $ECHO_C" >&6
42397 else
42398
42399
42400
42401 ac_ext=cc
42402 ac_cpp='$CXXCPP $CPPFLAGS'
42403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406
42407 cat >conftest.$ac_ext <<_ACEOF
42408 /* confdefs.h. */
42409 _ACEOF
42410 cat confdefs.h >>conftest.$ac_ext
42411 cat >>conftest.$ac_ext <<_ACEOF
42412 /* end confdefs.h. */
42413 #include <math.h>
42414 #ifdef HAVE_IEEEFP_H
42415 #include <ieeefp.h>
42416 #endif
42417
42418 int
42419 main ()
42420 {
42421 _isnanl(0);
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 rm -f conftest.$ac_objext
42427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42428 (eval $ac_compile) 2>conftest.er1
42429 ac_status=$?
42430 grep -v '^ *+' conftest.er1 >conftest.err
42431 rm -f conftest.er1
42432 cat conftest.err >&5
42433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42434 (exit $ac_status); } &&
42435 { ac_try='test -z "$ac_cxx_werror_flag"
42436 || test ! -s conftest.err'
42437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42438 (eval $ac_try) 2>&5
42439 ac_status=$?
42440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42441 (exit $ac_status); }; } &&
42442 { ac_try='test -s conftest.$ac_objext'
42443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42444 (eval $ac_try) 2>&5
42445 ac_status=$?
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); }; }; then
42448 glibcxx_cv_func__isnanl_use=yes
42449 else
42450 echo "$as_me: failed program was:" >&5
42451 sed 's/^/| /' conftest.$ac_ext >&5
42452
42453 glibcxx_cv_func__isnanl_use=no
42454 fi
42455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42456 ac_ext=c
42457 ac_cpp='$CPP $CPPFLAGS'
42458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42461
42462
42463 fi
42464
42465 fi
42466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
42467 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
42468
42469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42470
42471 for ac_func in _isnanl
42472 do
42473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42474 echo "$as_me:$LINENO: checking for $ac_func" >&5
42475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42476 if eval "test \"\${$as_ac_var+set}\" = set"; then
42477 echo $ECHO_N "(cached) $ECHO_C" >&6
42478 else
42479 if test x$gcc_no_link = xyes; then
42480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42482 { (exit 1); exit 1; }; }
42483 fi
42484 cat >conftest.$ac_ext <<_ACEOF
42485 /* confdefs.h. */
42486 _ACEOF
42487 cat confdefs.h >>conftest.$ac_ext
42488 cat >>conftest.$ac_ext <<_ACEOF
42489 /* end confdefs.h. */
42490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42492 #define $ac_func innocuous_$ac_func
42493
42494 /* System header to define __stub macros and hopefully few prototypes,
42495 which can conflict with char $ac_func (); below.
42496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42497 <limits.h> exists even on freestanding compilers. */
42498
42499 #ifdef __STDC__
42500 # include <limits.h>
42501 #else
42502 # include <assert.h>
42503 #endif
42504
42505 #undef $ac_func
42506
42507 /* Override any gcc2 internal prototype to avoid an error. */
42508 #ifdef __cplusplus
42509 extern "C"
42510 {
42511 #endif
42512 /* We use char because int might match the return type of a gcc2
42513 builtin and then its argument prototype would still apply. */
42514 char $ac_func ();
42515 /* The GNU C library defines this for functions which it implements
42516 to always fail with ENOSYS. Some functions are actually named
42517 something starting with __ and the normal name is an alias. */
42518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42519 choke me
42520 #else
42521 char (*f) () = $ac_func;
42522 #endif
42523 #ifdef __cplusplus
42524 }
42525 #endif
42526
42527 int
42528 main ()
42529 {
42530 return f != $ac_func;
42531 ;
42532 return 0;
42533 }
42534 _ACEOF
42535 rm -f conftest.$ac_objext conftest$ac_exeext
42536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42537 (eval $ac_link) 2>conftest.er1
42538 ac_status=$?
42539 grep -v '^ *+' conftest.er1 >conftest.err
42540 rm -f conftest.er1
42541 cat conftest.err >&5
42542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42543 (exit $ac_status); } &&
42544 { ac_try='test -z "$ac_c_werror_flag"
42545 || test ! -s conftest.err'
42546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42547 (eval $ac_try) 2>&5
42548 ac_status=$?
42549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42550 (exit $ac_status); }; } &&
42551 { ac_try='test -s conftest$ac_exeext'
42552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42553 (eval $ac_try) 2>&5
42554 ac_status=$?
42555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42556 (exit $ac_status); }; }; then
42557 eval "$as_ac_var=yes"
42558 else
42559 echo "$as_me: failed program was:" >&5
42560 sed 's/^/| /' conftest.$ac_ext >&5
42561
42562 eval "$as_ac_var=no"
42563 fi
42564 rm -f conftest.err conftest.$ac_objext \
42565 conftest$ac_exeext conftest.$ac_ext
42566 fi
42567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42569 if test `eval echo '${'$as_ac_var'}'` = yes; then
42570 cat >>confdefs.h <<_ACEOF
42571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42572 _ACEOF
42573
42574 fi
42575 done
42576
42577 fi
42578 fi
42579
42580
42581
42582
42583
42584
42585 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
42586 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
42587 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42588 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
42589 echo $ECHO_N "(cached) $ECHO_C" >&6
42590 else
42591
42592
42593
42594 ac_ext=cc
42595 ac_cpp='$CXXCPP $CPPFLAGS'
42596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42599
42600 cat >conftest.$ac_ext <<_ACEOF
42601 /* confdefs.h. */
42602 _ACEOF
42603 cat confdefs.h >>conftest.$ac_ext
42604 cat >>conftest.$ac_ext <<_ACEOF
42605 /* end confdefs.h. */
42606 #include <math.h>
42607 #ifdef HAVE_IEEEFP_H
42608 #include <ieeefp.h>
42609 #endif
42610
42611 int
42612 main ()
42613 {
42614 isinfl(0);
42615 ;
42616 return 0;
42617 }
42618 _ACEOF
42619 rm -f conftest.$ac_objext
42620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42621 (eval $ac_compile) 2>conftest.er1
42622 ac_status=$?
42623 grep -v '^ *+' conftest.er1 >conftest.err
42624 rm -f conftest.er1
42625 cat conftest.err >&5
42626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42627 (exit $ac_status); } &&
42628 { ac_try='test -z "$ac_cxx_werror_flag"
42629 || test ! -s conftest.err'
42630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42631 (eval $ac_try) 2>&5
42632 ac_status=$?
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); }; } &&
42635 { ac_try='test -s conftest.$ac_objext'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42638 ac_status=$?
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; }; then
42641 glibcxx_cv_func_isinfl_use=yes
42642 else
42643 echo "$as_me: failed program was:" >&5
42644 sed 's/^/| /' conftest.$ac_ext >&5
42645
42646 glibcxx_cv_func_isinfl_use=no
42647 fi
42648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42649 ac_ext=c
42650 ac_cpp='$CPP $CPPFLAGS'
42651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42654
42655
42656 fi
42657
42658 fi
42659 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
42660 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
42661
42662 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42663
42664 for ac_func in isinfl
42665 do
42666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42667 echo "$as_me:$LINENO: checking for $ac_func" >&5
42668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42669 if eval "test \"\${$as_ac_var+set}\" = set"; then
42670 echo $ECHO_N "(cached) $ECHO_C" >&6
42671 else
42672 if test x$gcc_no_link = xyes; then
42673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42675 { (exit 1); exit 1; }; }
42676 fi
42677 cat >conftest.$ac_ext <<_ACEOF
42678 /* confdefs.h. */
42679 _ACEOF
42680 cat confdefs.h >>conftest.$ac_ext
42681 cat >>conftest.$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42685 #define $ac_func innocuous_$ac_func
42686
42687 /* System header to define __stub macros and hopefully few prototypes,
42688 which can conflict with char $ac_func (); below.
42689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42690 <limits.h> exists even on freestanding compilers. */
42691
42692 #ifdef __STDC__
42693 # include <limits.h>
42694 #else
42695 # include <assert.h>
42696 #endif
42697
42698 #undef $ac_func
42699
42700 /* Override any gcc2 internal prototype to avoid an error. */
42701 #ifdef __cplusplus
42702 extern "C"
42703 {
42704 #endif
42705 /* We use char because int might match the return type of a gcc2
42706 builtin and then its argument prototype would still apply. */
42707 char $ac_func ();
42708 /* The GNU C library defines this for functions which it implements
42709 to always fail with ENOSYS. Some functions are actually named
42710 something starting with __ and the normal name is an alias. */
42711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42712 choke me
42713 #else
42714 char (*f) () = $ac_func;
42715 #endif
42716 #ifdef __cplusplus
42717 }
42718 #endif
42719
42720 int
42721 main ()
42722 {
42723 return f != $ac_func;
42724 ;
42725 return 0;
42726 }
42727 _ACEOF
42728 rm -f conftest.$ac_objext conftest$ac_exeext
42729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42730 (eval $ac_link) 2>conftest.er1
42731 ac_status=$?
42732 grep -v '^ *+' conftest.er1 >conftest.err
42733 rm -f conftest.er1
42734 cat conftest.err >&5
42735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42736 (exit $ac_status); } &&
42737 { ac_try='test -z "$ac_c_werror_flag"
42738 || test ! -s conftest.err'
42739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42740 (eval $ac_try) 2>&5
42741 ac_status=$?
42742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42743 (exit $ac_status); }; } &&
42744 { ac_try='test -s conftest$ac_exeext'
42745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42746 (eval $ac_try) 2>&5
42747 ac_status=$?
42748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42749 (exit $ac_status); }; }; then
42750 eval "$as_ac_var=yes"
42751 else
42752 echo "$as_me: failed program was:" >&5
42753 sed 's/^/| /' conftest.$ac_ext >&5
42754
42755 eval "$as_ac_var=no"
42756 fi
42757 rm -f conftest.err conftest.$ac_objext \
42758 conftest$ac_exeext conftest.$ac_ext
42759 fi
42760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42762 if test `eval echo '${'$as_ac_var'}'` = yes; then
42763 cat >>confdefs.h <<_ACEOF
42764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42765 _ACEOF
42766
42767 fi
42768 done
42769
42770 else
42771
42772 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
42773 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
42774 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42775 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
42776 echo $ECHO_N "(cached) $ECHO_C" >&6
42777 else
42778
42779
42780
42781 ac_ext=cc
42782 ac_cpp='$CXXCPP $CPPFLAGS'
42783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42786
42787 cat >conftest.$ac_ext <<_ACEOF
42788 /* confdefs.h. */
42789 _ACEOF
42790 cat confdefs.h >>conftest.$ac_ext
42791 cat >>conftest.$ac_ext <<_ACEOF
42792 /* end confdefs.h. */
42793 #include <math.h>
42794 #ifdef HAVE_IEEEFP_H
42795 #include <ieeefp.h>
42796 #endif
42797
42798 int
42799 main ()
42800 {
42801 _isinfl(0);
42802 ;
42803 return 0;
42804 }
42805 _ACEOF
42806 rm -f conftest.$ac_objext
42807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42808 (eval $ac_compile) 2>conftest.er1
42809 ac_status=$?
42810 grep -v '^ *+' conftest.er1 >conftest.err
42811 rm -f conftest.er1
42812 cat conftest.err >&5
42813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42814 (exit $ac_status); } &&
42815 { ac_try='test -z "$ac_cxx_werror_flag"
42816 || test ! -s conftest.err'
42817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42818 (eval $ac_try) 2>&5
42819 ac_status=$?
42820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42821 (exit $ac_status); }; } &&
42822 { ac_try='test -s conftest.$ac_objext'
42823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42824 (eval $ac_try) 2>&5
42825 ac_status=$?
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); }; }; then
42828 glibcxx_cv_func__isinfl_use=yes
42829 else
42830 echo "$as_me: failed program was:" >&5
42831 sed 's/^/| /' conftest.$ac_ext >&5
42832
42833 glibcxx_cv_func__isinfl_use=no
42834 fi
42835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42836 ac_ext=c
42837 ac_cpp='$CPP $CPPFLAGS'
42838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841
42842
42843 fi
42844
42845 fi
42846 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
42847 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
42848
42849 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42850
42851 for ac_func in _isinfl
42852 do
42853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42854 echo "$as_me:$LINENO: checking for $ac_func" >&5
42855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42856 if eval "test \"\${$as_ac_var+set}\" = set"; then
42857 echo $ECHO_N "(cached) $ECHO_C" >&6
42858 else
42859 if test x$gcc_no_link = xyes; then
42860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42862 { (exit 1); exit 1; }; }
42863 fi
42864 cat >conftest.$ac_ext <<_ACEOF
42865 /* confdefs.h. */
42866 _ACEOF
42867 cat confdefs.h >>conftest.$ac_ext
42868 cat >>conftest.$ac_ext <<_ACEOF
42869 /* end confdefs.h. */
42870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42872 #define $ac_func innocuous_$ac_func
42873
42874 /* System header to define __stub macros and hopefully few prototypes,
42875 which can conflict with char $ac_func (); below.
42876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42877 <limits.h> exists even on freestanding compilers. */
42878
42879 #ifdef __STDC__
42880 # include <limits.h>
42881 #else
42882 # include <assert.h>
42883 #endif
42884
42885 #undef $ac_func
42886
42887 /* Override any gcc2 internal prototype to avoid an error. */
42888 #ifdef __cplusplus
42889 extern "C"
42890 {
42891 #endif
42892 /* We use char because int might match the return type of a gcc2
42893 builtin and then its argument prototype would still apply. */
42894 char $ac_func ();
42895 /* The GNU C library defines this for functions which it implements
42896 to always fail with ENOSYS. Some functions are actually named
42897 something starting with __ and the normal name is an alias. */
42898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42899 choke me
42900 #else
42901 char (*f) () = $ac_func;
42902 #endif
42903 #ifdef __cplusplus
42904 }
42905 #endif
42906
42907 int
42908 main ()
42909 {
42910 return f != $ac_func;
42911 ;
42912 return 0;
42913 }
42914 _ACEOF
42915 rm -f conftest.$ac_objext conftest$ac_exeext
42916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42917 (eval $ac_link) 2>conftest.er1
42918 ac_status=$?
42919 grep -v '^ *+' conftest.er1 >conftest.err
42920 rm -f conftest.er1
42921 cat conftest.err >&5
42922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42923 (exit $ac_status); } &&
42924 { ac_try='test -z "$ac_c_werror_flag"
42925 || test ! -s conftest.err'
42926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42927 (eval $ac_try) 2>&5
42928 ac_status=$?
42929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930 (exit $ac_status); }; } &&
42931 { ac_try='test -s conftest$ac_exeext'
42932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42933 (eval $ac_try) 2>&5
42934 ac_status=$?
42935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42936 (exit $ac_status); }; }; then
42937 eval "$as_ac_var=yes"
42938 else
42939 echo "$as_me: failed program was:" >&5
42940 sed 's/^/| /' conftest.$ac_ext >&5
42941
42942 eval "$as_ac_var=no"
42943 fi
42944 rm -f conftest.err conftest.$ac_objext \
42945 conftest$ac_exeext conftest.$ac_ext
42946 fi
42947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42949 if test `eval echo '${'$as_ac_var'}'` = yes; then
42950 cat >>confdefs.h <<_ACEOF
42951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42952 _ACEOF
42953
42954 fi
42955 done
42956
42957 fi
42958 fi
42959
42960
42961
42962
42963
42964
42965 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
42966 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
42967 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
42968 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
42969 echo $ECHO_N "(cached) $ECHO_C" >&6
42970 else
42971
42972
42973
42974 ac_ext=cc
42975 ac_cpp='$CXXCPP $CPPFLAGS'
42976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42979
42980 cat >conftest.$ac_ext <<_ACEOF
42981 /* confdefs.h. */
42982 _ACEOF
42983 cat confdefs.h >>conftest.$ac_ext
42984 cat >>conftest.$ac_ext <<_ACEOF
42985 /* end confdefs.h. */
42986 #include <math.h>
42987 int
42988 main ()
42989 {
42990 copysignl(0, 0);
42991 ;
42992 return 0;
42993 }
42994 _ACEOF
42995 rm -f conftest.$ac_objext
42996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42997 (eval $ac_compile) 2>conftest.er1
42998 ac_status=$?
42999 grep -v '^ *+' conftest.er1 >conftest.err
43000 rm -f conftest.er1
43001 cat conftest.err >&5
43002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43003 (exit $ac_status); } &&
43004 { ac_try='test -z "$ac_cxx_werror_flag"
43005 || test ! -s conftest.err'
43006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43007 (eval $ac_try) 2>&5
43008 ac_status=$?
43009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43010 (exit $ac_status); }; } &&
43011 { ac_try='test -s conftest.$ac_objext'
43012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43013 (eval $ac_try) 2>&5
43014 ac_status=$?
43015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016 (exit $ac_status); }; }; then
43017 glibcxx_cv_func_copysignl_use=yes
43018 else
43019 echo "$as_me: failed program was:" >&5
43020 sed 's/^/| /' conftest.$ac_ext >&5
43021
43022 glibcxx_cv_func_copysignl_use=no
43023 fi
43024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43025 ac_ext=c
43026 ac_cpp='$CPP $CPPFLAGS'
43027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43030
43031
43032 fi
43033
43034 fi
43035 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43036 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43037
43038 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43039
43040 for ac_func in copysignl
43041 do
43042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43043 echo "$as_me:$LINENO: checking for $ac_func" >&5
43044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43045 if eval "test \"\${$as_ac_var+set}\" = set"; then
43046 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 else
43048 if test x$gcc_no_link = xyes; then
43049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43051 { (exit 1); exit 1; }; }
43052 fi
43053 cat >conftest.$ac_ext <<_ACEOF
43054 /* confdefs.h. */
43055 _ACEOF
43056 cat confdefs.h >>conftest.$ac_ext
43057 cat >>conftest.$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43061 #define $ac_func innocuous_$ac_func
43062
43063 /* System header to define __stub macros and hopefully few prototypes,
43064 which can conflict with char $ac_func (); below.
43065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43066 <limits.h> exists even on freestanding compilers. */
43067
43068 #ifdef __STDC__
43069 # include <limits.h>
43070 #else
43071 # include <assert.h>
43072 #endif
43073
43074 #undef $ac_func
43075
43076 /* Override any gcc2 internal prototype to avoid an error. */
43077 #ifdef __cplusplus
43078 extern "C"
43079 {
43080 #endif
43081 /* We use char because int might match the return type of a gcc2
43082 builtin and then its argument prototype would still apply. */
43083 char $ac_func ();
43084 /* The GNU C library defines this for functions which it implements
43085 to always fail with ENOSYS. Some functions are actually named
43086 something starting with __ and the normal name is an alias. */
43087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43088 choke me
43089 #else
43090 char (*f) () = $ac_func;
43091 #endif
43092 #ifdef __cplusplus
43093 }
43094 #endif
43095
43096 int
43097 main ()
43098 {
43099 return f != $ac_func;
43100 ;
43101 return 0;
43102 }
43103 _ACEOF
43104 rm -f conftest.$ac_objext conftest$ac_exeext
43105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43106 (eval $ac_link) 2>conftest.er1
43107 ac_status=$?
43108 grep -v '^ *+' conftest.er1 >conftest.err
43109 rm -f conftest.er1
43110 cat conftest.err >&5
43111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43112 (exit $ac_status); } &&
43113 { ac_try='test -z "$ac_c_werror_flag"
43114 || test ! -s conftest.err'
43115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43116 (eval $ac_try) 2>&5
43117 ac_status=$?
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); }; } &&
43120 { ac_try='test -s conftest$ac_exeext'
43121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43122 (eval $ac_try) 2>&5
43123 ac_status=$?
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); }; }; then
43126 eval "$as_ac_var=yes"
43127 else
43128 echo "$as_me: failed program was:" >&5
43129 sed 's/^/| /' conftest.$ac_ext >&5
43130
43131 eval "$as_ac_var=no"
43132 fi
43133 rm -f conftest.err conftest.$ac_objext \
43134 conftest$ac_exeext conftest.$ac_ext
43135 fi
43136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43138 if test `eval echo '${'$as_ac_var'}'` = yes; then
43139 cat >>confdefs.h <<_ACEOF
43140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43141 _ACEOF
43142
43143 fi
43144 done
43145
43146 else
43147
43148 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43149 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43150 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43151 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43152 echo $ECHO_N "(cached) $ECHO_C" >&6
43153 else
43154
43155
43156
43157 ac_ext=cc
43158 ac_cpp='$CXXCPP $CPPFLAGS'
43159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43162
43163 cat >conftest.$ac_ext <<_ACEOF
43164 /* confdefs.h. */
43165 _ACEOF
43166 cat confdefs.h >>conftest.$ac_ext
43167 cat >>conftest.$ac_ext <<_ACEOF
43168 /* end confdefs.h. */
43169 #include <math.h>
43170 int
43171 main ()
43172 {
43173 _copysignl(0, 0);
43174 ;
43175 return 0;
43176 }
43177 _ACEOF
43178 rm -f conftest.$ac_objext
43179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43180 (eval $ac_compile) 2>conftest.er1
43181 ac_status=$?
43182 grep -v '^ *+' conftest.er1 >conftest.err
43183 rm -f conftest.er1
43184 cat conftest.err >&5
43185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43186 (exit $ac_status); } &&
43187 { ac_try='test -z "$ac_cxx_werror_flag"
43188 || test ! -s conftest.err'
43189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43190 (eval $ac_try) 2>&5
43191 ac_status=$?
43192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43193 (exit $ac_status); }; } &&
43194 { ac_try='test -s conftest.$ac_objext'
43195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43196 (eval $ac_try) 2>&5
43197 ac_status=$?
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); }; }; then
43200 glibcxx_cv_func__copysignl_use=yes
43201 else
43202 echo "$as_me: failed program was:" >&5
43203 sed 's/^/| /' conftest.$ac_ext >&5
43204
43205 glibcxx_cv_func__copysignl_use=no
43206 fi
43207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43208 ac_ext=c
43209 ac_cpp='$CPP $CPPFLAGS'
43210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43213
43214
43215 fi
43216
43217 fi
43218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43219 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43220
43221 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43222
43223 for ac_func in _copysignl
43224 do
43225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43226 echo "$as_me:$LINENO: checking for $ac_func" >&5
43227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43228 if eval "test \"\${$as_ac_var+set}\" = set"; then
43229 echo $ECHO_N "(cached) $ECHO_C" >&6
43230 else
43231 if test x$gcc_no_link = xyes; then
43232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43234 { (exit 1); exit 1; }; }
43235 fi
43236 cat >conftest.$ac_ext <<_ACEOF
43237 /* confdefs.h. */
43238 _ACEOF
43239 cat confdefs.h >>conftest.$ac_ext
43240 cat >>conftest.$ac_ext <<_ACEOF
43241 /* end confdefs.h. */
43242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43244 #define $ac_func innocuous_$ac_func
43245
43246 /* System header to define __stub macros and hopefully few prototypes,
43247 which can conflict with char $ac_func (); below.
43248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43249 <limits.h> exists even on freestanding compilers. */
43250
43251 #ifdef __STDC__
43252 # include <limits.h>
43253 #else
43254 # include <assert.h>
43255 #endif
43256
43257 #undef $ac_func
43258
43259 /* Override any gcc2 internal prototype to avoid an error. */
43260 #ifdef __cplusplus
43261 extern "C"
43262 {
43263 #endif
43264 /* We use char because int might match the return type of a gcc2
43265 builtin and then its argument prototype would still apply. */
43266 char $ac_func ();
43267 /* The GNU C library defines this for functions which it implements
43268 to always fail with ENOSYS. Some functions are actually named
43269 something starting with __ and the normal name is an alias. */
43270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43271 choke me
43272 #else
43273 char (*f) () = $ac_func;
43274 #endif
43275 #ifdef __cplusplus
43276 }
43277 #endif
43278
43279 int
43280 main ()
43281 {
43282 return f != $ac_func;
43283 ;
43284 return 0;
43285 }
43286 _ACEOF
43287 rm -f conftest.$ac_objext conftest$ac_exeext
43288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43289 (eval $ac_link) 2>conftest.er1
43290 ac_status=$?
43291 grep -v '^ *+' conftest.er1 >conftest.err
43292 rm -f conftest.er1
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } &&
43296 { ac_try='test -z "$ac_c_werror_flag"
43297 || test ! -s conftest.err'
43298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43299 (eval $ac_try) 2>&5
43300 ac_status=$?
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); }; } &&
43303 { ac_try='test -s conftest$ac_exeext'
43304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43305 (eval $ac_try) 2>&5
43306 ac_status=$?
43307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43308 (exit $ac_status); }; }; then
43309 eval "$as_ac_var=yes"
43310 else
43311 echo "$as_me: failed program was:" >&5
43312 sed 's/^/| /' conftest.$ac_ext >&5
43313
43314 eval "$as_ac_var=no"
43315 fi
43316 rm -f conftest.err conftest.$ac_objext \
43317 conftest$ac_exeext conftest.$ac_ext
43318 fi
43319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43321 if test `eval echo '${'$as_ac_var'}'` = yes; then
43322 cat >>confdefs.h <<_ACEOF
43323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43324 _ACEOF
43325
43326 fi
43327 done
43328
43329 fi
43330 fi
43331
43332
43333
43334
43335
43336
43337 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43338 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43339 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43340 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43341 echo $ECHO_N "(cached) $ECHO_C" >&6
43342 else
43343
43344
43345
43346 ac_ext=cc
43347 ac_cpp='$CXXCPP $CPPFLAGS'
43348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43351
43352 cat >conftest.$ac_ext <<_ACEOF
43353 /* confdefs.h. */
43354 _ACEOF
43355 cat confdefs.h >>conftest.$ac_ext
43356 cat >>conftest.$ac_ext <<_ACEOF
43357 /* end confdefs.h. */
43358 #include <math.h>
43359 int
43360 main ()
43361 {
43362 atan2l(0, 0);
43363 ;
43364 return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43369 (eval $ac_compile) 2>conftest.er1
43370 ac_status=$?
43371 grep -v '^ *+' conftest.er1 >conftest.err
43372 rm -f conftest.er1
43373 cat conftest.err >&5
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); } &&
43376 { ac_try='test -z "$ac_cxx_werror_flag"
43377 || test ! -s conftest.err'
43378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379 (eval $ac_try) 2>&5
43380 ac_status=$?
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); }; } &&
43383 { ac_try='test -s conftest.$ac_objext'
43384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43385 (eval $ac_try) 2>&5
43386 ac_status=$?
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); }; }; then
43389 glibcxx_cv_func_atan2l_use=yes
43390 else
43391 echo "$as_me: failed program was:" >&5
43392 sed 's/^/| /' conftest.$ac_ext >&5
43393
43394 glibcxx_cv_func_atan2l_use=no
43395 fi
43396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43397 ac_ext=c
43398 ac_cpp='$CPP $CPPFLAGS'
43399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43402
43403
43404 fi
43405
43406 fi
43407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
43408 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
43409
43410 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43411
43412 for ac_func in atan2l
43413 do
43414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43415 echo "$as_me:$LINENO: checking for $ac_func" >&5
43416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43417 if eval "test \"\${$as_ac_var+set}\" = set"; then
43418 echo $ECHO_N "(cached) $ECHO_C" >&6
43419 else
43420 if test x$gcc_no_link = xyes; then
43421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43423 { (exit 1); exit 1; }; }
43424 fi
43425 cat >conftest.$ac_ext <<_ACEOF
43426 /* confdefs.h. */
43427 _ACEOF
43428 cat confdefs.h >>conftest.$ac_ext
43429 cat >>conftest.$ac_ext <<_ACEOF
43430 /* end confdefs.h. */
43431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43433 #define $ac_func innocuous_$ac_func
43434
43435 /* System header to define __stub macros and hopefully few prototypes,
43436 which can conflict with char $ac_func (); below.
43437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43438 <limits.h> exists even on freestanding compilers. */
43439
43440 #ifdef __STDC__
43441 # include <limits.h>
43442 #else
43443 # include <assert.h>
43444 #endif
43445
43446 #undef $ac_func
43447
43448 /* Override any gcc2 internal prototype to avoid an error. */
43449 #ifdef __cplusplus
43450 extern "C"
43451 {
43452 #endif
43453 /* We use char because int might match the return type of a gcc2
43454 builtin and then its argument prototype would still apply. */
43455 char $ac_func ();
43456 /* The GNU C library defines this for functions which it implements
43457 to always fail with ENOSYS. Some functions are actually named
43458 something starting with __ and the normal name is an alias. */
43459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43460 choke me
43461 #else
43462 char (*f) () = $ac_func;
43463 #endif
43464 #ifdef __cplusplus
43465 }
43466 #endif
43467
43468 int
43469 main ()
43470 {
43471 return f != $ac_func;
43472 ;
43473 return 0;
43474 }
43475 _ACEOF
43476 rm -f conftest.$ac_objext conftest$ac_exeext
43477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43478 (eval $ac_link) 2>conftest.er1
43479 ac_status=$?
43480 grep -v '^ *+' conftest.er1 >conftest.err
43481 rm -f conftest.er1
43482 cat conftest.err >&5
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); } &&
43485 { ac_try='test -z "$ac_c_werror_flag"
43486 || test ! -s conftest.err'
43487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43488 (eval $ac_try) 2>&5
43489 ac_status=$?
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); }; } &&
43492 { ac_try='test -s conftest$ac_exeext'
43493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43494 (eval $ac_try) 2>&5
43495 ac_status=$?
43496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497 (exit $ac_status); }; }; then
43498 eval "$as_ac_var=yes"
43499 else
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.$ac_ext >&5
43502
43503 eval "$as_ac_var=no"
43504 fi
43505 rm -f conftest.err conftest.$ac_objext \
43506 conftest$ac_exeext conftest.$ac_ext
43507 fi
43508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43510 if test `eval echo '${'$as_ac_var'}'` = yes; then
43511 cat >>confdefs.h <<_ACEOF
43512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43513 _ACEOF
43514
43515 fi
43516 done
43517
43518 else
43519
43520 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
43521 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
43522 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43523 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
43524 echo $ECHO_N "(cached) $ECHO_C" >&6
43525 else
43526
43527
43528
43529 ac_ext=cc
43530 ac_cpp='$CXXCPP $CPPFLAGS'
43531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43534
43535 cat >conftest.$ac_ext <<_ACEOF
43536 /* confdefs.h. */
43537 _ACEOF
43538 cat confdefs.h >>conftest.$ac_ext
43539 cat >>conftest.$ac_ext <<_ACEOF
43540 /* end confdefs.h. */
43541 #include <math.h>
43542 int
43543 main ()
43544 {
43545 _atan2l(0, 0);
43546 ;
43547 return 0;
43548 }
43549 _ACEOF
43550 rm -f conftest.$ac_objext
43551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43552 (eval $ac_compile) 2>conftest.er1
43553 ac_status=$?
43554 grep -v '^ *+' conftest.er1 >conftest.err
43555 rm -f conftest.er1
43556 cat conftest.err >&5
43557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43558 (exit $ac_status); } &&
43559 { ac_try='test -z "$ac_cxx_werror_flag"
43560 || test ! -s conftest.err'
43561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43562 (eval $ac_try) 2>&5
43563 ac_status=$?
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); }; } &&
43566 { ac_try='test -s conftest.$ac_objext'
43567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43568 (eval $ac_try) 2>&5
43569 ac_status=$?
43570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43571 (exit $ac_status); }; }; then
43572 glibcxx_cv_func__atan2l_use=yes
43573 else
43574 echo "$as_me: failed program was:" >&5
43575 sed 's/^/| /' conftest.$ac_ext >&5
43576
43577 glibcxx_cv_func__atan2l_use=no
43578 fi
43579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43580 ac_ext=c
43581 ac_cpp='$CPP $CPPFLAGS'
43582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43585
43586
43587 fi
43588
43589 fi
43590 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
43591 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
43592
43593 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43594
43595 for ac_func in _atan2l
43596 do
43597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43598 echo "$as_me:$LINENO: checking for $ac_func" >&5
43599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43600 if eval "test \"\${$as_ac_var+set}\" = set"; then
43601 echo $ECHO_N "(cached) $ECHO_C" >&6
43602 else
43603 if test x$gcc_no_link = xyes; then
43604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43606 { (exit 1); exit 1; }; }
43607 fi
43608 cat >conftest.$ac_ext <<_ACEOF
43609 /* confdefs.h. */
43610 _ACEOF
43611 cat confdefs.h >>conftest.$ac_ext
43612 cat >>conftest.$ac_ext <<_ACEOF
43613 /* end confdefs.h. */
43614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43616 #define $ac_func innocuous_$ac_func
43617
43618 /* System header to define __stub macros and hopefully few prototypes,
43619 which can conflict with char $ac_func (); below.
43620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43621 <limits.h> exists even on freestanding compilers. */
43622
43623 #ifdef __STDC__
43624 # include <limits.h>
43625 #else
43626 # include <assert.h>
43627 #endif
43628
43629 #undef $ac_func
43630
43631 /* Override any gcc2 internal prototype to avoid an error. */
43632 #ifdef __cplusplus
43633 extern "C"
43634 {
43635 #endif
43636 /* We use char because int might match the return type of a gcc2
43637 builtin and then its argument prototype would still apply. */
43638 char $ac_func ();
43639 /* The GNU C library defines this for functions which it implements
43640 to always fail with ENOSYS. Some functions are actually named
43641 something starting with __ and the normal name is an alias. */
43642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43643 choke me
43644 #else
43645 char (*f) () = $ac_func;
43646 #endif
43647 #ifdef __cplusplus
43648 }
43649 #endif
43650
43651 int
43652 main ()
43653 {
43654 return f != $ac_func;
43655 ;
43656 return 0;
43657 }
43658 _ACEOF
43659 rm -f conftest.$ac_objext conftest$ac_exeext
43660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43661 (eval $ac_link) 2>conftest.er1
43662 ac_status=$?
43663 grep -v '^ *+' conftest.er1 >conftest.err
43664 rm -f conftest.er1
43665 cat conftest.err >&5
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); } &&
43668 { ac_try='test -z "$ac_c_werror_flag"
43669 || test ! -s conftest.err'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43672 ac_status=$?
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; } &&
43675 { ac_try='test -s conftest$ac_exeext'
43676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43677 (eval $ac_try) 2>&5
43678 ac_status=$?
43679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43680 (exit $ac_status); }; }; then
43681 eval "$as_ac_var=yes"
43682 else
43683 echo "$as_me: failed program was:" >&5
43684 sed 's/^/| /' conftest.$ac_ext >&5
43685
43686 eval "$as_ac_var=no"
43687 fi
43688 rm -f conftest.err conftest.$ac_objext \
43689 conftest$ac_exeext conftest.$ac_ext
43690 fi
43691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43693 if test `eval echo '${'$as_ac_var'}'` = yes; then
43694 cat >>confdefs.h <<_ACEOF
43695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43696 _ACEOF
43697
43698 fi
43699 done
43700
43701 fi
43702 fi
43703
43704
43705
43706
43707
43708
43709 echo "$as_me:$LINENO: checking for expl declaration" >&5
43710 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
43711 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43712 if test "${glibcxx_cv_func_expl_use+set}" = set; then
43713 echo $ECHO_N "(cached) $ECHO_C" >&6
43714 else
43715
43716
43717
43718 ac_ext=cc
43719 ac_cpp='$CXXCPP $CPPFLAGS'
43720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43723
43724 cat >conftest.$ac_ext <<_ACEOF
43725 /* confdefs.h. */
43726 _ACEOF
43727 cat confdefs.h >>conftest.$ac_ext
43728 cat >>conftest.$ac_ext <<_ACEOF
43729 /* end confdefs.h. */
43730 #include <math.h>
43731 #ifdef HAVE_IEEEFP_H
43732 #include <ieeefp.h>
43733 #endif
43734
43735 int
43736 main ()
43737 {
43738 expl(0);
43739 ;
43740 return 0;
43741 }
43742 _ACEOF
43743 rm -f conftest.$ac_objext
43744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43745 (eval $ac_compile) 2>conftest.er1
43746 ac_status=$?
43747 grep -v '^ *+' conftest.er1 >conftest.err
43748 rm -f conftest.er1
43749 cat conftest.err >&5
43750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43751 (exit $ac_status); } &&
43752 { ac_try='test -z "$ac_cxx_werror_flag"
43753 || test ! -s conftest.err'
43754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43755 (eval $ac_try) 2>&5
43756 ac_status=$?
43757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43758 (exit $ac_status); }; } &&
43759 { ac_try='test -s conftest.$ac_objext'
43760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43761 (eval $ac_try) 2>&5
43762 ac_status=$?
43763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43764 (exit $ac_status); }; }; then
43765 glibcxx_cv_func_expl_use=yes
43766 else
43767 echo "$as_me: failed program was:" >&5
43768 sed 's/^/| /' conftest.$ac_ext >&5
43769
43770 glibcxx_cv_func_expl_use=no
43771 fi
43772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43773 ac_ext=c
43774 ac_cpp='$CPP $CPPFLAGS'
43775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43778
43779
43780 fi
43781
43782 fi
43783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
43784 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
43785
43786 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43787
43788 for ac_func in expl
43789 do
43790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43791 echo "$as_me:$LINENO: checking for $ac_func" >&5
43792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43793 if eval "test \"\${$as_ac_var+set}\" = set"; then
43794 echo $ECHO_N "(cached) $ECHO_C" >&6
43795 else
43796 if test x$gcc_no_link = xyes; then
43797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43799 { (exit 1); exit 1; }; }
43800 fi
43801 cat >conftest.$ac_ext <<_ACEOF
43802 /* confdefs.h. */
43803 _ACEOF
43804 cat confdefs.h >>conftest.$ac_ext
43805 cat >>conftest.$ac_ext <<_ACEOF
43806 /* end confdefs.h. */
43807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43809 #define $ac_func innocuous_$ac_func
43810
43811 /* System header to define __stub macros and hopefully few prototypes,
43812 which can conflict with char $ac_func (); below.
43813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43814 <limits.h> exists even on freestanding compilers. */
43815
43816 #ifdef __STDC__
43817 # include <limits.h>
43818 #else
43819 # include <assert.h>
43820 #endif
43821
43822 #undef $ac_func
43823
43824 /* Override any gcc2 internal prototype to avoid an error. */
43825 #ifdef __cplusplus
43826 extern "C"
43827 {
43828 #endif
43829 /* We use char because int might match the return type of a gcc2
43830 builtin and then its argument prototype would still apply. */
43831 char $ac_func ();
43832 /* The GNU C library defines this for functions which it implements
43833 to always fail with ENOSYS. Some functions are actually named
43834 something starting with __ and the normal name is an alias. */
43835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43836 choke me
43837 #else
43838 char (*f) () = $ac_func;
43839 #endif
43840 #ifdef __cplusplus
43841 }
43842 #endif
43843
43844 int
43845 main ()
43846 {
43847 return f != $ac_func;
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 rm -f conftest.$ac_objext conftest$ac_exeext
43853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43854 (eval $ac_link) 2>conftest.er1
43855 ac_status=$?
43856 grep -v '^ *+' conftest.er1 >conftest.err
43857 rm -f conftest.er1
43858 cat conftest.err >&5
43859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43860 (exit $ac_status); } &&
43861 { ac_try='test -z "$ac_c_werror_flag"
43862 || test ! -s conftest.err'
43863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43864 (eval $ac_try) 2>&5
43865 ac_status=$?
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); }; } &&
43868 { ac_try='test -s conftest$ac_exeext'
43869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43870 (eval $ac_try) 2>&5
43871 ac_status=$?
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); }; }; then
43874 eval "$as_ac_var=yes"
43875 else
43876 echo "$as_me: failed program was:" >&5
43877 sed 's/^/| /' conftest.$ac_ext >&5
43878
43879 eval "$as_ac_var=no"
43880 fi
43881 rm -f conftest.err conftest.$ac_objext \
43882 conftest$ac_exeext conftest.$ac_ext
43883 fi
43884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43886 if test `eval echo '${'$as_ac_var'}'` = yes; then
43887 cat >>confdefs.h <<_ACEOF
43888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43889 _ACEOF
43890
43891 fi
43892 done
43893
43894 else
43895
43896 echo "$as_me:$LINENO: checking for _expl declaration" >&5
43897 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
43898 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43899 if test "${glibcxx_cv_func__expl_use+set}" = set; then
43900 echo $ECHO_N "(cached) $ECHO_C" >&6
43901 else
43902
43903
43904
43905 ac_ext=cc
43906 ac_cpp='$CXXCPP $CPPFLAGS'
43907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43910
43911 cat >conftest.$ac_ext <<_ACEOF
43912 /* confdefs.h. */
43913 _ACEOF
43914 cat confdefs.h >>conftest.$ac_ext
43915 cat >>conftest.$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43917 #include <math.h>
43918 #ifdef HAVE_IEEEFP_H
43919 #include <ieeefp.h>
43920 #endif
43921
43922 int
43923 main ()
43924 {
43925 _expl(0);
43926 ;
43927 return 0;
43928 }
43929 _ACEOF
43930 rm -f conftest.$ac_objext
43931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43932 (eval $ac_compile) 2>conftest.er1
43933 ac_status=$?
43934 grep -v '^ *+' conftest.er1 >conftest.err
43935 rm -f conftest.er1
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } &&
43939 { ac_try='test -z "$ac_cxx_werror_flag"
43940 || test ! -s conftest.err'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43943 ac_status=$?
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; } &&
43946 { ac_try='test -s conftest.$ac_objext'
43947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43948 (eval $ac_try) 2>&5
43949 ac_status=$?
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); }; }; then
43952 glibcxx_cv_func__expl_use=yes
43953 else
43954 echo "$as_me: failed program was:" >&5
43955 sed 's/^/| /' conftest.$ac_ext >&5
43956
43957 glibcxx_cv_func__expl_use=no
43958 fi
43959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43960 ac_ext=c
43961 ac_cpp='$CPP $CPPFLAGS'
43962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43965
43966
43967 fi
43968
43969 fi
43970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
43971 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
43972
43973 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43974
43975 for ac_func in _expl
43976 do
43977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43978 echo "$as_me:$LINENO: checking for $ac_func" >&5
43979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43980 if eval "test \"\${$as_ac_var+set}\" = set"; then
43981 echo $ECHO_N "(cached) $ECHO_C" >&6
43982 else
43983 if test x$gcc_no_link = xyes; then
43984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43986 { (exit 1); exit 1; }; }
43987 fi
43988 cat >conftest.$ac_ext <<_ACEOF
43989 /* confdefs.h. */
43990 _ACEOF
43991 cat confdefs.h >>conftest.$ac_ext
43992 cat >>conftest.$ac_ext <<_ACEOF
43993 /* end confdefs.h. */
43994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43996 #define $ac_func innocuous_$ac_func
43997
43998 /* System header to define __stub macros and hopefully few prototypes,
43999 which can conflict with char $ac_func (); below.
44000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44001 <limits.h> exists even on freestanding compilers. */
44002
44003 #ifdef __STDC__
44004 # include <limits.h>
44005 #else
44006 # include <assert.h>
44007 #endif
44008
44009 #undef $ac_func
44010
44011 /* Override any gcc2 internal prototype to avoid an error. */
44012 #ifdef __cplusplus
44013 extern "C"
44014 {
44015 #endif
44016 /* We use char because int might match the return type of a gcc2
44017 builtin and then its argument prototype would still apply. */
44018 char $ac_func ();
44019 /* The GNU C library defines this for functions which it implements
44020 to always fail with ENOSYS. Some functions are actually named
44021 something starting with __ and the normal name is an alias. */
44022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44023 choke me
44024 #else
44025 char (*f) () = $ac_func;
44026 #endif
44027 #ifdef __cplusplus
44028 }
44029 #endif
44030
44031 int
44032 main ()
44033 {
44034 return f != $ac_func;
44035 ;
44036 return 0;
44037 }
44038 _ACEOF
44039 rm -f conftest.$ac_objext conftest$ac_exeext
44040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44041 (eval $ac_link) 2>conftest.er1
44042 ac_status=$?
44043 grep -v '^ *+' conftest.er1 >conftest.err
44044 rm -f conftest.er1
44045 cat conftest.err >&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); } &&
44048 { ac_try='test -z "$ac_c_werror_flag"
44049 || test ! -s conftest.err'
44050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44051 (eval $ac_try) 2>&5
44052 ac_status=$?
44053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44054 (exit $ac_status); }; } &&
44055 { ac_try='test -s conftest$ac_exeext'
44056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44057 (eval $ac_try) 2>&5
44058 ac_status=$?
44059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44060 (exit $ac_status); }; }; then
44061 eval "$as_ac_var=yes"
44062 else
44063 echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44065
44066 eval "$as_ac_var=no"
44067 fi
44068 rm -f conftest.err conftest.$ac_objext \
44069 conftest$ac_exeext conftest.$ac_ext
44070 fi
44071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44073 if test `eval echo '${'$as_ac_var'}'` = yes; then
44074 cat >>confdefs.h <<_ACEOF
44075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44076 _ACEOF
44077
44078 fi
44079 done
44080
44081 fi
44082 fi
44083
44084
44085
44086
44087
44088
44089 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44090 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44091 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44092 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44093 echo $ECHO_N "(cached) $ECHO_C" >&6
44094 else
44095
44096
44097
44098 ac_ext=cc
44099 ac_cpp='$CXXCPP $CPPFLAGS'
44100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44103
44104 cat >conftest.$ac_ext <<_ACEOF
44105 /* confdefs.h. */
44106 _ACEOF
44107 cat confdefs.h >>conftest.$ac_ext
44108 cat >>conftest.$ac_ext <<_ACEOF
44109 /* end confdefs.h. */
44110 #include <math.h>
44111 #ifdef HAVE_IEEEFP_H
44112 #include <ieeefp.h>
44113 #endif
44114
44115 int
44116 main ()
44117 {
44118 fabsl(0);
44119 ;
44120 return 0;
44121 }
44122 _ACEOF
44123 rm -f conftest.$ac_objext
44124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44125 (eval $ac_compile) 2>conftest.er1
44126 ac_status=$?
44127 grep -v '^ *+' conftest.er1 >conftest.err
44128 rm -f conftest.er1
44129 cat conftest.err >&5
44130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44131 (exit $ac_status); } &&
44132 { ac_try='test -z "$ac_cxx_werror_flag"
44133 || test ! -s conftest.err'
44134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44135 (eval $ac_try) 2>&5
44136 ac_status=$?
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); }; } &&
44139 { ac_try='test -s conftest.$ac_objext'
44140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44141 (eval $ac_try) 2>&5
44142 ac_status=$?
44143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44144 (exit $ac_status); }; }; then
44145 glibcxx_cv_func_fabsl_use=yes
44146 else
44147 echo "$as_me: failed program was:" >&5
44148 sed 's/^/| /' conftest.$ac_ext >&5
44149
44150 glibcxx_cv_func_fabsl_use=no
44151 fi
44152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44153 ac_ext=c
44154 ac_cpp='$CPP $CPPFLAGS'
44155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44158
44159
44160 fi
44161
44162 fi
44163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44164 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44165
44166 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44167
44168 for ac_func in fabsl
44169 do
44170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44171 echo "$as_me:$LINENO: checking for $ac_func" >&5
44172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44173 if eval "test \"\${$as_ac_var+set}\" = set"; then
44174 echo $ECHO_N "(cached) $ECHO_C" >&6
44175 else
44176 if test x$gcc_no_link = xyes; then
44177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44179 { (exit 1); exit 1; }; }
44180 fi
44181 cat >conftest.$ac_ext <<_ACEOF
44182 /* confdefs.h. */
44183 _ACEOF
44184 cat confdefs.h >>conftest.$ac_ext
44185 cat >>conftest.$ac_ext <<_ACEOF
44186 /* end confdefs.h. */
44187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44189 #define $ac_func innocuous_$ac_func
44190
44191 /* System header to define __stub macros and hopefully few prototypes,
44192 which can conflict with char $ac_func (); below.
44193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44194 <limits.h> exists even on freestanding compilers. */
44195
44196 #ifdef __STDC__
44197 # include <limits.h>
44198 #else
44199 # include <assert.h>
44200 #endif
44201
44202 #undef $ac_func
44203
44204 /* Override any gcc2 internal prototype to avoid an error. */
44205 #ifdef __cplusplus
44206 extern "C"
44207 {
44208 #endif
44209 /* We use char because int might match the return type of a gcc2
44210 builtin and then its argument prototype would still apply. */
44211 char $ac_func ();
44212 /* The GNU C library defines this for functions which it implements
44213 to always fail with ENOSYS. Some functions are actually named
44214 something starting with __ and the normal name is an alias. */
44215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44216 choke me
44217 #else
44218 char (*f) () = $ac_func;
44219 #endif
44220 #ifdef __cplusplus
44221 }
44222 #endif
44223
44224 int
44225 main ()
44226 {
44227 return f != $ac_func;
44228 ;
44229 return 0;
44230 }
44231 _ACEOF
44232 rm -f conftest.$ac_objext conftest$ac_exeext
44233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44234 (eval $ac_link) 2>conftest.er1
44235 ac_status=$?
44236 grep -v '^ *+' conftest.er1 >conftest.err
44237 rm -f conftest.er1
44238 cat conftest.err >&5
44239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44240 (exit $ac_status); } &&
44241 { ac_try='test -z "$ac_c_werror_flag"
44242 || test ! -s conftest.err'
44243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44244 (eval $ac_try) 2>&5
44245 ac_status=$?
44246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44247 (exit $ac_status); }; } &&
44248 { ac_try='test -s conftest$ac_exeext'
44249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44250 (eval $ac_try) 2>&5
44251 ac_status=$?
44252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44253 (exit $ac_status); }; }; then
44254 eval "$as_ac_var=yes"
44255 else
44256 echo "$as_me: failed program was:" >&5
44257 sed 's/^/| /' conftest.$ac_ext >&5
44258
44259 eval "$as_ac_var=no"
44260 fi
44261 rm -f conftest.err conftest.$ac_objext \
44262 conftest$ac_exeext conftest.$ac_ext
44263 fi
44264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44266 if test `eval echo '${'$as_ac_var'}'` = yes; then
44267 cat >>confdefs.h <<_ACEOF
44268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44269 _ACEOF
44270
44271 fi
44272 done
44273
44274 else
44275
44276 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44277 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44278 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44279 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44280 echo $ECHO_N "(cached) $ECHO_C" >&6
44281 else
44282
44283
44284
44285 ac_ext=cc
44286 ac_cpp='$CXXCPP $CPPFLAGS'
44287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44290
44291 cat >conftest.$ac_ext <<_ACEOF
44292 /* confdefs.h. */
44293 _ACEOF
44294 cat confdefs.h >>conftest.$ac_ext
44295 cat >>conftest.$ac_ext <<_ACEOF
44296 /* end confdefs.h. */
44297 #include <math.h>
44298 #ifdef HAVE_IEEEFP_H
44299 #include <ieeefp.h>
44300 #endif
44301
44302 int
44303 main ()
44304 {
44305 _fabsl(0);
44306 ;
44307 return 0;
44308 }
44309 _ACEOF
44310 rm -f conftest.$ac_objext
44311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44312 (eval $ac_compile) 2>conftest.er1
44313 ac_status=$?
44314 grep -v '^ *+' conftest.er1 >conftest.err
44315 rm -f conftest.er1
44316 cat conftest.err >&5
44317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44318 (exit $ac_status); } &&
44319 { ac_try='test -z "$ac_cxx_werror_flag"
44320 || test ! -s conftest.err'
44321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44322 (eval $ac_try) 2>&5
44323 ac_status=$?
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); }; } &&
44326 { ac_try='test -s conftest.$ac_objext'
44327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44328 (eval $ac_try) 2>&5
44329 ac_status=$?
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); }; }; then
44332 glibcxx_cv_func__fabsl_use=yes
44333 else
44334 echo "$as_me: failed program was:" >&5
44335 sed 's/^/| /' conftest.$ac_ext >&5
44336
44337 glibcxx_cv_func__fabsl_use=no
44338 fi
44339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44340 ac_ext=c
44341 ac_cpp='$CPP $CPPFLAGS'
44342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44345
44346
44347 fi
44348
44349 fi
44350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44351 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44352
44353 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44354
44355 for ac_func in _fabsl
44356 do
44357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44358 echo "$as_me:$LINENO: checking for $ac_func" >&5
44359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44360 if eval "test \"\${$as_ac_var+set}\" = set"; then
44361 echo $ECHO_N "(cached) $ECHO_C" >&6
44362 else
44363 if test x$gcc_no_link = xyes; then
44364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44366 { (exit 1); exit 1; }; }
44367 fi
44368 cat >conftest.$ac_ext <<_ACEOF
44369 /* confdefs.h. */
44370 _ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44376 #define $ac_func innocuous_$ac_func
44377
44378 /* System header to define __stub macros and hopefully few prototypes,
44379 which can conflict with char $ac_func (); below.
44380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44381 <limits.h> exists even on freestanding compilers. */
44382
44383 #ifdef __STDC__
44384 # include <limits.h>
44385 #else
44386 # include <assert.h>
44387 #endif
44388
44389 #undef $ac_func
44390
44391 /* Override any gcc2 internal prototype to avoid an error. */
44392 #ifdef __cplusplus
44393 extern "C"
44394 {
44395 #endif
44396 /* We use char because int might match the return type of a gcc2
44397 builtin and then its argument prototype would still apply. */
44398 char $ac_func ();
44399 /* The GNU C library defines this for functions which it implements
44400 to always fail with ENOSYS. Some functions are actually named
44401 something starting with __ and the normal name is an alias. */
44402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44403 choke me
44404 #else
44405 char (*f) () = $ac_func;
44406 #endif
44407 #ifdef __cplusplus
44408 }
44409 #endif
44410
44411 int
44412 main ()
44413 {
44414 return f != $ac_func;
44415 ;
44416 return 0;
44417 }
44418 _ACEOF
44419 rm -f conftest.$ac_objext conftest$ac_exeext
44420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44421 (eval $ac_link) 2>conftest.er1
44422 ac_status=$?
44423 grep -v '^ *+' conftest.er1 >conftest.err
44424 rm -f conftest.er1
44425 cat conftest.err >&5
44426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44427 (exit $ac_status); } &&
44428 { ac_try='test -z "$ac_c_werror_flag"
44429 || test ! -s conftest.err'
44430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44431 (eval $ac_try) 2>&5
44432 ac_status=$?
44433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44434 (exit $ac_status); }; } &&
44435 { ac_try='test -s conftest$ac_exeext'
44436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44437 (eval $ac_try) 2>&5
44438 ac_status=$?
44439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44440 (exit $ac_status); }; }; then
44441 eval "$as_ac_var=yes"
44442 else
44443 echo "$as_me: failed program was:" >&5
44444 sed 's/^/| /' conftest.$ac_ext >&5
44445
44446 eval "$as_ac_var=no"
44447 fi
44448 rm -f conftest.err conftest.$ac_objext \
44449 conftest$ac_exeext conftest.$ac_ext
44450 fi
44451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44453 if test `eval echo '${'$as_ac_var'}'` = yes; then
44454 cat >>confdefs.h <<_ACEOF
44455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44456 _ACEOF
44457
44458 fi
44459 done
44460
44461 fi
44462 fi
44463
44464
44465
44466
44467
44468
44469 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
44470 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
44471 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44472 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
44473 echo $ECHO_N "(cached) $ECHO_C" >&6
44474 else
44475
44476
44477
44478 ac_ext=cc
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483
44484 cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h. */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44490 #include <math.h>
44491 int
44492 main ()
44493 {
44494 fmodl(0, 0);
44495 ;
44496 return 0;
44497 }
44498 _ACEOF
44499 rm -f conftest.$ac_objext
44500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44501 (eval $ac_compile) 2>conftest.er1
44502 ac_status=$?
44503 grep -v '^ *+' conftest.er1 >conftest.err
44504 rm -f conftest.er1
44505 cat conftest.err >&5
44506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44507 (exit $ac_status); } &&
44508 { ac_try='test -z "$ac_cxx_werror_flag"
44509 || test ! -s conftest.err'
44510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44511 (eval $ac_try) 2>&5
44512 ac_status=$?
44513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514 (exit $ac_status); }; } &&
44515 { ac_try='test -s conftest.$ac_objext'
44516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44517 (eval $ac_try) 2>&5
44518 ac_status=$?
44519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44520 (exit $ac_status); }; }; then
44521 glibcxx_cv_func_fmodl_use=yes
44522 else
44523 echo "$as_me: failed program was:" >&5
44524 sed 's/^/| /' conftest.$ac_ext >&5
44525
44526 glibcxx_cv_func_fmodl_use=no
44527 fi
44528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44529 ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44534
44535
44536 fi
44537
44538 fi
44539 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
44540 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
44541
44542 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44543
44544 for ac_func in fmodl
44545 do
44546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44547 echo "$as_me:$LINENO: checking for $ac_func" >&5
44548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44549 if eval "test \"\${$as_ac_var+set}\" = set"; then
44550 echo $ECHO_N "(cached) $ECHO_C" >&6
44551 else
44552 if test x$gcc_no_link = xyes; then
44553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44555 { (exit 1); exit 1; }; }
44556 fi
44557 cat >conftest.$ac_ext <<_ACEOF
44558 /* confdefs.h. */
44559 _ACEOF
44560 cat confdefs.h >>conftest.$ac_ext
44561 cat >>conftest.$ac_ext <<_ACEOF
44562 /* end confdefs.h. */
44563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44565 #define $ac_func innocuous_$ac_func
44566
44567 /* System header to define __stub macros and hopefully few prototypes,
44568 which can conflict with char $ac_func (); below.
44569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44570 <limits.h> exists even on freestanding compilers. */
44571
44572 #ifdef __STDC__
44573 # include <limits.h>
44574 #else
44575 # include <assert.h>
44576 #endif
44577
44578 #undef $ac_func
44579
44580 /* Override any gcc2 internal prototype to avoid an error. */
44581 #ifdef __cplusplus
44582 extern "C"
44583 {
44584 #endif
44585 /* We use char because int might match the return type of a gcc2
44586 builtin and then its argument prototype would still apply. */
44587 char $ac_func ();
44588 /* The GNU C library defines this for functions which it implements
44589 to always fail with ENOSYS. Some functions are actually named
44590 something starting with __ and the normal name is an alias. */
44591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44592 choke me
44593 #else
44594 char (*f) () = $ac_func;
44595 #endif
44596 #ifdef __cplusplus
44597 }
44598 #endif
44599
44600 int
44601 main ()
44602 {
44603 return f != $ac_func;
44604 ;
44605 return 0;
44606 }
44607 _ACEOF
44608 rm -f conftest.$ac_objext conftest$ac_exeext
44609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44610 (eval $ac_link) 2>conftest.er1
44611 ac_status=$?
44612 grep -v '^ *+' conftest.er1 >conftest.err
44613 rm -f conftest.er1
44614 cat conftest.err >&5
44615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44616 (exit $ac_status); } &&
44617 { ac_try='test -z "$ac_c_werror_flag"
44618 || test ! -s conftest.err'
44619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44620 (eval $ac_try) 2>&5
44621 ac_status=$?
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); }; } &&
44624 { ac_try='test -s conftest$ac_exeext'
44625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44626 (eval $ac_try) 2>&5
44627 ac_status=$?
44628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44629 (exit $ac_status); }; }; then
44630 eval "$as_ac_var=yes"
44631 else
44632 echo "$as_me: failed program was:" >&5
44633 sed 's/^/| /' conftest.$ac_ext >&5
44634
44635 eval "$as_ac_var=no"
44636 fi
44637 rm -f conftest.err conftest.$ac_objext \
44638 conftest$ac_exeext conftest.$ac_ext
44639 fi
44640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44642 if test `eval echo '${'$as_ac_var'}'` = yes; then
44643 cat >>confdefs.h <<_ACEOF
44644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44645 _ACEOF
44646
44647 fi
44648 done
44649
44650 else
44651
44652 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
44653 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
44654 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44655 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
44656 echo $ECHO_N "(cached) $ECHO_C" >&6
44657 else
44658
44659
44660
44661 ac_ext=cc
44662 ac_cpp='$CXXCPP $CPPFLAGS'
44663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44666
44667 cat >conftest.$ac_ext <<_ACEOF
44668 /* confdefs.h. */
44669 _ACEOF
44670 cat confdefs.h >>conftest.$ac_ext
44671 cat >>conftest.$ac_ext <<_ACEOF
44672 /* end confdefs.h. */
44673 #include <math.h>
44674 int
44675 main ()
44676 {
44677 _fmodl(0, 0);
44678 ;
44679 return 0;
44680 }
44681 _ACEOF
44682 rm -f conftest.$ac_objext
44683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44684 (eval $ac_compile) 2>conftest.er1
44685 ac_status=$?
44686 grep -v '^ *+' conftest.er1 >conftest.err
44687 rm -f conftest.er1
44688 cat conftest.err >&5
44689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44690 (exit $ac_status); } &&
44691 { ac_try='test -z "$ac_cxx_werror_flag"
44692 || test ! -s conftest.err'
44693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44694 (eval $ac_try) 2>&5
44695 ac_status=$?
44696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44697 (exit $ac_status); }; } &&
44698 { ac_try='test -s conftest.$ac_objext'
44699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44700 (eval $ac_try) 2>&5
44701 ac_status=$?
44702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703 (exit $ac_status); }; }; then
44704 glibcxx_cv_func__fmodl_use=yes
44705 else
44706 echo "$as_me: failed program was:" >&5
44707 sed 's/^/| /' conftest.$ac_ext >&5
44708
44709 glibcxx_cv_func__fmodl_use=no
44710 fi
44711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44712 ac_ext=c
44713 ac_cpp='$CPP $CPPFLAGS'
44714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44717
44718
44719 fi
44720
44721 fi
44722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
44723 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
44724
44725 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44726
44727 for ac_func in _fmodl
44728 do
44729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44730 echo "$as_me:$LINENO: checking for $ac_func" >&5
44731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44732 if eval "test \"\${$as_ac_var+set}\" = set"; then
44733 echo $ECHO_N "(cached) $ECHO_C" >&6
44734 else
44735 if test x$gcc_no_link = xyes; then
44736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44738 { (exit 1); exit 1; }; }
44739 fi
44740 cat >conftest.$ac_ext <<_ACEOF
44741 /* confdefs.h. */
44742 _ACEOF
44743 cat confdefs.h >>conftest.$ac_ext
44744 cat >>conftest.$ac_ext <<_ACEOF
44745 /* end confdefs.h. */
44746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44748 #define $ac_func innocuous_$ac_func
44749
44750 /* System header to define __stub macros and hopefully few prototypes,
44751 which can conflict with char $ac_func (); below.
44752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44753 <limits.h> exists even on freestanding compilers. */
44754
44755 #ifdef __STDC__
44756 # include <limits.h>
44757 #else
44758 # include <assert.h>
44759 #endif
44760
44761 #undef $ac_func
44762
44763 /* Override any gcc2 internal prototype to avoid an error. */
44764 #ifdef __cplusplus
44765 extern "C"
44766 {
44767 #endif
44768 /* We use char because int might match the return type of a gcc2
44769 builtin and then its argument prototype would still apply. */
44770 char $ac_func ();
44771 /* The GNU C library defines this for functions which it implements
44772 to always fail with ENOSYS. Some functions are actually named
44773 something starting with __ and the normal name is an alias. */
44774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44775 choke me
44776 #else
44777 char (*f) () = $ac_func;
44778 #endif
44779 #ifdef __cplusplus
44780 }
44781 #endif
44782
44783 int
44784 main ()
44785 {
44786 return f != $ac_func;
44787 ;
44788 return 0;
44789 }
44790 _ACEOF
44791 rm -f conftest.$ac_objext conftest$ac_exeext
44792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44793 (eval $ac_link) 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } &&
44800 { ac_try='test -z "$ac_c_werror_flag"
44801 || test ! -s conftest.err'
44802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44803 (eval $ac_try) 2>&5
44804 ac_status=$?
44805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44806 (exit $ac_status); }; } &&
44807 { ac_try='test -s conftest$ac_exeext'
44808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44809 (eval $ac_try) 2>&5
44810 ac_status=$?
44811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812 (exit $ac_status); }; }; then
44813 eval "$as_ac_var=yes"
44814 else
44815 echo "$as_me: failed program was:" >&5
44816 sed 's/^/| /' conftest.$ac_ext >&5
44817
44818 eval "$as_ac_var=no"
44819 fi
44820 rm -f conftest.err conftest.$ac_objext \
44821 conftest$ac_exeext conftest.$ac_ext
44822 fi
44823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44825 if test `eval echo '${'$as_ac_var'}'` = yes; then
44826 cat >>confdefs.h <<_ACEOF
44827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44828 _ACEOF
44829
44830 fi
44831 done
44832
44833 fi
44834 fi
44835
44836
44837
44838
44839
44840
44841 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
44842 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
44843 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44844 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
44845 echo $ECHO_N "(cached) $ECHO_C" >&6
44846 else
44847
44848
44849
44850 ac_ext=cc
44851 ac_cpp='$CXXCPP $CPPFLAGS'
44852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44855
44856 cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h. */
44858 _ACEOF
44859 cat confdefs.h >>conftest.$ac_ext
44860 cat >>conftest.$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862 #include <math.h>
44863 int
44864 main ()
44865 {
44866 frexpl(0, 0);
44867 ;
44868 return 0;
44869 }
44870 _ACEOF
44871 rm -f conftest.$ac_objext
44872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44873 (eval $ac_compile) 2>conftest.er1
44874 ac_status=$?
44875 grep -v '^ *+' conftest.er1 >conftest.err
44876 rm -f conftest.er1
44877 cat conftest.err >&5
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); } &&
44880 { ac_try='test -z "$ac_cxx_werror_flag"
44881 || test ! -s conftest.err'
44882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44883 (eval $ac_try) 2>&5
44884 ac_status=$?
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); }; } &&
44887 { ac_try='test -s conftest.$ac_objext'
44888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44889 (eval $ac_try) 2>&5
44890 ac_status=$?
44891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44892 (exit $ac_status); }; }; then
44893 glibcxx_cv_func_frexpl_use=yes
44894 else
44895 echo "$as_me: failed program was:" >&5
44896 sed 's/^/| /' conftest.$ac_ext >&5
44897
44898 glibcxx_cv_func_frexpl_use=no
44899 fi
44900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44901 ac_ext=c
44902 ac_cpp='$CPP $CPPFLAGS'
44903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44906
44907
44908 fi
44909
44910 fi
44911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
44912 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
44913
44914 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44915
44916 for ac_func in frexpl
44917 do
44918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44919 echo "$as_me:$LINENO: checking for $ac_func" >&5
44920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44921 if eval "test \"\${$as_ac_var+set}\" = set"; then
44922 echo $ECHO_N "(cached) $ECHO_C" >&6
44923 else
44924 if test x$gcc_no_link = xyes; then
44925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44927 { (exit 1); exit 1; }; }
44928 fi
44929 cat >conftest.$ac_ext <<_ACEOF
44930 /* confdefs.h. */
44931 _ACEOF
44932 cat confdefs.h >>conftest.$ac_ext
44933 cat >>conftest.$ac_ext <<_ACEOF
44934 /* end confdefs.h. */
44935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44937 #define $ac_func innocuous_$ac_func
44938
44939 /* System header to define __stub macros and hopefully few prototypes,
44940 which can conflict with char $ac_func (); below.
44941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44942 <limits.h> exists even on freestanding compilers. */
44943
44944 #ifdef __STDC__
44945 # include <limits.h>
44946 #else
44947 # include <assert.h>
44948 #endif
44949
44950 #undef $ac_func
44951
44952 /* Override any gcc2 internal prototype to avoid an error. */
44953 #ifdef __cplusplus
44954 extern "C"
44955 {
44956 #endif
44957 /* We use char because int might match the return type of a gcc2
44958 builtin and then its argument prototype would still apply. */
44959 char $ac_func ();
44960 /* The GNU C library defines this for functions which it implements
44961 to always fail with ENOSYS. Some functions are actually named
44962 something starting with __ and the normal name is an alias. */
44963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44964 choke me
44965 #else
44966 char (*f) () = $ac_func;
44967 #endif
44968 #ifdef __cplusplus
44969 }
44970 #endif
44971
44972 int
44973 main ()
44974 {
44975 return f != $ac_func;
44976 ;
44977 return 0;
44978 }
44979 _ACEOF
44980 rm -f conftest.$ac_objext conftest$ac_exeext
44981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44982 (eval $ac_link) 2>conftest.er1
44983 ac_status=$?
44984 grep -v '^ *+' conftest.er1 >conftest.err
44985 rm -f conftest.er1
44986 cat conftest.err >&5
44987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44988 (exit $ac_status); } &&
44989 { ac_try='test -z "$ac_c_werror_flag"
44990 || test ! -s conftest.err'
44991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44992 (eval $ac_try) 2>&5
44993 ac_status=$?
44994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995 (exit $ac_status); }; } &&
44996 { ac_try='test -s conftest$ac_exeext'
44997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44998 (eval $ac_try) 2>&5
44999 ac_status=$?
45000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45001 (exit $ac_status); }; }; then
45002 eval "$as_ac_var=yes"
45003 else
45004 echo "$as_me: failed program was:" >&5
45005 sed 's/^/| /' conftest.$ac_ext >&5
45006
45007 eval "$as_ac_var=no"
45008 fi
45009 rm -f conftest.err conftest.$ac_objext \
45010 conftest$ac_exeext conftest.$ac_ext
45011 fi
45012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45014 if test `eval echo '${'$as_ac_var'}'` = yes; then
45015 cat >>confdefs.h <<_ACEOF
45016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45017 _ACEOF
45018
45019 fi
45020 done
45021
45022 else
45023
45024 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45025 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45026 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45027 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45029 else
45030
45031
45032
45033 ac_ext=cc
45034 ac_cpp='$CXXCPP $CPPFLAGS'
45035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45038
45039 cat >conftest.$ac_ext <<_ACEOF
45040 /* confdefs.h. */
45041 _ACEOF
45042 cat confdefs.h >>conftest.$ac_ext
45043 cat >>conftest.$ac_ext <<_ACEOF
45044 /* end confdefs.h. */
45045 #include <math.h>
45046 int
45047 main ()
45048 {
45049 _frexpl(0, 0);
45050 ;
45051 return 0;
45052 }
45053 _ACEOF
45054 rm -f conftest.$ac_objext
45055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45056 (eval $ac_compile) 2>conftest.er1
45057 ac_status=$?
45058 grep -v '^ *+' conftest.er1 >conftest.err
45059 rm -f conftest.er1
45060 cat conftest.err >&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); } &&
45063 { ac_try='test -z "$ac_cxx_werror_flag"
45064 || test ! -s conftest.err'
45065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45066 (eval $ac_try) 2>&5
45067 ac_status=$?
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); }; } &&
45070 { ac_try='test -s conftest.$ac_objext'
45071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45072 (eval $ac_try) 2>&5
45073 ac_status=$?
45074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075 (exit $ac_status); }; }; then
45076 glibcxx_cv_func__frexpl_use=yes
45077 else
45078 echo "$as_me: failed program was:" >&5
45079 sed 's/^/| /' conftest.$ac_ext >&5
45080
45081 glibcxx_cv_func__frexpl_use=no
45082 fi
45083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45084 ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45089
45090
45091 fi
45092
45093 fi
45094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45095 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45096
45097 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45098
45099 for ac_func in _frexpl
45100 do
45101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45102 echo "$as_me:$LINENO: checking for $ac_func" >&5
45103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45104 if eval "test \"\${$as_ac_var+set}\" = set"; then
45105 echo $ECHO_N "(cached) $ECHO_C" >&6
45106 else
45107 if test x$gcc_no_link = xyes; then
45108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45110 { (exit 1); exit 1; }; }
45111 fi
45112 cat >conftest.$ac_ext <<_ACEOF
45113 /* confdefs.h. */
45114 _ACEOF
45115 cat confdefs.h >>conftest.$ac_ext
45116 cat >>conftest.$ac_ext <<_ACEOF
45117 /* end confdefs.h. */
45118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45120 #define $ac_func innocuous_$ac_func
45121
45122 /* System header to define __stub macros and hopefully few prototypes,
45123 which can conflict with char $ac_func (); below.
45124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45125 <limits.h> exists even on freestanding compilers. */
45126
45127 #ifdef __STDC__
45128 # include <limits.h>
45129 #else
45130 # include <assert.h>
45131 #endif
45132
45133 #undef $ac_func
45134
45135 /* Override any gcc2 internal prototype to avoid an error. */
45136 #ifdef __cplusplus
45137 extern "C"
45138 {
45139 #endif
45140 /* We use char because int might match the return type of a gcc2
45141 builtin and then its argument prototype would still apply. */
45142 char $ac_func ();
45143 /* The GNU C library defines this for functions which it implements
45144 to always fail with ENOSYS. Some functions are actually named
45145 something starting with __ and the normal name is an alias. */
45146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45147 choke me
45148 #else
45149 char (*f) () = $ac_func;
45150 #endif
45151 #ifdef __cplusplus
45152 }
45153 #endif
45154
45155 int
45156 main ()
45157 {
45158 return f != $ac_func;
45159 ;
45160 return 0;
45161 }
45162 _ACEOF
45163 rm -f conftest.$ac_objext conftest$ac_exeext
45164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45165 (eval $ac_link) 2>conftest.er1
45166 ac_status=$?
45167 grep -v '^ *+' conftest.er1 >conftest.err
45168 rm -f conftest.er1
45169 cat conftest.err >&5
45170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45171 (exit $ac_status); } &&
45172 { ac_try='test -z "$ac_c_werror_flag"
45173 || test ! -s conftest.err'
45174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45175 (eval $ac_try) 2>&5
45176 ac_status=$?
45177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45178 (exit $ac_status); }; } &&
45179 { ac_try='test -s conftest$ac_exeext'
45180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45181 (eval $ac_try) 2>&5
45182 ac_status=$?
45183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184 (exit $ac_status); }; }; then
45185 eval "$as_ac_var=yes"
45186 else
45187 echo "$as_me: failed program was:" >&5
45188 sed 's/^/| /' conftest.$ac_ext >&5
45189
45190 eval "$as_ac_var=no"
45191 fi
45192 rm -f conftest.err conftest.$ac_objext \
45193 conftest$ac_exeext conftest.$ac_ext
45194 fi
45195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45197 if test `eval echo '${'$as_ac_var'}'` = yes; then
45198 cat >>confdefs.h <<_ACEOF
45199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45200 _ACEOF
45201
45202 fi
45203 done
45204
45205 fi
45206 fi
45207
45208
45209
45210
45211
45212
45213 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45214 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45215 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45216 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45217 echo $ECHO_N "(cached) $ECHO_C" >&6
45218 else
45219
45220
45221
45222 ac_ext=cc
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227
45228 cat >conftest.$ac_ext <<_ACEOF
45229 /* confdefs.h. */
45230 _ACEOF
45231 cat confdefs.h >>conftest.$ac_ext
45232 cat >>conftest.$ac_ext <<_ACEOF
45233 /* end confdefs.h. */
45234 #include <math.h>
45235 int
45236 main ()
45237 {
45238 hypotl(0, 0);
45239 ;
45240 return 0;
45241 }
45242 _ACEOF
45243 rm -f conftest.$ac_objext
45244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45245 (eval $ac_compile) 2>conftest.er1
45246 ac_status=$?
45247 grep -v '^ *+' conftest.er1 >conftest.err
45248 rm -f conftest.er1
45249 cat conftest.err >&5
45250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45251 (exit $ac_status); } &&
45252 { ac_try='test -z "$ac_cxx_werror_flag"
45253 || test ! -s conftest.err'
45254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45255 (eval $ac_try) 2>&5
45256 ac_status=$?
45257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258 (exit $ac_status); }; } &&
45259 { ac_try='test -s conftest.$ac_objext'
45260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45261 (eval $ac_try) 2>&5
45262 ac_status=$?
45263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45264 (exit $ac_status); }; }; then
45265 glibcxx_cv_func_hypotl_use=yes
45266 else
45267 echo "$as_me: failed program was:" >&5
45268 sed 's/^/| /' conftest.$ac_ext >&5
45269
45270 glibcxx_cv_func_hypotl_use=no
45271 fi
45272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45273 ac_ext=c
45274 ac_cpp='$CPP $CPPFLAGS'
45275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45278
45279
45280 fi
45281
45282 fi
45283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45284 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45285
45286 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45287
45288 for ac_func in hypotl
45289 do
45290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45291 echo "$as_me:$LINENO: checking for $ac_func" >&5
45292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45293 if eval "test \"\${$as_ac_var+set}\" = set"; then
45294 echo $ECHO_N "(cached) $ECHO_C" >&6
45295 else
45296 if test x$gcc_no_link = xyes; then
45297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45299 { (exit 1); exit 1; }; }
45300 fi
45301 cat >conftest.$ac_ext <<_ACEOF
45302 /* confdefs.h. */
45303 _ACEOF
45304 cat confdefs.h >>conftest.$ac_ext
45305 cat >>conftest.$ac_ext <<_ACEOF
45306 /* end confdefs.h. */
45307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45309 #define $ac_func innocuous_$ac_func
45310
45311 /* System header to define __stub macros and hopefully few prototypes,
45312 which can conflict with char $ac_func (); below.
45313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45314 <limits.h> exists even on freestanding compilers. */
45315
45316 #ifdef __STDC__
45317 # include <limits.h>
45318 #else
45319 # include <assert.h>
45320 #endif
45321
45322 #undef $ac_func
45323
45324 /* Override any gcc2 internal prototype to avoid an error. */
45325 #ifdef __cplusplus
45326 extern "C"
45327 {
45328 #endif
45329 /* We use char because int might match the return type of a gcc2
45330 builtin and then its argument prototype would still apply. */
45331 char $ac_func ();
45332 /* The GNU C library defines this for functions which it implements
45333 to always fail with ENOSYS. Some functions are actually named
45334 something starting with __ and the normal name is an alias. */
45335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45336 choke me
45337 #else
45338 char (*f) () = $ac_func;
45339 #endif
45340 #ifdef __cplusplus
45341 }
45342 #endif
45343
45344 int
45345 main ()
45346 {
45347 return f != $ac_func;
45348 ;
45349 return 0;
45350 }
45351 _ACEOF
45352 rm -f conftest.$ac_objext conftest$ac_exeext
45353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45354 (eval $ac_link) 2>conftest.er1
45355 ac_status=$?
45356 grep -v '^ *+' conftest.er1 >conftest.err
45357 rm -f conftest.er1
45358 cat conftest.err >&5
45359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360 (exit $ac_status); } &&
45361 { ac_try='test -z "$ac_c_werror_flag"
45362 || test ! -s conftest.err'
45363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45364 (eval $ac_try) 2>&5
45365 ac_status=$?
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); }; } &&
45368 { ac_try='test -s conftest$ac_exeext'
45369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45370 (eval $ac_try) 2>&5
45371 ac_status=$?
45372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373 (exit $ac_status); }; }; then
45374 eval "$as_ac_var=yes"
45375 else
45376 echo "$as_me: failed program was:" >&5
45377 sed 's/^/| /' conftest.$ac_ext >&5
45378
45379 eval "$as_ac_var=no"
45380 fi
45381 rm -f conftest.err conftest.$ac_objext \
45382 conftest$ac_exeext conftest.$ac_ext
45383 fi
45384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45386 if test `eval echo '${'$as_ac_var'}'` = yes; then
45387 cat >>confdefs.h <<_ACEOF
45388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45389 _ACEOF
45390
45391 fi
45392 done
45393
45394 else
45395
45396 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
45397 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
45398 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45399 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
45400 echo $ECHO_N "(cached) $ECHO_C" >&6
45401 else
45402
45403
45404
45405 ac_ext=cc
45406 ac_cpp='$CXXCPP $CPPFLAGS'
45407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45410
45411 cat >conftest.$ac_ext <<_ACEOF
45412 /* confdefs.h. */
45413 _ACEOF
45414 cat confdefs.h >>conftest.$ac_ext
45415 cat >>conftest.$ac_ext <<_ACEOF
45416 /* end confdefs.h. */
45417 #include <math.h>
45418 int
45419 main ()
45420 {
45421 _hypotl(0, 0);
45422 ;
45423 return 0;
45424 }
45425 _ACEOF
45426 rm -f conftest.$ac_objext
45427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45428 (eval $ac_compile) 2>conftest.er1
45429 ac_status=$?
45430 grep -v '^ *+' conftest.er1 >conftest.err
45431 rm -f conftest.er1
45432 cat conftest.err >&5
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); } &&
45435 { ac_try='test -z "$ac_cxx_werror_flag"
45436 || test ! -s conftest.err'
45437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45438 (eval $ac_try) 2>&5
45439 ac_status=$?
45440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45441 (exit $ac_status); }; } &&
45442 { ac_try='test -s conftest.$ac_objext'
45443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45444 (eval $ac_try) 2>&5
45445 ac_status=$?
45446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45447 (exit $ac_status); }; }; then
45448 glibcxx_cv_func__hypotl_use=yes
45449 else
45450 echo "$as_me: failed program was:" >&5
45451 sed 's/^/| /' conftest.$ac_ext >&5
45452
45453 glibcxx_cv_func__hypotl_use=no
45454 fi
45455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45461
45462
45463 fi
45464
45465 fi
45466 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
45467 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
45468
45469 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45470
45471 for ac_func in _hypotl
45472 do
45473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45474 echo "$as_me:$LINENO: checking for $ac_func" >&5
45475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45476 if eval "test \"\${$as_ac_var+set}\" = set"; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45478 else
45479 if test x$gcc_no_link = xyes; then
45480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45482 { (exit 1); exit 1; }; }
45483 fi
45484 cat >conftest.$ac_ext <<_ACEOF
45485 /* confdefs.h. */
45486 _ACEOF
45487 cat confdefs.h >>conftest.$ac_ext
45488 cat >>conftest.$ac_ext <<_ACEOF
45489 /* end confdefs.h. */
45490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45492 #define $ac_func innocuous_$ac_func
45493
45494 /* System header to define __stub macros and hopefully few prototypes,
45495 which can conflict with char $ac_func (); below.
45496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45497 <limits.h> exists even on freestanding compilers. */
45498
45499 #ifdef __STDC__
45500 # include <limits.h>
45501 #else
45502 # include <assert.h>
45503 #endif
45504
45505 #undef $ac_func
45506
45507 /* Override any gcc2 internal prototype to avoid an error. */
45508 #ifdef __cplusplus
45509 extern "C"
45510 {
45511 #endif
45512 /* We use char because int might match the return type of a gcc2
45513 builtin and then its argument prototype would still apply. */
45514 char $ac_func ();
45515 /* The GNU C library defines this for functions which it implements
45516 to always fail with ENOSYS. Some functions are actually named
45517 something starting with __ and the normal name is an alias. */
45518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45519 choke me
45520 #else
45521 char (*f) () = $ac_func;
45522 #endif
45523 #ifdef __cplusplus
45524 }
45525 #endif
45526
45527 int
45528 main ()
45529 {
45530 return f != $ac_func;
45531 ;
45532 return 0;
45533 }
45534 _ACEOF
45535 rm -f conftest.$ac_objext conftest$ac_exeext
45536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45537 (eval $ac_link) 2>conftest.er1
45538 ac_status=$?
45539 grep -v '^ *+' conftest.er1 >conftest.err
45540 rm -f conftest.er1
45541 cat conftest.err >&5
45542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45543 (exit $ac_status); } &&
45544 { ac_try='test -z "$ac_c_werror_flag"
45545 || test ! -s conftest.err'
45546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45547 (eval $ac_try) 2>&5
45548 ac_status=$?
45549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45550 (exit $ac_status); }; } &&
45551 { ac_try='test -s conftest$ac_exeext'
45552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45553 (eval $ac_try) 2>&5
45554 ac_status=$?
45555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45556 (exit $ac_status); }; }; then
45557 eval "$as_ac_var=yes"
45558 else
45559 echo "$as_me: failed program was:" >&5
45560 sed 's/^/| /' conftest.$ac_ext >&5
45561
45562 eval "$as_ac_var=no"
45563 fi
45564 rm -f conftest.err conftest.$ac_objext \
45565 conftest$ac_exeext conftest.$ac_ext
45566 fi
45567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45569 if test `eval echo '${'$as_ac_var'}'` = yes; then
45570 cat >>confdefs.h <<_ACEOF
45571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45572 _ACEOF
45573
45574 fi
45575 done
45576
45577 fi
45578 fi
45579
45580
45581
45582
45583
45584
45585 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
45586 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
45587 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45588 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
45589 echo $ECHO_N "(cached) $ECHO_C" >&6
45590 else
45591
45592
45593
45594 ac_ext=cc
45595 ac_cpp='$CXXCPP $CPPFLAGS'
45596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45599
45600 cat >conftest.$ac_ext <<_ACEOF
45601 /* confdefs.h. */
45602 _ACEOF
45603 cat confdefs.h >>conftest.$ac_ext
45604 cat >>conftest.$ac_ext <<_ACEOF
45605 /* end confdefs.h. */
45606 #include <math.h>
45607 int
45608 main ()
45609 {
45610 ldexpl(0, 0);
45611 ;
45612 return 0;
45613 }
45614 _ACEOF
45615 rm -f conftest.$ac_objext
45616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45617 (eval $ac_compile) 2>conftest.er1
45618 ac_status=$?
45619 grep -v '^ *+' conftest.er1 >conftest.err
45620 rm -f conftest.er1
45621 cat conftest.err >&5
45622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45623 (exit $ac_status); } &&
45624 { ac_try='test -z "$ac_cxx_werror_flag"
45625 || test ! -s conftest.err'
45626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45627 (eval $ac_try) 2>&5
45628 ac_status=$?
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); }; } &&
45631 { ac_try='test -s conftest.$ac_objext'
45632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45633 (eval $ac_try) 2>&5
45634 ac_status=$?
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); }; }; then
45637 glibcxx_cv_func_ldexpl_use=yes
45638 else
45639 echo "$as_me: failed program was:" >&5
45640 sed 's/^/| /' conftest.$ac_ext >&5
45641
45642 glibcxx_cv_func_ldexpl_use=no
45643 fi
45644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45645 ac_ext=c
45646 ac_cpp='$CPP $CPPFLAGS'
45647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45650
45651
45652 fi
45653
45654 fi
45655 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
45656 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
45657
45658 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45659
45660 for ac_func in ldexpl
45661 do
45662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45663 echo "$as_me:$LINENO: checking for $ac_func" >&5
45664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45665 if eval "test \"\${$as_ac_var+set}\" = set"; then
45666 echo $ECHO_N "(cached) $ECHO_C" >&6
45667 else
45668 if test x$gcc_no_link = xyes; then
45669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45671 { (exit 1); exit 1; }; }
45672 fi
45673 cat >conftest.$ac_ext <<_ACEOF
45674 /* confdefs.h. */
45675 _ACEOF
45676 cat confdefs.h >>conftest.$ac_ext
45677 cat >>conftest.$ac_ext <<_ACEOF
45678 /* end confdefs.h. */
45679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45681 #define $ac_func innocuous_$ac_func
45682
45683 /* System header to define __stub macros and hopefully few prototypes,
45684 which can conflict with char $ac_func (); below.
45685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45686 <limits.h> exists even on freestanding compilers. */
45687
45688 #ifdef __STDC__
45689 # include <limits.h>
45690 #else
45691 # include <assert.h>
45692 #endif
45693
45694 #undef $ac_func
45695
45696 /* Override any gcc2 internal prototype to avoid an error. */
45697 #ifdef __cplusplus
45698 extern "C"
45699 {
45700 #endif
45701 /* We use char because int might match the return type of a gcc2
45702 builtin and then its argument prototype would still apply. */
45703 char $ac_func ();
45704 /* The GNU C library defines this for functions which it implements
45705 to always fail with ENOSYS. Some functions are actually named
45706 something starting with __ and the normal name is an alias. */
45707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45708 choke me
45709 #else
45710 char (*f) () = $ac_func;
45711 #endif
45712 #ifdef __cplusplus
45713 }
45714 #endif
45715
45716 int
45717 main ()
45718 {
45719 return f != $ac_func;
45720 ;
45721 return 0;
45722 }
45723 _ACEOF
45724 rm -f conftest.$ac_objext conftest$ac_exeext
45725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45726 (eval $ac_link) 2>conftest.er1
45727 ac_status=$?
45728 grep -v '^ *+' conftest.er1 >conftest.err
45729 rm -f conftest.er1
45730 cat conftest.err >&5
45731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45732 (exit $ac_status); } &&
45733 { ac_try='test -z "$ac_c_werror_flag"
45734 || test ! -s conftest.err'
45735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45736 (eval $ac_try) 2>&5
45737 ac_status=$?
45738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45739 (exit $ac_status); }; } &&
45740 { ac_try='test -s conftest$ac_exeext'
45741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45742 (eval $ac_try) 2>&5
45743 ac_status=$?
45744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45745 (exit $ac_status); }; }; then
45746 eval "$as_ac_var=yes"
45747 else
45748 echo "$as_me: failed program was:" >&5
45749 sed 's/^/| /' conftest.$ac_ext >&5
45750
45751 eval "$as_ac_var=no"
45752 fi
45753 rm -f conftest.err conftest.$ac_objext \
45754 conftest$ac_exeext conftest.$ac_ext
45755 fi
45756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45758 if test `eval echo '${'$as_ac_var'}'` = yes; then
45759 cat >>confdefs.h <<_ACEOF
45760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45761 _ACEOF
45762
45763 fi
45764 done
45765
45766 else
45767
45768 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
45769 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
45770 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45771 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
45772 echo $ECHO_N "(cached) $ECHO_C" >&6
45773 else
45774
45775
45776
45777 ac_ext=cc
45778 ac_cpp='$CXXCPP $CPPFLAGS'
45779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45782
45783 cat >conftest.$ac_ext <<_ACEOF
45784 /* confdefs.h. */
45785 _ACEOF
45786 cat confdefs.h >>conftest.$ac_ext
45787 cat >>conftest.$ac_ext <<_ACEOF
45788 /* end confdefs.h. */
45789 #include <math.h>
45790 int
45791 main ()
45792 {
45793 _ldexpl(0, 0);
45794 ;
45795 return 0;
45796 }
45797 _ACEOF
45798 rm -f conftest.$ac_objext
45799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45800 (eval $ac_compile) 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } &&
45807 { ac_try='test -z "$ac_cxx_werror_flag"
45808 || test ! -s conftest.err'
45809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45810 (eval $ac_try) 2>&5
45811 ac_status=$?
45812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45813 (exit $ac_status); }; } &&
45814 { ac_try='test -s conftest.$ac_objext'
45815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45816 (eval $ac_try) 2>&5
45817 ac_status=$?
45818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45819 (exit $ac_status); }; }; then
45820 glibcxx_cv_func__ldexpl_use=yes
45821 else
45822 echo "$as_me: failed program was:" >&5
45823 sed 's/^/| /' conftest.$ac_ext >&5
45824
45825 glibcxx_cv_func__ldexpl_use=no
45826 fi
45827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45828 ac_ext=c
45829 ac_cpp='$CPP $CPPFLAGS'
45830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45833
45834
45835 fi
45836
45837 fi
45838 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
45839 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
45840
45841 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45842
45843 for ac_func in _ldexpl
45844 do
45845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45846 echo "$as_me:$LINENO: checking for $ac_func" >&5
45847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45848 if eval "test \"\${$as_ac_var+set}\" = set"; then
45849 echo $ECHO_N "(cached) $ECHO_C" >&6
45850 else
45851 if test x$gcc_no_link = xyes; then
45852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45854 { (exit 1); exit 1; }; }
45855 fi
45856 cat >conftest.$ac_ext <<_ACEOF
45857 /* confdefs.h. */
45858 _ACEOF
45859 cat confdefs.h >>conftest.$ac_ext
45860 cat >>conftest.$ac_ext <<_ACEOF
45861 /* end confdefs.h. */
45862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45864 #define $ac_func innocuous_$ac_func
45865
45866 /* System header to define __stub macros and hopefully few prototypes,
45867 which can conflict with char $ac_func (); below.
45868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45869 <limits.h> exists even on freestanding compilers. */
45870
45871 #ifdef __STDC__
45872 # include <limits.h>
45873 #else
45874 # include <assert.h>
45875 #endif
45876
45877 #undef $ac_func
45878
45879 /* Override any gcc2 internal prototype to avoid an error. */
45880 #ifdef __cplusplus
45881 extern "C"
45882 {
45883 #endif
45884 /* We use char because int might match the return type of a gcc2
45885 builtin and then its argument prototype would still apply. */
45886 char $ac_func ();
45887 /* The GNU C library defines this for functions which it implements
45888 to always fail with ENOSYS. Some functions are actually named
45889 something starting with __ and the normal name is an alias. */
45890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45891 choke me
45892 #else
45893 char (*f) () = $ac_func;
45894 #endif
45895 #ifdef __cplusplus
45896 }
45897 #endif
45898
45899 int
45900 main ()
45901 {
45902 return f != $ac_func;
45903 ;
45904 return 0;
45905 }
45906 _ACEOF
45907 rm -f conftest.$ac_objext conftest$ac_exeext
45908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45909 (eval $ac_link) 2>conftest.er1
45910 ac_status=$?
45911 grep -v '^ *+' conftest.er1 >conftest.err
45912 rm -f conftest.er1
45913 cat conftest.err >&5
45914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45915 (exit $ac_status); } &&
45916 { ac_try='test -z "$ac_c_werror_flag"
45917 || test ! -s conftest.err'
45918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45919 (eval $ac_try) 2>&5
45920 ac_status=$?
45921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45922 (exit $ac_status); }; } &&
45923 { ac_try='test -s conftest$ac_exeext'
45924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45925 (eval $ac_try) 2>&5
45926 ac_status=$?
45927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45928 (exit $ac_status); }; }; then
45929 eval "$as_ac_var=yes"
45930 else
45931 echo "$as_me: failed program was:" >&5
45932 sed 's/^/| /' conftest.$ac_ext >&5
45933
45934 eval "$as_ac_var=no"
45935 fi
45936 rm -f conftest.err conftest.$ac_objext \
45937 conftest$ac_exeext conftest.$ac_ext
45938 fi
45939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45941 if test `eval echo '${'$as_ac_var'}'` = yes; then
45942 cat >>confdefs.h <<_ACEOF
45943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45944 _ACEOF
45945
45946 fi
45947 done
45948
45949 fi
45950 fi
45951
45952
45953
45954
45955
45956
45957 echo "$as_me:$LINENO: checking for logl declaration" >&5
45958 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
45959 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45960 if test "${glibcxx_cv_func_logl_use+set}" = set; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45962 else
45963
45964
45965
45966 ac_ext=cc
45967 ac_cpp='$CXXCPP $CPPFLAGS'
45968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45971
45972 cat >conftest.$ac_ext <<_ACEOF
45973 /* confdefs.h. */
45974 _ACEOF
45975 cat confdefs.h >>conftest.$ac_ext
45976 cat >>conftest.$ac_ext <<_ACEOF
45977 /* end confdefs.h. */
45978 #include <math.h>
45979 #ifdef HAVE_IEEEFP_H
45980 #include <ieeefp.h>
45981 #endif
45982
45983 int
45984 main ()
45985 {
45986 logl(0);
45987 ;
45988 return 0;
45989 }
45990 _ACEOF
45991 rm -f conftest.$ac_objext
45992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45993 (eval $ac_compile) 2>conftest.er1
45994 ac_status=$?
45995 grep -v '^ *+' conftest.er1 >conftest.err
45996 rm -f conftest.er1
45997 cat conftest.err >&5
45998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45999 (exit $ac_status); } &&
46000 { ac_try='test -z "$ac_cxx_werror_flag"
46001 || test ! -s conftest.err'
46002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46003 (eval $ac_try) 2>&5
46004 ac_status=$?
46005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006 (exit $ac_status); }; } &&
46007 { ac_try='test -s conftest.$ac_objext'
46008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46009 (eval $ac_try) 2>&5
46010 ac_status=$?
46011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46012 (exit $ac_status); }; }; then
46013 glibcxx_cv_func_logl_use=yes
46014 else
46015 echo "$as_me: failed program was:" >&5
46016 sed 's/^/| /' conftest.$ac_ext >&5
46017
46018 glibcxx_cv_func_logl_use=no
46019 fi
46020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46021 ac_ext=c
46022 ac_cpp='$CPP $CPPFLAGS'
46023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46026
46027
46028 fi
46029
46030 fi
46031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46032 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46033
46034 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46035
46036 for ac_func in logl
46037 do
46038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46039 echo "$as_me:$LINENO: checking for $ac_func" >&5
46040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46041 if eval "test \"\${$as_ac_var+set}\" = set"; then
46042 echo $ECHO_N "(cached) $ECHO_C" >&6
46043 else
46044 if test x$gcc_no_link = xyes; then
46045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46047 { (exit 1); exit 1; }; }
46048 fi
46049 cat >conftest.$ac_ext <<_ACEOF
46050 /* confdefs.h. */
46051 _ACEOF
46052 cat confdefs.h >>conftest.$ac_ext
46053 cat >>conftest.$ac_ext <<_ACEOF
46054 /* end confdefs.h. */
46055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46057 #define $ac_func innocuous_$ac_func
46058
46059 /* System header to define __stub macros and hopefully few prototypes,
46060 which can conflict with char $ac_func (); below.
46061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46062 <limits.h> exists even on freestanding compilers. */
46063
46064 #ifdef __STDC__
46065 # include <limits.h>
46066 #else
46067 # include <assert.h>
46068 #endif
46069
46070 #undef $ac_func
46071
46072 /* Override any gcc2 internal prototype to avoid an error. */
46073 #ifdef __cplusplus
46074 extern "C"
46075 {
46076 #endif
46077 /* We use char because int might match the return type of a gcc2
46078 builtin and then its argument prototype would still apply. */
46079 char $ac_func ();
46080 /* The GNU C library defines this for functions which it implements
46081 to always fail with ENOSYS. Some functions are actually named
46082 something starting with __ and the normal name is an alias. */
46083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46084 choke me
46085 #else
46086 char (*f) () = $ac_func;
46087 #endif
46088 #ifdef __cplusplus
46089 }
46090 #endif
46091
46092 int
46093 main ()
46094 {
46095 return f != $ac_func;
46096 ;
46097 return 0;
46098 }
46099 _ACEOF
46100 rm -f conftest.$ac_objext conftest$ac_exeext
46101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46102 (eval $ac_link) 2>conftest.er1
46103 ac_status=$?
46104 grep -v '^ *+' conftest.er1 >conftest.err
46105 rm -f conftest.er1
46106 cat conftest.err >&5
46107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46108 (exit $ac_status); } &&
46109 { ac_try='test -z "$ac_c_werror_flag"
46110 || test ! -s conftest.err'
46111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46112 (eval $ac_try) 2>&5
46113 ac_status=$?
46114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46115 (exit $ac_status); }; } &&
46116 { ac_try='test -s conftest$ac_exeext'
46117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46118 (eval $ac_try) 2>&5
46119 ac_status=$?
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); }; }; then
46122 eval "$as_ac_var=yes"
46123 else
46124 echo "$as_me: failed program was:" >&5
46125 sed 's/^/| /' conftest.$ac_ext >&5
46126
46127 eval "$as_ac_var=no"
46128 fi
46129 rm -f conftest.err conftest.$ac_objext \
46130 conftest$ac_exeext conftest.$ac_ext
46131 fi
46132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46134 if test `eval echo '${'$as_ac_var'}'` = yes; then
46135 cat >>confdefs.h <<_ACEOF
46136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46137 _ACEOF
46138
46139 fi
46140 done
46141
46142 else
46143
46144 echo "$as_me:$LINENO: checking for _logl declaration" >&5
46145 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46147 if test "${glibcxx_cv_func__logl_use+set}" = set; then
46148 echo $ECHO_N "(cached) $ECHO_C" >&6
46149 else
46150
46151
46152
46153 ac_ext=cc
46154 ac_cpp='$CXXCPP $CPPFLAGS'
46155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46158
46159 cat >conftest.$ac_ext <<_ACEOF
46160 /* confdefs.h. */
46161 _ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46165 #include <math.h>
46166 #ifdef HAVE_IEEEFP_H
46167 #include <ieeefp.h>
46168 #endif
46169
46170 int
46171 main ()
46172 {
46173 _logl(0);
46174 ;
46175 return 0;
46176 }
46177 _ACEOF
46178 rm -f conftest.$ac_objext
46179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46180 (eval $ac_compile) 2>conftest.er1
46181 ac_status=$?
46182 grep -v '^ *+' conftest.er1 >conftest.err
46183 rm -f conftest.er1
46184 cat conftest.err >&5
46185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46186 (exit $ac_status); } &&
46187 { ac_try='test -z "$ac_cxx_werror_flag"
46188 || test ! -s conftest.err'
46189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46190 (eval $ac_try) 2>&5
46191 ac_status=$?
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); }; } &&
46194 { ac_try='test -s conftest.$ac_objext'
46195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46196 (eval $ac_try) 2>&5
46197 ac_status=$?
46198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46199 (exit $ac_status); }; }; then
46200 glibcxx_cv_func__logl_use=yes
46201 else
46202 echo "$as_me: failed program was:" >&5
46203 sed 's/^/| /' conftest.$ac_ext >&5
46204
46205 glibcxx_cv_func__logl_use=no
46206 fi
46207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46208 ac_ext=c
46209 ac_cpp='$CPP $CPPFLAGS'
46210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46213
46214
46215 fi
46216
46217 fi
46218 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46219 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46220
46221 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46222
46223 for ac_func in _logl
46224 do
46225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46226 echo "$as_me:$LINENO: checking for $ac_func" >&5
46227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46228 if eval "test \"\${$as_ac_var+set}\" = set"; then
46229 echo $ECHO_N "(cached) $ECHO_C" >&6
46230 else
46231 if test x$gcc_no_link = xyes; then
46232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46234 { (exit 1); exit 1; }; }
46235 fi
46236 cat >conftest.$ac_ext <<_ACEOF
46237 /* confdefs.h. */
46238 _ACEOF
46239 cat confdefs.h >>conftest.$ac_ext
46240 cat >>conftest.$ac_ext <<_ACEOF
46241 /* end confdefs.h. */
46242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46244 #define $ac_func innocuous_$ac_func
46245
46246 /* System header to define __stub macros and hopefully few prototypes,
46247 which can conflict with char $ac_func (); below.
46248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46249 <limits.h> exists even on freestanding compilers. */
46250
46251 #ifdef __STDC__
46252 # include <limits.h>
46253 #else
46254 # include <assert.h>
46255 #endif
46256
46257 #undef $ac_func
46258
46259 /* Override any gcc2 internal prototype to avoid an error. */
46260 #ifdef __cplusplus
46261 extern "C"
46262 {
46263 #endif
46264 /* We use char because int might match the return type of a gcc2
46265 builtin and then its argument prototype would still apply. */
46266 char $ac_func ();
46267 /* The GNU C library defines this for functions which it implements
46268 to always fail with ENOSYS. Some functions are actually named
46269 something starting with __ and the normal name is an alias. */
46270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46271 choke me
46272 #else
46273 char (*f) () = $ac_func;
46274 #endif
46275 #ifdef __cplusplus
46276 }
46277 #endif
46278
46279 int
46280 main ()
46281 {
46282 return f != $ac_func;
46283 ;
46284 return 0;
46285 }
46286 _ACEOF
46287 rm -f conftest.$ac_objext conftest$ac_exeext
46288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46289 (eval $ac_link) 2>conftest.er1
46290 ac_status=$?
46291 grep -v '^ *+' conftest.er1 >conftest.err
46292 rm -f conftest.er1
46293 cat conftest.err >&5
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); } &&
46296 { ac_try='test -z "$ac_c_werror_flag"
46297 || test ! -s conftest.err'
46298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46299 (eval $ac_try) 2>&5
46300 ac_status=$?
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); }; } &&
46303 { ac_try='test -s conftest$ac_exeext'
46304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46305 (eval $ac_try) 2>&5
46306 ac_status=$?
46307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46308 (exit $ac_status); }; }; then
46309 eval "$as_ac_var=yes"
46310 else
46311 echo "$as_me: failed program was:" >&5
46312 sed 's/^/| /' conftest.$ac_ext >&5
46313
46314 eval "$as_ac_var=no"
46315 fi
46316 rm -f conftest.err conftest.$ac_objext \
46317 conftest$ac_exeext conftest.$ac_ext
46318 fi
46319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46320 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46321 if test `eval echo '${'$as_ac_var'}'` = yes; then
46322 cat >>confdefs.h <<_ACEOF
46323 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46324 _ACEOF
46325
46326 fi
46327 done
46328
46329 fi
46330 fi
46331
46332
46333
46334
46335
46336
46337 echo "$as_me:$LINENO: checking for log10l declaration" >&5
46338 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46339 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46340 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46341 echo $ECHO_N "(cached) $ECHO_C" >&6
46342 else
46343
46344
46345
46346 ac_ext=cc
46347 ac_cpp='$CXXCPP $CPPFLAGS'
46348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351
46352 cat >conftest.$ac_ext <<_ACEOF
46353 /* confdefs.h. */
46354 _ACEOF
46355 cat confdefs.h >>conftest.$ac_ext
46356 cat >>conftest.$ac_ext <<_ACEOF
46357 /* end confdefs.h. */
46358 #include <math.h>
46359 #ifdef HAVE_IEEEFP_H
46360 #include <ieeefp.h>
46361 #endif
46362
46363 int
46364 main ()
46365 {
46366 log10l(0);
46367 ;
46368 return 0;
46369 }
46370 _ACEOF
46371 rm -f conftest.$ac_objext
46372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46373 (eval $ac_compile) 2>conftest.er1
46374 ac_status=$?
46375 grep -v '^ *+' conftest.er1 >conftest.err
46376 rm -f conftest.er1
46377 cat conftest.err >&5
46378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46379 (exit $ac_status); } &&
46380 { ac_try='test -z "$ac_cxx_werror_flag"
46381 || test ! -s conftest.err'
46382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46383 (eval $ac_try) 2>&5
46384 ac_status=$?
46385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46386 (exit $ac_status); }; } &&
46387 { ac_try='test -s conftest.$ac_objext'
46388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46389 (eval $ac_try) 2>&5
46390 ac_status=$?
46391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46392 (exit $ac_status); }; }; then
46393 glibcxx_cv_func_log10l_use=yes
46394 else
46395 echo "$as_me: failed program was:" >&5
46396 sed 's/^/| /' conftest.$ac_ext >&5
46397
46398 glibcxx_cv_func_log10l_use=no
46399 fi
46400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46401 ac_ext=c
46402 ac_cpp='$CPP $CPPFLAGS'
46403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46406
46407
46408 fi
46409
46410 fi
46411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
46412 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
46413
46414 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46415
46416 for ac_func in log10l
46417 do
46418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46419 echo "$as_me:$LINENO: checking for $ac_func" >&5
46420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46421 if eval "test \"\${$as_ac_var+set}\" = set"; then
46422 echo $ECHO_N "(cached) $ECHO_C" >&6
46423 else
46424 if test x$gcc_no_link = xyes; then
46425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46427 { (exit 1); exit 1; }; }
46428 fi
46429 cat >conftest.$ac_ext <<_ACEOF
46430 /* confdefs.h. */
46431 _ACEOF
46432 cat confdefs.h >>conftest.$ac_ext
46433 cat >>conftest.$ac_ext <<_ACEOF
46434 /* end confdefs.h. */
46435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46437 #define $ac_func innocuous_$ac_func
46438
46439 /* System header to define __stub macros and hopefully few prototypes,
46440 which can conflict with char $ac_func (); below.
46441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46442 <limits.h> exists even on freestanding compilers. */
46443
46444 #ifdef __STDC__
46445 # include <limits.h>
46446 #else
46447 # include <assert.h>
46448 #endif
46449
46450 #undef $ac_func
46451
46452 /* Override any gcc2 internal prototype to avoid an error. */
46453 #ifdef __cplusplus
46454 extern "C"
46455 {
46456 #endif
46457 /* We use char because int might match the return type of a gcc2
46458 builtin and then its argument prototype would still apply. */
46459 char $ac_func ();
46460 /* The GNU C library defines this for functions which it implements
46461 to always fail with ENOSYS. Some functions are actually named
46462 something starting with __ and the normal name is an alias. */
46463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46464 choke me
46465 #else
46466 char (*f) () = $ac_func;
46467 #endif
46468 #ifdef __cplusplus
46469 }
46470 #endif
46471
46472 int
46473 main ()
46474 {
46475 return f != $ac_func;
46476 ;
46477 return 0;
46478 }
46479 _ACEOF
46480 rm -f conftest.$ac_objext conftest$ac_exeext
46481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46482 (eval $ac_link) 2>conftest.er1
46483 ac_status=$?
46484 grep -v '^ *+' conftest.er1 >conftest.err
46485 rm -f conftest.er1
46486 cat conftest.err >&5
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); } &&
46489 { ac_try='test -z "$ac_c_werror_flag"
46490 || test ! -s conftest.err'
46491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46492 (eval $ac_try) 2>&5
46493 ac_status=$?
46494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46495 (exit $ac_status); }; } &&
46496 { ac_try='test -s conftest$ac_exeext'
46497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46498 (eval $ac_try) 2>&5
46499 ac_status=$?
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); }; }; then
46502 eval "$as_ac_var=yes"
46503 else
46504 echo "$as_me: failed program was:" >&5
46505 sed 's/^/| /' conftest.$ac_ext >&5
46506
46507 eval "$as_ac_var=no"
46508 fi
46509 rm -f conftest.err conftest.$ac_objext \
46510 conftest$ac_exeext conftest.$ac_ext
46511 fi
46512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46514 if test `eval echo '${'$as_ac_var'}'` = yes; then
46515 cat >>confdefs.h <<_ACEOF
46516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46517 _ACEOF
46518
46519 fi
46520 done
46521
46522 else
46523
46524 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
46525 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
46526 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46527 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46529 else
46530
46531
46532
46533 ac_ext=cc
46534 ac_cpp='$CXXCPP $CPPFLAGS'
46535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46538
46539 cat >conftest.$ac_ext <<_ACEOF
46540 /* confdefs.h. */
46541 _ACEOF
46542 cat confdefs.h >>conftest.$ac_ext
46543 cat >>conftest.$ac_ext <<_ACEOF
46544 /* end confdefs.h. */
46545 #include <math.h>
46546 #ifdef HAVE_IEEEFP_H
46547 #include <ieeefp.h>
46548 #endif
46549
46550 int
46551 main ()
46552 {
46553 _log10l(0);
46554 ;
46555 return 0;
46556 }
46557 _ACEOF
46558 rm -f conftest.$ac_objext
46559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46560 (eval $ac_compile) 2>conftest.er1
46561 ac_status=$?
46562 grep -v '^ *+' conftest.er1 >conftest.err
46563 rm -f conftest.er1
46564 cat conftest.err >&5
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); } &&
46567 { ac_try='test -z "$ac_cxx_werror_flag"
46568 || test ! -s conftest.err'
46569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46570 (eval $ac_try) 2>&5
46571 ac_status=$?
46572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46573 (exit $ac_status); }; } &&
46574 { ac_try='test -s conftest.$ac_objext'
46575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46576 (eval $ac_try) 2>&5
46577 ac_status=$?
46578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46579 (exit $ac_status); }; }; then
46580 glibcxx_cv_func__log10l_use=yes
46581 else
46582 echo "$as_me: failed program was:" >&5
46583 sed 's/^/| /' conftest.$ac_ext >&5
46584
46585 glibcxx_cv_func__log10l_use=no
46586 fi
46587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46588 ac_ext=c
46589 ac_cpp='$CPP $CPPFLAGS'
46590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46593
46594
46595 fi
46596
46597 fi
46598 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
46599 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
46600
46601 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46602
46603 for ac_func in _log10l
46604 do
46605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46606 echo "$as_me:$LINENO: checking for $ac_func" >&5
46607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46608 if eval "test \"\${$as_ac_var+set}\" = set"; then
46609 echo $ECHO_N "(cached) $ECHO_C" >&6
46610 else
46611 if test x$gcc_no_link = xyes; then
46612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46614 { (exit 1); exit 1; }; }
46615 fi
46616 cat >conftest.$ac_ext <<_ACEOF
46617 /* confdefs.h. */
46618 _ACEOF
46619 cat confdefs.h >>conftest.$ac_ext
46620 cat >>conftest.$ac_ext <<_ACEOF
46621 /* end confdefs.h. */
46622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46624 #define $ac_func innocuous_$ac_func
46625
46626 /* System header to define __stub macros and hopefully few prototypes,
46627 which can conflict with char $ac_func (); below.
46628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46629 <limits.h> exists even on freestanding compilers. */
46630
46631 #ifdef __STDC__
46632 # include <limits.h>
46633 #else
46634 # include <assert.h>
46635 #endif
46636
46637 #undef $ac_func
46638
46639 /* Override any gcc2 internal prototype to avoid an error. */
46640 #ifdef __cplusplus
46641 extern "C"
46642 {
46643 #endif
46644 /* We use char because int might match the return type of a gcc2
46645 builtin and then its argument prototype would still apply. */
46646 char $ac_func ();
46647 /* The GNU C library defines this for functions which it implements
46648 to always fail with ENOSYS. Some functions are actually named
46649 something starting with __ and the normal name is an alias. */
46650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46651 choke me
46652 #else
46653 char (*f) () = $ac_func;
46654 #endif
46655 #ifdef __cplusplus
46656 }
46657 #endif
46658
46659 int
46660 main ()
46661 {
46662 return f != $ac_func;
46663 ;
46664 return 0;
46665 }
46666 _ACEOF
46667 rm -f conftest.$ac_objext conftest$ac_exeext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46669 (eval $ac_link) 2>conftest.er1
46670 ac_status=$?
46671 grep -v '^ *+' conftest.er1 >conftest.err
46672 rm -f conftest.er1
46673 cat conftest.err >&5
46674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46675 (exit $ac_status); } &&
46676 { ac_try='test -z "$ac_c_werror_flag"
46677 || test ! -s conftest.err'
46678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46679 (eval $ac_try) 2>&5
46680 ac_status=$?
46681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46682 (exit $ac_status); }; } &&
46683 { ac_try='test -s conftest$ac_exeext'
46684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46685 (eval $ac_try) 2>&5
46686 ac_status=$?
46687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688 (exit $ac_status); }; }; then
46689 eval "$as_ac_var=yes"
46690 else
46691 echo "$as_me: failed program was:" >&5
46692 sed 's/^/| /' conftest.$ac_ext >&5
46693
46694 eval "$as_ac_var=no"
46695 fi
46696 rm -f conftest.err conftest.$ac_objext \
46697 conftest$ac_exeext conftest.$ac_ext
46698 fi
46699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46701 if test `eval echo '${'$as_ac_var'}'` = yes; then
46702 cat >>confdefs.h <<_ACEOF
46703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46704 _ACEOF
46705
46706 fi
46707 done
46708
46709 fi
46710 fi
46711
46712
46713
46714
46715
46716
46717 echo "$as_me:$LINENO: checking for modfl declaration" >&5
46718 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
46719 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46720 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723
46724
46725
46726 ac_ext=cc
46727 ac_cpp='$CXXCPP $CPPFLAGS'
46728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46731
46732 cat >conftest.$ac_ext <<_ACEOF
46733 /* confdefs.h. */
46734 _ACEOF
46735 cat confdefs.h >>conftest.$ac_ext
46736 cat >>conftest.$ac_ext <<_ACEOF
46737 /* end confdefs.h. */
46738 #include <math.h>
46739 int
46740 main ()
46741 {
46742 modfl(0, 0);
46743 ;
46744 return 0;
46745 }
46746 _ACEOF
46747 rm -f conftest.$ac_objext
46748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46749 (eval $ac_compile) 2>conftest.er1
46750 ac_status=$?
46751 grep -v '^ *+' conftest.er1 >conftest.err
46752 rm -f conftest.er1
46753 cat conftest.err >&5
46754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46755 (exit $ac_status); } &&
46756 { ac_try='test -z "$ac_cxx_werror_flag"
46757 || test ! -s conftest.err'
46758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46759 (eval $ac_try) 2>&5
46760 ac_status=$?
46761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762 (exit $ac_status); }; } &&
46763 { ac_try='test -s conftest.$ac_objext'
46764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46765 (eval $ac_try) 2>&5
46766 ac_status=$?
46767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46768 (exit $ac_status); }; }; then
46769 glibcxx_cv_func_modfl_use=yes
46770 else
46771 echo "$as_me: failed program was:" >&5
46772 sed 's/^/| /' conftest.$ac_ext >&5
46773
46774 glibcxx_cv_func_modfl_use=no
46775 fi
46776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46777 ac_ext=c
46778 ac_cpp='$CPP $CPPFLAGS'
46779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46782
46783
46784 fi
46785
46786 fi
46787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
46788 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
46789
46790 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46791
46792 for ac_func in modfl
46793 do
46794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46795 echo "$as_me:$LINENO: checking for $ac_func" >&5
46796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46797 if eval "test \"\${$as_ac_var+set}\" = set"; then
46798 echo $ECHO_N "(cached) $ECHO_C" >&6
46799 else
46800 if test x$gcc_no_link = xyes; then
46801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46803 { (exit 1); exit 1; }; }
46804 fi
46805 cat >conftest.$ac_ext <<_ACEOF
46806 /* confdefs.h. */
46807 _ACEOF
46808 cat confdefs.h >>conftest.$ac_ext
46809 cat >>conftest.$ac_ext <<_ACEOF
46810 /* end confdefs.h. */
46811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46813 #define $ac_func innocuous_$ac_func
46814
46815 /* System header to define __stub macros and hopefully few prototypes,
46816 which can conflict with char $ac_func (); below.
46817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46818 <limits.h> exists even on freestanding compilers. */
46819
46820 #ifdef __STDC__
46821 # include <limits.h>
46822 #else
46823 # include <assert.h>
46824 #endif
46825
46826 #undef $ac_func
46827
46828 /* Override any gcc2 internal prototype to avoid an error. */
46829 #ifdef __cplusplus
46830 extern "C"
46831 {
46832 #endif
46833 /* We use char because int might match the return type of a gcc2
46834 builtin and then its argument prototype would still apply. */
46835 char $ac_func ();
46836 /* The GNU C library defines this for functions which it implements
46837 to always fail with ENOSYS. Some functions are actually named
46838 something starting with __ and the normal name is an alias. */
46839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46840 choke me
46841 #else
46842 char (*f) () = $ac_func;
46843 #endif
46844 #ifdef __cplusplus
46845 }
46846 #endif
46847
46848 int
46849 main ()
46850 {
46851 return f != $ac_func;
46852 ;
46853 return 0;
46854 }
46855 _ACEOF
46856 rm -f conftest.$ac_objext conftest$ac_exeext
46857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46858 (eval $ac_link) 2>conftest.er1
46859 ac_status=$?
46860 grep -v '^ *+' conftest.er1 >conftest.err
46861 rm -f conftest.er1
46862 cat conftest.err >&5
46863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46864 (exit $ac_status); } &&
46865 { ac_try='test -z "$ac_c_werror_flag"
46866 || test ! -s conftest.err'
46867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46868 (eval $ac_try) 2>&5
46869 ac_status=$?
46870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871 (exit $ac_status); }; } &&
46872 { ac_try='test -s conftest$ac_exeext'
46873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46874 (eval $ac_try) 2>&5
46875 ac_status=$?
46876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46877 (exit $ac_status); }; }; then
46878 eval "$as_ac_var=yes"
46879 else
46880 echo "$as_me: failed program was:" >&5
46881 sed 's/^/| /' conftest.$ac_ext >&5
46882
46883 eval "$as_ac_var=no"
46884 fi
46885 rm -f conftest.err conftest.$ac_objext \
46886 conftest$ac_exeext conftest.$ac_ext
46887 fi
46888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46890 if test `eval echo '${'$as_ac_var'}'` = yes; then
46891 cat >>confdefs.h <<_ACEOF
46892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46893 _ACEOF
46894
46895 fi
46896 done
46897
46898 else
46899
46900 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
46901 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
46902 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46903 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
46904 echo $ECHO_N "(cached) $ECHO_C" >&6
46905 else
46906
46907
46908
46909 ac_ext=cc
46910 ac_cpp='$CXXCPP $CPPFLAGS'
46911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46914
46915 cat >conftest.$ac_ext <<_ACEOF
46916 /* confdefs.h. */
46917 _ACEOF
46918 cat confdefs.h >>conftest.$ac_ext
46919 cat >>conftest.$ac_ext <<_ACEOF
46920 /* end confdefs.h. */
46921 #include <math.h>
46922 int
46923 main ()
46924 {
46925 _modfl(0, 0);
46926 ;
46927 return 0;
46928 }
46929 _ACEOF
46930 rm -f conftest.$ac_objext
46931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46932 (eval $ac_compile) 2>conftest.er1
46933 ac_status=$?
46934 grep -v '^ *+' conftest.er1 >conftest.err
46935 rm -f conftest.er1
46936 cat conftest.err >&5
46937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46938 (exit $ac_status); } &&
46939 { ac_try='test -z "$ac_cxx_werror_flag"
46940 || test ! -s conftest.err'
46941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46942 (eval $ac_try) 2>&5
46943 ac_status=$?
46944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945 (exit $ac_status); }; } &&
46946 { ac_try='test -s conftest.$ac_objext'
46947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46948 (eval $ac_try) 2>&5
46949 ac_status=$?
46950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46951 (exit $ac_status); }; }; then
46952 glibcxx_cv_func__modfl_use=yes
46953 else
46954 echo "$as_me: failed program was:" >&5
46955 sed 's/^/| /' conftest.$ac_ext >&5
46956
46957 glibcxx_cv_func__modfl_use=no
46958 fi
46959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46960 ac_ext=c
46961 ac_cpp='$CPP $CPPFLAGS'
46962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46965
46966
46967 fi
46968
46969 fi
46970 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
46971 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
46972
46973 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46974
46975 for ac_func in _modfl
46976 do
46977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46978 echo "$as_me:$LINENO: checking for $ac_func" >&5
46979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46980 if eval "test \"\${$as_ac_var+set}\" = set"; then
46981 echo $ECHO_N "(cached) $ECHO_C" >&6
46982 else
46983 if test x$gcc_no_link = xyes; then
46984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46986 { (exit 1); exit 1; }; }
46987 fi
46988 cat >conftest.$ac_ext <<_ACEOF
46989 /* confdefs.h. */
46990 _ACEOF
46991 cat confdefs.h >>conftest.$ac_ext
46992 cat >>conftest.$ac_ext <<_ACEOF
46993 /* end confdefs.h. */
46994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46996 #define $ac_func innocuous_$ac_func
46997
46998 /* System header to define __stub macros and hopefully few prototypes,
46999 which can conflict with char $ac_func (); below.
47000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47001 <limits.h> exists even on freestanding compilers. */
47002
47003 #ifdef __STDC__
47004 # include <limits.h>
47005 #else
47006 # include <assert.h>
47007 #endif
47008
47009 #undef $ac_func
47010
47011 /* Override any gcc2 internal prototype to avoid an error. */
47012 #ifdef __cplusplus
47013 extern "C"
47014 {
47015 #endif
47016 /* We use char because int might match the return type of a gcc2
47017 builtin and then its argument prototype would still apply. */
47018 char $ac_func ();
47019 /* The GNU C library defines this for functions which it implements
47020 to always fail with ENOSYS. Some functions are actually named
47021 something starting with __ and the normal name is an alias. */
47022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47023 choke me
47024 #else
47025 char (*f) () = $ac_func;
47026 #endif
47027 #ifdef __cplusplus
47028 }
47029 #endif
47030
47031 int
47032 main ()
47033 {
47034 return f != $ac_func;
47035 ;
47036 return 0;
47037 }
47038 _ACEOF
47039 rm -f conftest.$ac_objext conftest$ac_exeext
47040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47041 (eval $ac_link) 2>conftest.er1
47042 ac_status=$?
47043 grep -v '^ *+' conftest.er1 >conftest.err
47044 rm -f conftest.er1
47045 cat conftest.err >&5
47046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47047 (exit $ac_status); } &&
47048 { ac_try='test -z "$ac_c_werror_flag"
47049 || test ! -s conftest.err'
47050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47051 (eval $ac_try) 2>&5
47052 ac_status=$?
47053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47054 (exit $ac_status); }; } &&
47055 { ac_try='test -s conftest$ac_exeext'
47056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47057 (eval $ac_try) 2>&5
47058 ac_status=$?
47059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47060 (exit $ac_status); }; }; then
47061 eval "$as_ac_var=yes"
47062 else
47063 echo "$as_me: failed program was:" >&5
47064 sed 's/^/| /' conftest.$ac_ext >&5
47065
47066 eval "$as_ac_var=no"
47067 fi
47068 rm -f conftest.err conftest.$ac_objext \
47069 conftest$ac_exeext conftest.$ac_ext
47070 fi
47071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47073 if test `eval echo '${'$as_ac_var'}'` = yes; then
47074 cat >>confdefs.h <<_ACEOF
47075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47076 _ACEOF
47077
47078 fi
47079 done
47080
47081 fi
47082 fi
47083
47084
47085
47086
47087
47088
47089 echo "$as_me:$LINENO: checking for powl declaration" >&5
47090 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47091 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47092 if test "${glibcxx_cv_func_powl_use+set}" = set; then
47093 echo $ECHO_N "(cached) $ECHO_C" >&6
47094 else
47095
47096
47097
47098 ac_ext=cc
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47103
47104 cat >conftest.$ac_ext <<_ACEOF
47105 /* confdefs.h. */
47106 _ACEOF
47107 cat confdefs.h >>conftest.$ac_ext
47108 cat >>conftest.$ac_ext <<_ACEOF
47109 /* end confdefs.h. */
47110 #include <math.h>
47111 int
47112 main ()
47113 {
47114 powl(0, 0);
47115 ;
47116 return 0;
47117 }
47118 _ACEOF
47119 rm -f conftest.$ac_objext
47120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47121 (eval $ac_compile) 2>conftest.er1
47122 ac_status=$?
47123 grep -v '^ *+' conftest.er1 >conftest.err
47124 rm -f conftest.er1
47125 cat conftest.err >&5
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); } &&
47128 { ac_try='test -z "$ac_cxx_werror_flag"
47129 || test ! -s conftest.err'
47130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47131 (eval $ac_try) 2>&5
47132 ac_status=$?
47133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134 (exit $ac_status); }; } &&
47135 { ac_try='test -s conftest.$ac_objext'
47136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47137 (eval $ac_try) 2>&5
47138 ac_status=$?
47139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47140 (exit $ac_status); }; }; then
47141 glibcxx_cv_func_powl_use=yes
47142 else
47143 echo "$as_me: failed program was:" >&5
47144 sed 's/^/| /' conftest.$ac_ext >&5
47145
47146 glibcxx_cv_func_powl_use=no
47147 fi
47148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47149 ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154
47155
47156 fi
47157
47158 fi
47159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47160 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47161
47162 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47163
47164 for ac_func in powl
47165 do
47166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47167 echo "$as_me:$LINENO: checking for $ac_func" >&5
47168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47169 if eval "test \"\${$as_ac_var+set}\" = set"; then
47170 echo $ECHO_N "(cached) $ECHO_C" >&6
47171 else
47172 if test x$gcc_no_link = xyes; then
47173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47175 { (exit 1); exit 1; }; }
47176 fi
47177 cat >conftest.$ac_ext <<_ACEOF
47178 /* confdefs.h. */
47179 _ACEOF
47180 cat confdefs.h >>conftest.$ac_ext
47181 cat >>conftest.$ac_ext <<_ACEOF
47182 /* end confdefs.h. */
47183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47185 #define $ac_func innocuous_$ac_func
47186
47187 /* System header to define __stub macros and hopefully few prototypes,
47188 which can conflict with char $ac_func (); below.
47189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47190 <limits.h> exists even on freestanding compilers. */
47191
47192 #ifdef __STDC__
47193 # include <limits.h>
47194 #else
47195 # include <assert.h>
47196 #endif
47197
47198 #undef $ac_func
47199
47200 /* Override any gcc2 internal prototype to avoid an error. */
47201 #ifdef __cplusplus
47202 extern "C"
47203 {
47204 #endif
47205 /* We use char because int might match the return type of a gcc2
47206 builtin and then its argument prototype would still apply. */
47207 char $ac_func ();
47208 /* The GNU C library defines this for functions which it implements
47209 to always fail with ENOSYS. Some functions are actually named
47210 something starting with __ and the normal name is an alias. */
47211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47212 choke me
47213 #else
47214 char (*f) () = $ac_func;
47215 #endif
47216 #ifdef __cplusplus
47217 }
47218 #endif
47219
47220 int
47221 main ()
47222 {
47223 return f != $ac_func;
47224 ;
47225 return 0;
47226 }
47227 _ACEOF
47228 rm -f conftest.$ac_objext conftest$ac_exeext
47229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47230 (eval $ac_link) 2>conftest.er1
47231 ac_status=$?
47232 grep -v '^ *+' conftest.er1 >conftest.err
47233 rm -f conftest.er1
47234 cat conftest.err >&5
47235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47236 (exit $ac_status); } &&
47237 { ac_try='test -z "$ac_c_werror_flag"
47238 || test ! -s conftest.err'
47239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47240 (eval $ac_try) 2>&5
47241 ac_status=$?
47242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47243 (exit $ac_status); }; } &&
47244 { ac_try='test -s conftest$ac_exeext'
47245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47246 (eval $ac_try) 2>&5
47247 ac_status=$?
47248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47249 (exit $ac_status); }; }; then
47250 eval "$as_ac_var=yes"
47251 else
47252 echo "$as_me: failed program was:" >&5
47253 sed 's/^/| /' conftest.$ac_ext >&5
47254
47255 eval "$as_ac_var=no"
47256 fi
47257 rm -f conftest.err conftest.$ac_objext \
47258 conftest$ac_exeext conftest.$ac_ext
47259 fi
47260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47262 if test `eval echo '${'$as_ac_var'}'` = yes; then
47263 cat >>confdefs.h <<_ACEOF
47264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47265 _ACEOF
47266
47267 fi
47268 done
47269
47270 else
47271
47272 echo "$as_me:$LINENO: checking for _powl declaration" >&5
47273 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47274 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47275 if test "${glibcxx_cv_func__powl_use+set}" = set; then
47276 echo $ECHO_N "(cached) $ECHO_C" >&6
47277 else
47278
47279
47280
47281 ac_ext=cc
47282 ac_cpp='$CXXCPP $CPPFLAGS'
47283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47286
47287 cat >conftest.$ac_ext <<_ACEOF
47288 /* confdefs.h. */
47289 _ACEOF
47290 cat confdefs.h >>conftest.$ac_ext
47291 cat >>conftest.$ac_ext <<_ACEOF
47292 /* end confdefs.h. */
47293 #include <math.h>
47294 int
47295 main ()
47296 {
47297 _powl(0, 0);
47298 ;
47299 return 0;
47300 }
47301 _ACEOF
47302 rm -f conftest.$ac_objext
47303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47304 (eval $ac_compile) 2>conftest.er1
47305 ac_status=$?
47306 grep -v '^ *+' conftest.er1 >conftest.err
47307 rm -f conftest.er1
47308 cat conftest.err >&5
47309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 (exit $ac_status); } &&
47311 { ac_try='test -z "$ac_cxx_werror_flag"
47312 || test ! -s conftest.err'
47313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47314 (eval $ac_try) 2>&5
47315 ac_status=$?
47316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47317 (exit $ac_status); }; } &&
47318 { ac_try='test -s conftest.$ac_objext'
47319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47320 (eval $ac_try) 2>&5
47321 ac_status=$?
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; }; then
47324 glibcxx_cv_func__powl_use=yes
47325 else
47326 echo "$as_me: failed program was:" >&5
47327 sed 's/^/| /' conftest.$ac_ext >&5
47328
47329 glibcxx_cv_func__powl_use=no
47330 fi
47331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47332 ac_ext=c
47333 ac_cpp='$CPP $CPPFLAGS'
47334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47337
47338
47339 fi
47340
47341 fi
47342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47343 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47344
47345 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47346
47347 for ac_func in _powl
47348 do
47349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47350 echo "$as_me:$LINENO: checking for $ac_func" >&5
47351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47352 if eval "test \"\${$as_ac_var+set}\" = set"; then
47353 echo $ECHO_N "(cached) $ECHO_C" >&6
47354 else
47355 if test x$gcc_no_link = xyes; then
47356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47358 { (exit 1); exit 1; }; }
47359 fi
47360 cat >conftest.$ac_ext <<_ACEOF
47361 /* confdefs.h. */
47362 _ACEOF
47363 cat confdefs.h >>conftest.$ac_ext
47364 cat >>conftest.$ac_ext <<_ACEOF
47365 /* end confdefs.h. */
47366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47368 #define $ac_func innocuous_$ac_func
47369
47370 /* System header to define __stub macros and hopefully few prototypes,
47371 which can conflict with char $ac_func (); below.
47372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47373 <limits.h> exists even on freestanding compilers. */
47374
47375 #ifdef __STDC__
47376 # include <limits.h>
47377 #else
47378 # include <assert.h>
47379 #endif
47380
47381 #undef $ac_func
47382
47383 /* Override any gcc2 internal prototype to avoid an error. */
47384 #ifdef __cplusplus
47385 extern "C"
47386 {
47387 #endif
47388 /* We use char because int might match the return type of a gcc2
47389 builtin and then its argument prototype would still apply. */
47390 char $ac_func ();
47391 /* The GNU C library defines this for functions which it implements
47392 to always fail with ENOSYS. Some functions are actually named
47393 something starting with __ and the normal name is an alias. */
47394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47395 choke me
47396 #else
47397 char (*f) () = $ac_func;
47398 #endif
47399 #ifdef __cplusplus
47400 }
47401 #endif
47402
47403 int
47404 main ()
47405 {
47406 return f != $ac_func;
47407 ;
47408 return 0;
47409 }
47410 _ACEOF
47411 rm -f conftest.$ac_objext conftest$ac_exeext
47412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47413 (eval $ac_link) 2>conftest.er1
47414 ac_status=$?
47415 grep -v '^ *+' conftest.er1 >conftest.err
47416 rm -f conftest.er1
47417 cat conftest.err >&5
47418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47419 (exit $ac_status); } &&
47420 { ac_try='test -z "$ac_c_werror_flag"
47421 || test ! -s conftest.err'
47422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47423 (eval $ac_try) 2>&5
47424 ac_status=$?
47425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47426 (exit $ac_status); }; } &&
47427 { ac_try='test -s conftest$ac_exeext'
47428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47429 (eval $ac_try) 2>&5
47430 ac_status=$?
47431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47432 (exit $ac_status); }; }; then
47433 eval "$as_ac_var=yes"
47434 else
47435 echo "$as_me: failed program was:" >&5
47436 sed 's/^/| /' conftest.$ac_ext >&5
47437
47438 eval "$as_ac_var=no"
47439 fi
47440 rm -f conftest.err conftest.$ac_objext \
47441 conftest$ac_exeext conftest.$ac_ext
47442 fi
47443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47445 if test `eval echo '${'$as_ac_var'}'` = yes; then
47446 cat >>confdefs.h <<_ACEOF
47447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47448 _ACEOF
47449
47450 fi
47451 done
47452
47453 fi
47454 fi
47455
47456
47457
47458
47459
47460
47461 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
47462 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
47463 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47464 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47466 else
47467
47468
47469
47470 ac_ext=cc
47471 ac_cpp='$CXXCPP $CPPFLAGS'
47472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47475
47476 cat >conftest.$ac_ext <<_ACEOF
47477 /* confdefs.h. */
47478 _ACEOF
47479 cat confdefs.h >>conftest.$ac_ext
47480 cat >>conftest.$ac_ext <<_ACEOF
47481 /* end confdefs.h. */
47482 #include <math.h>
47483 #ifdef HAVE_IEEEFP_H
47484 #include <ieeefp.h>
47485 #endif
47486
47487 int
47488 main ()
47489 {
47490 sqrtl(0);
47491 ;
47492 return 0;
47493 }
47494 _ACEOF
47495 rm -f conftest.$ac_objext
47496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47497 (eval $ac_compile) 2>conftest.er1
47498 ac_status=$?
47499 grep -v '^ *+' conftest.er1 >conftest.err
47500 rm -f conftest.er1
47501 cat conftest.err >&5
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); } &&
47504 { ac_try='test -z "$ac_cxx_werror_flag"
47505 || test ! -s conftest.err'
47506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47507 (eval $ac_try) 2>&5
47508 ac_status=$?
47509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47510 (exit $ac_status); }; } &&
47511 { ac_try='test -s conftest.$ac_objext'
47512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47513 (eval $ac_try) 2>&5
47514 ac_status=$?
47515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47516 (exit $ac_status); }; }; then
47517 glibcxx_cv_func_sqrtl_use=yes
47518 else
47519 echo "$as_me: failed program was:" >&5
47520 sed 's/^/| /' conftest.$ac_ext >&5
47521
47522 glibcxx_cv_func_sqrtl_use=no
47523 fi
47524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47525 ac_ext=c
47526 ac_cpp='$CPP $CPPFLAGS'
47527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47530
47531
47532 fi
47533
47534 fi
47535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
47536 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
47537
47538 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47539
47540 for ac_func in sqrtl
47541 do
47542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47543 echo "$as_me:$LINENO: checking for $ac_func" >&5
47544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47545 if eval "test \"\${$as_ac_var+set}\" = set"; then
47546 echo $ECHO_N "(cached) $ECHO_C" >&6
47547 else
47548 if test x$gcc_no_link = xyes; then
47549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47551 { (exit 1); exit 1; }; }
47552 fi
47553 cat >conftest.$ac_ext <<_ACEOF
47554 /* confdefs.h. */
47555 _ACEOF
47556 cat confdefs.h >>conftest.$ac_ext
47557 cat >>conftest.$ac_ext <<_ACEOF
47558 /* end confdefs.h. */
47559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47561 #define $ac_func innocuous_$ac_func
47562
47563 /* System header to define __stub macros and hopefully few prototypes,
47564 which can conflict with char $ac_func (); below.
47565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47566 <limits.h> exists even on freestanding compilers. */
47567
47568 #ifdef __STDC__
47569 # include <limits.h>
47570 #else
47571 # include <assert.h>
47572 #endif
47573
47574 #undef $ac_func
47575
47576 /* Override any gcc2 internal prototype to avoid an error. */
47577 #ifdef __cplusplus
47578 extern "C"
47579 {
47580 #endif
47581 /* We use char because int might match the return type of a gcc2
47582 builtin and then its argument prototype would still apply. */
47583 char $ac_func ();
47584 /* The GNU C library defines this for functions which it implements
47585 to always fail with ENOSYS. Some functions are actually named
47586 something starting with __ and the normal name is an alias. */
47587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47588 choke me
47589 #else
47590 char (*f) () = $ac_func;
47591 #endif
47592 #ifdef __cplusplus
47593 }
47594 #endif
47595
47596 int
47597 main ()
47598 {
47599 return f != $ac_func;
47600 ;
47601 return 0;
47602 }
47603 _ACEOF
47604 rm -f conftest.$ac_objext conftest$ac_exeext
47605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47606 (eval $ac_link) 2>conftest.er1
47607 ac_status=$?
47608 grep -v '^ *+' conftest.er1 >conftest.err
47609 rm -f conftest.er1
47610 cat conftest.err >&5
47611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47612 (exit $ac_status); } &&
47613 { ac_try='test -z "$ac_c_werror_flag"
47614 || test ! -s conftest.err'
47615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47616 (eval $ac_try) 2>&5
47617 ac_status=$?
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); }; } &&
47620 { ac_try='test -s conftest$ac_exeext'
47621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47622 (eval $ac_try) 2>&5
47623 ac_status=$?
47624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47625 (exit $ac_status); }; }; then
47626 eval "$as_ac_var=yes"
47627 else
47628 echo "$as_me: failed program was:" >&5
47629 sed 's/^/| /' conftest.$ac_ext >&5
47630
47631 eval "$as_ac_var=no"
47632 fi
47633 rm -f conftest.err conftest.$ac_objext \
47634 conftest$ac_exeext conftest.$ac_ext
47635 fi
47636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47638 if test `eval echo '${'$as_ac_var'}'` = yes; then
47639 cat >>confdefs.h <<_ACEOF
47640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47641 _ACEOF
47642
47643 fi
47644 done
47645
47646 else
47647
47648 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
47649 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
47650 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47651 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
47652 echo $ECHO_N "(cached) $ECHO_C" >&6
47653 else
47654
47655
47656
47657 ac_ext=cc
47658 ac_cpp='$CXXCPP $CPPFLAGS'
47659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47662
47663 cat >conftest.$ac_ext <<_ACEOF
47664 /* confdefs.h. */
47665 _ACEOF
47666 cat confdefs.h >>conftest.$ac_ext
47667 cat >>conftest.$ac_ext <<_ACEOF
47668 /* end confdefs.h. */
47669 #include <math.h>
47670 #ifdef HAVE_IEEEFP_H
47671 #include <ieeefp.h>
47672 #endif
47673
47674 int
47675 main ()
47676 {
47677 _sqrtl(0);
47678 ;
47679 return 0;
47680 }
47681 _ACEOF
47682 rm -f conftest.$ac_objext
47683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47684 (eval $ac_compile) 2>conftest.er1
47685 ac_status=$?
47686 grep -v '^ *+' conftest.er1 >conftest.err
47687 rm -f conftest.er1
47688 cat conftest.err >&5
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); } &&
47691 { ac_try='test -z "$ac_cxx_werror_flag"
47692 || test ! -s conftest.err'
47693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47694 (eval $ac_try) 2>&5
47695 ac_status=$?
47696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47697 (exit $ac_status); }; } &&
47698 { ac_try='test -s conftest.$ac_objext'
47699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47700 (eval $ac_try) 2>&5
47701 ac_status=$?
47702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47703 (exit $ac_status); }; }; then
47704 glibcxx_cv_func__sqrtl_use=yes
47705 else
47706 echo "$as_me: failed program was:" >&5
47707 sed 's/^/| /' conftest.$ac_ext >&5
47708
47709 glibcxx_cv_func__sqrtl_use=no
47710 fi
47711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47712 ac_ext=c
47713 ac_cpp='$CPP $CPPFLAGS'
47714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47717
47718
47719 fi
47720
47721 fi
47722 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
47723 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
47724
47725 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47726
47727 for ac_func in _sqrtl
47728 do
47729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47730 echo "$as_me:$LINENO: checking for $ac_func" >&5
47731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47732 if eval "test \"\${$as_ac_var+set}\" = set"; then
47733 echo $ECHO_N "(cached) $ECHO_C" >&6
47734 else
47735 if test x$gcc_no_link = xyes; then
47736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47738 { (exit 1); exit 1; }; }
47739 fi
47740 cat >conftest.$ac_ext <<_ACEOF
47741 /* confdefs.h. */
47742 _ACEOF
47743 cat confdefs.h >>conftest.$ac_ext
47744 cat >>conftest.$ac_ext <<_ACEOF
47745 /* end confdefs.h. */
47746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47748 #define $ac_func innocuous_$ac_func
47749
47750 /* System header to define __stub macros and hopefully few prototypes,
47751 which can conflict with char $ac_func (); below.
47752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47753 <limits.h> exists even on freestanding compilers. */
47754
47755 #ifdef __STDC__
47756 # include <limits.h>
47757 #else
47758 # include <assert.h>
47759 #endif
47760
47761 #undef $ac_func
47762
47763 /* Override any gcc2 internal prototype to avoid an error. */
47764 #ifdef __cplusplus
47765 extern "C"
47766 {
47767 #endif
47768 /* We use char because int might match the return type of a gcc2
47769 builtin and then its argument prototype would still apply. */
47770 char $ac_func ();
47771 /* The GNU C library defines this for functions which it implements
47772 to always fail with ENOSYS. Some functions are actually named
47773 something starting with __ and the normal name is an alias. */
47774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47775 choke me
47776 #else
47777 char (*f) () = $ac_func;
47778 #endif
47779 #ifdef __cplusplus
47780 }
47781 #endif
47782
47783 int
47784 main ()
47785 {
47786 return f != $ac_func;
47787 ;
47788 return 0;
47789 }
47790 _ACEOF
47791 rm -f conftest.$ac_objext conftest$ac_exeext
47792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47793 (eval $ac_link) 2>conftest.er1
47794 ac_status=$?
47795 grep -v '^ *+' conftest.er1 >conftest.err
47796 rm -f conftest.er1
47797 cat conftest.err >&5
47798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47799 (exit $ac_status); } &&
47800 { ac_try='test -z "$ac_c_werror_flag"
47801 || test ! -s conftest.err'
47802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47803 (eval $ac_try) 2>&5
47804 ac_status=$?
47805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47806 (exit $ac_status); }; } &&
47807 { ac_try='test -s conftest$ac_exeext'
47808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47809 (eval $ac_try) 2>&5
47810 ac_status=$?
47811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47812 (exit $ac_status); }; }; then
47813 eval "$as_ac_var=yes"
47814 else
47815 echo "$as_me: failed program was:" >&5
47816 sed 's/^/| /' conftest.$ac_ext >&5
47817
47818 eval "$as_ac_var=no"
47819 fi
47820 rm -f conftest.err conftest.$ac_objext \
47821 conftest$ac_exeext conftest.$ac_ext
47822 fi
47823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47825 if test `eval echo '${'$as_ac_var'}'` = yes; then
47826 cat >>confdefs.h <<_ACEOF
47827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47828 _ACEOF
47829
47830 fi
47831 done
47832
47833 fi
47834 fi
47835
47836
47837
47838
47839
47840
47841 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
47842 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
47843 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47844 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
47845 echo $ECHO_N "(cached) $ECHO_C" >&6
47846 else
47847
47848
47849
47850 ac_ext=cc
47851 ac_cpp='$CXXCPP $CPPFLAGS'
47852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47855
47856 cat >conftest.$ac_ext <<_ACEOF
47857 /* confdefs.h. */
47858 _ACEOF
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h. */
47862 #include <math.h>
47863 int
47864 main ()
47865 {
47866 sincosl(0, 0, 0);
47867 ;
47868 return 0;
47869 }
47870 _ACEOF
47871 rm -f conftest.$ac_objext
47872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47873 (eval $ac_compile) 2>conftest.er1
47874 ac_status=$?
47875 grep -v '^ *+' conftest.er1 >conftest.err
47876 rm -f conftest.er1
47877 cat conftest.err >&5
47878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47879 (exit $ac_status); } &&
47880 { ac_try='test -z "$ac_cxx_werror_flag"
47881 || test ! -s conftest.err'
47882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47883 (eval $ac_try) 2>&5
47884 ac_status=$?
47885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47886 (exit $ac_status); }; } &&
47887 { ac_try='test -s conftest.$ac_objext'
47888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47889 (eval $ac_try) 2>&5
47890 ac_status=$?
47891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47892 (exit $ac_status); }; }; then
47893 glibcxx_cv_func_sincosl_use=yes
47894 else
47895 echo "$as_me: failed program was:" >&5
47896 sed 's/^/| /' conftest.$ac_ext >&5
47897
47898 glibcxx_cv_func_sincosl_use=no
47899 fi
47900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47901 ac_ext=c
47902 ac_cpp='$CPP $CPPFLAGS'
47903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47906
47907
47908 fi
47909
47910 fi
47911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
47912 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
47913
47914 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47915
47916 for ac_func in sincosl
47917 do
47918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47919 echo "$as_me:$LINENO: checking for $ac_func" >&5
47920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47921 if eval "test \"\${$as_ac_var+set}\" = set"; then
47922 echo $ECHO_N "(cached) $ECHO_C" >&6
47923 else
47924 if test x$gcc_no_link = xyes; then
47925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47927 { (exit 1); exit 1; }; }
47928 fi
47929 cat >conftest.$ac_ext <<_ACEOF
47930 /* confdefs.h. */
47931 _ACEOF
47932 cat confdefs.h >>conftest.$ac_ext
47933 cat >>conftest.$ac_ext <<_ACEOF
47934 /* end confdefs.h. */
47935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47937 #define $ac_func innocuous_$ac_func
47938
47939 /* System header to define __stub macros and hopefully few prototypes,
47940 which can conflict with char $ac_func (); below.
47941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47942 <limits.h> exists even on freestanding compilers. */
47943
47944 #ifdef __STDC__
47945 # include <limits.h>
47946 #else
47947 # include <assert.h>
47948 #endif
47949
47950 #undef $ac_func
47951
47952 /* Override any gcc2 internal prototype to avoid an error. */
47953 #ifdef __cplusplus
47954 extern "C"
47955 {
47956 #endif
47957 /* We use char because int might match the return type of a gcc2
47958 builtin and then its argument prototype would still apply. */
47959 char $ac_func ();
47960 /* The GNU C library defines this for functions which it implements
47961 to always fail with ENOSYS. Some functions are actually named
47962 something starting with __ and the normal name is an alias. */
47963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47964 choke me
47965 #else
47966 char (*f) () = $ac_func;
47967 #endif
47968 #ifdef __cplusplus
47969 }
47970 #endif
47971
47972 int
47973 main ()
47974 {
47975 return f != $ac_func;
47976 ;
47977 return 0;
47978 }
47979 _ACEOF
47980 rm -f conftest.$ac_objext conftest$ac_exeext
47981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47982 (eval $ac_link) 2>conftest.er1
47983 ac_status=$?
47984 grep -v '^ *+' conftest.er1 >conftest.err
47985 rm -f conftest.er1
47986 cat conftest.err >&5
47987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47988 (exit $ac_status); } &&
47989 { ac_try='test -z "$ac_c_werror_flag"
47990 || test ! -s conftest.err'
47991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992 (eval $ac_try) 2>&5
47993 ac_status=$?
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); }; } &&
47996 { ac_try='test -s conftest$ac_exeext'
47997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998 (eval $ac_try) 2>&5
47999 ac_status=$?
48000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001 (exit $ac_status); }; }; then
48002 eval "$as_ac_var=yes"
48003 else
48004 echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48006
48007 eval "$as_ac_var=no"
48008 fi
48009 rm -f conftest.err conftest.$ac_objext \
48010 conftest$ac_exeext conftest.$ac_ext
48011 fi
48012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48014 if test `eval echo '${'$as_ac_var'}'` = yes; then
48015 cat >>confdefs.h <<_ACEOF
48016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48017 _ACEOF
48018
48019 fi
48020 done
48021
48022 else
48023
48024 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48025 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48026 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48027 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48028 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 else
48030
48031
48032
48033 ac_ext=cc
48034 ac_cpp='$CXXCPP $CPPFLAGS'
48035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038
48039 cat >conftest.$ac_ext <<_ACEOF
48040 /* confdefs.h. */
48041 _ACEOF
48042 cat confdefs.h >>conftest.$ac_ext
48043 cat >>conftest.$ac_ext <<_ACEOF
48044 /* end confdefs.h. */
48045 #include <math.h>
48046 int
48047 main ()
48048 {
48049 _sincosl(0, 0, 0);
48050 ;
48051 return 0;
48052 }
48053 _ACEOF
48054 rm -f conftest.$ac_objext
48055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48056 (eval $ac_compile) 2>conftest.er1
48057 ac_status=$?
48058 grep -v '^ *+' conftest.er1 >conftest.err
48059 rm -f conftest.er1
48060 cat conftest.err >&5
48061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48062 (exit $ac_status); } &&
48063 { ac_try='test -z "$ac_cxx_werror_flag"
48064 || test ! -s conftest.err'
48065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48066 (eval $ac_try) 2>&5
48067 ac_status=$?
48068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48069 (exit $ac_status); }; } &&
48070 { ac_try='test -s conftest.$ac_objext'
48071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48072 (eval $ac_try) 2>&5
48073 ac_status=$?
48074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075 (exit $ac_status); }; }; then
48076 glibcxx_cv_func__sincosl_use=yes
48077 else
48078 echo "$as_me: failed program was:" >&5
48079 sed 's/^/| /' conftest.$ac_ext >&5
48080
48081 glibcxx_cv_func__sincosl_use=no
48082 fi
48083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48084 ac_ext=c
48085 ac_cpp='$CPP $CPPFLAGS'
48086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48089
48090
48091 fi
48092
48093 fi
48094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48095 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48096
48097 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48098
48099 for ac_func in _sincosl
48100 do
48101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48102 echo "$as_me:$LINENO: checking for $ac_func" >&5
48103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48104 if eval "test \"\${$as_ac_var+set}\" = set"; then
48105 echo $ECHO_N "(cached) $ECHO_C" >&6
48106 else
48107 if test x$gcc_no_link = xyes; then
48108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48110 { (exit 1); exit 1; }; }
48111 fi
48112 cat >conftest.$ac_ext <<_ACEOF
48113 /* confdefs.h. */
48114 _ACEOF
48115 cat confdefs.h >>conftest.$ac_ext
48116 cat >>conftest.$ac_ext <<_ACEOF
48117 /* end confdefs.h. */
48118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48120 #define $ac_func innocuous_$ac_func
48121
48122 /* System header to define __stub macros and hopefully few prototypes,
48123 which can conflict with char $ac_func (); below.
48124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48125 <limits.h> exists even on freestanding compilers. */
48126
48127 #ifdef __STDC__
48128 # include <limits.h>
48129 #else
48130 # include <assert.h>
48131 #endif
48132
48133 #undef $ac_func
48134
48135 /* Override any gcc2 internal prototype to avoid an error. */
48136 #ifdef __cplusplus
48137 extern "C"
48138 {
48139 #endif
48140 /* We use char because int might match the return type of a gcc2
48141 builtin and then its argument prototype would still apply. */
48142 char $ac_func ();
48143 /* The GNU C library defines this for functions which it implements
48144 to always fail with ENOSYS. Some functions are actually named
48145 something starting with __ and the normal name is an alias. */
48146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48147 choke me
48148 #else
48149 char (*f) () = $ac_func;
48150 #endif
48151 #ifdef __cplusplus
48152 }
48153 #endif
48154
48155 int
48156 main ()
48157 {
48158 return f != $ac_func;
48159 ;
48160 return 0;
48161 }
48162 _ACEOF
48163 rm -f conftest.$ac_objext conftest$ac_exeext
48164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48165 (eval $ac_link) 2>conftest.er1
48166 ac_status=$?
48167 grep -v '^ *+' conftest.er1 >conftest.err
48168 rm -f conftest.er1
48169 cat conftest.err >&5
48170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48171 (exit $ac_status); } &&
48172 { ac_try='test -z "$ac_c_werror_flag"
48173 || test ! -s conftest.err'
48174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48175 (eval $ac_try) 2>&5
48176 ac_status=$?
48177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178 (exit $ac_status); }; } &&
48179 { ac_try='test -s conftest$ac_exeext'
48180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48181 (eval $ac_try) 2>&5
48182 ac_status=$?
48183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184 (exit $ac_status); }; }; then
48185 eval "$as_ac_var=yes"
48186 else
48187 echo "$as_me: failed program was:" >&5
48188 sed 's/^/| /' conftest.$ac_ext >&5
48189
48190 eval "$as_ac_var=no"
48191 fi
48192 rm -f conftest.err conftest.$ac_objext \
48193 conftest$ac_exeext conftest.$ac_ext
48194 fi
48195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48197 if test `eval echo '${'$as_ac_var'}'` = yes; then
48198 cat >>confdefs.h <<_ACEOF
48199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48200 _ACEOF
48201
48202 fi
48203 done
48204
48205 fi
48206 fi
48207
48208
48209
48210
48211
48212
48213 echo "$as_me:$LINENO: checking for finitel declaration" >&5
48214 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48215 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48216 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48217 echo $ECHO_N "(cached) $ECHO_C" >&6
48218 else
48219
48220
48221
48222 ac_ext=cc
48223 ac_cpp='$CXXCPP $CPPFLAGS'
48224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48227
48228 cat >conftest.$ac_ext <<_ACEOF
48229 /* confdefs.h. */
48230 _ACEOF
48231 cat confdefs.h >>conftest.$ac_ext
48232 cat >>conftest.$ac_ext <<_ACEOF
48233 /* end confdefs.h. */
48234 #include <math.h>
48235 #ifdef HAVE_IEEEFP_H
48236 #include <ieeefp.h>
48237 #endif
48238
48239 int
48240 main ()
48241 {
48242 finitel(0);
48243 ;
48244 return 0;
48245 }
48246 _ACEOF
48247 rm -f conftest.$ac_objext
48248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48249 (eval $ac_compile) 2>conftest.er1
48250 ac_status=$?
48251 grep -v '^ *+' conftest.er1 >conftest.err
48252 rm -f conftest.er1
48253 cat conftest.err >&5
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); } &&
48256 { ac_try='test -z "$ac_cxx_werror_flag"
48257 || test ! -s conftest.err'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; } &&
48263 { ac_try='test -s conftest.$ac_objext'
48264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265 (eval $ac_try) 2>&5
48266 ac_status=$?
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); }; }; then
48269 glibcxx_cv_func_finitel_use=yes
48270 else
48271 echo "$as_me: failed program was:" >&5
48272 sed 's/^/| /' conftest.$ac_ext >&5
48273
48274 glibcxx_cv_func_finitel_use=no
48275 fi
48276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48277 ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282
48283
48284 fi
48285
48286 fi
48287 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48288 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48289
48290 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48291
48292 for ac_func in finitel
48293 do
48294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48295 echo "$as_me:$LINENO: checking for $ac_func" >&5
48296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48297 if eval "test \"\${$as_ac_var+set}\" = set"; then
48298 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 else
48300 if test x$gcc_no_link = xyes; then
48301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48303 { (exit 1); exit 1; }; }
48304 fi
48305 cat >conftest.$ac_ext <<_ACEOF
48306 /* confdefs.h. */
48307 _ACEOF
48308 cat confdefs.h >>conftest.$ac_ext
48309 cat >>conftest.$ac_ext <<_ACEOF
48310 /* end confdefs.h. */
48311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48313 #define $ac_func innocuous_$ac_func
48314
48315 /* System header to define __stub macros and hopefully few prototypes,
48316 which can conflict with char $ac_func (); below.
48317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48318 <limits.h> exists even on freestanding compilers. */
48319
48320 #ifdef __STDC__
48321 # include <limits.h>
48322 #else
48323 # include <assert.h>
48324 #endif
48325
48326 #undef $ac_func
48327
48328 /* Override any gcc2 internal prototype to avoid an error. */
48329 #ifdef __cplusplus
48330 extern "C"
48331 {
48332 #endif
48333 /* We use char because int might match the return type of a gcc2
48334 builtin and then its argument prototype would still apply. */
48335 char $ac_func ();
48336 /* The GNU C library defines this for functions which it implements
48337 to always fail with ENOSYS. Some functions are actually named
48338 something starting with __ and the normal name is an alias. */
48339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48340 choke me
48341 #else
48342 char (*f) () = $ac_func;
48343 #endif
48344 #ifdef __cplusplus
48345 }
48346 #endif
48347
48348 int
48349 main ()
48350 {
48351 return f != $ac_func;
48352 ;
48353 return 0;
48354 }
48355 _ACEOF
48356 rm -f conftest.$ac_objext conftest$ac_exeext
48357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48358 (eval $ac_link) 2>conftest.er1
48359 ac_status=$?
48360 grep -v '^ *+' conftest.er1 >conftest.err
48361 rm -f conftest.er1
48362 cat conftest.err >&5
48363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48364 (exit $ac_status); } &&
48365 { ac_try='test -z "$ac_c_werror_flag"
48366 || test ! -s conftest.err'
48367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48368 (eval $ac_try) 2>&5
48369 ac_status=$?
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); }; } &&
48372 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48378 eval "$as_ac_var=yes"
48379 else
48380 echo "$as_me: failed program was:" >&5
48381 sed 's/^/| /' conftest.$ac_ext >&5
48382
48383 eval "$as_ac_var=no"
48384 fi
48385 rm -f conftest.err conftest.$ac_objext \
48386 conftest$ac_exeext conftest.$ac_ext
48387 fi
48388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48390 if test `eval echo '${'$as_ac_var'}'` = yes; then
48391 cat >>confdefs.h <<_ACEOF
48392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48393 _ACEOF
48394
48395 fi
48396 done
48397
48398 else
48399
48400 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
48401 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
48402 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
48403 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
48404 echo $ECHO_N "(cached) $ECHO_C" >&6
48405 else
48406
48407
48408
48409 ac_ext=cc
48410 ac_cpp='$CXXCPP $CPPFLAGS'
48411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48414
48415 cat >conftest.$ac_ext <<_ACEOF
48416 /* confdefs.h. */
48417 _ACEOF
48418 cat confdefs.h >>conftest.$ac_ext
48419 cat >>conftest.$ac_ext <<_ACEOF
48420 /* end confdefs.h. */
48421 #include <math.h>
48422 #ifdef HAVE_IEEEFP_H
48423 #include <ieeefp.h>
48424 #endif
48425
48426 int
48427 main ()
48428 {
48429 _finitel(0);
48430 ;
48431 return 0;
48432 }
48433 _ACEOF
48434 rm -f conftest.$ac_objext
48435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48436 (eval $ac_compile) 2>conftest.er1
48437 ac_status=$?
48438 grep -v '^ *+' conftest.er1 >conftest.err
48439 rm -f conftest.er1
48440 cat conftest.err >&5
48441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48442 (exit $ac_status); } &&
48443 { ac_try='test -z "$ac_cxx_werror_flag"
48444 || test ! -s conftest.err'
48445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48446 (eval $ac_try) 2>&5
48447 ac_status=$?
48448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48449 (exit $ac_status); }; } &&
48450 { ac_try='test -s conftest.$ac_objext'
48451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48452 (eval $ac_try) 2>&5
48453 ac_status=$?
48454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48455 (exit $ac_status); }; }; then
48456 glibcxx_cv_func__finitel_use=yes
48457 else
48458 echo "$as_me: failed program was:" >&5
48459 sed 's/^/| /' conftest.$ac_ext >&5
48460
48461 glibcxx_cv_func__finitel_use=no
48462 fi
48463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48464 ac_ext=c
48465 ac_cpp='$CPP $CPPFLAGS'
48466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48469
48470
48471 fi
48472
48473 fi
48474 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
48475 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
48476
48477 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
48478
48479 for ac_func in _finitel
48480 do
48481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48482 echo "$as_me:$LINENO: checking for $ac_func" >&5
48483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48484 if eval "test \"\${$as_ac_var+set}\" = set"; then
48485 echo $ECHO_N "(cached) $ECHO_C" >&6
48486 else
48487 if test x$gcc_no_link = xyes; then
48488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48490 { (exit 1); exit 1; }; }
48491 fi
48492 cat >conftest.$ac_ext <<_ACEOF
48493 /* confdefs.h. */
48494 _ACEOF
48495 cat confdefs.h >>conftest.$ac_ext
48496 cat >>conftest.$ac_ext <<_ACEOF
48497 /* end confdefs.h. */
48498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48500 #define $ac_func innocuous_$ac_func
48501
48502 /* System header to define __stub macros and hopefully few prototypes,
48503 which can conflict with char $ac_func (); below.
48504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48505 <limits.h> exists even on freestanding compilers. */
48506
48507 #ifdef __STDC__
48508 # include <limits.h>
48509 #else
48510 # include <assert.h>
48511 #endif
48512
48513 #undef $ac_func
48514
48515 /* Override any gcc2 internal prototype to avoid an error. */
48516 #ifdef __cplusplus
48517 extern "C"
48518 {
48519 #endif
48520 /* We use char because int might match the return type of a gcc2
48521 builtin and then its argument prototype would still apply. */
48522 char $ac_func ();
48523 /* The GNU C library defines this for functions which it implements
48524 to always fail with ENOSYS. Some functions are actually named
48525 something starting with __ and the normal name is an alias. */
48526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48527 choke me
48528 #else
48529 char (*f) () = $ac_func;
48530 #endif
48531 #ifdef __cplusplus
48532 }
48533 #endif
48534
48535 int
48536 main ()
48537 {
48538 return f != $ac_func;
48539 ;
48540 return 0;
48541 }
48542 _ACEOF
48543 rm -f conftest.$ac_objext conftest$ac_exeext
48544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48545 (eval $ac_link) 2>conftest.er1
48546 ac_status=$?
48547 grep -v '^ *+' conftest.er1 >conftest.err
48548 rm -f conftest.er1
48549 cat conftest.err >&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } &&
48552 { ac_try='test -z "$ac_c_werror_flag"
48553 || test ! -s conftest.err'
48554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48555 (eval $ac_try) 2>&5
48556 ac_status=$?
48557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48558 (exit $ac_status); }; } &&
48559 { ac_try='test -s conftest$ac_exeext'
48560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48561 (eval $ac_try) 2>&5
48562 ac_status=$?
48563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48564 (exit $ac_status); }; }; then
48565 eval "$as_ac_var=yes"
48566 else
48567 echo "$as_me: failed program was:" >&5
48568 sed 's/^/| /' conftest.$ac_ext >&5
48569
48570 eval "$as_ac_var=no"
48571 fi
48572 rm -f conftest.err conftest.$ac_objext \
48573 conftest$ac_exeext conftest.$ac_ext
48574 fi
48575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48577 if test `eval echo '${'$as_ac_var'}'` = yes; then
48578 cat >>confdefs.h <<_ACEOF
48579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48580 _ACEOF
48581
48582 fi
48583 done
48584
48585 fi
48586 fi
48587
48588
48589
48590
48591
48592 LIBS="$ac_save_LIBS"
48593 CXXFLAGS="$ac_save_CXXFLAGS"
48594
48595
48596
48597 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48598 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48599 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48600 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48601 echo $ECHO_N "(cached) $ECHO_C" >&6
48602 else
48603
48604
48605
48606 ac_ext=cc
48607 ac_cpp='$CXXCPP $CPPFLAGS'
48608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48611
48612 cat >conftest.$ac_ext <<_ACEOF
48613 /* confdefs.h. */
48614 _ACEOF
48615 cat confdefs.h >>conftest.$ac_ext
48616 cat >>conftest.$ac_ext <<_ACEOF
48617 /* end confdefs.h. */
48618 #include <math.h>
48619 int
48620 main ()
48621 {
48622 __builtin_abs(0);
48623 ;
48624 return 0;
48625 }
48626 _ACEOF
48627 rm -f conftest.$ac_objext
48628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48629 (eval $ac_compile) 2>conftest.er1
48630 ac_status=$?
48631 grep -v '^ *+' conftest.er1 >conftest.err
48632 rm -f conftest.er1
48633 cat conftest.err >&5
48634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48635 (exit $ac_status); } &&
48636 { ac_try='test -z "$ac_cxx_werror_flag"
48637 || test ! -s conftest.err'
48638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48639 (eval $ac_try) 2>&5
48640 ac_status=$?
48641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48642 (exit $ac_status); }; } &&
48643 { ac_try='test -s conftest.$ac_objext'
48644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48645 (eval $ac_try) 2>&5
48646 ac_status=$?
48647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48648 (exit $ac_status); }; }; then
48649 glibcxx_cv_func___builtin_abs_use=yes
48650 else
48651 echo "$as_me: failed program was:" >&5
48652 sed 's/^/| /' conftest.$ac_ext >&5
48653
48654 glibcxx_cv_func___builtin_abs_use=no
48655 fi
48656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48657 ac_ext=c
48658 ac_cpp='$CPP $CPPFLAGS'
48659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48662
48663
48664 fi
48665
48666 fi
48667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48668 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48669 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48670 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48671 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48672 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48673 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48674 echo $ECHO_N "(cached) $ECHO_C" >&6
48675 else
48676
48677 if test x$gcc_no_link = xyes; then
48678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48680 { (exit 1); exit 1; }; }
48681 fi
48682 cat >conftest.$ac_ext <<_ACEOF
48683 /* confdefs.h. */
48684 _ACEOF
48685 cat confdefs.h >>conftest.$ac_ext
48686 cat >>conftest.$ac_ext <<_ACEOF
48687 /* end confdefs.h. */
48688 #include <math.h>
48689 int
48690 main ()
48691 {
48692 __builtin_abs(0);
48693 ;
48694 return 0;
48695 }
48696 _ACEOF
48697 rm -f conftest.$ac_objext conftest$ac_exeext
48698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48699 (eval $ac_link) 2>conftest.er1
48700 ac_status=$?
48701 grep -v '^ *+' conftest.er1 >conftest.err
48702 rm -f conftest.er1
48703 cat conftest.err >&5
48704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48705 (exit $ac_status); } &&
48706 { ac_try='test -z "$ac_c_werror_flag"
48707 || test ! -s conftest.err'
48708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48709 (eval $ac_try) 2>&5
48710 ac_status=$?
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); }; } &&
48713 { ac_try='test -s conftest$ac_exeext'
48714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48715 (eval $ac_try) 2>&5
48716 ac_status=$?
48717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48718 (exit $ac_status); }; }; then
48719 glibcxx_cv_func___builtin_abs_link=yes
48720 else
48721 echo "$as_me: failed program was:" >&5
48722 sed 's/^/| /' conftest.$ac_ext >&5
48723
48724 glibcxx_cv_func___builtin_abs_link=no
48725 fi
48726 rm -f conftest.err conftest.$ac_objext \
48727 conftest$ac_exeext conftest.$ac_ext
48728
48729 fi
48730
48731 fi
48732 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48733 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48734
48735 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48736
48737 cat >>confdefs.h <<\_ACEOF
48738 #define HAVE___BUILTIN_ABS 1
48739 _ACEOF
48740
48741 fi
48742
48743 fi
48744
48745
48746 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48747 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48748 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48749 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48750 echo $ECHO_N "(cached) $ECHO_C" >&6
48751 else
48752
48753
48754
48755 ac_ext=cc
48756 ac_cpp='$CXXCPP $CPPFLAGS'
48757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48760
48761 cat >conftest.$ac_ext <<_ACEOF
48762 /* confdefs.h. */
48763 _ACEOF
48764 cat confdefs.h >>conftest.$ac_ext
48765 cat >>conftest.$ac_ext <<_ACEOF
48766 /* end confdefs.h. */
48767 #include <math.h>
48768 int
48769 main ()
48770 {
48771 __builtin_fabsf(0);
48772 ;
48773 return 0;
48774 }
48775 _ACEOF
48776 rm -f conftest.$ac_objext
48777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48778 (eval $ac_compile) 2>conftest.er1
48779 ac_status=$?
48780 grep -v '^ *+' conftest.er1 >conftest.err
48781 rm -f conftest.er1
48782 cat conftest.err >&5
48783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48784 (exit $ac_status); } &&
48785 { ac_try='test -z "$ac_cxx_werror_flag"
48786 || test ! -s conftest.err'
48787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48788 (eval $ac_try) 2>&5
48789 ac_status=$?
48790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48791 (exit $ac_status); }; } &&
48792 { ac_try='test -s conftest.$ac_objext'
48793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48794 (eval $ac_try) 2>&5
48795 ac_status=$?
48796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48797 (exit $ac_status); }; }; then
48798 glibcxx_cv_func___builtin_fabsf_use=yes
48799 else
48800 echo "$as_me: failed program was:" >&5
48801 sed 's/^/| /' conftest.$ac_ext >&5
48802
48803 glibcxx_cv_func___builtin_fabsf_use=no
48804 fi
48805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811
48812
48813 fi
48814
48815 fi
48816 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48817 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48818 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48819 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48820 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48821 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48822 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48823 echo $ECHO_N "(cached) $ECHO_C" >&6
48824 else
48825
48826 if test x$gcc_no_link = xyes; then
48827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48829 { (exit 1); exit 1; }; }
48830 fi
48831 cat >conftest.$ac_ext <<_ACEOF
48832 /* confdefs.h. */
48833 _ACEOF
48834 cat confdefs.h >>conftest.$ac_ext
48835 cat >>conftest.$ac_ext <<_ACEOF
48836 /* end confdefs.h. */
48837 #include <math.h>
48838 int
48839 main ()
48840 {
48841 __builtin_fabsf(0);
48842 ;
48843 return 0;
48844 }
48845 _ACEOF
48846 rm -f conftest.$ac_objext conftest$ac_exeext
48847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48848 (eval $ac_link) 2>conftest.er1
48849 ac_status=$?
48850 grep -v '^ *+' conftest.er1 >conftest.err
48851 rm -f conftest.er1
48852 cat conftest.err >&5
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); } &&
48855 { ac_try='test -z "$ac_c_werror_flag"
48856 || test ! -s conftest.err'
48857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48858 (eval $ac_try) 2>&5
48859 ac_status=$?
48860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48861 (exit $ac_status); }; } &&
48862 { ac_try='test -s conftest$ac_exeext'
48863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48864 (eval $ac_try) 2>&5
48865 ac_status=$?
48866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48867 (exit $ac_status); }; }; then
48868 glibcxx_cv_func___builtin_fabsf_link=yes
48869 else
48870 echo "$as_me: failed program was:" >&5
48871 sed 's/^/| /' conftest.$ac_ext >&5
48872
48873 glibcxx_cv_func___builtin_fabsf_link=no
48874 fi
48875 rm -f conftest.err conftest.$ac_objext \
48876 conftest$ac_exeext conftest.$ac_ext
48877
48878 fi
48879
48880 fi
48881 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48882 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48883
48884 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48885
48886 cat >>confdefs.h <<\_ACEOF
48887 #define HAVE___BUILTIN_FABSF 1
48888 _ACEOF
48889
48890 fi
48891
48892 fi
48893
48894
48895 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48896 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48897 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48898 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48899 echo $ECHO_N "(cached) $ECHO_C" >&6
48900 else
48901
48902
48903
48904 ac_ext=cc
48905 ac_cpp='$CXXCPP $CPPFLAGS'
48906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909
48910 cat >conftest.$ac_ext <<_ACEOF
48911 /* confdefs.h. */
48912 _ACEOF
48913 cat confdefs.h >>conftest.$ac_ext
48914 cat >>conftest.$ac_ext <<_ACEOF
48915 /* end confdefs.h. */
48916 #include <math.h>
48917 int
48918 main ()
48919 {
48920 __builtin_fabs(0);
48921 ;
48922 return 0;
48923 }
48924 _ACEOF
48925 rm -f conftest.$ac_objext
48926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48927 (eval $ac_compile) 2>conftest.er1
48928 ac_status=$?
48929 grep -v '^ *+' conftest.er1 >conftest.err
48930 rm -f conftest.er1
48931 cat conftest.err >&5
48932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48933 (exit $ac_status); } &&
48934 { ac_try='test -z "$ac_cxx_werror_flag"
48935 || test ! -s conftest.err'
48936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48937 (eval $ac_try) 2>&5
48938 ac_status=$?
48939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48940 (exit $ac_status); }; } &&
48941 { ac_try='test -s conftest.$ac_objext'
48942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48943 (eval $ac_try) 2>&5
48944 ac_status=$?
48945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48946 (exit $ac_status); }; }; then
48947 glibcxx_cv_func___builtin_fabs_use=yes
48948 else
48949 echo "$as_me: failed program was:" >&5
48950 sed 's/^/| /' conftest.$ac_ext >&5
48951
48952 glibcxx_cv_func___builtin_fabs_use=no
48953 fi
48954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48955 ac_ext=c
48956 ac_cpp='$CPP $CPPFLAGS'
48957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48960
48961
48962 fi
48963
48964 fi
48965 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48966 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48967 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48968 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48969 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48970 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48971 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48972 echo $ECHO_N "(cached) $ECHO_C" >&6
48973 else
48974
48975 if test x$gcc_no_link = xyes; then
48976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48978 { (exit 1); exit 1; }; }
48979 fi
48980 cat >conftest.$ac_ext <<_ACEOF
48981 /* confdefs.h. */
48982 _ACEOF
48983 cat confdefs.h >>conftest.$ac_ext
48984 cat >>conftest.$ac_ext <<_ACEOF
48985 /* end confdefs.h. */
48986 #include <math.h>
48987 int
48988 main ()
48989 {
48990 __builtin_fabs(0);
48991 ;
48992 return 0;
48993 }
48994 _ACEOF
48995 rm -f conftest.$ac_objext conftest$ac_exeext
48996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48997 (eval $ac_link) 2>conftest.er1
48998 ac_status=$?
48999 grep -v '^ *+' conftest.er1 >conftest.err
49000 rm -f conftest.er1
49001 cat conftest.err >&5
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); } &&
49004 { ac_try='test -z "$ac_c_werror_flag"
49005 || test ! -s conftest.err'
49006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49007 (eval $ac_try) 2>&5
49008 ac_status=$?
49009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49010 (exit $ac_status); }; } &&
49011 { ac_try='test -s conftest$ac_exeext'
49012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49013 (eval $ac_try) 2>&5
49014 ac_status=$?
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); }; }; then
49017 glibcxx_cv_func___builtin_fabs_link=yes
49018 else
49019 echo "$as_me: failed program was:" >&5
49020 sed 's/^/| /' conftest.$ac_ext >&5
49021
49022 glibcxx_cv_func___builtin_fabs_link=no
49023 fi
49024 rm -f conftest.err conftest.$ac_objext \
49025 conftest$ac_exeext conftest.$ac_ext
49026
49027 fi
49028
49029 fi
49030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
49031 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
49032
49033 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
49034
49035 cat >>confdefs.h <<\_ACEOF
49036 #define HAVE___BUILTIN_FABS 1
49037 _ACEOF
49038
49039 fi
49040
49041 fi
49042
49043
49044 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
49045 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
49046 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
49047 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
49048 echo $ECHO_N "(cached) $ECHO_C" >&6
49049 else
49050
49051
49052
49053 ac_ext=cc
49054 ac_cpp='$CXXCPP $CPPFLAGS'
49055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49058
49059 cat >conftest.$ac_ext <<_ACEOF
49060 /* confdefs.h. */
49061 _ACEOF
49062 cat confdefs.h >>conftest.$ac_ext
49063 cat >>conftest.$ac_ext <<_ACEOF
49064 /* end confdefs.h. */
49065 #include <math.h>
49066 int
49067 main ()
49068 {
49069 __builtin_fabsl(0);
49070 ;
49071 return 0;
49072 }
49073 _ACEOF
49074 rm -f conftest.$ac_objext
49075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49076 (eval $ac_compile) 2>conftest.er1
49077 ac_status=$?
49078 grep -v '^ *+' conftest.er1 >conftest.err
49079 rm -f conftest.er1
49080 cat conftest.err >&5
49081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49082 (exit $ac_status); } &&
49083 { ac_try='test -z "$ac_cxx_werror_flag"
49084 || test ! -s conftest.err'
49085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49086 (eval $ac_try) 2>&5
49087 ac_status=$?
49088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49089 (exit $ac_status); }; } &&
49090 { ac_try='test -s conftest.$ac_objext'
49091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49092 (eval $ac_try) 2>&5
49093 ac_status=$?
49094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095 (exit $ac_status); }; }; then
49096 glibcxx_cv_func___builtin_fabsl_use=yes
49097 else
49098 echo "$as_me: failed program was:" >&5
49099 sed 's/^/| /' conftest.$ac_ext >&5
49100
49101 glibcxx_cv_func___builtin_fabsl_use=no
49102 fi
49103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49104 ac_ext=c
49105 ac_cpp='$CPP $CPPFLAGS'
49106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109
49110
49111 fi
49112
49113 fi
49114 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
49115 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
49116 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
49117 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
49118 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
49119 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
49120 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
49121 echo $ECHO_N "(cached) $ECHO_C" >&6
49122 else
49123
49124 if test x$gcc_no_link = xyes; then
49125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49127 { (exit 1); exit 1; }; }
49128 fi
49129 cat >conftest.$ac_ext <<_ACEOF
49130 /* confdefs.h. */
49131 _ACEOF
49132 cat confdefs.h >>conftest.$ac_ext
49133 cat >>conftest.$ac_ext <<_ACEOF
49134 /* end confdefs.h. */
49135 #include <math.h>
49136 int
49137 main ()
49138 {
49139 __builtin_fabsl(0);
49140 ;
49141 return 0;
49142 }
49143 _ACEOF
49144 rm -f conftest.$ac_objext conftest$ac_exeext
49145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49146 (eval $ac_link) 2>conftest.er1
49147 ac_status=$?
49148 grep -v '^ *+' conftest.er1 >conftest.err
49149 rm -f conftest.er1
49150 cat conftest.err >&5
49151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152 (exit $ac_status); } &&
49153 { ac_try='test -z "$ac_c_werror_flag"
49154 || test ! -s conftest.err'
49155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49156 (eval $ac_try) 2>&5
49157 ac_status=$?
49158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49159 (exit $ac_status); }; } &&
49160 { ac_try='test -s conftest$ac_exeext'
49161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49162 (eval $ac_try) 2>&5
49163 ac_status=$?
49164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49165 (exit $ac_status); }; }; then
49166 glibcxx_cv_func___builtin_fabsl_link=yes
49167 else
49168 echo "$as_me: failed program was:" >&5
49169 sed 's/^/| /' conftest.$ac_ext >&5
49170
49171 glibcxx_cv_func___builtin_fabsl_link=no
49172 fi
49173 rm -f conftest.err conftest.$ac_objext \
49174 conftest$ac_exeext conftest.$ac_ext
49175
49176 fi
49177
49178 fi
49179 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
49180 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
49181
49182 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
49183
49184 cat >>confdefs.h <<\_ACEOF
49185 #define HAVE___BUILTIN_FABSL 1
49186 _ACEOF
49187
49188 fi
49189
49190 fi
49191
49192
49193 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
49194 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
49195 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
49196 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
49197 echo $ECHO_N "(cached) $ECHO_C" >&6
49198 else
49199
49200
49201
49202 ac_ext=cc
49203 ac_cpp='$CXXCPP $CPPFLAGS'
49204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49207
49208 cat >conftest.$ac_ext <<_ACEOF
49209 /* confdefs.h. */
49210 _ACEOF
49211 cat confdefs.h >>conftest.$ac_ext
49212 cat >>conftest.$ac_ext <<_ACEOF
49213 /* end confdefs.h. */
49214 #include <math.h>
49215 int
49216 main ()
49217 {
49218 __builtin_labs(0);
49219 ;
49220 return 0;
49221 }
49222 _ACEOF
49223 rm -f conftest.$ac_objext
49224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49225 (eval $ac_compile) 2>conftest.er1
49226 ac_status=$?
49227 grep -v '^ *+' conftest.er1 >conftest.err
49228 rm -f conftest.er1
49229 cat conftest.err >&5
49230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49231 (exit $ac_status); } &&
49232 { ac_try='test -z "$ac_cxx_werror_flag"
49233 || test ! -s conftest.err'
49234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235 (eval $ac_try) 2>&5
49236 ac_status=$?
49237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238 (exit $ac_status); }; } &&
49239 { ac_try='test -s conftest.$ac_objext'
49240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49241 (eval $ac_try) 2>&5
49242 ac_status=$?
49243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49244 (exit $ac_status); }; }; then
49245 glibcxx_cv_func___builtin_labs_use=yes
49246 else
49247 echo "$as_me: failed program was:" >&5
49248 sed 's/^/| /' conftest.$ac_ext >&5
49249
49250 glibcxx_cv_func___builtin_labs_use=no
49251 fi
49252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49253 ac_ext=c
49254 ac_cpp='$CPP $CPPFLAGS'
49255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49258
49259
49260 fi
49261
49262 fi
49263 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
49264 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
49265 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
49266 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
49267 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
49268 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
49269 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
49270 echo $ECHO_N "(cached) $ECHO_C" >&6
49271 else
49272
49273 if test x$gcc_no_link = xyes; then
49274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49276 { (exit 1); exit 1; }; }
49277 fi
49278 cat >conftest.$ac_ext <<_ACEOF
49279 /* confdefs.h. */
49280 _ACEOF
49281 cat confdefs.h >>conftest.$ac_ext
49282 cat >>conftest.$ac_ext <<_ACEOF
49283 /* end confdefs.h. */
49284 #include <math.h>
49285 int
49286 main ()
49287 {
49288 __builtin_labs(0);
49289 ;
49290 return 0;
49291 }
49292 _ACEOF
49293 rm -f conftest.$ac_objext conftest$ac_exeext
49294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49295 (eval $ac_link) 2>conftest.er1
49296 ac_status=$?
49297 grep -v '^ *+' conftest.er1 >conftest.err
49298 rm -f conftest.er1
49299 cat conftest.err >&5
49300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49301 (exit $ac_status); } &&
49302 { ac_try='test -z "$ac_c_werror_flag"
49303 || test ! -s conftest.err'
49304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49305 (eval $ac_try) 2>&5
49306 ac_status=$?
49307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49308 (exit $ac_status); }; } &&
49309 { ac_try='test -s conftest$ac_exeext'
49310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49311 (eval $ac_try) 2>&5
49312 ac_status=$?
49313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49314 (exit $ac_status); }; }; then
49315 glibcxx_cv_func___builtin_labs_link=yes
49316 else
49317 echo "$as_me: failed program was:" >&5
49318 sed 's/^/| /' conftest.$ac_ext >&5
49319
49320 glibcxx_cv_func___builtin_labs_link=no
49321 fi
49322 rm -f conftest.err conftest.$ac_objext \
49323 conftest$ac_exeext conftest.$ac_ext
49324
49325 fi
49326
49327 fi
49328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
49329 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
49330
49331 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
49332
49333 cat >>confdefs.h <<\_ACEOF
49334 #define HAVE___BUILTIN_LABS 1
49335 _ACEOF
49336
49337 fi
49338
49339 fi
49340
49341
49342
49343 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49344 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49345 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49346 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49347 echo $ECHO_N "(cached) $ECHO_C" >&6
49348 else
49349
49350
49351
49352 ac_ext=cc
49353 ac_cpp='$CXXCPP $CPPFLAGS'
49354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49357
49358 cat >conftest.$ac_ext <<_ACEOF
49359 /* confdefs.h. */
49360 _ACEOF
49361 cat confdefs.h >>conftest.$ac_ext
49362 cat >>conftest.$ac_ext <<_ACEOF
49363 /* end confdefs.h. */
49364 #include <math.h>
49365 int
49366 main ()
49367 {
49368 __builtin_sqrtf(0);
49369 ;
49370 return 0;
49371 }
49372 _ACEOF
49373 rm -f conftest.$ac_objext
49374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49375 (eval $ac_compile) 2>conftest.er1
49376 ac_status=$?
49377 grep -v '^ *+' conftest.er1 >conftest.err
49378 rm -f conftest.er1
49379 cat conftest.err >&5
49380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49381 (exit $ac_status); } &&
49382 { ac_try='test -z "$ac_cxx_werror_flag"
49383 || test ! -s conftest.err'
49384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49385 (eval $ac_try) 2>&5
49386 ac_status=$?
49387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49388 (exit $ac_status); }; } &&
49389 { ac_try='test -s conftest.$ac_objext'
49390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49391 (eval $ac_try) 2>&5
49392 ac_status=$?
49393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49394 (exit $ac_status); }; }; then
49395 glibcxx_cv_func___builtin_sqrtf_use=yes
49396 else
49397 echo "$as_me: failed program was:" >&5
49398 sed 's/^/| /' conftest.$ac_ext >&5
49399
49400 glibcxx_cv_func___builtin_sqrtf_use=no
49401 fi
49402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49403 ac_ext=c
49404 ac_cpp='$CPP $CPPFLAGS'
49405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408
49409
49410 fi
49411
49412 fi
49413 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49414 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49415 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49416 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49417 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49418 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49419 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49420 echo $ECHO_N "(cached) $ECHO_C" >&6
49421 else
49422
49423 if test x$gcc_no_link = xyes; then
49424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49426 { (exit 1); exit 1; }; }
49427 fi
49428 cat >conftest.$ac_ext <<_ACEOF
49429 /* confdefs.h. */
49430 _ACEOF
49431 cat confdefs.h >>conftest.$ac_ext
49432 cat >>conftest.$ac_ext <<_ACEOF
49433 /* end confdefs.h. */
49434 #include <math.h>
49435 int
49436 main ()
49437 {
49438 __builtin_sqrtf(0);
49439 ;
49440 return 0;
49441 }
49442 _ACEOF
49443 rm -f conftest.$ac_objext conftest$ac_exeext
49444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49445 (eval $ac_link) 2>conftest.er1
49446 ac_status=$?
49447 grep -v '^ *+' conftest.er1 >conftest.err
49448 rm -f conftest.er1
49449 cat conftest.err >&5
49450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49451 (exit $ac_status); } &&
49452 { ac_try='test -z "$ac_c_werror_flag"
49453 || test ! -s conftest.err'
49454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49455 (eval $ac_try) 2>&5
49456 ac_status=$?
49457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49458 (exit $ac_status); }; } &&
49459 { ac_try='test -s conftest$ac_exeext'
49460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49461 (eval $ac_try) 2>&5
49462 ac_status=$?
49463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49464 (exit $ac_status); }; }; then
49465 glibcxx_cv_func___builtin_sqrtf_link=yes
49466 else
49467 echo "$as_me: failed program was:" >&5
49468 sed 's/^/| /' conftest.$ac_ext >&5
49469
49470 glibcxx_cv_func___builtin_sqrtf_link=no
49471 fi
49472 rm -f conftest.err conftest.$ac_objext \
49473 conftest$ac_exeext conftest.$ac_ext
49474
49475 fi
49476
49477 fi
49478 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49479 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49480
49481 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49482
49483 cat >>confdefs.h <<\_ACEOF
49484 #define HAVE___BUILTIN_SQRTF 1
49485 _ACEOF
49486
49487 fi
49488
49489 fi
49490
49491
49492 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49493 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49494 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49495 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49496 echo $ECHO_N "(cached) $ECHO_C" >&6
49497 else
49498
49499
49500
49501 ac_ext=cc
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49506
49507 cat >conftest.$ac_ext <<_ACEOF
49508 /* confdefs.h. */
49509 _ACEOF
49510 cat confdefs.h >>conftest.$ac_ext
49511 cat >>conftest.$ac_ext <<_ACEOF
49512 /* end confdefs.h. */
49513 #include <math.h>
49514 int
49515 main ()
49516 {
49517 __builtin_sqrt(0);
49518 ;
49519 return 0;
49520 }
49521 _ACEOF
49522 rm -f conftest.$ac_objext
49523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49524 (eval $ac_compile) 2>conftest.er1
49525 ac_status=$?
49526 grep -v '^ *+' conftest.er1 >conftest.err
49527 rm -f conftest.er1
49528 cat conftest.err >&5
49529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530 (exit $ac_status); } &&
49531 { ac_try='test -z "$ac_cxx_werror_flag"
49532 || test ! -s conftest.err'
49533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49534 (eval $ac_try) 2>&5
49535 ac_status=$?
49536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537 (exit $ac_status); }; } &&
49538 { ac_try='test -s conftest.$ac_objext'
49539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49540 (eval $ac_try) 2>&5
49541 ac_status=$?
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); }; }; then
49544 glibcxx_cv_func___builtin_sqrt_use=yes
49545 else
49546 echo "$as_me: failed program was:" >&5
49547 sed 's/^/| /' conftest.$ac_ext >&5
49548
49549 glibcxx_cv_func___builtin_sqrt_use=no
49550 fi
49551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49552 ac_ext=c
49553 ac_cpp='$CPP $CPPFLAGS'
49554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49557
49558
49559 fi
49560
49561 fi
49562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49563 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49564 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49565 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49566 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49567 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49568 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49569 echo $ECHO_N "(cached) $ECHO_C" >&6
49570 else
49571
49572 if test x$gcc_no_link = xyes; then
49573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49575 { (exit 1); exit 1; }; }
49576 fi
49577 cat >conftest.$ac_ext <<_ACEOF
49578 /* confdefs.h. */
49579 _ACEOF
49580 cat confdefs.h >>conftest.$ac_ext
49581 cat >>conftest.$ac_ext <<_ACEOF
49582 /* end confdefs.h. */
49583 #include <math.h>
49584 int
49585 main ()
49586 {
49587 __builtin_sqrt(0);
49588 ;
49589 return 0;
49590 }
49591 _ACEOF
49592 rm -f conftest.$ac_objext conftest$ac_exeext
49593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49594 (eval $ac_link) 2>conftest.er1
49595 ac_status=$?
49596 grep -v '^ *+' conftest.er1 >conftest.err
49597 rm -f conftest.er1
49598 cat conftest.err >&5
49599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49600 (exit $ac_status); } &&
49601 { ac_try='test -z "$ac_c_werror_flag"
49602 || test ! -s conftest.err'
49603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49604 (eval $ac_try) 2>&5
49605 ac_status=$?
49606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49607 (exit $ac_status); }; } &&
49608 { ac_try='test -s conftest$ac_exeext'
49609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49610 (eval $ac_try) 2>&5
49611 ac_status=$?
49612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49613 (exit $ac_status); }; }; then
49614 glibcxx_cv_func___builtin_sqrt_link=yes
49615 else
49616 echo "$as_me: failed program was:" >&5
49617 sed 's/^/| /' conftest.$ac_ext >&5
49618
49619 glibcxx_cv_func___builtin_sqrt_link=no
49620 fi
49621 rm -f conftest.err conftest.$ac_objext \
49622 conftest$ac_exeext conftest.$ac_ext
49623
49624 fi
49625
49626 fi
49627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49628 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49629
49630 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49631
49632 cat >>confdefs.h <<\_ACEOF
49633 #define HAVE___BUILTIN_SQRT 1
49634 _ACEOF
49635
49636 fi
49637
49638 fi
49639
49640
49641 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49642 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49643 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49644 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49645 echo $ECHO_N "(cached) $ECHO_C" >&6
49646 else
49647
49648
49649
49650 ac_ext=cc
49651 ac_cpp='$CXXCPP $CPPFLAGS'
49652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49655
49656 cat >conftest.$ac_ext <<_ACEOF
49657 /* confdefs.h. */
49658 _ACEOF
49659 cat confdefs.h >>conftest.$ac_ext
49660 cat >>conftest.$ac_ext <<_ACEOF
49661 /* end confdefs.h. */
49662 #include <math.h>
49663 int
49664 main ()
49665 {
49666 __builtin_sqrtl(0);
49667 ;
49668 return 0;
49669 }
49670 _ACEOF
49671 rm -f conftest.$ac_objext
49672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49673 (eval $ac_compile) 2>conftest.er1
49674 ac_status=$?
49675 grep -v '^ *+' conftest.er1 >conftest.err
49676 rm -f conftest.er1
49677 cat conftest.err >&5
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); } &&
49680 { ac_try='test -z "$ac_cxx_werror_flag"
49681 || test ! -s conftest.err'
49682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49683 (eval $ac_try) 2>&5
49684 ac_status=$?
49685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49686 (exit $ac_status); }; } &&
49687 { ac_try='test -s conftest.$ac_objext'
49688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49689 (eval $ac_try) 2>&5
49690 ac_status=$?
49691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49692 (exit $ac_status); }; }; then
49693 glibcxx_cv_func___builtin_sqrtl_use=yes
49694 else
49695 echo "$as_me: failed program was:" >&5
49696 sed 's/^/| /' conftest.$ac_ext >&5
49697
49698 glibcxx_cv_func___builtin_sqrtl_use=no
49699 fi
49700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49701 ac_ext=c
49702 ac_cpp='$CPP $CPPFLAGS'
49703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49706
49707
49708 fi
49709
49710 fi
49711 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49712 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49713 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49714 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49715 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49716 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49717 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720
49721 if test x$gcc_no_link = xyes; then
49722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49724 { (exit 1); exit 1; }; }
49725 fi
49726 cat >conftest.$ac_ext <<_ACEOF
49727 /* confdefs.h. */
49728 _ACEOF
49729 cat confdefs.h >>conftest.$ac_ext
49730 cat >>conftest.$ac_ext <<_ACEOF
49731 /* end confdefs.h. */
49732 #include <math.h>
49733 int
49734 main ()
49735 {
49736 __builtin_sqrtl(0);
49737 ;
49738 return 0;
49739 }
49740 _ACEOF
49741 rm -f conftest.$ac_objext conftest$ac_exeext
49742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49743 (eval $ac_link) 2>conftest.er1
49744 ac_status=$?
49745 grep -v '^ *+' conftest.er1 >conftest.err
49746 rm -f conftest.er1
49747 cat conftest.err >&5
49748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49749 (exit $ac_status); } &&
49750 { ac_try='test -z "$ac_c_werror_flag"
49751 || test ! -s conftest.err'
49752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49753 (eval $ac_try) 2>&5
49754 ac_status=$?
49755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49756 (exit $ac_status); }; } &&
49757 { ac_try='test -s conftest$ac_exeext'
49758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49759 (eval $ac_try) 2>&5
49760 ac_status=$?
49761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49762 (exit $ac_status); }; }; then
49763 glibcxx_cv_func___builtin_sqrtl_link=yes
49764 else
49765 echo "$as_me: failed program was:" >&5
49766 sed 's/^/| /' conftest.$ac_ext >&5
49767
49768 glibcxx_cv_func___builtin_sqrtl_link=no
49769 fi
49770 rm -f conftest.err conftest.$ac_objext \
49771 conftest$ac_exeext conftest.$ac_ext
49772
49773 fi
49774
49775 fi
49776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49777 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49778
49779 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49780
49781 cat >>confdefs.h <<\_ACEOF
49782 #define HAVE___BUILTIN_SQRTL 1
49783 _ACEOF
49784
49785 fi
49786
49787 fi
49788
49789
49790
49791 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49792 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49793 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49794 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49795 echo $ECHO_N "(cached) $ECHO_C" >&6
49796 else
49797
49798
49799
49800 ac_ext=cc
49801 ac_cpp='$CXXCPP $CPPFLAGS'
49802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49805
49806 cat >conftest.$ac_ext <<_ACEOF
49807 /* confdefs.h. */
49808 _ACEOF
49809 cat confdefs.h >>conftest.$ac_ext
49810 cat >>conftest.$ac_ext <<_ACEOF
49811 /* end confdefs.h. */
49812 #include <math.h>
49813 int
49814 main ()
49815 {
49816 __builtin_sinf(0);
49817 ;
49818 return 0;
49819 }
49820 _ACEOF
49821 rm -f conftest.$ac_objext
49822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49823 (eval $ac_compile) 2>conftest.er1
49824 ac_status=$?
49825 grep -v '^ *+' conftest.er1 >conftest.err
49826 rm -f conftest.er1
49827 cat conftest.err >&5
49828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49829 (exit $ac_status); } &&
49830 { ac_try='test -z "$ac_cxx_werror_flag"
49831 || test ! -s conftest.err'
49832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49833 (eval $ac_try) 2>&5
49834 ac_status=$?
49835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49836 (exit $ac_status); }; } &&
49837 { ac_try='test -s conftest.$ac_objext'
49838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49839 (eval $ac_try) 2>&5
49840 ac_status=$?
49841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49842 (exit $ac_status); }; }; then
49843 glibcxx_cv_func___builtin_sinf_use=yes
49844 else
49845 echo "$as_me: failed program was:" >&5
49846 sed 's/^/| /' conftest.$ac_ext >&5
49847
49848 glibcxx_cv_func___builtin_sinf_use=no
49849 fi
49850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49856
49857
49858 fi
49859
49860 fi
49861 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49862 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49863 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49864 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49865 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49866 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49867 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49868 echo $ECHO_N "(cached) $ECHO_C" >&6
49869 else
49870
49871 if test x$gcc_no_link = xyes; then
49872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49874 { (exit 1); exit 1; }; }
49875 fi
49876 cat >conftest.$ac_ext <<_ACEOF
49877 /* confdefs.h. */
49878 _ACEOF
49879 cat confdefs.h >>conftest.$ac_ext
49880 cat >>conftest.$ac_ext <<_ACEOF
49881 /* end confdefs.h. */
49882 #include <math.h>
49883 int
49884 main ()
49885 {
49886 __builtin_sinf(0);
49887 ;
49888 return 0;
49889 }
49890 _ACEOF
49891 rm -f conftest.$ac_objext conftest$ac_exeext
49892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49893 (eval $ac_link) 2>conftest.er1
49894 ac_status=$?
49895 grep -v '^ *+' conftest.er1 >conftest.err
49896 rm -f conftest.er1
49897 cat conftest.err >&5
49898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49899 (exit $ac_status); } &&
49900 { ac_try='test -z "$ac_c_werror_flag"
49901 || test ! -s conftest.err'
49902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49903 (eval $ac_try) 2>&5
49904 ac_status=$?
49905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49906 (exit $ac_status); }; } &&
49907 { ac_try='test -s conftest$ac_exeext'
49908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49909 (eval $ac_try) 2>&5
49910 ac_status=$?
49911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49912 (exit $ac_status); }; }; then
49913 glibcxx_cv_func___builtin_sinf_link=yes
49914 else
49915 echo "$as_me: failed program was:" >&5
49916 sed 's/^/| /' conftest.$ac_ext >&5
49917
49918 glibcxx_cv_func___builtin_sinf_link=no
49919 fi
49920 rm -f conftest.err conftest.$ac_objext \
49921 conftest$ac_exeext conftest.$ac_ext
49922
49923 fi
49924
49925 fi
49926 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49927 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49928
49929 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49930
49931 cat >>confdefs.h <<\_ACEOF
49932 #define HAVE___BUILTIN_SINF 1
49933 _ACEOF
49934
49935 fi
49936
49937 fi
49938
49939
49940 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49941 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49942 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49943 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49944 echo $ECHO_N "(cached) $ECHO_C" >&6
49945 else
49946
49947
49948
49949 ac_ext=cc
49950 ac_cpp='$CXXCPP $CPPFLAGS'
49951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954
49955 cat >conftest.$ac_ext <<_ACEOF
49956 /* confdefs.h. */
49957 _ACEOF
49958 cat confdefs.h >>conftest.$ac_ext
49959 cat >>conftest.$ac_ext <<_ACEOF
49960 /* end confdefs.h. */
49961 #include <math.h>
49962 int
49963 main ()
49964 {
49965 __builtin_sin(0);
49966 ;
49967 return 0;
49968 }
49969 _ACEOF
49970 rm -f conftest.$ac_objext
49971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49972 (eval $ac_compile) 2>conftest.er1
49973 ac_status=$?
49974 grep -v '^ *+' conftest.er1 >conftest.err
49975 rm -f conftest.er1
49976 cat conftest.err >&5
49977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49978 (exit $ac_status); } &&
49979 { ac_try='test -z "$ac_cxx_werror_flag"
49980 || test ! -s conftest.err'
49981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49982 (eval $ac_try) 2>&5
49983 ac_status=$?
49984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49985 (exit $ac_status); }; } &&
49986 { ac_try='test -s conftest.$ac_objext'
49987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49988 (eval $ac_try) 2>&5
49989 ac_status=$?
49990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49991 (exit $ac_status); }; }; then
49992 glibcxx_cv_func___builtin_sin_use=yes
49993 else
49994 echo "$as_me: failed program was:" >&5
49995 sed 's/^/| /' conftest.$ac_ext >&5
49996
49997 glibcxx_cv_func___builtin_sin_use=no
49998 fi
49999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50000 ac_ext=c
50001 ac_cpp='$CPP $CPPFLAGS'
50002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50005
50006
50007 fi
50008
50009 fi
50010 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
50011 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
50012 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
50013 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
50014 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
50015 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
50016 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
50017 echo $ECHO_N "(cached) $ECHO_C" >&6
50018 else
50019
50020 if test x$gcc_no_link = xyes; then
50021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50023 { (exit 1); exit 1; }; }
50024 fi
50025 cat >conftest.$ac_ext <<_ACEOF
50026 /* confdefs.h. */
50027 _ACEOF
50028 cat confdefs.h >>conftest.$ac_ext
50029 cat >>conftest.$ac_ext <<_ACEOF
50030 /* end confdefs.h. */
50031 #include <math.h>
50032 int
50033 main ()
50034 {
50035 __builtin_sin(0);
50036 ;
50037 return 0;
50038 }
50039 _ACEOF
50040 rm -f conftest.$ac_objext conftest$ac_exeext
50041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50042 (eval $ac_link) 2>conftest.er1
50043 ac_status=$?
50044 grep -v '^ *+' conftest.er1 >conftest.err
50045 rm -f conftest.er1
50046 cat conftest.err >&5
50047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50048 (exit $ac_status); } &&
50049 { ac_try='test -z "$ac_c_werror_flag"
50050 || test ! -s conftest.err'
50051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50052 (eval $ac_try) 2>&5
50053 ac_status=$?
50054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50055 (exit $ac_status); }; } &&
50056 { ac_try='test -s conftest$ac_exeext'
50057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50058 (eval $ac_try) 2>&5
50059 ac_status=$?
50060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50061 (exit $ac_status); }; }; then
50062 glibcxx_cv_func___builtin_sin_link=yes
50063 else
50064 echo "$as_me: failed program was:" >&5
50065 sed 's/^/| /' conftest.$ac_ext >&5
50066
50067 glibcxx_cv_func___builtin_sin_link=no
50068 fi
50069 rm -f conftest.err conftest.$ac_objext \
50070 conftest$ac_exeext conftest.$ac_ext
50071
50072 fi
50073
50074 fi
50075 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
50076 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
50077
50078 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
50079
50080 cat >>confdefs.h <<\_ACEOF
50081 #define HAVE___BUILTIN_SIN 1
50082 _ACEOF
50083
50084 fi
50085
50086 fi
50087
50088
50089 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
50090 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
50091 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
50092 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
50093 echo $ECHO_N "(cached) $ECHO_C" >&6
50094 else
50095
50096
50097
50098 ac_ext=cc
50099 ac_cpp='$CXXCPP $CPPFLAGS'
50100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50103
50104 cat >conftest.$ac_ext <<_ACEOF
50105 /* confdefs.h. */
50106 _ACEOF
50107 cat confdefs.h >>conftest.$ac_ext
50108 cat >>conftest.$ac_ext <<_ACEOF
50109 /* end confdefs.h. */
50110 #include <math.h>
50111 int
50112 main ()
50113 {
50114 __builtin_sinl(0);
50115 ;
50116 return 0;
50117 }
50118 _ACEOF
50119 rm -f conftest.$ac_objext
50120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50121 (eval $ac_compile) 2>conftest.er1
50122 ac_status=$?
50123 grep -v '^ *+' conftest.er1 >conftest.err
50124 rm -f conftest.er1
50125 cat conftest.err >&5
50126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50127 (exit $ac_status); } &&
50128 { ac_try='test -z "$ac_cxx_werror_flag"
50129 || test ! -s conftest.err'
50130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50131 (eval $ac_try) 2>&5
50132 ac_status=$?
50133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50134 (exit $ac_status); }; } &&
50135 { ac_try='test -s conftest.$ac_objext'
50136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50137 (eval $ac_try) 2>&5
50138 ac_status=$?
50139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50140 (exit $ac_status); }; }; then
50141 glibcxx_cv_func___builtin_sinl_use=yes
50142 else
50143 echo "$as_me: failed program was:" >&5
50144 sed 's/^/| /' conftest.$ac_ext >&5
50145
50146 glibcxx_cv_func___builtin_sinl_use=no
50147 fi
50148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50149 ac_ext=c
50150 ac_cpp='$CPP $CPPFLAGS'
50151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50154
50155
50156 fi
50157
50158 fi
50159 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
50160 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
50161 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
50162 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
50163 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
50164 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
50165 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
50166 echo $ECHO_N "(cached) $ECHO_C" >&6
50167 else
50168
50169 if test x$gcc_no_link = xyes; then
50170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50172 { (exit 1); exit 1; }; }
50173 fi
50174 cat >conftest.$ac_ext <<_ACEOF
50175 /* confdefs.h. */
50176 _ACEOF
50177 cat confdefs.h >>conftest.$ac_ext
50178 cat >>conftest.$ac_ext <<_ACEOF
50179 /* end confdefs.h. */
50180 #include <math.h>
50181 int
50182 main ()
50183 {
50184 __builtin_sinl(0);
50185 ;
50186 return 0;
50187 }
50188 _ACEOF
50189 rm -f conftest.$ac_objext conftest$ac_exeext
50190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50191 (eval $ac_link) 2>conftest.er1
50192 ac_status=$?
50193 grep -v '^ *+' conftest.er1 >conftest.err
50194 rm -f conftest.er1
50195 cat conftest.err >&5
50196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50197 (exit $ac_status); } &&
50198 { ac_try='test -z "$ac_c_werror_flag"
50199 || test ! -s conftest.err'
50200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50201 (eval $ac_try) 2>&5
50202 ac_status=$?
50203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50204 (exit $ac_status); }; } &&
50205 { ac_try='test -s conftest$ac_exeext'
50206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50207 (eval $ac_try) 2>&5
50208 ac_status=$?
50209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50210 (exit $ac_status); }; }; then
50211 glibcxx_cv_func___builtin_sinl_link=yes
50212 else
50213 echo "$as_me: failed program was:" >&5
50214 sed 's/^/| /' conftest.$ac_ext >&5
50215
50216 glibcxx_cv_func___builtin_sinl_link=no
50217 fi
50218 rm -f conftest.err conftest.$ac_objext \
50219 conftest$ac_exeext conftest.$ac_ext
50220
50221 fi
50222
50223 fi
50224 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
50225 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
50226
50227 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
50228
50229 cat >>confdefs.h <<\_ACEOF
50230 #define HAVE___BUILTIN_SINL 1
50231 _ACEOF
50232
50233 fi
50234
50235 fi
50236
50237
50238
50239 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
50240 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
50241 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
50242 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
50243 echo $ECHO_N "(cached) $ECHO_C" >&6
50244 else
50245
50246
50247
50248 ac_ext=cc
50249 ac_cpp='$CXXCPP $CPPFLAGS'
50250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253
50254 cat >conftest.$ac_ext <<_ACEOF
50255 /* confdefs.h. */
50256 _ACEOF
50257 cat confdefs.h >>conftest.$ac_ext
50258 cat >>conftest.$ac_ext <<_ACEOF
50259 /* end confdefs.h. */
50260 #include <math.h>
50261 int
50262 main ()
50263 {
50264 __builtin_cosf(0);
50265 ;
50266 return 0;
50267 }
50268 _ACEOF
50269 rm -f conftest.$ac_objext
50270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50271 (eval $ac_compile) 2>conftest.er1
50272 ac_status=$?
50273 grep -v '^ *+' conftest.er1 >conftest.err
50274 rm -f conftest.er1
50275 cat conftest.err >&5
50276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50277 (exit $ac_status); } &&
50278 { ac_try='test -z "$ac_cxx_werror_flag"
50279 || test ! -s conftest.err'
50280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50281 (eval $ac_try) 2>&5
50282 ac_status=$?
50283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284 (exit $ac_status); }; } &&
50285 { ac_try='test -s conftest.$ac_objext'
50286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50287 (eval $ac_try) 2>&5
50288 ac_status=$?
50289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50290 (exit $ac_status); }; }; then
50291 glibcxx_cv_func___builtin_cosf_use=yes
50292 else
50293 echo "$as_me: failed program was:" >&5
50294 sed 's/^/| /' conftest.$ac_ext >&5
50295
50296 glibcxx_cv_func___builtin_cosf_use=no
50297 fi
50298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50299 ac_ext=c
50300 ac_cpp='$CPP $CPPFLAGS'
50301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50304
50305
50306 fi
50307
50308 fi
50309 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
50310 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
50311 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
50312 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
50313 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
50314 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
50315 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
50316 echo $ECHO_N "(cached) $ECHO_C" >&6
50317 else
50318
50319 if test x$gcc_no_link = xyes; then
50320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50322 { (exit 1); exit 1; }; }
50323 fi
50324 cat >conftest.$ac_ext <<_ACEOF
50325 /* confdefs.h. */
50326 _ACEOF
50327 cat confdefs.h >>conftest.$ac_ext
50328 cat >>conftest.$ac_ext <<_ACEOF
50329 /* end confdefs.h. */
50330 #include <math.h>
50331 int
50332 main ()
50333 {
50334 __builtin_cosf(0);
50335 ;
50336 return 0;
50337 }
50338 _ACEOF
50339 rm -f conftest.$ac_objext conftest$ac_exeext
50340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50341 (eval $ac_link) 2>conftest.er1
50342 ac_status=$?
50343 grep -v '^ *+' conftest.er1 >conftest.err
50344 rm -f conftest.er1
50345 cat conftest.err >&5
50346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50347 (exit $ac_status); } &&
50348 { ac_try='test -z "$ac_c_werror_flag"
50349 || test ! -s conftest.err'
50350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50351 (eval $ac_try) 2>&5
50352 ac_status=$?
50353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354 (exit $ac_status); }; } &&
50355 { ac_try='test -s conftest$ac_exeext'
50356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50357 (eval $ac_try) 2>&5
50358 ac_status=$?
50359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50360 (exit $ac_status); }; }; then
50361 glibcxx_cv_func___builtin_cosf_link=yes
50362 else
50363 echo "$as_me: failed program was:" >&5
50364 sed 's/^/| /' conftest.$ac_ext >&5
50365
50366 glibcxx_cv_func___builtin_cosf_link=no
50367 fi
50368 rm -f conftest.err conftest.$ac_objext \
50369 conftest$ac_exeext conftest.$ac_ext
50370
50371 fi
50372
50373 fi
50374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50375 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50376
50377 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50378
50379 cat >>confdefs.h <<\_ACEOF
50380 #define HAVE___BUILTIN_COSF 1
50381 _ACEOF
50382
50383 fi
50384
50385 fi
50386
50387
50388 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50389 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50390 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50391 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50392 echo $ECHO_N "(cached) $ECHO_C" >&6
50393 else
50394
50395
50396
50397 ac_ext=cc
50398 ac_cpp='$CXXCPP $CPPFLAGS'
50399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50402
50403 cat >conftest.$ac_ext <<_ACEOF
50404 /* confdefs.h. */
50405 _ACEOF
50406 cat confdefs.h >>conftest.$ac_ext
50407 cat >>conftest.$ac_ext <<_ACEOF
50408 /* end confdefs.h. */
50409 #include <math.h>
50410 int
50411 main ()
50412 {
50413 __builtin_cos(0);
50414 ;
50415 return 0;
50416 }
50417 _ACEOF
50418 rm -f conftest.$ac_objext
50419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50420 (eval $ac_compile) 2>conftest.er1
50421 ac_status=$?
50422 grep -v '^ *+' conftest.er1 >conftest.err
50423 rm -f conftest.er1
50424 cat conftest.err >&5
50425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50426 (exit $ac_status); } &&
50427 { ac_try='test -z "$ac_cxx_werror_flag"
50428 || test ! -s conftest.err'
50429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50430 (eval $ac_try) 2>&5
50431 ac_status=$?
50432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50433 (exit $ac_status); }; } &&
50434 { ac_try='test -s conftest.$ac_objext'
50435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50436 (eval $ac_try) 2>&5
50437 ac_status=$?
50438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50439 (exit $ac_status); }; }; then
50440 glibcxx_cv_func___builtin_cos_use=yes
50441 else
50442 echo "$as_me: failed program was:" >&5
50443 sed 's/^/| /' conftest.$ac_ext >&5
50444
50445 glibcxx_cv_func___builtin_cos_use=no
50446 fi
50447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50448 ac_ext=c
50449 ac_cpp='$CPP $CPPFLAGS'
50450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50453
50454
50455 fi
50456
50457 fi
50458 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50459 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50460 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50461 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50462 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50463 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50464 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50465 echo $ECHO_N "(cached) $ECHO_C" >&6
50466 else
50467
50468 if test x$gcc_no_link = xyes; then
50469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50471 { (exit 1); exit 1; }; }
50472 fi
50473 cat >conftest.$ac_ext <<_ACEOF
50474 /* confdefs.h. */
50475 _ACEOF
50476 cat confdefs.h >>conftest.$ac_ext
50477 cat >>conftest.$ac_ext <<_ACEOF
50478 /* end confdefs.h. */
50479 #include <math.h>
50480 int
50481 main ()
50482 {
50483 __builtin_cos(0);
50484 ;
50485 return 0;
50486 }
50487 _ACEOF
50488 rm -f conftest.$ac_objext conftest$ac_exeext
50489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50490 (eval $ac_link) 2>conftest.er1
50491 ac_status=$?
50492 grep -v '^ *+' conftest.er1 >conftest.err
50493 rm -f conftest.er1
50494 cat conftest.err >&5
50495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50496 (exit $ac_status); } &&
50497 { ac_try='test -z "$ac_c_werror_flag"
50498 || test ! -s conftest.err'
50499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50500 (eval $ac_try) 2>&5
50501 ac_status=$?
50502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50503 (exit $ac_status); }; } &&
50504 { ac_try='test -s conftest$ac_exeext'
50505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50506 (eval $ac_try) 2>&5
50507 ac_status=$?
50508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50509 (exit $ac_status); }; }; then
50510 glibcxx_cv_func___builtin_cos_link=yes
50511 else
50512 echo "$as_me: failed program was:" >&5
50513 sed 's/^/| /' conftest.$ac_ext >&5
50514
50515 glibcxx_cv_func___builtin_cos_link=no
50516 fi
50517 rm -f conftest.err conftest.$ac_objext \
50518 conftest$ac_exeext conftest.$ac_ext
50519
50520 fi
50521
50522 fi
50523 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50524 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50525
50526 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50527
50528 cat >>confdefs.h <<\_ACEOF
50529 #define HAVE___BUILTIN_COS 1
50530 _ACEOF
50531
50532 fi
50533
50534 fi
50535
50536
50537 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50538 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50539 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50540 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50541 echo $ECHO_N "(cached) $ECHO_C" >&6
50542 else
50543
50544
50545
50546 ac_ext=cc
50547 ac_cpp='$CXXCPP $CPPFLAGS'
50548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50551
50552 cat >conftest.$ac_ext <<_ACEOF
50553 /* confdefs.h. */
50554 _ACEOF
50555 cat confdefs.h >>conftest.$ac_ext
50556 cat >>conftest.$ac_ext <<_ACEOF
50557 /* end confdefs.h. */
50558 #include <math.h>
50559 int
50560 main ()
50561 {
50562 __builtin_cosl(0);
50563 ;
50564 return 0;
50565 }
50566 _ACEOF
50567 rm -f conftest.$ac_objext
50568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50569 (eval $ac_compile) 2>conftest.er1
50570 ac_status=$?
50571 grep -v '^ *+' conftest.er1 >conftest.err
50572 rm -f conftest.er1
50573 cat conftest.err >&5
50574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50575 (exit $ac_status); } &&
50576 { ac_try='test -z "$ac_cxx_werror_flag"
50577 || test ! -s conftest.err'
50578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50579 (eval $ac_try) 2>&5
50580 ac_status=$?
50581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582 (exit $ac_status); }; } &&
50583 { ac_try='test -s conftest.$ac_objext'
50584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50585 (eval $ac_try) 2>&5
50586 ac_status=$?
50587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50588 (exit $ac_status); }; }; then
50589 glibcxx_cv_func___builtin_cosl_use=yes
50590 else
50591 echo "$as_me: failed program was:" >&5
50592 sed 's/^/| /' conftest.$ac_ext >&5
50593
50594 glibcxx_cv_func___builtin_cosl_use=no
50595 fi
50596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602
50603
50604 fi
50605
50606 fi
50607 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50608 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50609 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50610 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50611 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50612 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50613 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50614 echo $ECHO_N "(cached) $ECHO_C" >&6
50615 else
50616
50617 if test x$gcc_no_link = xyes; then
50618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50620 { (exit 1); exit 1; }; }
50621 fi
50622 cat >conftest.$ac_ext <<_ACEOF
50623 /* confdefs.h. */
50624 _ACEOF
50625 cat confdefs.h >>conftest.$ac_ext
50626 cat >>conftest.$ac_ext <<_ACEOF
50627 /* end confdefs.h. */
50628 #include <math.h>
50629 int
50630 main ()
50631 {
50632 __builtin_cosl(0);
50633 ;
50634 return 0;
50635 }
50636 _ACEOF
50637 rm -f conftest.$ac_objext conftest$ac_exeext
50638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50639 (eval $ac_link) 2>conftest.er1
50640 ac_status=$?
50641 grep -v '^ *+' conftest.er1 >conftest.err
50642 rm -f conftest.er1
50643 cat conftest.err >&5
50644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50645 (exit $ac_status); } &&
50646 { ac_try='test -z "$ac_c_werror_flag"
50647 || test ! -s conftest.err'
50648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50649 (eval $ac_try) 2>&5
50650 ac_status=$?
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); }; } &&
50653 { ac_try='test -s conftest$ac_exeext'
50654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50655 (eval $ac_try) 2>&5
50656 ac_status=$?
50657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50658 (exit $ac_status); }; }; then
50659 glibcxx_cv_func___builtin_cosl_link=yes
50660 else
50661 echo "$as_me: failed program was:" >&5
50662 sed 's/^/| /' conftest.$ac_ext >&5
50663
50664 glibcxx_cv_func___builtin_cosl_link=no
50665 fi
50666 rm -f conftest.err conftest.$ac_objext \
50667 conftest$ac_exeext conftest.$ac_ext
50668
50669 fi
50670
50671 fi
50672 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50673 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50674
50675 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50676
50677 cat >>confdefs.h <<\_ACEOF
50678 #define HAVE___BUILTIN_COSL 1
50679 _ACEOF
50680
50681 fi
50682
50683 fi
50684
50685
50686
50687
50688 echo "$as_me:$LINENO: checking for main in -lm" >&5
50689 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50690 if test "${ac_cv_lib_m_main+set}" = set; then
50691 echo $ECHO_N "(cached) $ECHO_C" >&6
50692 else
50693 ac_check_lib_save_LIBS=$LIBS
50694 LIBS="-lm $LIBS"
50695 if test x$gcc_no_link = xyes; then
50696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50698 { (exit 1); exit 1; }; }
50699 fi
50700 cat >conftest.$ac_ext <<_ACEOF
50701 /* confdefs.h. */
50702 _ACEOF
50703 cat confdefs.h >>conftest.$ac_ext
50704 cat >>conftest.$ac_ext <<_ACEOF
50705 /* end confdefs.h. */
50706
50707
50708 int
50709 main ()
50710 {
50711 main ();
50712 ;
50713 return 0;
50714 }
50715 _ACEOF
50716 rm -f conftest.$ac_objext conftest$ac_exeext
50717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50718 (eval $ac_link) 2>conftest.er1
50719 ac_status=$?
50720 grep -v '^ *+' conftest.er1 >conftest.err
50721 rm -f conftest.er1
50722 cat conftest.err >&5
50723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50724 (exit $ac_status); } &&
50725 { ac_try='test -z "$ac_c_werror_flag"
50726 || test ! -s conftest.err'
50727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50728 (eval $ac_try) 2>&5
50729 ac_status=$?
50730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731 (exit $ac_status); }; } &&
50732 { ac_try='test -s conftest$ac_exeext'
50733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50734 (eval $ac_try) 2>&5
50735 ac_status=$?
50736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50737 (exit $ac_status); }; }; then
50738 ac_cv_lib_m_main=yes
50739 else
50740 echo "$as_me: failed program was:" >&5
50741 sed 's/^/| /' conftest.$ac_ext >&5
50742
50743 ac_cv_lib_m_main=no
50744 fi
50745 rm -f conftest.err conftest.$ac_objext \
50746 conftest$ac_exeext conftest.$ac_ext
50747 LIBS=$ac_check_lib_save_LIBS
50748 fi
50749 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50750 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50751 if test $ac_cv_lib_m_main = yes; then
50752 cat >>confdefs.h <<_ACEOF
50753 #define HAVE_LIBM 1
50754 _ACEOF
50755
50756 LIBS="-lm $LIBS"
50757
50758 fi
50759
50760
50761 for ac_func in copysignf
50762 do
50763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50764 echo "$as_me:$LINENO: checking for $ac_func" >&5
50765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50766 if eval "test \"\${$as_ac_var+set}\" = set"; then
50767 echo $ECHO_N "(cached) $ECHO_C" >&6
50768 else
50769 if test x$gcc_no_link = xyes; then
50770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50772 { (exit 1); exit 1; }; }
50773 fi
50774 cat >conftest.$ac_ext <<_ACEOF
50775 /* confdefs.h. */
50776 _ACEOF
50777 cat confdefs.h >>conftest.$ac_ext
50778 cat >>conftest.$ac_ext <<_ACEOF
50779 /* end confdefs.h. */
50780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50782 #define $ac_func innocuous_$ac_func
50783
50784 /* System header to define __stub macros and hopefully few prototypes,
50785 which can conflict with char $ac_func (); below.
50786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50787 <limits.h> exists even on freestanding compilers. */
50788
50789 #ifdef __STDC__
50790 # include <limits.h>
50791 #else
50792 # include <assert.h>
50793 #endif
50794
50795 #undef $ac_func
50796
50797 /* Override any gcc2 internal prototype to avoid an error. */
50798 #ifdef __cplusplus
50799 extern "C"
50800 {
50801 #endif
50802 /* We use char because int might match the return type of a gcc2
50803 builtin and then its argument prototype would still apply. */
50804 char $ac_func ();
50805 /* The GNU C library defines this for functions which it implements
50806 to always fail with ENOSYS. Some functions are actually named
50807 something starting with __ and the normal name is an alias. */
50808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50809 choke me
50810 #else
50811 char (*f) () = $ac_func;
50812 #endif
50813 #ifdef __cplusplus
50814 }
50815 #endif
50816
50817 int
50818 main ()
50819 {
50820 return f != $ac_func;
50821 ;
50822 return 0;
50823 }
50824 _ACEOF
50825 rm -f conftest.$ac_objext conftest$ac_exeext
50826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50827 (eval $ac_link) 2>conftest.er1
50828 ac_status=$?
50829 grep -v '^ *+' conftest.er1 >conftest.err
50830 rm -f conftest.er1
50831 cat conftest.err >&5
50832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50833 (exit $ac_status); } &&
50834 { ac_try='test -z "$ac_c_werror_flag"
50835 || test ! -s conftest.err'
50836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50837 (eval $ac_try) 2>&5
50838 ac_status=$?
50839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50840 (exit $ac_status); }; } &&
50841 { ac_try='test -s conftest$ac_exeext'
50842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50843 (eval $ac_try) 2>&5
50844 ac_status=$?
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); }; }; then
50847 eval "$as_ac_var=yes"
50848 else
50849 echo "$as_me: failed program was:" >&5
50850 sed 's/^/| /' conftest.$ac_ext >&5
50851
50852 eval "$as_ac_var=no"
50853 fi
50854 rm -f conftest.err conftest.$ac_objext \
50855 conftest$ac_exeext conftest.$ac_ext
50856 fi
50857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50859 if test `eval echo '${'$as_ac_var'}'` = yes; then
50860 cat >>confdefs.h <<_ACEOF
50861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50862 _ACEOF
50863
50864 else
50865 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50866 fi
50867 done
50868
50869
50870
50871 for ac_func in __signbit
50872 do
50873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50874 echo "$as_me:$LINENO: checking for $ac_func" >&5
50875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50876 if eval "test \"\${$as_ac_var+set}\" = set"; then
50877 echo $ECHO_N "(cached) $ECHO_C" >&6
50878 else
50879 if test x$gcc_no_link = xyes; then
50880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50882 { (exit 1); exit 1; }; }
50883 fi
50884 cat >conftest.$ac_ext <<_ACEOF
50885 /* confdefs.h. */
50886 _ACEOF
50887 cat confdefs.h >>conftest.$ac_ext
50888 cat >>conftest.$ac_ext <<_ACEOF
50889 /* end confdefs.h. */
50890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50892 #define $ac_func innocuous_$ac_func
50893
50894 /* System header to define __stub macros and hopefully few prototypes,
50895 which can conflict with char $ac_func (); below.
50896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50897 <limits.h> exists even on freestanding compilers. */
50898
50899 #ifdef __STDC__
50900 # include <limits.h>
50901 #else
50902 # include <assert.h>
50903 #endif
50904
50905 #undef $ac_func
50906
50907 /* Override any gcc2 internal prototype to avoid an error. */
50908 #ifdef __cplusplus
50909 extern "C"
50910 {
50911 #endif
50912 /* We use char because int might match the return type of a gcc2
50913 builtin and then its argument prototype would still apply. */
50914 char $ac_func ();
50915 /* The GNU C library defines this for functions which it implements
50916 to always fail with ENOSYS. Some functions are actually named
50917 something starting with __ and the normal name is an alias. */
50918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50919 choke me
50920 #else
50921 char (*f) () = $ac_func;
50922 #endif
50923 #ifdef __cplusplus
50924 }
50925 #endif
50926
50927 int
50928 main ()
50929 {
50930 return f != $ac_func;
50931 ;
50932 return 0;
50933 }
50934 _ACEOF
50935 rm -f conftest.$ac_objext conftest$ac_exeext
50936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50937 (eval $ac_link) 2>conftest.er1
50938 ac_status=$?
50939 grep -v '^ *+' conftest.er1 >conftest.err
50940 rm -f conftest.er1
50941 cat conftest.err >&5
50942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50943 (exit $ac_status); } &&
50944 { ac_try='test -z "$ac_c_werror_flag"
50945 || test ! -s conftest.err'
50946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947 (eval $ac_try) 2>&5
50948 ac_status=$?
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); }; } &&
50951 { ac_try='test -s conftest$ac_exeext'
50952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50953 (eval $ac_try) 2>&5
50954 ac_status=$?
50955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50956 (exit $ac_status); }; }; then
50957 eval "$as_ac_var=yes"
50958 else
50959 echo "$as_me: failed program was:" >&5
50960 sed 's/^/| /' conftest.$ac_ext >&5
50961
50962 eval "$as_ac_var=no"
50963 fi
50964 rm -f conftest.err conftest.$ac_objext \
50965 conftest$ac_exeext conftest.$ac_ext
50966 fi
50967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50969 if test `eval echo '${'$as_ac_var'}'` = yes; then
50970 cat >>confdefs.h <<_ACEOF
50971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50972 _ACEOF
50973
50974 else
50975 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50976 fi
50977 done
50978
50979
50980
50981 for ac_func in __signbitf
50982 do
50983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50984 echo "$as_me:$LINENO: checking for $ac_func" >&5
50985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50986 if eval "test \"\${$as_ac_var+set}\" = set"; then
50987 echo $ECHO_N "(cached) $ECHO_C" >&6
50988 else
50989 if test x$gcc_no_link = xyes; then
50990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50992 { (exit 1); exit 1; }; }
50993 fi
50994 cat >conftest.$ac_ext <<_ACEOF
50995 /* confdefs.h. */
50996 _ACEOF
50997 cat confdefs.h >>conftest.$ac_ext
50998 cat >>conftest.$ac_ext <<_ACEOF
50999 /* end confdefs.h. */
51000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51002 #define $ac_func innocuous_$ac_func
51003
51004 /* System header to define __stub macros and hopefully few prototypes,
51005 which can conflict with char $ac_func (); below.
51006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51007 <limits.h> exists even on freestanding compilers. */
51008
51009 #ifdef __STDC__
51010 # include <limits.h>
51011 #else
51012 # include <assert.h>
51013 #endif
51014
51015 #undef $ac_func
51016
51017 /* Override any gcc2 internal prototype to avoid an error. */
51018 #ifdef __cplusplus
51019 extern "C"
51020 {
51021 #endif
51022 /* We use char because int might match the return type of a gcc2
51023 builtin and then its argument prototype would still apply. */
51024 char $ac_func ();
51025 /* The GNU C library defines this for functions which it implements
51026 to always fail with ENOSYS. Some functions are actually named
51027 something starting with __ and the normal name is an alias. */
51028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51029 choke me
51030 #else
51031 char (*f) () = $ac_func;
51032 #endif
51033 #ifdef __cplusplus
51034 }
51035 #endif
51036
51037 int
51038 main ()
51039 {
51040 return f != $ac_func;
51041 ;
51042 return 0;
51043 }
51044 _ACEOF
51045 rm -f conftest.$ac_objext conftest$ac_exeext
51046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51047 (eval $ac_link) 2>conftest.er1
51048 ac_status=$?
51049 grep -v '^ *+' conftest.er1 >conftest.err
51050 rm -f conftest.er1
51051 cat conftest.err >&5
51052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51053 (exit $ac_status); } &&
51054 { ac_try='test -z "$ac_c_werror_flag"
51055 || test ! -s conftest.err'
51056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51057 (eval $ac_try) 2>&5
51058 ac_status=$?
51059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51060 (exit $ac_status); }; } &&
51061 { ac_try='test -s conftest$ac_exeext'
51062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51063 (eval $ac_try) 2>&5
51064 ac_status=$?
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); }; }; then
51067 eval "$as_ac_var=yes"
51068 else
51069 echo "$as_me: failed program was:" >&5
51070 sed 's/^/| /' conftest.$ac_ext >&5
51071
51072 eval "$as_ac_var=no"
51073 fi
51074 rm -f conftest.err conftest.$ac_objext \
51075 conftest$ac_exeext conftest.$ac_ext
51076 fi
51077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51079 if test `eval echo '${'$as_ac_var'}'` = yes; then
51080 cat >>confdefs.h <<_ACEOF
51081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51082 _ACEOF
51083
51084 else
51085 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51086 fi
51087 done
51088
51089
51090 if test x$ac_cv_func_copysignl = x"yes"; then
51091
51092 for ac_func in __signbitl
51093 do
51094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51095 echo "$as_me:$LINENO: checking for $ac_func" >&5
51096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51097 if eval "test \"\${$as_ac_var+set}\" = set"; then
51098 echo $ECHO_N "(cached) $ECHO_C" >&6
51099 else
51100 if test x$gcc_no_link = xyes; then
51101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51103 { (exit 1); exit 1; }; }
51104 fi
51105 cat >conftest.$ac_ext <<_ACEOF
51106 /* confdefs.h. */
51107 _ACEOF
51108 cat confdefs.h >>conftest.$ac_ext
51109 cat >>conftest.$ac_ext <<_ACEOF
51110 /* end confdefs.h. */
51111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51113 #define $ac_func innocuous_$ac_func
51114
51115 /* System header to define __stub macros and hopefully few prototypes,
51116 which can conflict with char $ac_func (); below.
51117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51118 <limits.h> exists even on freestanding compilers. */
51119
51120 #ifdef __STDC__
51121 # include <limits.h>
51122 #else
51123 # include <assert.h>
51124 #endif
51125
51126 #undef $ac_func
51127
51128 /* Override any gcc2 internal prototype to avoid an error. */
51129 #ifdef __cplusplus
51130 extern "C"
51131 {
51132 #endif
51133 /* We use char because int might match the return type of a gcc2
51134 builtin and then its argument prototype would still apply. */
51135 char $ac_func ();
51136 /* The GNU C library defines this for functions which it implements
51137 to always fail with ENOSYS. Some functions are actually named
51138 something starting with __ and the normal name is an alias. */
51139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51140 choke me
51141 #else
51142 char (*f) () = $ac_func;
51143 #endif
51144 #ifdef __cplusplus
51145 }
51146 #endif
51147
51148 int
51149 main ()
51150 {
51151 return f != $ac_func;
51152 ;
51153 return 0;
51154 }
51155 _ACEOF
51156 rm -f conftest.$ac_objext conftest$ac_exeext
51157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51158 (eval $ac_link) 2>conftest.er1
51159 ac_status=$?
51160 grep -v '^ *+' conftest.er1 >conftest.err
51161 rm -f conftest.er1
51162 cat conftest.err >&5
51163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51164 (exit $ac_status); } &&
51165 { ac_try='test -z "$ac_c_werror_flag"
51166 || test ! -s conftest.err'
51167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51168 (eval $ac_try) 2>&5
51169 ac_status=$?
51170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51171 (exit $ac_status); }; } &&
51172 { ac_try='test -s conftest$ac_exeext'
51173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51174 (eval $ac_try) 2>&5
51175 ac_status=$?
51176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51177 (exit $ac_status); }; }; then
51178 eval "$as_ac_var=yes"
51179 else
51180 echo "$as_me: failed program was:" >&5
51181 sed 's/^/| /' conftest.$ac_ext >&5
51182
51183 eval "$as_ac_var=no"
51184 fi
51185 rm -f conftest.err conftest.$ac_objext \
51186 conftest$ac_exeext conftest.$ac_ext
51187 fi
51188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51190 if test `eval echo '${'$as_ac_var'}'` = yes; then
51191 cat >>confdefs.h <<_ACEOF
51192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51193 _ACEOF
51194
51195 else
51196 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51197 fi
51198 done
51199
51200 fi
51201
51202 # Used in libmath/Makefile.am.
51203 if test -n "$LIBMATHOBJS"; then
51204 need_libmath=yes
51205 fi
51206
51207
51208
51209
51210 enable_iconv=no
51211 # Only continue checking if the ISO C99 headers exist and support is on.
51212 if test x"$enable_wchar_t" = xyes; then
51213
51214 # Use iconv for wchar_t to char conversions. As such, check for
51215 # X/Open Portability Guide, version 2 features (XPG2).
51216 if test "${ac_cv_header_iconv_h+set}" = set; then
51217 echo "$as_me:$LINENO: checking for iconv.h" >&5
51218 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51219 if test "${ac_cv_header_iconv_h+set}" = set; then
51220 echo $ECHO_N "(cached) $ECHO_C" >&6
51221 fi
51222 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51223 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51224 else
51225 # Is the header compilable?
51226 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51227 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51228 cat >conftest.$ac_ext <<_ACEOF
51229 /* confdefs.h. */
51230 _ACEOF
51231 cat confdefs.h >>conftest.$ac_ext
51232 cat >>conftest.$ac_ext <<_ACEOF
51233 /* end confdefs.h. */
51234 $ac_includes_default
51235 #include <iconv.h>
51236 _ACEOF
51237 rm -f conftest.$ac_objext
51238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51239 (eval $ac_compile) 2>conftest.er1
51240 ac_status=$?
51241 grep -v '^ *+' conftest.er1 >conftest.err
51242 rm -f conftest.er1
51243 cat conftest.err >&5
51244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51245 (exit $ac_status); } &&
51246 { ac_try='test -z "$ac_c_werror_flag"
51247 || test ! -s conftest.err'
51248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51249 (eval $ac_try) 2>&5
51250 ac_status=$?
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); }; } &&
51253 { ac_try='test -s conftest.$ac_objext'
51254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51255 (eval $ac_try) 2>&5
51256 ac_status=$?
51257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51258 (exit $ac_status); }; }; then
51259 ac_header_compiler=yes
51260 else
51261 echo "$as_me: failed program was:" >&5
51262 sed 's/^/| /' conftest.$ac_ext >&5
51263
51264 ac_header_compiler=no
51265 fi
51266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51267 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51268 echo "${ECHO_T}$ac_header_compiler" >&6
51269
51270 # Is the header present?
51271 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51272 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51273 cat >conftest.$ac_ext <<_ACEOF
51274 /* confdefs.h. */
51275 _ACEOF
51276 cat confdefs.h >>conftest.$ac_ext
51277 cat >>conftest.$ac_ext <<_ACEOF
51278 /* end confdefs.h. */
51279 #include <iconv.h>
51280 _ACEOF
51281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51282 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51283 ac_status=$?
51284 grep -v '^ *+' conftest.er1 >conftest.err
51285 rm -f conftest.er1
51286 cat conftest.err >&5
51287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51288 (exit $ac_status); } >/dev/null; then
51289 if test -s conftest.err; then
51290 ac_cpp_err=$ac_c_preproc_warn_flag
51291 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51292 else
51293 ac_cpp_err=
51294 fi
51295 else
51296 ac_cpp_err=yes
51297 fi
51298 if test -z "$ac_cpp_err"; then
51299 ac_header_preproc=yes
51300 else
51301 echo "$as_me: failed program was:" >&5
51302 sed 's/^/| /' conftest.$ac_ext >&5
51303
51304 ac_header_preproc=no
51305 fi
51306 rm -f conftest.err conftest.$ac_ext
51307 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51308 echo "${ECHO_T}$ac_header_preproc" >&6
51309
51310 # So? What about this header?
51311 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51312 yes:no: )
51313 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51314 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51315 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51316 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51317 ac_header_preproc=yes
51318 ;;
51319 no:yes:* )
51320 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51321 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51322 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51323 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51324 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51325 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51326 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51327 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51328 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51329 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51330 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51331 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51332 (
51333 cat <<\_ASBOX
51334 ## ----------------------------------------- ##
51335 ## Report this to the package-unused lists. ##
51336 ## ----------------------------------------- ##
51337 _ASBOX
51338 ) |
51339 sed "s/^/$as_me: WARNING: /" >&2
51340 ;;
51341 esac
51342 echo "$as_me:$LINENO: checking for iconv.h" >&5
51343 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51344 if test "${ac_cv_header_iconv_h+set}" = set; then
51345 echo $ECHO_N "(cached) $ECHO_C" >&6
51346 else
51347 ac_cv_header_iconv_h=$ac_header_preproc
51348 fi
51349 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51350 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51351
51352 fi
51353 if test $ac_cv_header_iconv_h = yes; then
51354 ac_has_iconv_h=yes
51355 else
51356 ac_has_iconv_h=no
51357 fi
51358
51359
51360 if test "${ac_cv_header_langinfo_h+set}" = set; then
51361 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51362 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51363 if test "${ac_cv_header_langinfo_h+set}" = set; then
51364 echo $ECHO_N "(cached) $ECHO_C" >&6
51365 fi
51366 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51367 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51368 else
51369 # Is the header compilable?
51370 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51371 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51372 cat >conftest.$ac_ext <<_ACEOF
51373 /* confdefs.h. */
51374 _ACEOF
51375 cat confdefs.h >>conftest.$ac_ext
51376 cat >>conftest.$ac_ext <<_ACEOF
51377 /* end confdefs.h. */
51378 $ac_includes_default
51379 #include <langinfo.h>
51380 _ACEOF
51381 rm -f conftest.$ac_objext
51382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51383 (eval $ac_compile) 2>conftest.er1
51384 ac_status=$?
51385 grep -v '^ *+' conftest.er1 >conftest.err
51386 rm -f conftest.er1
51387 cat conftest.err >&5
51388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51389 (exit $ac_status); } &&
51390 { ac_try='test -z "$ac_c_werror_flag"
51391 || test ! -s conftest.err'
51392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51393 (eval $ac_try) 2>&5
51394 ac_status=$?
51395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51396 (exit $ac_status); }; } &&
51397 { ac_try='test -s conftest.$ac_objext'
51398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51399 (eval $ac_try) 2>&5
51400 ac_status=$?
51401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51402 (exit $ac_status); }; }; then
51403 ac_header_compiler=yes
51404 else
51405 echo "$as_me: failed program was:" >&5
51406 sed 's/^/| /' conftest.$ac_ext >&5
51407
51408 ac_header_compiler=no
51409 fi
51410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51412 echo "${ECHO_T}$ac_header_compiler" >&6
51413
51414 # Is the header present?
51415 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51416 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51417 cat >conftest.$ac_ext <<_ACEOF
51418 /* confdefs.h. */
51419 _ACEOF
51420 cat confdefs.h >>conftest.$ac_ext
51421 cat >>conftest.$ac_ext <<_ACEOF
51422 /* end confdefs.h. */
51423 #include <langinfo.h>
51424 _ACEOF
51425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51427 ac_status=$?
51428 grep -v '^ *+' conftest.er1 >conftest.err
51429 rm -f conftest.er1
51430 cat conftest.err >&5
51431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51432 (exit $ac_status); } >/dev/null; then
51433 if test -s conftest.err; then
51434 ac_cpp_err=$ac_c_preproc_warn_flag
51435 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51436 else
51437 ac_cpp_err=
51438 fi
51439 else
51440 ac_cpp_err=yes
51441 fi
51442 if test -z "$ac_cpp_err"; then
51443 ac_header_preproc=yes
51444 else
51445 echo "$as_me: failed program was:" >&5
51446 sed 's/^/| /' conftest.$ac_ext >&5
51447
51448 ac_header_preproc=no
51449 fi
51450 rm -f conftest.err conftest.$ac_ext
51451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51452 echo "${ECHO_T}$ac_header_preproc" >&6
51453
51454 # So? What about this header?
51455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51456 yes:no: )
51457 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51458 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51459 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51460 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51461 ac_header_preproc=yes
51462 ;;
51463 no:yes:* )
51464 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51465 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51466 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51467 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51468 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51469 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51470 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51471 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51472 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51473 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51474 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51475 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51476 (
51477 cat <<\_ASBOX
51478 ## ----------------------------------------- ##
51479 ## Report this to the package-unused lists. ##
51480 ## ----------------------------------------- ##
51481 _ASBOX
51482 ) |
51483 sed "s/^/$as_me: WARNING: /" >&2
51484 ;;
51485 esac
51486 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51487 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51488 if test "${ac_cv_header_langinfo_h+set}" = set; then
51489 echo $ECHO_N "(cached) $ECHO_C" >&6
51490 else
51491 ac_cv_header_langinfo_h=$ac_header_preproc
51492 fi
51493 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51494 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51495
51496 fi
51497 if test $ac_cv_header_langinfo_h = yes; then
51498 ac_has_langinfo_h=yes
51499 else
51500 ac_has_langinfo_h=no
51501 fi
51502
51503
51504
51505 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51506 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51507 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51508 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51509 echo $ECHO_N "(cached) $ECHO_C" >&6
51510 else
51511 ac_check_lib_save_LIBS=$LIBS
51512 LIBS="-liconv $LIBS"
51513 if test x$gcc_no_link = xyes; then
51514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51516 { (exit 1); exit 1; }; }
51517 fi
51518 cat >conftest.$ac_ext <<_ACEOF
51519 /* confdefs.h. */
51520 _ACEOF
51521 cat confdefs.h >>conftest.$ac_ext
51522 cat >>conftest.$ac_ext <<_ACEOF
51523 /* end confdefs.h. */
51524
51525 /* Override any gcc2 internal prototype to avoid an error. */
51526 #ifdef __cplusplus
51527 extern "C"
51528 #endif
51529 /* We use char because int might match the return type of a gcc2
51530 builtin and then its argument prototype would still apply. */
51531 char iconv ();
51532 int
51533 main ()
51534 {
51535 iconv ();
51536 ;
51537 return 0;
51538 }
51539 _ACEOF
51540 rm -f conftest.$ac_objext conftest$ac_exeext
51541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51542 (eval $ac_link) 2>conftest.er1
51543 ac_status=$?
51544 grep -v '^ *+' conftest.er1 >conftest.err
51545 rm -f conftest.er1
51546 cat conftest.err >&5
51547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51548 (exit $ac_status); } &&
51549 { ac_try='test -z "$ac_c_werror_flag"
51550 || test ! -s conftest.err'
51551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552 (eval $ac_try) 2>&5
51553 ac_status=$?
51554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555 (exit $ac_status); }; } &&
51556 { ac_try='test -s conftest$ac_exeext'
51557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51558 (eval $ac_try) 2>&5
51559 ac_status=$?
51560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51561 (exit $ac_status); }; }; then
51562 ac_cv_lib_iconv_iconv=yes
51563 else
51564 echo "$as_me: failed program was:" >&5
51565 sed 's/^/| /' conftest.$ac_ext >&5
51566
51567 ac_cv_lib_iconv_iconv=no
51568 fi
51569 rm -f conftest.err conftest.$ac_objext \
51570 conftest$ac_exeext conftest.$ac_ext
51571 LIBS=$ac_check_lib_save_LIBS
51572 fi
51573 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51574 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51575 if test $ac_cv_lib_iconv_iconv = yes; then
51576 LIBICONV="-liconv"
51577 fi
51578
51579 ac_save_LIBS="$LIBS"
51580 LIBS="$LIBS $LIBICONV"
51581
51582
51583
51584
51585
51586
51587 for ac_func in iconv_open iconv_close iconv nl_langinfo
51588 do
51589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51590 echo "$as_me:$LINENO: checking for $ac_func" >&5
51591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51592 if eval "test \"\${$as_ac_var+set}\" = set"; then
51593 echo $ECHO_N "(cached) $ECHO_C" >&6
51594 else
51595 if test x$gcc_no_link = xyes; then
51596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51598 { (exit 1); exit 1; }; }
51599 fi
51600 cat >conftest.$ac_ext <<_ACEOF
51601 /* confdefs.h. */
51602 _ACEOF
51603 cat confdefs.h >>conftest.$ac_ext
51604 cat >>conftest.$ac_ext <<_ACEOF
51605 /* end confdefs.h. */
51606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51608 #define $ac_func innocuous_$ac_func
51609
51610 /* System header to define __stub macros and hopefully few prototypes,
51611 which can conflict with char $ac_func (); below.
51612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51613 <limits.h> exists even on freestanding compilers. */
51614
51615 #ifdef __STDC__
51616 # include <limits.h>
51617 #else
51618 # include <assert.h>
51619 #endif
51620
51621 #undef $ac_func
51622
51623 /* Override any gcc2 internal prototype to avoid an error. */
51624 #ifdef __cplusplus
51625 extern "C"
51626 {
51627 #endif
51628 /* We use char because int might match the return type of a gcc2
51629 builtin and then its argument prototype would still apply. */
51630 char $ac_func ();
51631 /* The GNU C library defines this for functions which it implements
51632 to always fail with ENOSYS. Some functions are actually named
51633 something starting with __ and the normal name is an alias. */
51634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51635 choke me
51636 #else
51637 char (*f) () = $ac_func;
51638 #endif
51639 #ifdef __cplusplus
51640 }
51641 #endif
51642
51643 int
51644 main ()
51645 {
51646 return f != $ac_func;
51647 ;
51648 return 0;
51649 }
51650 _ACEOF
51651 rm -f conftest.$ac_objext conftest$ac_exeext
51652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51653 (eval $ac_link) 2>conftest.er1
51654 ac_status=$?
51655 grep -v '^ *+' conftest.er1 >conftest.err
51656 rm -f conftest.er1
51657 cat conftest.err >&5
51658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51659 (exit $ac_status); } &&
51660 { ac_try='test -z "$ac_c_werror_flag"
51661 || test ! -s conftest.err'
51662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51663 (eval $ac_try) 2>&5
51664 ac_status=$?
51665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51666 (exit $ac_status); }; } &&
51667 { ac_try='test -s conftest$ac_exeext'
51668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51669 (eval $ac_try) 2>&5
51670 ac_status=$?
51671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51672 (exit $ac_status); }; }; then
51673 eval "$as_ac_var=yes"
51674 else
51675 echo "$as_me: failed program was:" >&5
51676 sed 's/^/| /' conftest.$ac_ext >&5
51677
51678 eval "$as_ac_var=no"
51679 fi
51680 rm -f conftest.err conftest.$ac_objext \
51681 conftest$ac_exeext conftest.$ac_ext
51682 fi
51683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51685 if test `eval echo '${'$as_ac_var'}'` = yes; then
51686 cat >>confdefs.h <<_ACEOF
51687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51688 _ACEOF
51689 ac_XPG2funcs=yes
51690 else
51691 ac_XPG2funcs=no
51692 fi
51693 done
51694
51695
51696 LIBS="$ac_save_LIBS"
51697
51698 if test x"$ac_has_iconv_h" = xyes &&
51699 test x"$ac_has_langinfo_h" = xyes &&
51700 test x"$ac_XPG2funcs" = xyes;
51701 then
51702
51703 cat >>confdefs.h <<\_ACEOF
51704 #define _GLIBCXX_USE_ICONV 1
51705 _ACEOF
51706
51707 enable_iconv=yes
51708 fi
51709 fi
51710 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
51711 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
51712 echo "$as_me:$LINENO: result: $enable_iconv" >&5
51713 echo "${ECHO_T}$enable_iconv" >&6
51714
51715
51716 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51717 ac_save_CXXFLAGS="$CXXFLAGS"
51718 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51719
51720
51721 echo "$as_me:$LINENO: checking for strtold declaration" >&5
51722 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
51723 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51724 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
51725 echo $ECHO_N "(cached) $ECHO_C" >&6
51726 else
51727
51728
51729
51730 ac_ext=cc
51731 ac_cpp='$CXXCPP $CPPFLAGS'
51732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51735
51736 cat >conftest.$ac_ext <<_ACEOF
51737 /* confdefs.h. */
51738 _ACEOF
51739 cat confdefs.h >>conftest.$ac_ext
51740 cat >>conftest.$ac_ext <<_ACEOF
51741 /* end confdefs.h. */
51742 #include <stdlib.h>
51743 int
51744 main ()
51745 {
51746 strtold(0, 0);
51747 ;
51748 return 0;
51749 }
51750 _ACEOF
51751 rm -f conftest.$ac_objext
51752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51753 (eval $ac_compile) 2>conftest.er1
51754 ac_status=$?
51755 grep -v '^ *+' conftest.er1 >conftest.err
51756 rm -f conftest.er1
51757 cat conftest.err >&5
51758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51759 (exit $ac_status); } &&
51760 { ac_try='test -z "$ac_cxx_werror_flag"
51761 || test ! -s conftest.err'
51762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51763 (eval $ac_try) 2>&5
51764 ac_status=$?
51765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51766 (exit $ac_status); }; } &&
51767 { ac_try='test -s conftest.$ac_objext'
51768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51769 (eval $ac_try) 2>&5
51770 ac_status=$?
51771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772 (exit $ac_status); }; }; then
51773 glibcxx_cv_func_strtold_use=yes
51774 else
51775 echo "$as_me: failed program was:" >&5
51776 sed 's/^/| /' conftest.$ac_ext >&5
51777
51778 glibcxx_cv_func_strtold_use=no
51779 fi
51780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51781 ac_ext=c
51782 ac_cpp='$CPP $CPPFLAGS'
51783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51786
51787
51788 fi
51789
51790 fi
51791 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
51792 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
51793 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51794
51795 for ac_func in strtold
51796 do
51797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51798 echo "$as_me:$LINENO: checking for $ac_func" >&5
51799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51800 if eval "test \"\${$as_ac_var+set}\" = set"; then
51801 echo $ECHO_N "(cached) $ECHO_C" >&6
51802 else
51803 if test x$gcc_no_link = xyes; then
51804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51806 { (exit 1); exit 1; }; }
51807 fi
51808 cat >conftest.$ac_ext <<_ACEOF
51809 /* confdefs.h. */
51810 _ACEOF
51811 cat confdefs.h >>conftest.$ac_ext
51812 cat >>conftest.$ac_ext <<_ACEOF
51813 /* end confdefs.h. */
51814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51816 #define $ac_func innocuous_$ac_func
51817
51818 /* System header to define __stub macros and hopefully few prototypes,
51819 which can conflict with char $ac_func (); below.
51820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51821 <limits.h> exists even on freestanding compilers. */
51822
51823 #ifdef __STDC__
51824 # include <limits.h>
51825 #else
51826 # include <assert.h>
51827 #endif
51828
51829 #undef $ac_func
51830
51831 /* Override any gcc2 internal prototype to avoid an error. */
51832 #ifdef __cplusplus
51833 extern "C"
51834 {
51835 #endif
51836 /* We use char because int might match the return type of a gcc2
51837 builtin and then its argument prototype would still apply. */
51838 char $ac_func ();
51839 /* The GNU C library defines this for functions which it implements
51840 to always fail with ENOSYS. Some functions are actually named
51841 something starting with __ and the normal name is an alias. */
51842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51843 choke me
51844 #else
51845 char (*f) () = $ac_func;
51846 #endif
51847 #ifdef __cplusplus
51848 }
51849 #endif
51850
51851 int
51852 main ()
51853 {
51854 return f != $ac_func;
51855 ;
51856 return 0;
51857 }
51858 _ACEOF
51859 rm -f conftest.$ac_objext conftest$ac_exeext
51860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51861 (eval $ac_link) 2>conftest.er1
51862 ac_status=$?
51863 grep -v '^ *+' conftest.er1 >conftest.err
51864 rm -f conftest.er1
51865 cat conftest.err >&5
51866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867 (exit $ac_status); } &&
51868 { ac_try='test -z "$ac_c_werror_flag"
51869 || test ! -s conftest.err'
51870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51871 (eval $ac_try) 2>&5
51872 ac_status=$?
51873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51874 (exit $ac_status); }; } &&
51875 { ac_try='test -s conftest$ac_exeext'
51876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51877 (eval $ac_try) 2>&5
51878 ac_status=$?
51879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51880 (exit $ac_status); }; }; then
51881 eval "$as_ac_var=yes"
51882 else
51883 echo "$as_me: failed program was:" >&5
51884 sed 's/^/| /' conftest.$ac_ext >&5
51885
51886 eval "$as_ac_var=no"
51887 fi
51888 rm -f conftest.err conftest.$ac_objext \
51889 conftest$ac_exeext conftest.$ac_ext
51890 fi
51891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51893 if test `eval echo '${'$as_ac_var'}'` = yes; then
51894 cat >>confdefs.h <<_ACEOF
51895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51896 _ACEOF
51897
51898 fi
51899 done
51900
51901 fi
51902
51903
51904
51905
51906
51907 echo "$as_me:$LINENO: checking for strtof declaration" >&5
51908 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
51909 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51910 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
51911 echo $ECHO_N "(cached) $ECHO_C" >&6
51912 else
51913
51914
51915
51916 ac_ext=cc
51917 ac_cpp='$CXXCPP $CPPFLAGS'
51918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51921
51922 cat >conftest.$ac_ext <<_ACEOF
51923 /* confdefs.h. */
51924 _ACEOF
51925 cat confdefs.h >>conftest.$ac_ext
51926 cat >>conftest.$ac_ext <<_ACEOF
51927 /* end confdefs.h. */
51928 #include <stdlib.h>
51929 int
51930 main ()
51931 {
51932 strtof(0, 0);
51933 ;
51934 return 0;
51935 }
51936 _ACEOF
51937 rm -f conftest.$ac_objext
51938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51939 (eval $ac_compile) 2>conftest.er1
51940 ac_status=$?
51941 grep -v '^ *+' conftest.er1 >conftest.err
51942 rm -f conftest.er1
51943 cat conftest.err >&5
51944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51945 (exit $ac_status); } &&
51946 { ac_try='test -z "$ac_cxx_werror_flag"
51947 || test ! -s conftest.err'
51948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51949 (eval $ac_try) 2>&5
51950 ac_status=$?
51951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51952 (exit $ac_status); }; } &&
51953 { ac_try='test -s conftest.$ac_objext'
51954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51955 (eval $ac_try) 2>&5
51956 ac_status=$?
51957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51958 (exit $ac_status); }; }; then
51959 glibcxx_cv_func_strtof_use=yes
51960 else
51961 echo "$as_me: failed program was:" >&5
51962 sed 's/^/| /' conftest.$ac_ext >&5
51963
51964 glibcxx_cv_func_strtof_use=no
51965 fi
51966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51967 ac_ext=c
51968 ac_cpp='$CPP $CPPFLAGS'
51969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51972
51973
51974 fi
51975
51976 fi
51977 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
51978 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
51979 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51980
51981 for ac_func in strtof
51982 do
51983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51984 echo "$as_me:$LINENO: checking for $ac_func" >&5
51985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51986 if eval "test \"\${$as_ac_var+set}\" = set"; then
51987 echo $ECHO_N "(cached) $ECHO_C" >&6
51988 else
51989 if test x$gcc_no_link = xyes; then
51990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51992 { (exit 1); exit 1; }; }
51993 fi
51994 cat >conftest.$ac_ext <<_ACEOF
51995 /* confdefs.h. */
51996 _ACEOF
51997 cat confdefs.h >>conftest.$ac_ext
51998 cat >>conftest.$ac_ext <<_ACEOF
51999 /* end confdefs.h. */
52000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52002 #define $ac_func innocuous_$ac_func
52003
52004 /* System header to define __stub macros and hopefully few prototypes,
52005 which can conflict with char $ac_func (); below.
52006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52007 <limits.h> exists even on freestanding compilers. */
52008
52009 #ifdef __STDC__
52010 # include <limits.h>
52011 #else
52012 # include <assert.h>
52013 #endif
52014
52015 #undef $ac_func
52016
52017 /* Override any gcc2 internal prototype to avoid an error. */
52018 #ifdef __cplusplus
52019 extern "C"
52020 {
52021 #endif
52022 /* We use char because int might match the return type of a gcc2
52023 builtin and then its argument prototype would still apply. */
52024 char $ac_func ();
52025 /* The GNU C library defines this for functions which it implements
52026 to always fail with ENOSYS. Some functions are actually named
52027 something starting with __ and the normal name is an alias. */
52028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52029 choke me
52030 #else
52031 char (*f) () = $ac_func;
52032 #endif
52033 #ifdef __cplusplus
52034 }
52035 #endif
52036
52037 int
52038 main ()
52039 {
52040 return f != $ac_func;
52041 ;
52042 return 0;
52043 }
52044 _ACEOF
52045 rm -f conftest.$ac_objext conftest$ac_exeext
52046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52047 (eval $ac_link) 2>conftest.er1
52048 ac_status=$?
52049 grep -v '^ *+' conftest.er1 >conftest.err
52050 rm -f conftest.er1
52051 cat conftest.err >&5
52052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52053 (exit $ac_status); } &&
52054 { ac_try='test -z "$ac_c_werror_flag"
52055 || test ! -s conftest.err'
52056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52057 (eval $ac_try) 2>&5
52058 ac_status=$?
52059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52060 (exit $ac_status); }; } &&
52061 { ac_try='test -s conftest$ac_exeext'
52062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52063 (eval $ac_try) 2>&5
52064 ac_status=$?
52065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52066 (exit $ac_status); }; }; then
52067 eval "$as_ac_var=yes"
52068 else
52069 echo "$as_me: failed program was:" >&5
52070 sed 's/^/| /' conftest.$ac_ext >&5
52071
52072 eval "$as_ac_var=no"
52073 fi
52074 rm -f conftest.err conftest.$ac_objext \
52075 conftest$ac_exeext conftest.$ac_ext
52076 fi
52077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52079 if test `eval echo '${'$as_ac_var'}'` = yes; then
52080 cat >>confdefs.h <<_ACEOF
52081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52082 _ACEOF
52083
52084 fi
52085 done
52086
52087 fi
52088
52089
52090
52091
52092
52093 CXXFLAGS="$ac_save_CXXFLAGS"
52094
52095
52096 # For showmanyc_helper().
52097
52098
52099 for ac_header in sys/ioctl.h sys/filio.h
52100 do
52101 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52103 echo "$as_me:$LINENO: checking for $ac_header" >&5
52104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52106 echo $ECHO_N "(cached) $ECHO_C" >&6
52107 fi
52108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52110 else
52111 # Is the header compilable?
52112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52114 cat >conftest.$ac_ext <<_ACEOF
52115 /* confdefs.h. */
52116 _ACEOF
52117 cat confdefs.h >>conftest.$ac_ext
52118 cat >>conftest.$ac_ext <<_ACEOF
52119 /* end confdefs.h. */
52120 $ac_includes_default
52121 #include <$ac_header>
52122 _ACEOF
52123 rm -f conftest.$ac_objext
52124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52125 (eval $ac_compile) 2>conftest.er1
52126 ac_status=$?
52127 grep -v '^ *+' conftest.er1 >conftest.err
52128 rm -f conftest.er1
52129 cat conftest.err >&5
52130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52131 (exit $ac_status); } &&
52132 { ac_try='test -z "$ac_c_werror_flag"
52133 || test ! -s conftest.err'
52134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52135 (eval $ac_try) 2>&5
52136 ac_status=$?
52137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52138 (exit $ac_status); }; } &&
52139 { ac_try='test -s conftest.$ac_objext'
52140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141 (eval $ac_try) 2>&5
52142 ac_status=$?
52143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144 (exit $ac_status); }; }; then
52145 ac_header_compiler=yes
52146 else
52147 echo "$as_me: failed program was:" >&5
52148 sed 's/^/| /' conftest.$ac_ext >&5
52149
52150 ac_header_compiler=no
52151 fi
52152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52153 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52154 echo "${ECHO_T}$ac_header_compiler" >&6
52155
52156 # Is the header present?
52157 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52158 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52159 cat >conftest.$ac_ext <<_ACEOF
52160 /* confdefs.h. */
52161 _ACEOF
52162 cat confdefs.h >>conftest.$ac_ext
52163 cat >>conftest.$ac_ext <<_ACEOF
52164 /* end confdefs.h. */
52165 #include <$ac_header>
52166 _ACEOF
52167 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52168 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52169 ac_status=$?
52170 grep -v '^ *+' conftest.er1 >conftest.err
52171 rm -f conftest.er1
52172 cat conftest.err >&5
52173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52174 (exit $ac_status); } >/dev/null; then
52175 if test -s conftest.err; then
52176 ac_cpp_err=$ac_c_preproc_warn_flag
52177 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52178 else
52179 ac_cpp_err=
52180 fi
52181 else
52182 ac_cpp_err=yes
52183 fi
52184 if test -z "$ac_cpp_err"; then
52185 ac_header_preproc=yes
52186 else
52187 echo "$as_me: failed program was:" >&5
52188 sed 's/^/| /' conftest.$ac_ext >&5
52189
52190 ac_header_preproc=no
52191 fi
52192 rm -f conftest.err conftest.$ac_ext
52193 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52194 echo "${ECHO_T}$ac_header_preproc" >&6
52195
52196 # So? What about this header?
52197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52198 yes:no: )
52199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52203 ac_header_preproc=yes
52204 ;;
52205 no:yes:* )
52206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52218 (
52219 cat <<\_ASBOX
52220 ## ----------------------------------------- ##
52221 ## Report this to the package-unused lists. ##
52222 ## ----------------------------------------- ##
52223 _ASBOX
52224 ) |
52225 sed "s/^/$as_me: WARNING: /" >&2
52226 ;;
52227 esac
52228 echo "$as_me:$LINENO: checking for $ac_header" >&5
52229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52231 echo $ECHO_N "(cached) $ECHO_C" >&6
52232 else
52233 eval "$as_ac_Header=\$ac_header_preproc"
52234 fi
52235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52237
52238 fi
52239 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52240 cat >>confdefs.h <<_ACEOF
52241 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52242 _ACEOF
52243
52244 fi
52245
52246 done
52247
52248
52249 echo "$as_me:$LINENO: checking for poll" >&5
52250 echo $ECHO_N "checking for poll... $ECHO_C" >&6
52251 if test "${glibcxx_cv_POLL+set}" = set; then
52252 echo $ECHO_N "(cached) $ECHO_C" >&6
52253 else
52254
52255 if test x$gcc_no_link = xyes; then
52256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52258 { (exit 1); exit 1; }; }
52259 fi
52260 cat >conftest.$ac_ext <<_ACEOF
52261 /* confdefs.h. */
52262 _ACEOF
52263 cat confdefs.h >>conftest.$ac_ext
52264 cat >>conftest.$ac_ext <<_ACEOF
52265 /* end confdefs.h. */
52266 #include <poll.h>
52267 int
52268 main ()
52269 {
52270 struct pollfd pfd[1];
52271 pfd[0].events = POLLIN;
52272 poll(pfd, 1, 0);
52273 ;
52274 return 0;
52275 }
52276 _ACEOF
52277 rm -f conftest.$ac_objext conftest$ac_exeext
52278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52279 (eval $ac_link) 2>conftest.er1
52280 ac_status=$?
52281 grep -v '^ *+' conftest.er1 >conftest.err
52282 rm -f conftest.er1
52283 cat conftest.err >&5
52284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52285 (exit $ac_status); } &&
52286 { ac_try='test -z "$ac_c_werror_flag"
52287 || test ! -s conftest.err'
52288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52289 (eval $ac_try) 2>&5
52290 ac_status=$?
52291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52292 (exit $ac_status); }; } &&
52293 { ac_try='test -s conftest$ac_exeext'
52294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52295 (eval $ac_try) 2>&5
52296 ac_status=$?
52297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52298 (exit $ac_status); }; }; then
52299 glibcxx_cv_POLL=yes
52300 else
52301 echo "$as_me: failed program was:" >&5
52302 sed 's/^/| /' conftest.$ac_ext >&5
52303
52304 glibcxx_cv_POLL=no
52305 fi
52306 rm -f conftest.err conftest.$ac_objext \
52307 conftest$ac_exeext conftest.$ac_ext
52308
52309 fi
52310
52311 if test $glibcxx_cv_POLL = yes; then
52312
52313 cat >>confdefs.h <<\_ACEOF
52314 #define HAVE_POLL 1
52315 _ACEOF
52316
52317 fi
52318 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
52319 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
52320
52321
52322 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
52323 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
52324 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52325 echo $ECHO_N "(cached) $ECHO_C" >&6
52326 else
52327
52328 if test x$gcc_no_link = xyes; then
52329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52331 { (exit 1); exit 1; }; }
52332 fi
52333 cat >conftest.$ac_ext <<_ACEOF
52334 /* confdefs.h. */
52335 _ACEOF
52336 cat confdefs.h >>conftest.$ac_ext
52337 cat >>conftest.$ac_ext <<_ACEOF
52338 /* end confdefs.h. */
52339 #include <sys/stat.h>
52340 int
52341 main ()
52342 {
52343 struct stat buffer;
52344 fstat(0, &buffer);
52345 S_ISREG(buffer.st_mode);
52346 ;
52347 return 0;
52348 }
52349 _ACEOF
52350 rm -f conftest.$ac_objext conftest$ac_exeext
52351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52352 (eval $ac_link) 2>conftest.er1
52353 ac_status=$?
52354 grep -v '^ *+' conftest.er1 >conftest.err
52355 rm -f conftest.er1
52356 cat conftest.err >&5
52357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52358 (exit $ac_status); } &&
52359 { ac_try='test -z "$ac_c_werror_flag"
52360 || test ! -s conftest.err'
52361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52362 (eval $ac_try) 2>&5
52363 ac_status=$?
52364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52365 (exit $ac_status); }; } &&
52366 { ac_try='test -s conftest$ac_exeext'
52367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52368 (eval $ac_try) 2>&5
52369 ac_status=$?
52370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52371 (exit $ac_status); }; }; then
52372 glibcxx_cv_S_ISREG=yes
52373 else
52374 echo "$as_me: failed program was:" >&5
52375 sed 's/^/| /' conftest.$ac_ext >&5
52376
52377 glibcxx_cv_S_ISREG=no
52378 fi
52379 rm -f conftest.err conftest.$ac_objext \
52380 conftest$ac_exeext conftest.$ac_ext
52381
52382 fi
52383
52384 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52385 echo $ECHO_N "(cached) $ECHO_C" >&6
52386 else
52387
52388 if test x$gcc_no_link = xyes; then
52389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52391 { (exit 1); exit 1; }; }
52392 fi
52393 cat >conftest.$ac_ext <<_ACEOF
52394 /* confdefs.h. */
52395 _ACEOF
52396 cat confdefs.h >>conftest.$ac_ext
52397 cat >>conftest.$ac_ext <<_ACEOF
52398 /* end confdefs.h. */
52399 #include <sys/stat.h>
52400 int
52401 main ()
52402 {
52403 struct stat buffer;
52404 fstat(0, &buffer);
52405 S_IFREG & buffer.st_mode;
52406 ;
52407 return 0;
52408 }
52409 _ACEOF
52410 rm -f conftest.$ac_objext conftest$ac_exeext
52411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52412 (eval $ac_link) 2>conftest.er1
52413 ac_status=$?
52414 grep -v '^ *+' conftest.er1 >conftest.err
52415 rm -f conftest.er1
52416 cat conftest.err >&5
52417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52418 (exit $ac_status); } &&
52419 { ac_try='test -z "$ac_c_werror_flag"
52420 || test ! -s conftest.err'
52421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52422 (eval $ac_try) 2>&5
52423 ac_status=$?
52424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52425 (exit $ac_status); }; } &&
52426 { ac_try='test -s conftest$ac_exeext'
52427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52428 (eval $ac_try) 2>&5
52429 ac_status=$?
52430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52431 (exit $ac_status); }; }; then
52432 glibcxx_cv_S_IFREG=yes
52433 else
52434 echo "$as_me: failed program was:" >&5
52435 sed 's/^/| /' conftest.$ac_ext >&5
52436
52437 glibcxx_cv_S_IFREG=no
52438 fi
52439 rm -f conftest.err conftest.$ac_objext \
52440 conftest$ac_exeext conftest.$ac_ext
52441
52442 fi
52443
52444 res=no
52445 if test $glibcxx_cv_S_ISREG = yes; then
52446
52447 cat >>confdefs.h <<\_ACEOF
52448 #define HAVE_S_ISREG 1
52449 _ACEOF
52450
52451 res=S_ISREG
52452 elif test $glibcxx_cv_S_IFREG = yes; then
52453
52454 cat >>confdefs.h <<\_ACEOF
52455 #define HAVE_S_IFREG 1
52456 _ACEOF
52457
52458 res=S_IFREG
52459 fi
52460 echo "$as_me:$LINENO: result: $res" >&5
52461 echo "${ECHO_T}$res" >&6
52462
52463
52464 # For xsputn_2().
52465
52466 for ac_header in sys/uio.h
52467 do
52468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52470 echo "$as_me:$LINENO: checking for $ac_header" >&5
52471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52473 echo $ECHO_N "(cached) $ECHO_C" >&6
52474 fi
52475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52476 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52477 else
52478 # Is the header compilable?
52479 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52480 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52481 cat >conftest.$ac_ext <<_ACEOF
52482 /* confdefs.h. */
52483 _ACEOF
52484 cat confdefs.h >>conftest.$ac_ext
52485 cat >>conftest.$ac_ext <<_ACEOF
52486 /* end confdefs.h. */
52487 $ac_includes_default
52488 #include <$ac_header>
52489 _ACEOF
52490 rm -f conftest.$ac_objext
52491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52492 (eval $ac_compile) 2>conftest.er1
52493 ac_status=$?
52494 grep -v '^ *+' conftest.er1 >conftest.err
52495 rm -f conftest.er1
52496 cat conftest.err >&5
52497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52498 (exit $ac_status); } &&
52499 { ac_try='test -z "$ac_c_werror_flag"
52500 || test ! -s conftest.err'
52501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52502 (eval $ac_try) 2>&5
52503 ac_status=$?
52504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505 (exit $ac_status); }; } &&
52506 { ac_try='test -s conftest.$ac_objext'
52507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52508 (eval $ac_try) 2>&5
52509 ac_status=$?
52510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52511 (exit $ac_status); }; }; then
52512 ac_header_compiler=yes
52513 else
52514 echo "$as_me: failed program was:" >&5
52515 sed 's/^/| /' conftest.$ac_ext >&5
52516
52517 ac_header_compiler=no
52518 fi
52519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52520 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52521 echo "${ECHO_T}$ac_header_compiler" >&6
52522
52523 # Is the header present?
52524 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52525 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52526 cat >conftest.$ac_ext <<_ACEOF
52527 /* confdefs.h. */
52528 _ACEOF
52529 cat confdefs.h >>conftest.$ac_ext
52530 cat >>conftest.$ac_ext <<_ACEOF
52531 /* end confdefs.h. */
52532 #include <$ac_header>
52533 _ACEOF
52534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52536 ac_status=$?
52537 grep -v '^ *+' conftest.er1 >conftest.err
52538 rm -f conftest.er1
52539 cat conftest.err >&5
52540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52541 (exit $ac_status); } >/dev/null; then
52542 if test -s conftest.err; then
52543 ac_cpp_err=$ac_c_preproc_warn_flag
52544 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52545 else
52546 ac_cpp_err=
52547 fi
52548 else
52549 ac_cpp_err=yes
52550 fi
52551 if test -z "$ac_cpp_err"; then
52552 ac_header_preproc=yes
52553 else
52554 echo "$as_me: failed program was:" >&5
52555 sed 's/^/| /' conftest.$ac_ext >&5
52556
52557 ac_header_preproc=no
52558 fi
52559 rm -f conftest.err conftest.$ac_ext
52560 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52561 echo "${ECHO_T}$ac_header_preproc" >&6
52562
52563 # So? What about this header?
52564 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52565 yes:no: )
52566 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52567 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52569 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52570 ac_header_preproc=yes
52571 ;;
52572 no:yes:* )
52573 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52574 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52575 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52576 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52577 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52578 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52579 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52580 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52583 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52584 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52585 (
52586 cat <<\_ASBOX
52587 ## ----------------------------------------- ##
52588 ## Report this to the package-unused lists. ##
52589 ## ----------------------------------------- ##
52590 _ASBOX
52591 ) |
52592 sed "s/^/$as_me: WARNING: /" >&2
52593 ;;
52594 esac
52595 echo "$as_me:$LINENO: checking for $ac_header" >&5
52596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52598 echo $ECHO_N "(cached) $ECHO_C" >&6
52599 else
52600 eval "$as_ac_Header=\$ac_header_preproc"
52601 fi
52602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52604
52605 fi
52606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52607 cat >>confdefs.h <<_ACEOF
52608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52609 _ACEOF
52610
52611 fi
52612
52613 done
52614
52615
52616 echo "$as_me:$LINENO: checking for writev" >&5
52617 echo $ECHO_N "checking for writev... $ECHO_C" >&6
52618 if test "${glibcxx_cv_WRITEV+set}" = set; then
52619 echo $ECHO_N "(cached) $ECHO_C" >&6
52620 else
52621
52622 if test x$gcc_no_link = xyes; then
52623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52625 { (exit 1); exit 1; }; }
52626 fi
52627 cat >conftest.$ac_ext <<_ACEOF
52628 /* confdefs.h. */
52629 _ACEOF
52630 cat confdefs.h >>conftest.$ac_ext
52631 cat >>conftest.$ac_ext <<_ACEOF
52632 /* end confdefs.h. */
52633 #include <sys/uio.h>
52634 int
52635 main ()
52636 {
52637 struct iovec iov[2];
52638 writev(0, iov, 0);
52639 ;
52640 return 0;
52641 }
52642 _ACEOF
52643 rm -f conftest.$ac_objext conftest$ac_exeext
52644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52645 (eval $ac_link) 2>conftest.er1
52646 ac_status=$?
52647 grep -v '^ *+' conftest.er1 >conftest.err
52648 rm -f conftest.er1
52649 cat conftest.err >&5
52650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52651 (exit $ac_status); } &&
52652 { ac_try='test -z "$ac_c_werror_flag"
52653 || test ! -s conftest.err'
52654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52655 (eval $ac_try) 2>&5
52656 ac_status=$?
52657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52658 (exit $ac_status); }; } &&
52659 { ac_try='test -s conftest$ac_exeext'
52660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52661 (eval $ac_try) 2>&5
52662 ac_status=$?
52663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52664 (exit $ac_status); }; }; then
52665 glibcxx_cv_WRITEV=yes
52666 else
52667 echo "$as_me: failed program was:" >&5
52668 sed 's/^/| /' conftest.$ac_ext >&5
52669
52670 glibcxx_cv_WRITEV=no
52671 fi
52672 rm -f conftest.err conftest.$ac_objext \
52673 conftest$ac_exeext conftest.$ac_ext
52674
52675 fi
52676
52677 if test $glibcxx_cv_WRITEV = yes; then
52678
52679 cat >>confdefs.h <<\_ACEOF
52680 #define HAVE_WRITEV 1
52681 _ACEOF
52682
52683 fi
52684 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
52685 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
52686
52687
52688 cat >>confdefs.h <<\_ACEOF
52689 #define HAVE_LC_MESSAGES 1
52690 _ACEOF
52691
52692
52693 cat >conftest.$ac_ext <<_ACEOF
52694 /* confdefs.h. */
52695 _ACEOF
52696 cat confdefs.h >>conftest.$ac_ext
52697 cat >>conftest.$ac_ext <<_ACEOF
52698 /* end confdefs.h. */
52699 #include <setjmp.h>
52700 int
52701 main ()
52702 {
52703 sigjmp_buf env;
52704 while (! sigsetjmp (env, 1))
52705 siglongjmp (env, 1);
52706
52707 ;
52708 return 0;
52709 }
52710 _ACEOF
52711 rm -f conftest.$ac_objext
52712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52713 (eval $ac_compile) 2>conftest.er1
52714 ac_status=$?
52715 grep -v '^ *+' conftest.er1 >conftest.err
52716 rm -f conftest.er1
52717 cat conftest.err >&5
52718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52719 (exit $ac_status); } &&
52720 { ac_try='test -z "$ac_c_werror_flag"
52721 || test ! -s conftest.err'
52722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52723 (eval $ac_try) 2>&5
52724 ac_status=$?
52725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52726 (exit $ac_status); }; } &&
52727 { ac_try='test -s conftest.$ac_objext'
52728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52729 (eval $ac_try) 2>&5
52730 ac_status=$?
52731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52732 (exit $ac_status); }; }; then
52733
52734 cat >>confdefs.h <<\_ACEOF
52735 #define HAVE_SIGSETJMP 1
52736 _ACEOF
52737
52738 else
52739 echo "$as_me: failed program was:" >&5
52740 sed 's/^/| /' conftest.$ac_ext >&5
52741
52742 fi
52743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52744
52745 cat >>confdefs.h <<\_ACEOF
52746 #define HAVE_MMAP 1
52747 _ACEOF
52748
52749 ;;
52750
52751 *djgpp)
52752
52753
52754
52755
52756
52757
52758
52759
52760
52761
52762
52763
52764
52765
52766
52767
52768
52769
52770
52771
52772 for ac_header in float.h ieeefp.h inttypes.h locale.h \
52773 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
52774 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
52775 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
52776 do
52777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52779 echo "$as_me:$LINENO: checking for $ac_header" >&5
52780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52782 echo $ECHO_N "(cached) $ECHO_C" >&6
52783 fi
52784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52786 else
52787 # Is the header compilable?
52788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52789 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52790 cat >conftest.$ac_ext <<_ACEOF
52791 /* confdefs.h. */
52792 _ACEOF
52793 cat confdefs.h >>conftest.$ac_ext
52794 cat >>conftest.$ac_ext <<_ACEOF
52795 /* end confdefs.h. */
52796 $ac_includes_default
52797 #include <$ac_header>
52798 _ACEOF
52799 rm -f conftest.$ac_objext
52800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52801 (eval $ac_compile) 2>conftest.er1
52802 ac_status=$?
52803 grep -v '^ *+' conftest.er1 >conftest.err
52804 rm -f conftest.er1
52805 cat conftest.err >&5
52806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52807 (exit $ac_status); } &&
52808 { ac_try='test -z "$ac_c_werror_flag"
52809 || test ! -s conftest.err'
52810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52811 (eval $ac_try) 2>&5
52812 ac_status=$?
52813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52814 (exit $ac_status); }; } &&
52815 { ac_try='test -s conftest.$ac_objext'
52816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52817 (eval $ac_try) 2>&5
52818 ac_status=$?
52819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52820 (exit $ac_status); }; }; then
52821 ac_header_compiler=yes
52822 else
52823 echo "$as_me: failed program was:" >&5
52824 sed 's/^/| /' conftest.$ac_ext >&5
52825
52826 ac_header_compiler=no
52827 fi
52828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52830 echo "${ECHO_T}$ac_header_compiler" >&6
52831
52832 # Is the header present?
52833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52835 cat >conftest.$ac_ext <<_ACEOF
52836 /* confdefs.h. */
52837 _ACEOF
52838 cat confdefs.h >>conftest.$ac_ext
52839 cat >>conftest.$ac_ext <<_ACEOF
52840 /* end confdefs.h. */
52841 #include <$ac_header>
52842 _ACEOF
52843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52845 ac_status=$?
52846 grep -v '^ *+' conftest.er1 >conftest.err
52847 rm -f conftest.er1
52848 cat conftest.err >&5
52849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52850 (exit $ac_status); } >/dev/null; then
52851 if test -s conftest.err; then
52852 ac_cpp_err=$ac_c_preproc_warn_flag
52853 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52854 else
52855 ac_cpp_err=
52856 fi
52857 else
52858 ac_cpp_err=yes
52859 fi
52860 if test -z "$ac_cpp_err"; then
52861 ac_header_preproc=yes
52862 else
52863 echo "$as_me: failed program was:" >&5
52864 sed 's/^/| /' conftest.$ac_ext >&5
52865
52866 ac_header_preproc=no
52867 fi
52868 rm -f conftest.err conftest.$ac_ext
52869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52870 echo "${ECHO_T}$ac_header_preproc" >&6
52871
52872 # So? What about this header?
52873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52874 yes:no: )
52875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52879 ac_header_preproc=yes
52880 ;;
52881 no:yes:* )
52882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52894 (
52895 cat <<\_ASBOX
52896 ## ----------------------------------------- ##
52897 ## Report this to the package-unused lists. ##
52898 ## ----------------------------------------- ##
52899 _ASBOX
52900 ) |
52901 sed "s/^/$as_me: WARNING: /" >&2
52902 ;;
52903 esac
52904 echo "$as_me:$LINENO: checking for $ac_header" >&5
52905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52907 echo $ECHO_N "(cached) $ECHO_C" >&6
52908 else
52909 eval "$as_ac_Header=\$ac_header_preproc"
52910 fi
52911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52913
52914 fi
52915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52916 cat >>confdefs.h <<_ACEOF
52917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52918 _ACEOF
52919
52920 fi
52921
52922 done
52923
52924
52925 # All these tests are for C++; save the language and the compiler flags.
52926 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52927 # found in GLIBCXX_CONFIGURE.
52928
52929
52930 ac_ext=cc
52931 ac_cpp='$CXXCPP $CPPFLAGS'
52932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935
52936 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52937 ac_save_CXXFLAGS="$CXXFLAGS"
52938
52939 # Check for maintainer-mode bits.
52940 if test x"$USE_MAINTAINER_MODE" = xno; then
52941 WERROR=''
52942 else
52943 WERROR='-Werror'
52944 fi
52945
52946 # Check for -ffunction-sections -fdata-sections
52947 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52948 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
52949 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
52950 cat >conftest.$ac_ext <<_ACEOF
52951 /* confdefs.h. */
52952 _ACEOF
52953 cat confdefs.h >>conftest.$ac_ext
52954 cat >>conftest.$ac_ext <<_ACEOF
52955 /* end confdefs.h. */
52956
52957 int
52958 main ()
52959 {
52960 int foo;
52961 ;
52962 return 0;
52963 }
52964 _ACEOF
52965 rm -f conftest.$ac_objext
52966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52967 (eval $ac_compile) 2>conftest.er1
52968 ac_status=$?
52969 grep -v '^ *+' conftest.er1 >conftest.err
52970 rm -f conftest.er1
52971 cat conftest.err >&5
52972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52973 (exit $ac_status); } &&
52974 { ac_try='test -z "$ac_cxx_werror_flag"
52975 || test ! -s conftest.err'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; } &&
52981 { ac_try='test -s conftest.$ac_objext'
52982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52983 (eval $ac_try) 2>&5
52984 ac_status=$?
52985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986 (exit $ac_status); }; }; then
52987 ac_fdsections=yes
52988 else
52989 echo "$as_me: failed program was:" >&5
52990 sed 's/^/| /' conftest.$ac_ext >&5
52991
52992 ac_fdsections=no
52993 fi
52994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52995 if test "$ac_test_CXXFLAGS" = set; then
52996 CXXFLAGS="$ac_save_CXXFLAGS"
52997 else
52998 # this is the suspicious part
52999 CXXFLAGS=''
53000 fi
53001 if test x"$ac_fdsections" = x"yes"; then
53002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53003 fi
53004 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53005 echo "${ECHO_T}$ac_fdsections" >&6
53006
53007 ac_ext=c
53008 ac_cpp='$CPP $CPPFLAGS'
53009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53012
53013
53014
53015
53016
53017 # If we're not using GNU ld, then there's no point in even trying these
53018 # tests. Check for that first. We should have already tested for gld
53019 # by now (in libtool), but require it now just to be safe...
53020 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53021 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53022
53023
53024
53025 # The name set by libtool depends on the version of libtool. Shame on us
53026 # for depending on an impl detail, but c'est la vie. Older versions used
53027 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53028 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53029 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53030 # set (hence we're using an older libtool), then set it.
53031 if test x${with_gnu_ld+set} != xset; then
53032 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53033 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53034 with_gnu_ld=no
53035 else
53036 with_gnu_ld=$ac_cv_prog_gnu_ld
53037 fi
53038 fi
53039
53040 # Start by getting the version number. I think the libtool test already
53041 # does some of this, but throws away the result.
53042
53043 ldver=`$LD --version 2>/dev/null | head -1 | \
53044 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53045
53046 glibcxx_gnu_ld_version=`echo $ldver | \
53047 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53048
53049 # Set --gc-sections.
53050 if test "$with_gnu_ld" = "notbroken"; then
53051 # GNU ld it is! Joy and bunny rabbits!
53052
53053 # All these tests are for C++; save the language and the compiler flags.
53054 # Need to do this so that g++ won't try to link in libstdc++
53055 ac_test_CFLAGS="${CFLAGS+set}"
53056 ac_save_CFLAGS="$CFLAGS"
53057 CFLAGS='-x c++ -Wl,--gc-sections'
53058
53059 # Check for -Wl,--gc-sections
53060 # XXX This test is broken at the moment, as symbols required for linking
53061 # are now in libsupc++ (not built yet). In addition, this test has
53062 # cored on solaris in the past. In addition, --gc-sections doesn't
53063 # really work at the moment (keeps on discarding used sections, first
53064 # .eh_frame and now some of the glibc sections for iconv).
53065 # Bzzzzt. Thanks for playing, maybe next time.
53066 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53067 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53068 if test "$cross_compiling" = yes; then
53069 ac_sectionLDflags=yes
53070 else
53071 cat >conftest.$ac_ext <<_ACEOF
53072 /* confdefs.h. */
53073 _ACEOF
53074 cat confdefs.h >>conftest.$ac_ext
53075 cat >>conftest.$ac_ext <<_ACEOF
53076 /* end confdefs.h. */
53077
53078 int main(void)
53079 {
53080 try { throw 1; }
53081 catch (...) { };
53082 return 0;
53083 }
53084
53085 _ACEOF
53086 rm -f conftest$ac_exeext
53087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53088 (eval $ac_link) 2>&5
53089 ac_status=$?
53090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53093 (eval $ac_try) 2>&5
53094 ac_status=$?
53095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53096 (exit $ac_status); }; }; then
53097 ac_sectionLDflags=yes
53098 else
53099 echo "$as_me: program exited with status $ac_status" >&5
53100 echo "$as_me: failed program was:" >&5
53101 sed 's/^/| /' conftest.$ac_ext >&5
53102
53103 ( exit $ac_status )
53104 ac_sectionLDflags=no
53105 fi
53106 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53107 fi
53108 if test "$ac_test_CFLAGS" = set; then
53109 CFLAGS="$ac_save_CFLAGS"
53110 else
53111 # this is the suspicious part
53112 CFLAGS=''
53113 fi
53114 if test "$ac_sectionLDflags" = "yes"; then
53115 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53116 fi
53117 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53118 echo "${ECHO_T}$ac_sectionLDflags" >&6
53119 fi
53120
53121 # Set -z,relro.
53122 # Note this is only for shared objects
53123 ac_ld_relro=no
53124 if test x"$with_gnu_ld" = x"yes"; then
53125 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
53126 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
53127 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53128 if test -n "$cxx_z_relo"; then
53129 OPT_LDFLAGS="-Wl,-z,relro"
53130 ac_ld_relro=yes
53131 fi
53132 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
53133 echo "${ECHO_T}$ac_ld_relro" >&6
53134 fi
53135
53136 # Set linker optimization flags.
53137 if test x"$with_gnu_ld" = x"yes"; then
53138 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53139 fi
53140
53141
53142
53143
53144
53145 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53146 ac_save_CXXFLAGS="$CXXFLAGS"
53147 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53148
53149 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53150 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53151 if test "${ac_cv_lib_m_sin+set}" = set; then
53152 echo $ECHO_N "(cached) $ECHO_C" >&6
53153 else
53154 ac_check_lib_save_LIBS=$LIBS
53155 LIBS="-lm $LIBS"
53156 if test x$gcc_no_link = xyes; then
53157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53159 { (exit 1); exit 1; }; }
53160 fi
53161 cat >conftest.$ac_ext <<_ACEOF
53162 /* confdefs.h. */
53163 _ACEOF
53164 cat confdefs.h >>conftest.$ac_ext
53165 cat >>conftest.$ac_ext <<_ACEOF
53166 /* end confdefs.h. */
53167
53168 /* Override any gcc2 internal prototype to avoid an error. */
53169 #ifdef __cplusplus
53170 extern "C"
53171 #endif
53172 /* We use char because int might match the return type of a gcc2
53173 builtin and then its argument prototype would still apply. */
53174 char sin ();
53175 int
53176 main ()
53177 {
53178 sin ();
53179 ;
53180 return 0;
53181 }
53182 _ACEOF
53183 rm -f conftest.$ac_objext conftest$ac_exeext
53184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53185 (eval $ac_link) 2>conftest.er1
53186 ac_status=$?
53187 grep -v '^ *+' conftest.er1 >conftest.err
53188 rm -f conftest.er1
53189 cat conftest.err >&5
53190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53191 (exit $ac_status); } &&
53192 { ac_try='test -z "$ac_c_werror_flag"
53193 || test ! -s conftest.err'
53194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53195 (eval $ac_try) 2>&5
53196 ac_status=$?
53197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53198 (exit $ac_status); }; } &&
53199 { ac_try='test -s conftest$ac_exeext'
53200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53201 (eval $ac_try) 2>&5
53202 ac_status=$?
53203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53204 (exit $ac_status); }; }; then
53205 ac_cv_lib_m_sin=yes
53206 else
53207 echo "$as_me: failed program was:" >&5
53208 sed 's/^/| /' conftest.$ac_ext >&5
53209
53210 ac_cv_lib_m_sin=no
53211 fi
53212 rm -f conftest.err conftest.$ac_objext \
53213 conftest$ac_exeext conftest.$ac_ext
53214 LIBS=$ac_check_lib_save_LIBS
53215 fi
53216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53217 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53218 if test $ac_cv_lib_m_sin = yes; then
53219 libm="-lm"
53220 fi
53221
53222 ac_save_LIBS="$LIBS"
53223 LIBS="$LIBS $libm"
53224
53225
53226
53227 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53228 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53229 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53230 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53231 echo $ECHO_N "(cached) $ECHO_C" >&6
53232 else
53233
53234
53235
53236 ac_ext=cc
53237 ac_cpp='$CXXCPP $CPPFLAGS'
53238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53241
53242 cat >conftest.$ac_ext <<_ACEOF
53243 /* confdefs.h. */
53244 _ACEOF
53245 cat confdefs.h >>conftest.$ac_ext
53246 cat >>conftest.$ac_ext <<_ACEOF
53247 /* end confdefs.h. */
53248 #include <math.h>
53249 #ifdef HAVE_IEEEFP_H
53250 #include <ieeefp.h>
53251 #endif
53252
53253 int
53254 main ()
53255 {
53256 isinf(0);
53257 ;
53258 return 0;
53259 }
53260 _ACEOF
53261 rm -f conftest.$ac_objext
53262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53263 (eval $ac_compile) 2>conftest.er1
53264 ac_status=$?
53265 grep -v '^ *+' conftest.er1 >conftest.err
53266 rm -f conftest.er1
53267 cat conftest.err >&5
53268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53269 (exit $ac_status); } &&
53270 { ac_try='test -z "$ac_cxx_werror_flag"
53271 || test ! -s conftest.err'
53272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53273 (eval $ac_try) 2>&5
53274 ac_status=$?
53275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53276 (exit $ac_status); }; } &&
53277 { ac_try='test -s conftest.$ac_objext'
53278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53279 (eval $ac_try) 2>&5
53280 ac_status=$?
53281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53282 (exit $ac_status); }; }; then
53283 glibcxx_cv_func_isinf_use=yes
53284 else
53285 echo "$as_me: failed program was:" >&5
53286 sed 's/^/| /' conftest.$ac_ext >&5
53287
53288 glibcxx_cv_func_isinf_use=no
53289 fi
53290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53291 ac_ext=c
53292 ac_cpp='$CPP $CPPFLAGS'
53293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53296
53297
53298 fi
53299
53300 fi
53301 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53302 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53303
53304 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53305
53306 for ac_func in isinf
53307 do
53308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53309 echo "$as_me:$LINENO: checking for $ac_func" >&5
53310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53311 if eval "test \"\${$as_ac_var+set}\" = set"; then
53312 echo $ECHO_N "(cached) $ECHO_C" >&6
53313 else
53314 if test x$gcc_no_link = xyes; then
53315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53317 { (exit 1); exit 1; }; }
53318 fi
53319 cat >conftest.$ac_ext <<_ACEOF
53320 /* confdefs.h. */
53321 _ACEOF
53322 cat confdefs.h >>conftest.$ac_ext
53323 cat >>conftest.$ac_ext <<_ACEOF
53324 /* end confdefs.h. */
53325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53327 #define $ac_func innocuous_$ac_func
53328
53329 /* System header to define __stub macros and hopefully few prototypes,
53330 which can conflict with char $ac_func (); below.
53331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53332 <limits.h> exists even on freestanding compilers. */
53333
53334 #ifdef __STDC__
53335 # include <limits.h>
53336 #else
53337 # include <assert.h>
53338 #endif
53339
53340 #undef $ac_func
53341
53342 /* Override any gcc2 internal prototype to avoid an error. */
53343 #ifdef __cplusplus
53344 extern "C"
53345 {
53346 #endif
53347 /* We use char because int might match the return type of a gcc2
53348 builtin and then its argument prototype would still apply. */
53349 char $ac_func ();
53350 /* The GNU C library defines this for functions which it implements
53351 to always fail with ENOSYS. Some functions are actually named
53352 something starting with __ and the normal name is an alias. */
53353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53354 choke me
53355 #else
53356 char (*f) () = $ac_func;
53357 #endif
53358 #ifdef __cplusplus
53359 }
53360 #endif
53361
53362 int
53363 main ()
53364 {
53365 return f != $ac_func;
53366 ;
53367 return 0;
53368 }
53369 _ACEOF
53370 rm -f conftest.$ac_objext conftest$ac_exeext
53371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53372 (eval $ac_link) 2>conftest.er1
53373 ac_status=$?
53374 grep -v '^ *+' conftest.er1 >conftest.err
53375 rm -f conftest.er1
53376 cat conftest.err >&5
53377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53378 (exit $ac_status); } &&
53379 { ac_try='test -z "$ac_c_werror_flag"
53380 || test ! -s conftest.err'
53381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53382 (eval $ac_try) 2>&5
53383 ac_status=$?
53384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53385 (exit $ac_status); }; } &&
53386 { ac_try='test -s conftest$ac_exeext'
53387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53388 (eval $ac_try) 2>&5
53389 ac_status=$?
53390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53391 (exit $ac_status); }; }; then
53392 eval "$as_ac_var=yes"
53393 else
53394 echo "$as_me: failed program was:" >&5
53395 sed 's/^/| /' conftest.$ac_ext >&5
53396
53397 eval "$as_ac_var=no"
53398 fi
53399 rm -f conftest.err conftest.$ac_objext \
53400 conftest$ac_exeext conftest.$ac_ext
53401 fi
53402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53404 if test `eval echo '${'$as_ac_var'}'` = yes; then
53405 cat >>confdefs.h <<_ACEOF
53406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53407 _ACEOF
53408
53409 fi
53410 done
53411
53412 else
53413
53414 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53415 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53416 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53417 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53418 echo $ECHO_N "(cached) $ECHO_C" >&6
53419 else
53420
53421
53422
53423 ac_ext=cc
53424 ac_cpp='$CXXCPP $CPPFLAGS'
53425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53428
53429 cat >conftest.$ac_ext <<_ACEOF
53430 /* confdefs.h. */
53431 _ACEOF
53432 cat confdefs.h >>conftest.$ac_ext
53433 cat >>conftest.$ac_ext <<_ACEOF
53434 /* end confdefs.h. */
53435 #include <math.h>
53436 #ifdef HAVE_IEEEFP_H
53437 #include <ieeefp.h>
53438 #endif
53439
53440 int
53441 main ()
53442 {
53443 _isinf(0);
53444 ;
53445 return 0;
53446 }
53447 _ACEOF
53448 rm -f conftest.$ac_objext
53449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53450 (eval $ac_compile) 2>conftest.er1
53451 ac_status=$?
53452 grep -v '^ *+' conftest.er1 >conftest.err
53453 rm -f conftest.er1
53454 cat conftest.err >&5
53455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53456 (exit $ac_status); } &&
53457 { ac_try='test -z "$ac_cxx_werror_flag"
53458 || test ! -s conftest.err'
53459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53460 (eval $ac_try) 2>&5
53461 ac_status=$?
53462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53463 (exit $ac_status); }; } &&
53464 { ac_try='test -s conftest.$ac_objext'
53465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53466 (eval $ac_try) 2>&5
53467 ac_status=$?
53468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469 (exit $ac_status); }; }; then
53470 glibcxx_cv_func__isinf_use=yes
53471 else
53472 echo "$as_me: failed program was:" >&5
53473 sed 's/^/| /' conftest.$ac_ext >&5
53474
53475 glibcxx_cv_func__isinf_use=no
53476 fi
53477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53478 ac_ext=c
53479 ac_cpp='$CPP $CPPFLAGS'
53480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53483
53484
53485 fi
53486
53487 fi
53488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53489 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53490
53491 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53492
53493 for ac_func in _isinf
53494 do
53495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53496 echo "$as_me:$LINENO: checking for $ac_func" >&5
53497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53498 if eval "test \"\${$as_ac_var+set}\" = set"; then
53499 echo $ECHO_N "(cached) $ECHO_C" >&6
53500 else
53501 if test x$gcc_no_link = xyes; then
53502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53504 { (exit 1); exit 1; }; }
53505 fi
53506 cat >conftest.$ac_ext <<_ACEOF
53507 /* confdefs.h. */
53508 _ACEOF
53509 cat confdefs.h >>conftest.$ac_ext
53510 cat >>conftest.$ac_ext <<_ACEOF
53511 /* end confdefs.h. */
53512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53514 #define $ac_func innocuous_$ac_func
53515
53516 /* System header to define __stub macros and hopefully few prototypes,
53517 which can conflict with char $ac_func (); below.
53518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53519 <limits.h> exists even on freestanding compilers. */
53520
53521 #ifdef __STDC__
53522 # include <limits.h>
53523 #else
53524 # include <assert.h>
53525 #endif
53526
53527 #undef $ac_func
53528
53529 /* Override any gcc2 internal prototype to avoid an error. */
53530 #ifdef __cplusplus
53531 extern "C"
53532 {
53533 #endif
53534 /* We use char because int might match the return type of a gcc2
53535 builtin and then its argument prototype would still apply. */
53536 char $ac_func ();
53537 /* The GNU C library defines this for functions which it implements
53538 to always fail with ENOSYS. Some functions are actually named
53539 something starting with __ and the normal name is an alias. */
53540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53541 choke me
53542 #else
53543 char (*f) () = $ac_func;
53544 #endif
53545 #ifdef __cplusplus
53546 }
53547 #endif
53548
53549 int
53550 main ()
53551 {
53552 return f != $ac_func;
53553 ;
53554 return 0;
53555 }
53556 _ACEOF
53557 rm -f conftest.$ac_objext conftest$ac_exeext
53558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53559 (eval $ac_link) 2>conftest.er1
53560 ac_status=$?
53561 grep -v '^ *+' conftest.er1 >conftest.err
53562 rm -f conftest.er1
53563 cat conftest.err >&5
53564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53565 (exit $ac_status); } &&
53566 { ac_try='test -z "$ac_c_werror_flag"
53567 || test ! -s conftest.err'
53568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53569 (eval $ac_try) 2>&5
53570 ac_status=$?
53571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53572 (exit $ac_status); }; } &&
53573 { ac_try='test -s conftest$ac_exeext'
53574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53575 (eval $ac_try) 2>&5
53576 ac_status=$?
53577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53578 (exit $ac_status); }; }; then
53579 eval "$as_ac_var=yes"
53580 else
53581 echo "$as_me: failed program was:" >&5
53582 sed 's/^/| /' conftest.$ac_ext >&5
53583
53584 eval "$as_ac_var=no"
53585 fi
53586 rm -f conftest.err conftest.$ac_objext \
53587 conftest$ac_exeext conftest.$ac_ext
53588 fi
53589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53591 if test `eval echo '${'$as_ac_var'}'` = yes; then
53592 cat >>confdefs.h <<_ACEOF
53593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53594 _ACEOF
53595
53596 fi
53597 done
53598
53599 fi
53600 fi
53601
53602
53603
53604
53605
53606
53607 echo "$as_me:$LINENO: checking for isnan declaration" >&5
53608 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
53609 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53610 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
53611 echo $ECHO_N "(cached) $ECHO_C" >&6
53612 else
53613
53614
53615
53616 ac_ext=cc
53617 ac_cpp='$CXXCPP $CPPFLAGS'
53618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53621
53622 cat >conftest.$ac_ext <<_ACEOF
53623 /* confdefs.h. */
53624 _ACEOF
53625 cat confdefs.h >>conftest.$ac_ext
53626 cat >>conftest.$ac_ext <<_ACEOF
53627 /* end confdefs.h. */
53628 #include <math.h>
53629 #ifdef HAVE_IEEEFP_H
53630 #include <ieeefp.h>
53631 #endif
53632
53633 int
53634 main ()
53635 {
53636 isnan(0);
53637 ;
53638 return 0;
53639 }
53640 _ACEOF
53641 rm -f conftest.$ac_objext
53642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53643 (eval $ac_compile) 2>conftest.er1
53644 ac_status=$?
53645 grep -v '^ *+' conftest.er1 >conftest.err
53646 rm -f conftest.er1
53647 cat conftest.err >&5
53648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53649 (exit $ac_status); } &&
53650 { ac_try='test -z "$ac_cxx_werror_flag"
53651 || test ! -s conftest.err'
53652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53653 (eval $ac_try) 2>&5
53654 ac_status=$?
53655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53656 (exit $ac_status); }; } &&
53657 { ac_try='test -s conftest.$ac_objext'
53658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53659 (eval $ac_try) 2>&5
53660 ac_status=$?
53661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53662 (exit $ac_status); }; }; then
53663 glibcxx_cv_func_isnan_use=yes
53664 else
53665 echo "$as_me: failed program was:" >&5
53666 sed 's/^/| /' conftest.$ac_ext >&5
53667
53668 glibcxx_cv_func_isnan_use=no
53669 fi
53670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53671 ac_ext=c
53672 ac_cpp='$CPP $CPPFLAGS'
53673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53676
53677
53678 fi
53679
53680 fi
53681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
53682 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
53683
53684 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53685
53686 for ac_func in isnan
53687 do
53688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53689 echo "$as_me:$LINENO: checking for $ac_func" >&5
53690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53691 if eval "test \"\${$as_ac_var+set}\" = set"; then
53692 echo $ECHO_N "(cached) $ECHO_C" >&6
53693 else
53694 if test x$gcc_no_link = xyes; then
53695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53697 { (exit 1); exit 1; }; }
53698 fi
53699 cat >conftest.$ac_ext <<_ACEOF
53700 /* confdefs.h. */
53701 _ACEOF
53702 cat confdefs.h >>conftest.$ac_ext
53703 cat >>conftest.$ac_ext <<_ACEOF
53704 /* end confdefs.h. */
53705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53707 #define $ac_func innocuous_$ac_func
53708
53709 /* System header to define __stub macros and hopefully few prototypes,
53710 which can conflict with char $ac_func (); below.
53711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53712 <limits.h> exists even on freestanding compilers. */
53713
53714 #ifdef __STDC__
53715 # include <limits.h>
53716 #else
53717 # include <assert.h>
53718 #endif
53719
53720 #undef $ac_func
53721
53722 /* Override any gcc2 internal prototype to avoid an error. */
53723 #ifdef __cplusplus
53724 extern "C"
53725 {
53726 #endif
53727 /* We use char because int might match the return type of a gcc2
53728 builtin and then its argument prototype would still apply. */
53729 char $ac_func ();
53730 /* The GNU C library defines this for functions which it implements
53731 to always fail with ENOSYS. Some functions are actually named
53732 something starting with __ and the normal name is an alias. */
53733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53734 choke me
53735 #else
53736 char (*f) () = $ac_func;
53737 #endif
53738 #ifdef __cplusplus
53739 }
53740 #endif
53741
53742 int
53743 main ()
53744 {
53745 return f != $ac_func;
53746 ;
53747 return 0;
53748 }
53749 _ACEOF
53750 rm -f conftest.$ac_objext conftest$ac_exeext
53751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53752 (eval $ac_link) 2>conftest.er1
53753 ac_status=$?
53754 grep -v '^ *+' conftest.er1 >conftest.err
53755 rm -f conftest.er1
53756 cat conftest.err >&5
53757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53758 (exit $ac_status); } &&
53759 { ac_try='test -z "$ac_c_werror_flag"
53760 || test ! -s conftest.err'
53761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53762 (eval $ac_try) 2>&5
53763 ac_status=$?
53764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53765 (exit $ac_status); }; } &&
53766 { ac_try='test -s conftest$ac_exeext'
53767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53768 (eval $ac_try) 2>&5
53769 ac_status=$?
53770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53771 (exit $ac_status); }; }; then
53772 eval "$as_ac_var=yes"
53773 else
53774 echo "$as_me: failed program was:" >&5
53775 sed 's/^/| /' conftest.$ac_ext >&5
53776
53777 eval "$as_ac_var=no"
53778 fi
53779 rm -f conftest.err conftest.$ac_objext \
53780 conftest$ac_exeext conftest.$ac_ext
53781 fi
53782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53784 if test `eval echo '${'$as_ac_var'}'` = yes; then
53785 cat >>confdefs.h <<_ACEOF
53786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53787 _ACEOF
53788
53789 fi
53790 done
53791
53792 else
53793
53794 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
53795 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
53796 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53797 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
53798 echo $ECHO_N "(cached) $ECHO_C" >&6
53799 else
53800
53801
53802
53803 ac_ext=cc
53804 ac_cpp='$CXXCPP $CPPFLAGS'
53805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53808
53809 cat >conftest.$ac_ext <<_ACEOF
53810 /* confdefs.h. */
53811 _ACEOF
53812 cat confdefs.h >>conftest.$ac_ext
53813 cat >>conftest.$ac_ext <<_ACEOF
53814 /* end confdefs.h. */
53815 #include <math.h>
53816 #ifdef HAVE_IEEEFP_H
53817 #include <ieeefp.h>
53818 #endif
53819
53820 int
53821 main ()
53822 {
53823 _isnan(0);
53824 ;
53825 return 0;
53826 }
53827 _ACEOF
53828 rm -f conftest.$ac_objext
53829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53830 (eval $ac_compile) 2>conftest.er1
53831 ac_status=$?
53832 grep -v '^ *+' conftest.er1 >conftest.err
53833 rm -f conftest.er1
53834 cat conftest.err >&5
53835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53836 (exit $ac_status); } &&
53837 { ac_try='test -z "$ac_cxx_werror_flag"
53838 || test ! -s conftest.err'
53839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53840 (eval $ac_try) 2>&5
53841 ac_status=$?
53842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53843 (exit $ac_status); }; } &&
53844 { ac_try='test -s conftest.$ac_objext'
53845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53846 (eval $ac_try) 2>&5
53847 ac_status=$?
53848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53849 (exit $ac_status); }; }; then
53850 glibcxx_cv_func__isnan_use=yes
53851 else
53852 echo "$as_me: failed program was:" >&5
53853 sed 's/^/| /' conftest.$ac_ext >&5
53854
53855 glibcxx_cv_func__isnan_use=no
53856 fi
53857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53858 ac_ext=c
53859 ac_cpp='$CPP $CPPFLAGS'
53860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53863
53864
53865 fi
53866
53867 fi
53868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
53869 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
53870
53871 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53872
53873 for ac_func in _isnan
53874 do
53875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53876 echo "$as_me:$LINENO: checking for $ac_func" >&5
53877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53878 if eval "test \"\${$as_ac_var+set}\" = set"; then
53879 echo $ECHO_N "(cached) $ECHO_C" >&6
53880 else
53881 if test x$gcc_no_link = xyes; then
53882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53884 { (exit 1); exit 1; }; }
53885 fi
53886 cat >conftest.$ac_ext <<_ACEOF
53887 /* confdefs.h. */
53888 _ACEOF
53889 cat confdefs.h >>conftest.$ac_ext
53890 cat >>conftest.$ac_ext <<_ACEOF
53891 /* end confdefs.h. */
53892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53894 #define $ac_func innocuous_$ac_func
53895
53896 /* System header to define __stub macros and hopefully few prototypes,
53897 which can conflict with char $ac_func (); below.
53898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53899 <limits.h> exists even on freestanding compilers. */
53900
53901 #ifdef __STDC__
53902 # include <limits.h>
53903 #else
53904 # include <assert.h>
53905 #endif
53906
53907 #undef $ac_func
53908
53909 /* Override any gcc2 internal prototype to avoid an error. */
53910 #ifdef __cplusplus
53911 extern "C"
53912 {
53913 #endif
53914 /* We use char because int might match the return type of a gcc2
53915 builtin and then its argument prototype would still apply. */
53916 char $ac_func ();
53917 /* The GNU C library defines this for functions which it implements
53918 to always fail with ENOSYS. Some functions are actually named
53919 something starting with __ and the normal name is an alias. */
53920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53921 choke me
53922 #else
53923 char (*f) () = $ac_func;
53924 #endif
53925 #ifdef __cplusplus
53926 }
53927 #endif
53928
53929 int
53930 main ()
53931 {
53932 return f != $ac_func;
53933 ;
53934 return 0;
53935 }
53936 _ACEOF
53937 rm -f conftest.$ac_objext conftest$ac_exeext
53938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53939 (eval $ac_link) 2>conftest.er1
53940 ac_status=$?
53941 grep -v '^ *+' conftest.er1 >conftest.err
53942 rm -f conftest.er1
53943 cat conftest.err >&5
53944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53945 (exit $ac_status); } &&
53946 { ac_try='test -z "$ac_c_werror_flag"
53947 || test ! -s conftest.err'
53948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53949 (eval $ac_try) 2>&5
53950 ac_status=$?
53951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53952 (exit $ac_status); }; } &&
53953 { ac_try='test -s conftest$ac_exeext'
53954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53955 (eval $ac_try) 2>&5
53956 ac_status=$?
53957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53958 (exit $ac_status); }; }; then
53959 eval "$as_ac_var=yes"
53960 else
53961 echo "$as_me: failed program was:" >&5
53962 sed 's/^/| /' conftest.$ac_ext >&5
53963
53964 eval "$as_ac_var=no"
53965 fi
53966 rm -f conftest.err conftest.$ac_objext \
53967 conftest$ac_exeext conftest.$ac_ext
53968 fi
53969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53971 if test `eval echo '${'$as_ac_var'}'` = yes; then
53972 cat >>confdefs.h <<_ACEOF
53973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53974 _ACEOF
53975
53976 fi
53977 done
53978
53979 fi
53980 fi
53981
53982
53983
53984
53985
53986
53987 echo "$as_me:$LINENO: checking for finite declaration" >&5
53988 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
53989 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53990 if test "${glibcxx_cv_func_finite_use+set}" = set; then
53991 echo $ECHO_N "(cached) $ECHO_C" >&6
53992 else
53993
53994
53995
53996 ac_ext=cc
53997 ac_cpp='$CXXCPP $CPPFLAGS'
53998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54001
54002 cat >conftest.$ac_ext <<_ACEOF
54003 /* confdefs.h. */
54004 _ACEOF
54005 cat confdefs.h >>conftest.$ac_ext
54006 cat >>conftest.$ac_ext <<_ACEOF
54007 /* end confdefs.h. */
54008 #include <math.h>
54009 #ifdef HAVE_IEEEFP_H
54010 #include <ieeefp.h>
54011 #endif
54012
54013 int
54014 main ()
54015 {
54016 finite(0);
54017 ;
54018 return 0;
54019 }
54020 _ACEOF
54021 rm -f conftest.$ac_objext
54022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54023 (eval $ac_compile) 2>conftest.er1
54024 ac_status=$?
54025 grep -v '^ *+' conftest.er1 >conftest.err
54026 rm -f conftest.er1
54027 cat conftest.err >&5
54028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54029 (exit $ac_status); } &&
54030 { ac_try='test -z "$ac_cxx_werror_flag"
54031 || test ! -s conftest.err'
54032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54033 (eval $ac_try) 2>&5
54034 ac_status=$?
54035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54036 (exit $ac_status); }; } &&
54037 { ac_try='test -s conftest.$ac_objext'
54038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54039 (eval $ac_try) 2>&5
54040 ac_status=$?
54041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54042 (exit $ac_status); }; }; then
54043 glibcxx_cv_func_finite_use=yes
54044 else
54045 echo "$as_me: failed program was:" >&5
54046 sed 's/^/| /' conftest.$ac_ext >&5
54047
54048 glibcxx_cv_func_finite_use=no
54049 fi
54050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54051 ac_ext=c
54052 ac_cpp='$CPP $CPPFLAGS'
54053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056
54057
54058 fi
54059
54060 fi
54061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54062 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54063
54064 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54065
54066 for ac_func in finite
54067 do
54068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54069 echo "$as_me:$LINENO: checking for $ac_func" >&5
54070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54071 if eval "test \"\${$as_ac_var+set}\" = set"; then
54072 echo $ECHO_N "(cached) $ECHO_C" >&6
54073 else
54074 if test x$gcc_no_link = xyes; then
54075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54077 { (exit 1); exit 1; }; }
54078 fi
54079 cat >conftest.$ac_ext <<_ACEOF
54080 /* confdefs.h. */
54081 _ACEOF
54082 cat confdefs.h >>conftest.$ac_ext
54083 cat >>conftest.$ac_ext <<_ACEOF
54084 /* end confdefs.h. */
54085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54087 #define $ac_func innocuous_$ac_func
54088
54089 /* System header to define __stub macros and hopefully few prototypes,
54090 which can conflict with char $ac_func (); below.
54091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54092 <limits.h> exists even on freestanding compilers. */
54093
54094 #ifdef __STDC__
54095 # include <limits.h>
54096 #else
54097 # include <assert.h>
54098 #endif
54099
54100 #undef $ac_func
54101
54102 /* Override any gcc2 internal prototype to avoid an error. */
54103 #ifdef __cplusplus
54104 extern "C"
54105 {
54106 #endif
54107 /* We use char because int might match the return type of a gcc2
54108 builtin and then its argument prototype would still apply. */
54109 char $ac_func ();
54110 /* The GNU C library defines this for functions which it implements
54111 to always fail with ENOSYS. Some functions are actually named
54112 something starting with __ and the normal name is an alias. */
54113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54114 choke me
54115 #else
54116 char (*f) () = $ac_func;
54117 #endif
54118 #ifdef __cplusplus
54119 }
54120 #endif
54121
54122 int
54123 main ()
54124 {
54125 return f != $ac_func;
54126 ;
54127 return 0;
54128 }
54129 _ACEOF
54130 rm -f conftest.$ac_objext conftest$ac_exeext
54131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54132 (eval $ac_link) 2>conftest.er1
54133 ac_status=$?
54134 grep -v '^ *+' conftest.er1 >conftest.err
54135 rm -f conftest.er1
54136 cat conftest.err >&5
54137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54138 (exit $ac_status); } &&
54139 { ac_try='test -z "$ac_c_werror_flag"
54140 || test ! -s conftest.err'
54141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54142 (eval $ac_try) 2>&5
54143 ac_status=$?
54144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54145 (exit $ac_status); }; } &&
54146 { ac_try='test -s conftest$ac_exeext'
54147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54148 (eval $ac_try) 2>&5
54149 ac_status=$?
54150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151 (exit $ac_status); }; }; then
54152 eval "$as_ac_var=yes"
54153 else
54154 echo "$as_me: failed program was:" >&5
54155 sed 's/^/| /' conftest.$ac_ext >&5
54156
54157 eval "$as_ac_var=no"
54158 fi
54159 rm -f conftest.err conftest.$ac_objext \
54160 conftest$ac_exeext conftest.$ac_ext
54161 fi
54162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54164 if test `eval echo '${'$as_ac_var'}'` = yes; then
54165 cat >>confdefs.h <<_ACEOF
54166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54167 _ACEOF
54168
54169 fi
54170 done
54171
54172 else
54173
54174 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54175 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54176 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54177 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54178 echo $ECHO_N "(cached) $ECHO_C" >&6
54179 else
54180
54181
54182
54183 ac_ext=cc
54184 ac_cpp='$CXXCPP $CPPFLAGS'
54185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54188
54189 cat >conftest.$ac_ext <<_ACEOF
54190 /* confdefs.h. */
54191 _ACEOF
54192 cat confdefs.h >>conftest.$ac_ext
54193 cat >>conftest.$ac_ext <<_ACEOF
54194 /* end confdefs.h. */
54195 #include <math.h>
54196 #ifdef HAVE_IEEEFP_H
54197 #include <ieeefp.h>
54198 #endif
54199
54200 int
54201 main ()
54202 {
54203 _finite(0);
54204 ;
54205 return 0;
54206 }
54207 _ACEOF
54208 rm -f conftest.$ac_objext
54209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54210 (eval $ac_compile) 2>conftest.er1
54211 ac_status=$?
54212 grep -v '^ *+' conftest.er1 >conftest.err
54213 rm -f conftest.er1
54214 cat conftest.err >&5
54215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54216 (exit $ac_status); } &&
54217 { ac_try='test -z "$ac_cxx_werror_flag"
54218 || test ! -s conftest.err'
54219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54220 (eval $ac_try) 2>&5
54221 ac_status=$?
54222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54223 (exit $ac_status); }; } &&
54224 { ac_try='test -s conftest.$ac_objext'
54225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54226 (eval $ac_try) 2>&5
54227 ac_status=$?
54228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54229 (exit $ac_status); }; }; then
54230 glibcxx_cv_func__finite_use=yes
54231 else
54232 echo "$as_me: failed program was:" >&5
54233 sed 's/^/| /' conftest.$ac_ext >&5
54234
54235 glibcxx_cv_func__finite_use=no
54236 fi
54237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54238 ac_ext=c
54239 ac_cpp='$CPP $CPPFLAGS'
54240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54243
54244
54245 fi
54246
54247 fi
54248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54249 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54250
54251 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54252
54253 for ac_func in _finite
54254 do
54255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54256 echo "$as_me:$LINENO: checking for $ac_func" >&5
54257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54258 if eval "test \"\${$as_ac_var+set}\" = set"; then
54259 echo $ECHO_N "(cached) $ECHO_C" >&6
54260 else
54261 if test x$gcc_no_link = xyes; then
54262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54264 { (exit 1); exit 1; }; }
54265 fi
54266 cat >conftest.$ac_ext <<_ACEOF
54267 /* confdefs.h. */
54268 _ACEOF
54269 cat confdefs.h >>conftest.$ac_ext
54270 cat >>conftest.$ac_ext <<_ACEOF
54271 /* end confdefs.h. */
54272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54274 #define $ac_func innocuous_$ac_func
54275
54276 /* System header to define __stub macros and hopefully few prototypes,
54277 which can conflict with char $ac_func (); below.
54278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54279 <limits.h> exists even on freestanding compilers. */
54280
54281 #ifdef __STDC__
54282 # include <limits.h>
54283 #else
54284 # include <assert.h>
54285 #endif
54286
54287 #undef $ac_func
54288
54289 /* Override any gcc2 internal prototype to avoid an error. */
54290 #ifdef __cplusplus
54291 extern "C"
54292 {
54293 #endif
54294 /* We use char because int might match the return type of a gcc2
54295 builtin and then its argument prototype would still apply. */
54296 char $ac_func ();
54297 /* The GNU C library defines this for functions which it implements
54298 to always fail with ENOSYS. Some functions are actually named
54299 something starting with __ and the normal name is an alias. */
54300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54301 choke me
54302 #else
54303 char (*f) () = $ac_func;
54304 #endif
54305 #ifdef __cplusplus
54306 }
54307 #endif
54308
54309 int
54310 main ()
54311 {
54312 return f != $ac_func;
54313 ;
54314 return 0;
54315 }
54316 _ACEOF
54317 rm -f conftest.$ac_objext conftest$ac_exeext
54318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54319 (eval $ac_link) 2>conftest.er1
54320 ac_status=$?
54321 grep -v '^ *+' conftest.er1 >conftest.err
54322 rm -f conftest.er1
54323 cat conftest.err >&5
54324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54325 (exit $ac_status); } &&
54326 { ac_try='test -z "$ac_c_werror_flag"
54327 || test ! -s conftest.err'
54328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54329 (eval $ac_try) 2>&5
54330 ac_status=$?
54331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54332 (exit $ac_status); }; } &&
54333 { ac_try='test -s conftest$ac_exeext'
54334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54335 (eval $ac_try) 2>&5
54336 ac_status=$?
54337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54338 (exit $ac_status); }; }; then
54339 eval "$as_ac_var=yes"
54340 else
54341 echo "$as_me: failed program was:" >&5
54342 sed 's/^/| /' conftest.$ac_ext >&5
54343
54344 eval "$as_ac_var=no"
54345 fi
54346 rm -f conftest.err conftest.$ac_objext \
54347 conftest$ac_exeext conftest.$ac_ext
54348 fi
54349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54351 if test `eval echo '${'$as_ac_var'}'` = yes; then
54352 cat >>confdefs.h <<_ACEOF
54353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54354 _ACEOF
54355
54356 fi
54357 done
54358
54359 fi
54360 fi
54361
54362
54363
54364
54365
54366
54367 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54368 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54369 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54370 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54371 echo $ECHO_N "(cached) $ECHO_C" >&6
54372 else
54373
54374
54375
54376 ac_ext=cc
54377 ac_cpp='$CXXCPP $CPPFLAGS'
54378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54381
54382 cat >conftest.$ac_ext <<_ACEOF
54383 /* confdefs.h. */
54384 _ACEOF
54385 cat confdefs.h >>conftest.$ac_ext
54386 cat >>conftest.$ac_ext <<_ACEOF
54387 /* end confdefs.h. */
54388 #include <math.h>
54389 int
54390 main ()
54391 {
54392 copysign(0, 0);
54393 ;
54394 return 0;
54395 }
54396 _ACEOF
54397 rm -f conftest.$ac_objext
54398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54399 (eval $ac_compile) 2>conftest.er1
54400 ac_status=$?
54401 grep -v '^ *+' conftest.er1 >conftest.err
54402 rm -f conftest.er1
54403 cat conftest.err >&5
54404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54405 (exit $ac_status); } &&
54406 { ac_try='test -z "$ac_cxx_werror_flag"
54407 || test ! -s conftest.err'
54408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54409 (eval $ac_try) 2>&5
54410 ac_status=$?
54411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54412 (exit $ac_status); }; } &&
54413 { ac_try='test -s conftest.$ac_objext'
54414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54415 (eval $ac_try) 2>&5
54416 ac_status=$?
54417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54418 (exit $ac_status); }; }; then
54419 glibcxx_cv_func_copysign_use=yes
54420 else
54421 echo "$as_me: failed program was:" >&5
54422 sed 's/^/| /' conftest.$ac_ext >&5
54423
54424 glibcxx_cv_func_copysign_use=no
54425 fi
54426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54427 ac_ext=c
54428 ac_cpp='$CPP $CPPFLAGS'
54429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54432
54433
54434 fi
54435
54436 fi
54437 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54438 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54439
54440 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54441
54442 for ac_func in copysign
54443 do
54444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54445 echo "$as_me:$LINENO: checking for $ac_func" >&5
54446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54447 if eval "test \"\${$as_ac_var+set}\" = set"; then
54448 echo $ECHO_N "(cached) $ECHO_C" >&6
54449 else
54450 if test x$gcc_no_link = xyes; then
54451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54453 { (exit 1); exit 1; }; }
54454 fi
54455 cat >conftest.$ac_ext <<_ACEOF
54456 /* confdefs.h. */
54457 _ACEOF
54458 cat confdefs.h >>conftest.$ac_ext
54459 cat >>conftest.$ac_ext <<_ACEOF
54460 /* end confdefs.h. */
54461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54463 #define $ac_func innocuous_$ac_func
54464
54465 /* System header to define __stub macros and hopefully few prototypes,
54466 which can conflict with char $ac_func (); below.
54467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54468 <limits.h> exists even on freestanding compilers. */
54469
54470 #ifdef __STDC__
54471 # include <limits.h>
54472 #else
54473 # include <assert.h>
54474 #endif
54475
54476 #undef $ac_func
54477
54478 /* Override any gcc2 internal prototype to avoid an error. */
54479 #ifdef __cplusplus
54480 extern "C"
54481 {
54482 #endif
54483 /* We use char because int might match the return type of a gcc2
54484 builtin and then its argument prototype would still apply. */
54485 char $ac_func ();
54486 /* The GNU C library defines this for functions which it implements
54487 to always fail with ENOSYS. Some functions are actually named
54488 something starting with __ and the normal name is an alias. */
54489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54490 choke me
54491 #else
54492 char (*f) () = $ac_func;
54493 #endif
54494 #ifdef __cplusplus
54495 }
54496 #endif
54497
54498 int
54499 main ()
54500 {
54501 return f != $ac_func;
54502 ;
54503 return 0;
54504 }
54505 _ACEOF
54506 rm -f conftest.$ac_objext conftest$ac_exeext
54507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54508 (eval $ac_link) 2>conftest.er1
54509 ac_status=$?
54510 grep -v '^ *+' conftest.er1 >conftest.err
54511 rm -f conftest.er1
54512 cat conftest.err >&5
54513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54514 (exit $ac_status); } &&
54515 { ac_try='test -z "$ac_c_werror_flag"
54516 || test ! -s conftest.err'
54517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54518 (eval $ac_try) 2>&5
54519 ac_status=$?
54520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54521 (exit $ac_status); }; } &&
54522 { ac_try='test -s conftest$ac_exeext'
54523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54524 (eval $ac_try) 2>&5
54525 ac_status=$?
54526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54527 (exit $ac_status); }; }; then
54528 eval "$as_ac_var=yes"
54529 else
54530 echo "$as_me: failed program was:" >&5
54531 sed 's/^/| /' conftest.$ac_ext >&5
54532
54533 eval "$as_ac_var=no"
54534 fi
54535 rm -f conftest.err conftest.$ac_objext \
54536 conftest$ac_exeext conftest.$ac_ext
54537 fi
54538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54540 if test `eval echo '${'$as_ac_var'}'` = yes; then
54541 cat >>confdefs.h <<_ACEOF
54542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54543 _ACEOF
54544
54545 fi
54546 done
54547
54548 else
54549
54550 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54551 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54552 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54553 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
54554 echo $ECHO_N "(cached) $ECHO_C" >&6
54555 else
54556
54557
54558
54559 ac_ext=cc
54560 ac_cpp='$CXXCPP $CPPFLAGS'
54561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54564
54565 cat >conftest.$ac_ext <<_ACEOF
54566 /* confdefs.h. */
54567 _ACEOF
54568 cat confdefs.h >>conftest.$ac_ext
54569 cat >>conftest.$ac_ext <<_ACEOF
54570 /* end confdefs.h. */
54571 #include <math.h>
54572 int
54573 main ()
54574 {
54575 _copysign(0, 0);
54576 ;
54577 return 0;
54578 }
54579 _ACEOF
54580 rm -f conftest.$ac_objext
54581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54582 (eval $ac_compile) 2>conftest.er1
54583 ac_status=$?
54584 grep -v '^ *+' conftest.er1 >conftest.err
54585 rm -f conftest.er1
54586 cat conftest.err >&5
54587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54588 (exit $ac_status); } &&
54589 { ac_try='test -z "$ac_cxx_werror_flag"
54590 || test ! -s conftest.err'
54591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592 (eval $ac_try) 2>&5
54593 ac_status=$?
54594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595 (exit $ac_status); }; } &&
54596 { ac_try='test -s conftest.$ac_objext'
54597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54598 (eval $ac_try) 2>&5
54599 ac_status=$?
54600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54601 (exit $ac_status); }; }; then
54602 glibcxx_cv_func__copysign_use=yes
54603 else
54604 echo "$as_me: failed program was:" >&5
54605 sed 's/^/| /' conftest.$ac_ext >&5
54606
54607 glibcxx_cv_func__copysign_use=no
54608 fi
54609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54610 ac_ext=c
54611 ac_cpp='$CPP $CPPFLAGS'
54612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54615
54616
54617 fi
54618
54619 fi
54620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
54621 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
54622
54623 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
54624
54625 for ac_func in _copysign
54626 do
54627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54628 echo "$as_me:$LINENO: checking for $ac_func" >&5
54629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54630 if eval "test \"\${$as_ac_var+set}\" = set"; then
54631 echo $ECHO_N "(cached) $ECHO_C" >&6
54632 else
54633 if test x$gcc_no_link = xyes; then
54634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54636 { (exit 1); exit 1; }; }
54637 fi
54638 cat >conftest.$ac_ext <<_ACEOF
54639 /* confdefs.h. */
54640 _ACEOF
54641 cat confdefs.h >>conftest.$ac_ext
54642 cat >>conftest.$ac_ext <<_ACEOF
54643 /* end confdefs.h. */
54644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54646 #define $ac_func innocuous_$ac_func
54647
54648 /* System header to define __stub macros and hopefully few prototypes,
54649 which can conflict with char $ac_func (); below.
54650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54651 <limits.h> exists even on freestanding compilers. */
54652
54653 #ifdef __STDC__
54654 # include <limits.h>
54655 #else
54656 # include <assert.h>
54657 #endif
54658
54659 #undef $ac_func
54660
54661 /* Override any gcc2 internal prototype to avoid an error. */
54662 #ifdef __cplusplus
54663 extern "C"
54664 {
54665 #endif
54666 /* We use char because int might match the return type of a gcc2
54667 builtin and then its argument prototype would still apply. */
54668 char $ac_func ();
54669 /* The GNU C library defines this for functions which it implements
54670 to always fail with ENOSYS. Some functions are actually named
54671 something starting with __ and the normal name is an alias. */
54672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54673 choke me
54674 #else
54675 char (*f) () = $ac_func;
54676 #endif
54677 #ifdef __cplusplus
54678 }
54679 #endif
54680
54681 int
54682 main ()
54683 {
54684 return f != $ac_func;
54685 ;
54686 return 0;
54687 }
54688 _ACEOF
54689 rm -f conftest.$ac_objext conftest$ac_exeext
54690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54691 (eval $ac_link) 2>conftest.er1
54692 ac_status=$?
54693 grep -v '^ *+' conftest.er1 >conftest.err
54694 rm -f conftest.er1
54695 cat conftest.err >&5
54696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54697 (exit $ac_status); } &&
54698 { ac_try='test -z "$ac_c_werror_flag"
54699 || test ! -s conftest.err'
54700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54701 (eval $ac_try) 2>&5
54702 ac_status=$?
54703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54704 (exit $ac_status); }; } &&
54705 { ac_try='test -s conftest$ac_exeext'
54706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54707 (eval $ac_try) 2>&5
54708 ac_status=$?
54709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54710 (exit $ac_status); }; }; then
54711 eval "$as_ac_var=yes"
54712 else
54713 echo "$as_me: failed program was:" >&5
54714 sed 's/^/| /' conftest.$ac_ext >&5
54715
54716 eval "$as_ac_var=no"
54717 fi
54718 rm -f conftest.err conftest.$ac_objext \
54719 conftest$ac_exeext conftest.$ac_ext
54720 fi
54721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54723 if test `eval echo '${'$as_ac_var'}'` = yes; then
54724 cat >>confdefs.h <<_ACEOF
54725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54726 _ACEOF
54727
54728 fi
54729 done
54730
54731 fi
54732 fi
54733
54734
54735
54736
54737
54738
54739 echo "$as_me:$LINENO: checking for sincos declaration" >&5
54740 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
54741 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54742 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
54743 echo $ECHO_N "(cached) $ECHO_C" >&6
54744 else
54745
54746
54747
54748 ac_ext=cc
54749 ac_cpp='$CXXCPP $CPPFLAGS'
54750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54753
54754 cat >conftest.$ac_ext <<_ACEOF
54755 /* confdefs.h. */
54756 _ACEOF
54757 cat confdefs.h >>conftest.$ac_ext
54758 cat >>conftest.$ac_ext <<_ACEOF
54759 /* end confdefs.h. */
54760 #include <math.h>
54761 int
54762 main ()
54763 {
54764 sincos(0, 0, 0);
54765 ;
54766 return 0;
54767 }
54768 _ACEOF
54769 rm -f conftest.$ac_objext
54770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54771 (eval $ac_compile) 2>conftest.er1
54772 ac_status=$?
54773 grep -v '^ *+' conftest.er1 >conftest.err
54774 rm -f conftest.er1
54775 cat conftest.err >&5
54776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54777 (exit $ac_status); } &&
54778 { ac_try='test -z "$ac_cxx_werror_flag"
54779 || test ! -s conftest.err'
54780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54781 (eval $ac_try) 2>&5
54782 ac_status=$?
54783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54784 (exit $ac_status); }; } &&
54785 { ac_try='test -s conftest.$ac_objext'
54786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54787 (eval $ac_try) 2>&5
54788 ac_status=$?
54789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54790 (exit $ac_status); }; }; then
54791 glibcxx_cv_func_sincos_use=yes
54792 else
54793 echo "$as_me: failed program was:" >&5
54794 sed 's/^/| /' conftest.$ac_ext >&5
54795
54796 glibcxx_cv_func_sincos_use=no
54797 fi
54798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54799 ac_ext=c
54800 ac_cpp='$CPP $CPPFLAGS'
54801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54804
54805
54806 fi
54807
54808 fi
54809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
54810 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
54811
54812 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54813
54814 for ac_func in sincos
54815 do
54816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54817 echo "$as_me:$LINENO: checking for $ac_func" >&5
54818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54819 if eval "test \"\${$as_ac_var+set}\" = set"; then
54820 echo $ECHO_N "(cached) $ECHO_C" >&6
54821 else
54822 if test x$gcc_no_link = xyes; then
54823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54825 { (exit 1); exit 1; }; }
54826 fi
54827 cat >conftest.$ac_ext <<_ACEOF
54828 /* confdefs.h. */
54829 _ACEOF
54830 cat confdefs.h >>conftest.$ac_ext
54831 cat >>conftest.$ac_ext <<_ACEOF
54832 /* end confdefs.h. */
54833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54835 #define $ac_func innocuous_$ac_func
54836
54837 /* System header to define __stub macros and hopefully few prototypes,
54838 which can conflict with char $ac_func (); below.
54839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54840 <limits.h> exists even on freestanding compilers. */
54841
54842 #ifdef __STDC__
54843 # include <limits.h>
54844 #else
54845 # include <assert.h>
54846 #endif
54847
54848 #undef $ac_func
54849
54850 /* Override any gcc2 internal prototype to avoid an error. */
54851 #ifdef __cplusplus
54852 extern "C"
54853 {
54854 #endif
54855 /* We use char because int might match the return type of a gcc2
54856 builtin and then its argument prototype would still apply. */
54857 char $ac_func ();
54858 /* The GNU C library defines this for functions which it implements
54859 to always fail with ENOSYS. Some functions are actually named
54860 something starting with __ and the normal name is an alias. */
54861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54862 choke me
54863 #else
54864 char (*f) () = $ac_func;
54865 #endif
54866 #ifdef __cplusplus
54867 }
54868 #endif
54869
54870 int
54871 main ()
54872 {
54873 return f != $ac_func;
54874 ;
54875 return 0;
54876 }
54877 _ACEOF
54878 rm -f conftest.$ac_objext conftest$ac_exeext
54879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54880 (eval $ac_link) 2>conftest.er1
54881 ac_status=$?
54882 grep -v '^ *+' conftest.er1 >conftest.err
54883 rm -f conftest.er1
54884 cat conftest.err >&5
54885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54886 (exit $ac_status); } &&
54887 { ac_try='test -z "$ac_c_werror_flag"
54888 || test ! -s conftest.err'
54889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54890 (eval $ac_try) 2>&5
54891 ac_status=$?
54892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54893 (exit $ac_status); }; } &&
54894 { ac_try='test -s conftest$ac_exeext'
54895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896 (eval $ac_try) 2>&5
54897 ac_status=$?
54898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899 (exit $ac_status); }; }; then
54900 eval "$as_ac_var=yes"
54901 else
54902 echo "$as_me: failed program was:" >&5
54903 sed 's/^/| /' conftest.$ac_ext >&5
54904
54905 eval "$as_ac_var=no"
54906 fi
54907 rm -f conftest.err conftest.$ac_objext \
54908 conftest$ac_exeext conftest.$ac_ext
54909 fi
54910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54912 if test `eval echo '${'$as_ac_var'}'` = yes; then
54913 cat >>confdefs.h <<_ACEOF
54914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54915 _ACEOF
54916
54917 fi
54918 done
54919
54920 else
54921
54922 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
54923 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
54924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
54926 echo $ECHO_N "(cached) $ECHO_C" >&6
54927 else
54928
54929
54930
54931 ac_ext=cc
54932 ac_cpp='$CXXCPP $CPPFLAGS'
54933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54936
54937 cat >conftest.$ac_ext <<_ACEOF
54938 /* confdefs.h. */
54939 _ACEOF
54940 cat confdefs.h >>conftest.$ac_ext
54941 cat >>conftest.$ac_ext <<_ACEOF
54942 /* end confdefs.h. */
54943 #include <math.h>
54944 int
54945 main ()
54946 {
54947 _sincos(0, 0, 0);
54948 ;
54949 return 0;
54950 }
54951 _ACEOF
54952 rm -f conftest.$ac_objext
54953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54954 (eval $ac_compile) 2>conftest.er1
54955 ac_status=$?
54956 grep -v '^ *+' conftest.er1 >conftest.err
54957 rm -f conftest.er1
54958 cat conftest.err >&5
54959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54960 (exit $ac_status); } &&
54961 { ac_try='test -z "$ac_cxx_werror_flag"
54962 || test ! -s conftest.err'
54963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54964 (eval $ac_try) 2>&5
54965 ac_status=$?
54966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54967 (exit $ac_status); }; } &&
54968 { ac_try='test -s conftest.$ac_objext'
54969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54970 (eval $ac_try) 2>&5
54971 ac_status=$?
54972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54973 (exit $ac_status); }; }; then
54974 glibcxx_cv_func__sincos_use=yes
54975 else
54976 echo "$as_me: failed program was:" >&5
54977 sed 's/^/| /' conftest.$ac_ext >&5
54978
54979 glibcxx_cv_func__sincos_use=no
54980 fi
54981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54982 ac_ext=c
54983 ac_cpp='$CPP $CPPFLAGS'
54984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54987
54988
54989 fi
54990
54991 fi
54992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
54993 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
54994
54995 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54996
54997 for ac_func in _sincos
54998 do
54999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55000 echo "$as_me:$LINENO: checking for $ac_func" >&5
55001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55002 if eval "test \"\${$as_ac_var+set}\" = set"; then
55003 echo $ECHO_N "(cached) $ECHO_C" >&6
55004 else
55005 if test x$gcc_no_link = xyes; then
55006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55008 { (exit 1); exit 1; }; }
55009 fi
55010 cat >conftest.$ac_ext <<_ACEOF
55011 /* confdefs.h. */
55012 _ACEOF
55013 cat confdefs.h >>conftest.$ac_ext
55014 cat >>conftest.$ac_ext <<_ACEOF
55015 /* end confdefs.h. */
55016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55018 #define $ac_func innocuous_$ac_func
55019
55020 /* System header to define __stub macros and hopefully few prototypes,
55021 which can conflict with char $ac_func (); below.
55022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55023 <limits.h> exists even on freestanding compilers. */
55024
55025 #ifdef __STDC__
55026 # include <limits.h>
55027 #else
55028 # include <assert.h>
55029 #endif
55030
55031 #undef $ac_func
55032
55033 /* Override any gcc2 internal prototype to avoid an error. */
55034 #ifdef __cplusplus
55035 extern "C"
55036 {
55037 #endif
55038 /* We use char because int might match the return type of a gcc2
55039 builtin and then its argument prototype would still apply. */
55040 char $ac_func ();
55041 /* The GNU C library defines this for functions which it implements
55042 to always fail with ENOSYS. Some functions are actually named
55043 something starting with __ and the normal name is an alias. */
55044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55045 choke me
55046 #else
55047 char (*f) () = $ac_func;
55048 #endif
55049 #ifdef __cplusplus
55050 }
55051 #endif
55052
55053 int
55054 main ()
55055 {
55056 return f != $ac_func;
55057 ;
55058 return 0;
55059 }
55060 _ACEOF
55061 rm -f conftest.$ac_objext conftest$ac_exeext
55062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55063 (eval $ac_link) 2>conftest.er1
55064 ac_status=$?
55065 grep -v '^ *+' conftest.er1 >conftest.err
55066 rm -f conftest.er1
55067 cat conftest.err >&5
55068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55069 (exit $ac_status); } &&
55070 { ac_try='test -z "$ac_c_werror_flag"
55071 || test ! -s conftest.err'
55072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55073 (eval $ac_try) 2>&5
55074 ac_status=$?
55075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55076 (exit $ac_status); }; } &&
55077 { ac_try='test -s conftest$ac_exeext'
55078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55079 (eval $ac_try) 2>&5
55080 ac_status=$?
55081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55082 (exit $ac_status); }; }; then
55083 eval "$as_ac_var=yes"
55084 else
55085 echo "$as_me: failed program was:" >&5
55086 sed 's/^/| /' conftest.$ac_ext >&5
55087
55088 eval "$as_ac_var=no"
55089 fi
55090 rm -f conftest.err conftest.$ac_objext \
55091 conftest$ac_exeext conftest.$ac_ext
55092 fi
55093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55095 if test `eval echo '${'$as_ac_var'}'` = yes; then
55096 cat >>confdefs.h <<_ACEOF
55097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55098 _ACEOF
55099
55100 fi
55101 done
55102
55103 fi
55104 fi
55105
55106
55107
55108
55109
55110
55111 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55112 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55113 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55114 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55115 echo $ECHO_N "(cached) $ECHO_C" >&6
55116 else
55117
55118
55119
55120 ac_ext=cc
55121 ac_cpp='$CXXCPP $CPPFLAGS'
55122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55125
55126 cat >conftest.$ac_ext <<_ACEOF
55127 /* confdefs.h. */
55128 _ACEOF
55129 cat confdefs.h >>conftest.$ac_ext
55130 cat >>conftest.$ac_ext <<_ACEOF
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55136
55137 int
55138 main ()
55139 {
55140 fpclass(0);
55141 ;
55142 return 0;
55143 }
55144 _ACEOF
55145 rm -f conftest.$ac_objext
55146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55147 (eval $ac_compile) 2>conftest.er1
55148 ac_status=$?
55149 grep -v '^ *+' conftest.er1 >conftest.err
55150 rm -f conftest.er1
55151 cat conftest.err >&5
55152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55153 (exit $ac_status); } &&
55154 { ac_try='test -z "$ac_cxx_werror_flag"
55155 || test ! -s conftest.err'
55156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55157 (eval $ac_try) 2>&5
55158 ac_status=$?
55159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55160 (exit $ac_status); }; } &&
55161 { ac_try='test -s conftest.$ac_objext'
55162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55163 (eval $ac_try) 2>&5
55164 ac_status=$?
55165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55166 (exit $ac_status); }; }; then
55167 glibcxx_cv_func_fpclass_use=yes
55168 else
55169 echo "$as_me: failed program was:" >&5
55170 sed 's/^/| /' conftest.$ac_ext >&5
55171
55172 glibcxx_cv_func_fpclass_use=no
55173 fi
55174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55175 ac_ext=c
55176 ac_cpp='$CPP $CPPFLAGS'
55177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55180
55181
55182 fi
55183
55184 fi
55185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55186 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55187
55188 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55189
55190 for ac_func in fpclass
55191 do
55192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55193 echo "$as_me:$LINENO: checking for $ac_func" >&5
55194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55195 if eval "test \"\${$as_ac_var+set}\" = set"; then
55196 echo $ECHO_N "(cached) $ECHO_C" >&6
55197 else
55198 if test x$gcc_no_link = xyes; then
55199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55201 { (exit 1); exit 1; }; }
55202 fi
55203 cat >conftest.$ac_ext <<_ACEOF
55204 /* confdefs.h. */
55205 _ACEOF
55206 cat confdefs.h >>conftest.$ac_ext
55207 cat >>conftest.$ac_ext <<_ACEOF
55208 /* end confdefs.h. */
55209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55211 #define $ac_func innocuous_$ac_func
55212
55213 /* System header to define __stub macros and hopefully few prototypes,
55214 which can conflict with char $ac_func (); below.
55215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55216 <limits.h> exists even on freestanding compilers. */
55217
55218 #ifdef __STDC__
55219 # include <limits.h>
55220 #else
55221 # include <assert.h>
55222 #endif
55223
55224 #undef $ac_func
55225
55226 /* Override any gcc2 internal prototype to avoid an error. */
55227 #ifdef __cplusplus
55228 extern "C"
55229 {
55230 #endif
55231 /* We use char because int might match the return type of a gcc2
55232 builtin and then its argument prototype would still apply. */
55233 char $ac_func ();
55234 /* The GNU C library defines this for functions which it implements
55235 to always fail with ENOSYS. Some functions are actually named
55236 something starting with __ and the normal name is an alias. */
55237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55238 choke me
55239 #else
55240 char (*f) () = $ac_func;
55241 #endif
55242 #ifdef __cplusplus
55243 }
55244 #endif
55245
55246 int
55247 main ()
55248 {
55249 return f != $ac_func;
55250 ;
55251 return 0;
55252 }
55253 _ACEOF
55254 rm -f conftest.$ac_objext conftest$ac_exeext
55255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55256 (eval $ac_link) 2>conftest.er1
55257 ac_status=$?
55258 grep -v '^ *+' conftest.er1 >conftest.err
55259 rm -f conftest.er1
55260 cat conftest.err >&5
55261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55262 (exit $ac_status); } &&
55263 { ac_try='test -z "$ac_c_werror_flag"
55264 || test ! -s conftest.err'
55265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55266 (eval $ac_try) 2>&5
55267 ac_status=$?
55268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55269 (exit $ac_status); }; } &&
55270 { ac_try='test -s conftest$ac_exeext'
55271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55272 (eval $ac_try) 2>&5
55273 ac_status=$?
55274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55275 (exit $ac_status); }; }; then
55276 eval "$as_ac_var=yes"
55277 else
55278 echo "$as_me: failed program was:" >&5
55279 sed 's/^/| /' conftest.$ac_ext >&5
55280
55281 eval "$as_ac_var=no"
55282 fi
55283 rm -f conftest.err conftest.$ac_objext \
55284 conftest$ac_exeext conftest.$ac_ext
55285 fi
55286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55288 if test `eval echo '${'$as_ac_var'}'` = yes; then
55289 cat >>confdefs.h <<_ACEOF
55290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55291 _ACEOF
55292
55293 fi
55294 done
55295
55296 else
55297
55298 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55299 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55300 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55301 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55302 echo $ECHO_N "(cached) $ECHO_C" >&6
55303 else
55304
55305
55306
55307 ac_ext=cc
55308 ac_cpp='$CXXCPP $CPPFLAGS'
55309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55312
55313 cat >conftest.$ac_ext <<_ACEOF
55314 /* confdefs.h. */
55315 _ACEOF
55316 cat confdefs.h >>conftest.$ac_ext
55317 cat >>conftest.$ac_ext <<_ACEOF
55318 /* end confdefs.h. */
55319 #include <math.h>
55320 #ifdef HAVE_IEEEFP_H
55321 #include <ieeefp.h>
55322 #endif
55323
55324 int
55325 main ()
55326 {
55327 _fpclass(0);
55328 ;
55329 return 0;
55330 }
55331 _ACEOF
55332 rm -f conftest.$ac_objext
55333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55334 (eval $ac_compile) 2>conftest.er1
55335 ac_status=$?
55336 grep -v '^ *+' conftest.er1 >conftest.err
55337 rm -f conftest.er1
55338 cat conftest.err >&5
55339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55340 (exit $ac_status); } &&
55341 { ac_try='test -z "$ac_cxx_werror_flag"
55342 || test ! -s conftest.err'
55343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55344 (eval $ac_try) 2>&5
55345 ac_status=$?
55346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55347 (exit $ac_status); }; } &&
55348 { ac_try='test -s conftest.$ac_objext'
55349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55350 (eval $ac_try) 2>&5
55351 ac_status=$?
55352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55353 (exit $ac_status); }; }; then
55354 glibcxx_cv_func__fpclass_use=yes
55355 else
55356 echo "$as_me: failed program was:" >&5
55357 sed 's/^/| /' conftest.$ac_ext >&5
55358
55359 glibcxx_cv_func__fpclass_use=no
55360 fi
55361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55362 ac_ext=c
55363 ac_cpp='$CPP $CPPFLAGS'
55364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55367
55368
55369 fi
55370
55371 fi
55372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55373 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55374
55375 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55376
55377 for ac_func in _fpclass
55378 do
55379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55380 echo "$as_me:$LINENO: checking for $ac_func" >&5
55381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55382 if eval "test \"\${$as_ac_var+set}\" = set"; then
55383 echo $ECHO_N "(cached) $ECHO_C" >&6
55384 else
55385 if test x$gcc_no_link = xyes; then
55386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55388 { (exit 1); exit 1; }; }
55389 fi
55390 cat >conftest.$ac_ext <<_ACEOF
55391 /* confdefs.h. */
55392 _ACEOF
55393 cat confdefs.h >>conftest.$ac_ext
55394 cat >>conftest.$ac_ext <<_ACEOF
55395 /* end confdefs.h. */
55396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55398 #define $ac_func innocuous_$ac_func
55399
55400 /* System header to define __stub macros and hopefully few prototypes,
55401 which can conflict with char $ac_func (); below.
55402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55403 <limits.h> exists even on freestanding compilers. */
55404
55405 #ifdef __STDC__
55406 # include <limits.h>
55407 #else
55408 # include <assert.h>
55409 #endif
55410
55411 #undef $ac_func
55412
55413 /* Override any gcc2 internal prototype to avoid an error. */
55414 #ifdef __cplusplus
55415 extern "C"
55416 {
55417 #endif
55418 /* We use char because int might match the return type of a gcc2
55419 builtin and then its argument prototype would still apply. */
55420 char $ac_func ();
55421 /* The GNU C library defines this for functions which it implements
55422 to always fail with ENOSYS. Some functions are actually named
55423 something starting with __ and the normal name is an alias. */
55424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55425 choke me
55426 #else
55427 char (*f) () = $ac_func;
55428 #endif
55429 #ifdef __cplusplus
55430 }
55431 #endif
55432
55433 int
55434 main ()
55435 {
55436 return f != $ac_func;
55437 ;
55438 return 0;
55439 }
55440 _ACEOF
55441 rm -f conftest.$ac_objext conftest$ac_exeext
55442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55443 (eval $ac_link) 2>conftest.er1
55444 ac_status=$?
55445 grep -v '^ *+' conftest.er1 >conftest.err
55446 rm -f conftest.er1
55447 cat conftest.err >&5
55448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55449 (exit $ac_status); } &&
55450 { ac_try='test -z "$ac_c_werror_flag"
55451 || test ! -s conftest.err'
55452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55453 (eval $ac_try) 2>&5
55454 ac_status=$?
55455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55456 (exit $ac_status); }; } &&
55457 { ac_try='test -s conftest$ac_exeext'
55458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55459 (eval $ac_try) 2>&5
55460 ac_status=$?
55461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55462 (exit $ac_status); }; }; then
55463 eval "$as_ac_var=yes"
55464 else
55465 echo "$as_me: failed program was:" >&5
55466 sed 's/^/| /' conftest.$ac_ext >&5
55467
55468 eval "$as_ac_var=no"
55469 fi
55470 rm -f conftest.err conftest.$ac_objext \
55471 conftest$ac_exeext conftest.$ac_ext
55472 fi
55473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55475 if test `eval echo '${'$as_ac_var'}'` = yes; then
55476 cat >>confdefs.h <<_ACEOF
55477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55478 _ACEOF
55479
55480 fi
55481 done
55482
55483 fi
55484 fi
55485
55486
55487
55488
55489
55490
55491 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55492 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55493 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55494 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55495 echo $ECHO_N "(cached) $ECHO_C" >&6
55496 else
55497
55498
55499
55500 ac_ext=cc
55501 ac_cpp='$CXXCPP $CPPFLAGS'
55502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55505
55506 cat >conftest.$ac_ext <<_ACEOF
55507 /* confdefs.h. */
55508 _ACEOF
55509 cat confdefs.h >>conftest.$ac_ext
55510 cat >>conftest.$ac_ext <<_ACEOF
55511 /* end confdefs.h. */
55512 #include <math.h>
55513 #ifdef HAVE_IEEEFP_H
55514 #include <ieeefp.h>
55515 #endif
55516
55517 int
55518 main ()
55519 {
55520 qfpclass(0);
55521 ;
55522 return 0;
55523 }
55524 _ACEOF
55525 rm -f conftest.$ac_objext
55526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55527 (eval $ac_compile) 2>conftest.er1
55528 ac_status=$?
55529 grep -v '^ *+' conftest.er1 >conftest.err
55530 rm -f conftest.er1
55531 cat conftest.err >&5
55532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55533 (exit $ac_status); } &&
55534 { ac_try='test -z "$ac_cxx_werror_flag"
55535 || test ! -s conftest.err'
55536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537 (eval $ac_try) 2>&5
55538 ac_status=$?
55539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540 (exit $ac_status); }; } &&
55541 { ac_try='test -s conftest.$ac_objext'
55542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55543 (eval $ac_try) 2>&5
55544 ac_status=$?
55545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55546 (exit $ac_status); }; }; then
55547 glibcxx_cv_func_qfpclass_use=yes
55548 else
55549 echo "$as_me: failed program was:" >&5
55550 sed 's/^/| /' conftest.$ac_ext >&5
55551
55552 glibcxx_cv_func_qfpclass_use=no
55553 fi
55554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55560
55561
55562 fi
55563
55564 fi
55565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
55566 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
55567
55568 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55569
55570 for ac_func in qfpclass
55571 do
55572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55573 echo "$as_me:$LINENO: checking for $ac_func" >&5
55574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55575 if eval "test \"\${$as_ac_var+set}\" = set"; then
55576 echo $ECHO_N "(cached) $ECHO_C" >&6
55577 else
55578 if test x$gcc_no_link = xyes; then
55579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55581 { (exit 1); exit 1; }; }
55582 fi
55583 cat >conftest.$ac_ext <<_ACEOF
55584 /* confdefs.h. */
55585 _ACEOF
55586 cat confdefs.h >>conftest.$ac_ext
55587 cat >>conftest.$ac_ext <<_ACEOF
55588 /* end confdefs.h. */
55589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55591 #define $ac_func innocuous_$ac_func
55592
55593 /* System header to define __stub macros and hopefully few prototypes,
55594 which can conflict with char $ac_func (); below.
55595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55596 <limits.h> exists even on freestanding compilers. */
55597
55598 #ifdef __STDC__
55599 # include <limits.h>
55600 #else
55601 # include <assert.h>
55602 #endif
55603
55604 #undef $ac_func
55605
55606 /* Override any gcc2 internal prototype to avoid an error. */
55607 #ifdef __cplusplus
55608 extern "C"
55609 {
55610 #endif
55611 /* We use char because int might match the return type of a gcc2
55612 builtin and then its argument prototype would still apply. */
55613 char $ac_func ();
55614 /* The GNU C library defines this for functions which it implements
55615 to always fail with ENOSYS. Some functions are actually named
55616 something starting with __ and the normal name is an alias. */
55617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55618 choke me
55619 #else
55620 char (*f) () = $ac_func;
55621 #endif
55622 #ifdef __cplusplus
55623 }
55624 #endif
55625
55626 int
55627 main ()
55628 {
55629 return f != $ac_func;
55630 ;
55631 return 0;
55632 }
55633 _ACEOF
55634 rm -f conftest.$ac_objext conftest$ac_exeext
55635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55636 (eval $ac_link) 2>conftest.er1
55637 ac_status=$?
55638 grep -v '^ *+' conftest.er1 >conftest.err
55639 rm -f conftest.er1
55640 cat conftest.err >&5
55641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55642 (exit $ac_status); } &&
55643 { ac_try='test -z "$ac_c_werror_flag"
55644 || test ! -s conftest.err'
55645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55646 (eval $ac_try) 2>&5
55647 ac_status=$?
55648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55649 (exit $ac_status); }; } &&
55650 { ac_try='test -s conftest$ac_exeext'
55651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55652 (eval $ac_try) 2>&5
55653 ac_status=$?
55654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55655 (exit $ac_status); }; }; then
55656 eval "$as_ac_var=yes"
55657 else
55658 echo "$as_me: failed program was:" >&5
55659 sed 's/^/| /' conftest.$ac_ext >&5
55660
55661 eval "$as_ac_var=no"
55662 fi
55663 rm -f conftest.err conftest.$ac_objext \
55664 conftest$ac_exeext conftest.$ac_ext
55665 fi
55666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55668 if test `eval echo '${'$as_ac_var'}'` = yes; then
55669 cat >>confdefs.h <<_ACEOF
55670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55671 _ACEOF
55672
55673 fi
55674 done
55675
55676 else
55677
55678 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
55679 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
55680 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55681 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
55682 echo $ECHO_N "(cached) $ECHO_C" >&6
55683 else
55684
55685
55686
55687 ac_ext=cc
55688 ac_cpp='$CXXCPP $CPPFLAGS'
55689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55692
55693 cat >conftest.$ac_ext <<_ACEOF
55694 /* confdefs.h. */
55695 _ACEOF
55696 cat confdefs.h >>conftest.$ac_ext
55697 cat >>conftest.$ac_ext <<_ACEOF
55698 /* end confdefs.h. */
55699 #include <math.h>
55700 #ifdef HAVE_IEEEFP_H
55701 #include <ieeefp.h>
55702 #endif
55703
55704 int
55705 main ()
55706 {
55707 _qfpclass(0);
55708 ;
55709 return 0;
55710 }
55711 _ACEOF
55712 rm -f conftest.$ac_objext
55713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55714 (eval $ac_compile) 2>conftest.er1
55715 ac_status=$?
55716 grep -v '^ *+' conftest.er1 >conftest.err
55717 rm -f conftest.er1
55718 cat conftest.err >&5
55719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55720 (exit $ac_status); } &&
55721 { ac_try='test -z "$ac_cxx_werror_flag"
55722 || test ! -s conftest.err'
55723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55724 (eval $ac_try) 2>&5
55725 ac_status=$?
55726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55727 (exit $ac_status); }; } &&
55728 { ac_try='test -s conftest.$ac_objext'
55729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55730 (eval $ac_try) 2>&5
55731 ac_status=$?
55732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55733 (exit $ac_status); }; }; then
55734 glibcxx_cv_func__qfpclass_use=yes
55735 else
55736 echo "$as_me: failed program was:" >&5
55737 sed 's/^/| /' conftest.$ac_ext >&5
55738
55739 glibcxx_cv_func__qfpclass_use=no
55740 fi
55741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55742 ac_ext=c
55743 ac_cpp='$CPP $CPPFLAGS'
55744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55747
55748
55749 fi
55750
55751 fi
55752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
55753 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
55754
55755 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55756
55757 for ac_func in _qfpclass
55758 do
55759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55760 echo "$as_me:$LINENO: checking for $ac_func" >&5
55761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55762 if eval "test \"\${$as_ac_var+set}\" = set"; then
55763 echo $ECHO_N "(cached) $ECHO_C" >&6
55764 else
55765 if test x$gcc_no_link = xyes; then
55766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55768 { (exit 1); exit 1; }; }
55769 fi
55770 cat >conftest.$ac_ext <<_ACEOF
55771 /* confdefs.h. */
55772 _ACEOF
55773 cat confdefs.h >>conftest.$ac_ext
55774 cat >>conftest.$ac_ext <<_ACEOF
55775 /* end confdefs.h. */
55776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55778 #define $ac_func innocuous_$ac_func
55779
55780 /* System header to define __stub macros and hopefully few prototypes,
55781 which can conflict with char $ac_func (); below.
55782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55783 <limits.h> exists even on freestanding compilers. */
55784
55785 #ifdef __STDC__
55786 # include <limits.h>
55787 #else
55788 # include <assert.h>
55789 #endif
55790
55791 #undef $ac_func
55792
55793 /* Override any gcc2 internal prototype to avoid an error. */
55794 #ifdef __cplusplus
55795 extern "C"
55796 {
55797 #endif
55798 /* We use char because int might match the return type of a gcc2
55799 builtin and then its argument prototype would still apply. */
55800 char $ac_func ();
55801 /* The GNU C library defines this for functions which it implements
55802 to always fail with ENOSYS. Some functions are actually named
55803 something starting with __ and the normal name is an alias. */
55804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55805 choke me
55806 #else
55807 char (*f) () = $ac_func;
55808 #endif
55809 #ifdef __cplusplus
55810 }
55811 #endif
55812
55813 int
55814 main ()
55815 {
55816 return f != $ac_func;
55817 ;
55818 return 0;
55819 }
55820 _ACEOF
55821 rm -f conftest.$ac_objext conftest$ac_exeext
55822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55823 (eval $ac_link) 2>conftest.er1
55824 ac_status=$?
55825 grep -v '^ *+' conftest.er1 >conftest.err
55826 rm -f conftest.er1
55827 cat conftest.err >&5
55828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55829 (exit $ac_status); } &&
55830 { ac_try='test -z "$ac_c_werror_flag"
55831 || test ! -s conftest.err'
55832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55833 (eval $ac_try) 2>&5
55834 ac_status=$?
55835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55836 (exit $ac_status); }; } &&
55837 { ac_try='test -s conftest$ac_exeext'
55838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55839 (eval $ac_try) 2>&5
55840 ac_status=$?
55841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55842 (exit $ac_status); }; }; then
55843 eval "$as_ac_var=yes"
55844 else
55845 echo "$as_me: failed program was:" >&5
55846 sed 's/^/| /' conftest.$ac_ext >&5
55847
55848 eval "$as_ac_var=no"
55849 fi
55850 rm -f conftest.err conftest.$ac_objext \
55851 conftest$ac_exeext conftest.$ac_ext
55852 fi
55853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55855 if test `eval echo '${'$as_ac_var'}'` = yes; then
55856 cat >>confdefs.h <<_ACEOF
55857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55858 _ACEOF
55859
55860 fi
55861 done
55862
55863 fi
55864 fi
55865
55866
55867
55868
55869
55870
55871 echo "$as_me:$LINENO: checking for hypot declaration" >&5
55872 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
55873 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55874 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
55875 echo $ECHO_N "(cached) $ECHO_C" >&6
55876 else
55877
55878
55879
55880 ac_ext=cc
55881 ac_cpp='$CXXCPP $CPPFLAGS'
55882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55885
55886 cat >conftest.$ac_ext <<_ACEOF
55887 /* confdefs.h. */
55888 _ACEOF
55889 cat confdefs.h >>conftest.$ac_ext
55890 cat >>conftest.$ac_ext <<_ACEOF
55891 /* end confdefs.h. */
55892 #include <math.h>
55893 int
55894 main ()
55895 {
55896 hypot(0, 0);
55897 ;
55898 return 0;
55899 }
55900 _ACEOF
55901 rm -f conftest.$ac_objext
55902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55903 (eval $ac_compile) 2>conftest.er1
55904 ac_status=$?
55905 grep -v '^ *+' conftest.er1 >conftest.err
55906 rm -f conftest.er1
55907 cat conftest.err >&5
55908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55909 (exit $ac_status); } &&
55910 { ac_try='test -z "$ac_cxx_werror_flag"
55911 || test ! -s conftest.err'
55912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55913 (eval $ac_try) 2>&5
55914 ac_status=$?
55915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55916 (exit $ac_status); }; } &&
55917 { ac_try='test -s conftest.$ac_objext'
55918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55919 (eval $ac_try) 2>&5
55920 ac_status=$?
55921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55922 (exit $ac_status); }; }; then
55923 glibcxx_cv_func_hypot_use=yes
55924 else
55925 echo "$as_me: failed program was:" >&5
55926 sed 's/^/| /' conftest.$ac_ext >&5
55927
55928 glibcxx_cv_func_hypot_use=no
55929 fi
55930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55931 ac_ext=c
55932 ac_cpp='$CPP $CPPFLAGS'
55933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55936
55937
55938 fi
55939
55940 fi
55941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
55942 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
55943
55944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55945
55946 for ac_func in hypot
55947 do
55948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55949 echo "$as_me:$LINENO: checking for $ac_func" >&5
55950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55951 if eval "test \"\${$as_ac_var+set}\" = set"; then
55952 echo $ECHO_N "(cached) $ECHO_C" >&6
55953 else
55954 if test x$gcc_no_link = xyes; then
55955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55957 { (exit 1); exit 1; }; }
55958 fi
55959 cat >conftest.$ac_ext <<_ACEOF
55960 /* confdefs.h. */
55961 _ACEOF
55962 cat confdefs.h >>conftest.$ac_ext
55963 cat >>conftest.$ac_ext <<_ACEOF
55964 /* end confdefs.h. */
55965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55967 #define $ac_func innocuous_$ac_func
55968
55969 /* System header to define __stub macros and hopefully few prototypes,
55970 which can conflict with char $ac_func (); below.
55971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55972 <limits.h> exists even on freestanding compilers. */
55973
55974 #ifdef __STDC__
55975 # include <limits.h>
55976 #else
55977 # include <assert.h>
55978 #endif
55979
55980 #undef $ac_func
55981
55982 /* Override any gcc2 internal prototype to avoid an error. */
55983 #ifdef __cplusplus
55984 extern "C"
55985 {
55986 #endif
55987 /* We use char because int might match the return type of a gcc2
55988 builtin and then its argument prototype would still apply. */
55989 char $ac_func ();
55990 /* The GNU C library defines this for functions which it implements
55991 to always fail with ENOSYS. Some functions are actually named
55992 something starting with __ and the normal name is an alias. */
55993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55994 choke me
55995 #else
55996 char (*f) () = $ac_func;
55997 #endif
55998 #ifdef __cplusplus
55999 }
56000 #endif
56001
56002 int
56003 main ()
56004 {
56005 return f != $ac_func;
56006 ;
56007 return 0;
56008 }
56009 _ACEOF
56010 rm -f conftest.$ac_objext conftest$ac_exeext
56011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56012 (eval $ac_link) 2>conftest.er1
56013 ac_status=$?
56014 grep -v '^ *+' conftest.er1 >conftest.err
56015 rm -f conftest.er1
56016 cat conftest.err >&5
56017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56018 (exit $ac_status); } &&
56019 { ac_try='test -z "$ac_c_werror_flag"
56020 || test ! -s conftest.err'
56021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56022 (eval $ac_try) 2>&5
56023 ac_status=$?
56024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56025 (exit $ac_status); }; } &&
56026 { ac_try='test -s conftest$ac_exeext'
56027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56028 (eval $ac_try) 2>&5
56029 ac_status=$?
56030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56031 (exit $ac_status); }; }; then
56032 eval "$as_ac_var=yes"
56033 else
56034 echo "$as_me: failed program was:" >&5
56035 sed 's/^/| /' conftest.$ac_ext >&5
56036
56037 eval "$as_ac_var=no"
56038 fi
56039 rm -f conftest.err conftest.$ac_objext \
56040 conftest$ac_exeext conftest.$ac_ext
56041 fi
56042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56044 if test `eval echo '${'$as_ac_var'}'` = yes; then
56045 cat >>confdefs.h <<_ACEOF
56046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56047 _ACEOF
56048
56049 fi
56050 done
56051
56052 else
56053
56054 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56055 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56056 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56057 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56058 echo $ECHO_N "(cached) $ECHO_C" >&6
56059 else
56060
56061
56062
56063 ac_ext=cc
56064 ac_cpp='$CXXCPP $CPPFLAGS'
56065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56068
56069 cat >conftest.$ac_ext <<_ACEOF
56070 /* confdefs.h. */
56071 _ACEOF
56072 cat confdefs.h >>conftest.$ac_ext
56073 cat >>conftest.$ac_ext <<_ACEOF
56074 /* end confdefs.h. */
56075 #include <math.h>
56076 int
56077 main ()
56078 {
56079 _hypot(0, 0);
56080 ;
56081 return 0;
56082 }
56083 _ACEOF
56084 rm -f conftest.$ac_objext
56085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56086 (eval $ac_compile) 2>conftest.er1
56087 ac_status=$?
56088 grep -v '^ *+' conftest.er1 >conftest.err
56089 rm -f conftest.er1
56090 cat conftest.err >&5
56091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092 (exit $ac_status); } &&
56093 { ac_try='test -z "$ac_cxx_werror_flag"
56094 || test ! -s conftest.err'
56095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56096 (eval $ac_try) 2>&5
56097 ac_status=$?
56098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099 (exit $ac_status); }; } &&
56100 { ac_try='test -s conftest.$ac_objext'
56101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56102 (eval $ac_try) 2>&5
56103 ac_status=$?
56104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105 (exit $ac_status); }; }; then
56106 glibcxx_cv_func__hypot_use=yes
56107 else
56108 echo "$as_me: failed program was:" >&5
56109 sed 's/^/| /' conftest.$ac_ext >&5
56110
56111 glibcxx_cv_func__hypot_use=no
56112 fi
56113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56114 ac_ext=c
56115 ac_cpp='$CPP $CPPFLAGS'
56116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56119
56120
56121 fi
56122
56123 fi
56124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56125 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56126
56127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56128
56129 for ac_func in _hypot
56130 do
56131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56132 echo "$as_me:$LINENO: checking for $ac_func" >&5
56133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56134 if eval "test \"\${$as_ac_var+set}\" = set"; then
56135 echo $ECHO_N "(cached) $ECHO_C" >&6
56136 else
56137 if test x$gcc_no_link = xyes; then
56138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56140 { (exit 1); exit 1; }; }
56141 fi
56142 cat >conftest.$ac_ext <<_ACEOF
56143 /* confdefs.h. */
56144 _ACEOF
56145 cat confdefs.h >>conftest.$ac_ext
56146 cat >>conftest.$ac_ext <<_ACEOF
56147 /* end confdefs.h. */
56148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56150 #define $ac_func innocuous_$ac_func
56151
56152 /* System header to define __stub macros and hopefully few prototypes,
56153 which can conflict with char $ac_func (); below.
56154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56155 <limits.h> exists even on freestanding compilers. */
56156
56157 #ifdef __STDC__
56158 # include <limits.h>
56159 #else
56160 # include <assert.h>
56161 #endif
56162
56163 #undef $ac_func
56164
56165 /* Override any gcc2 internal prototype to avoid an error. */
56166 #ifdef __cplusplus
56167 extern "C"
56168 {
56169 #endif
56170 /* We use char because int might match the return type of a gcc2
56171 builtin and then its argument prototype would still apply. */
56172 char $ac_func ();
56173 /* The GNU C library defines this for functions which it implements
56174 to always fail with ENOSYS. Some functions are actually named
56175 something starting with __ and the normal name is an alias. */
56176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56177 choke me
56178 #else
56179 char (*f) () = $ac_func;
56180 #endif
56181 #ifdef __cplusplus
56182 }
56183 #endif
56184
56185 int
56186 main ()
56187 {
56188 return f != $ac_func;
56189 ;
56190 return 0;
56191 }
56192 _ACEOF
56193 rm -f conftest.$ac_objext conftest$ac_exeext
56194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56195 (eval $ac_link) 2>conftest.er1
56196 ac_status=$?
56197 grep -v '^ *+' conftest.er1 >conftest.err
56198 rm -f conftest.er1
56199 cat conftest.err >&5
56200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56201 (exit $ac_status); } &&
56202 { ac_try='test -z "$ac_c_werror_flag"
56203 || test ! -s conftest.err'
56204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56205 (eval $ac_try) 2>&5
56206 ac_status=$?
56207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56208 (exit $ac_status); }; } &&
56209 { ac_try='test -s conftest$ac_exeext'
56210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56211 (eval $ac_try) 2>&5
56212 ac_status=$?
56213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56214 (exit $ac_status); }; }; then
56215 eval "$as_ac_var=yes"
56216 else
56217 echo "$as_me: failed program was:" >&5
56218 sed 's/^/| /' conftest.$ac_ext >&5
56219
56220 eval "$as_ac_var=no"
56221 fi
56222 rm -f conftest.err conftest.$ac_objext \
56223 conftest$ac_exeext conftest.$ac_ext
56224 fi
56225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56227 if test `eval echo '${'$as_ac_var'}'` = yes; then
56228 cat >>confdefs.h <<_ACEOF
56229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56230 _ACEOF
56231
56232 fi
56233 done
56234
56235 fi
56236 fi
56237
56238
56239
56240
56241
56242
56243 echo "$as_me:$LINENO: checking for float trig functions" >&5
56244 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56246 echo $ECHO_N "(cached) $ECHO_C" >&6
56247 else
56248
56249
56250
56251 ac_ext=cc
56252 ac_cpp='$CXXCPP $CPPFLAGS'
56253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56256
56257 cat >conftest.$ac_ext <<_ACEOF
56258 /* confdefs.h. */
56259 _ACEOF
56260 cat confdefs.h >>conftest.$ac_ext
56261 cat >>conftest.$ac_ext <<_ACEOF
56262 /* end confdefs.h. */
56263 #include <math.h>
56264 int
56265 main ()
56266 {
56267 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56268 ;
56269 return 0;
56270 }
56271 _ACEOF
56272 rm -f conftest.$ac_objext
56273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56274 (eval $ac_compile) 2>conftest.er1
56275 ac_status=$?
56276 grep -v '^ *+' conftest.er1 >conftest.err
56277 rm -f conftest.er1
56278 cat conftest.err >&5
56279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56280 (exit $ac_status); } &&
56281 { ac_try='test -z "$ac_cxx_werror_flag"
56282 || test ! -s conftest.err'
56283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56284 (eval $ac_try) 2>&5
56285 ac_status=$?
56286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56287 (exit $ac_status); }; } &&
56288 { ac_try='test -s conftest.$ac_objext'
56289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56290 (eval $ac_try) 2>&5
56291 ac_status=$?
56292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56293 (exit $ac_status); }; }; then
56294 glibcxx_cv_func_float_trig_use=yes
56295 else
56296 echo "$as_me: failed program was:" >&5
56297 sed 's/^/| /' conftest.$ac_ext >&5
56298
56299 glibcxx_cv_func_float_trig_use=no
56300 fi
56301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56302 ac_ext=c
56303 ac_cpp='$CPP $CPPFLAGS'
56304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56307
56308 fi
56309
56310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56311 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56312 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56313
56314
56315
56316
56317
56318
56319
56320
56321
56322 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56323 do
56324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56325 echo "$as_me:$LINENO: checking for $ac_func" >&5
56326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56327 if eval "test \"\${$as_ac_var+set}\" = set"; then
56328 echo $ECHO_N "(cached) $ECHO_C" >&6
56329 else
56330 if test x$gcc_no_link = xyes; then
56331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56333 { (exit 1); exit 1; }; }
56334 fi
56335 cat >conftest.$ac_ext <<_ACEOF
56336 /* confdefs.h. */
56337 _ACEOF
56338 cat confdefs.h >>conftest.$ac_ext
56339 cat >>conftest.$ac_ext <<_ACEOF
56340 /* end confdefs.h. */
56341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56343 #define $ac_func innocuous_$ac_func
56344
56345 /* System header to define __stub macros and hopefully few prototypes,
56346 which can conflict with char $ac_func (); below.
56347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56348 <limits.h> exists even on freestanding compilers. */
56349
56350 #ifdef __STDC__
56351 # include <limits.h>
56352 #else
56353 # include <assert.h>
56354 #endif
56355
56356 #undef $ac_func
56357
56358 /* Override any gcc2 internal prototype to avoid an error. */
56359 #ifdef __cplusplus
56360 extern "C"
56361 {
56362 #endif
56363 /* We use char because int might match the return type of a gcc2
56364 builtin and then its argument prototype would still apply. */
56365 char $ac_func ();
56366 /* The GNU C library defines this for functions which it implements
56367 to always fail with ENOSYS. Some functions are actually named
56368 something starting with __ and the normal name is an alias. */
56369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56370 choke me
56371 #else
56372 char (*f) () = $ac_func;
56373 #endif
56374 #ifdef __cplusplus
56375 }
56376 #endif
56377
56378 int
56379 main ()
56380 {
56381 return f != $ac_func;
56382 ;
56383 return 0;
56384 }
56385 _ACEOF
56386 rm -f conftest.$ac_objext conftest$ac_exeext
56387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56388 (eval $ac_link) 2>conftest.er1
56389 ac_status=$?
56390 grep -v '^ *+' conftest.er1 >conftest.err
56391 rm -f conftest.er1
56392 cat conftest.err >&5
56393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56394 (exit $ac_status); } &&
56395 { ac_try='test -z "$ac_c_werror_flag"
56396 || test ! -s conftest.err'
56397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56398 (eval $ac_try) 2>&5
56399 ac_status=$?
56400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56401 (exit $ac_status); }; } &&
56402 { ac_try='test -s conftest$ac_exeext'
56403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56404 (eval $ac_try) 2>&5
56405 ac_status=$?
56406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407 (exit $ac_status); }; }; then
56408 eval "$as_ac_var=yes"
56409 else
56410 echo "$as_me: failed program was:" >&5
56411 sed 's/^/| /' conftest.$ac_ext >&5
56412
56413 eval "$as_ac_var=no"
56414 fi
56415 rm -f conftest.err conftest.$ac_objext \
56416 conftest$ac_exeext conftest.$ac_ext
56417 fi
56418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56420 if test `eval echo '${'$as_ac_var'}'` = yes; then
56421 cat >>confdefs.h <<_ACEOF
56422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56423 _ACEOF
56424
56425 fi
56426 done
56427
56428 else
56429 echo "$as_me:$LINENO: checking for _float trig functions" >&5
56430 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
56431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
56432 echo $ECHO_N "(cached) $ECHO_C" >&6
56433 else
56434
56435
56436
56437 ac_ext=cc
56438 ac_cpp='$CXXCPP $CPPFLAGS'
56439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56442
56443 cat >conftest.$ac_ext <<_ACEOF
56444 /* confdefs.h. */
56445 _ACEOF
56446 cat confdefs.h >>conftest.$ac_ext
56447 cat >>conftest.$ac_ext <<_ACEOF
56448 /* end confdefs.h. */
56449 #include <math.h>
56450 int
56451 main ()
56452 {
56453 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56454 ;
56455 return 0;
56456 }
56457 _ACEOF
56458 rm -f conftest.$ac_objext
56459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56460 (eval $ac_compile) 2>conftest.er1
56461 ac_status=$?
56462 grep -v '^ *+' conftest.er1 >conftest.err
56463 rm -f conftest.er1
56464 cat conftest.err >&5
56465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56466 (exit $ac_status); } &&
56467 { ac_try='test -z "$ac_cxx_werror_flag"
56468 || test ! -s conftest.err'
56469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56470 (eval $ac_try) 2>&5
56471 ac_status=$?
56472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56473 (exit $ac_status); }; } &&
56474 { ac_try='test -s conftest.$ac_objext'
56475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56476 (eval $ac_try) 2>&5
56477 ac_status=$?
56478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479 (exit $ac_status); }; }; then
56480 glibcxx_cv_func__float_trig_use=yes
56481 else
56482 echo "$as_me: failed program was:" >&5
56483 sed 's/^/| /' conftest.$ac_ext >&5
56484
56485 glibcxx_cv_func__float_trig_use=no
56486 fi
56487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56488 ac_ext=c
56489 ac_cpp='$CPP $CPPFLAGS'
56490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56493
56494 fi
56495
56496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
56497 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
56498 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56499
56500
56501
56502
56503
56504
56505
56506
56507
56508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56509 do
56510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56511 echo "$as_me:$LINENO: checking for $ac_func" >&5
56512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56513 if eval "test \"\${$as_ac_var+set}\" = set"; then
56514 echo $ECHO_N "(cached) $ECHO_C" >&6
56515 else
56516 if test x$gcc_no_link = xyes; then
56517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56519 { (exit 1); exit 1; }; }
56520 fi
56521 cat >conftest.$ac_ext <<_ACEOF
56522 /* confdefs.h. */
56523 _ACEOF
56524 cat confdefs.h >>conftest.$ac_ext
56525 cat >>conftest.$ac_ext <<_ACEOF
56526 /* end confdefs.h. */
56527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56529 #define $ac_func innocuous_$ac_func
56530
56531 /* System header to define __stub macros and hopefully few prototypes,
56532 which can conflict with char $ac_func (); below.
56533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56534 <limits.h> exists even on freestanding compilers. */
56535
56536 #ifdef __STDC__
56537 # include <limits.h>
56538 #else
56539 # include <assert.h>
56540 #endif
56541
56542 #undef $ac_func
56543
56544 /* Override any gcc2 internal prototype to avoid an error. */
56545 #ifdef __cplusplus
56546 extern "C"
56547 {
56548 #endif
56549 /* We use char because int might match the return type of a gcc2
56550 builtin and then its argument prototype would still apply. */
56551 char $ac_func ();
56552 /* The GNU C library defines this for functions which it implements
56553 to always fail with ENOSYS. Some functions are actually named
56554 something starting with __ and the normal name is an alias. */
56555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56556 choke me
56557 #else
56558 char (*f) () = $ac_func;
56559 #endif
56560 #ifdef __cplusplus
56561 }
56562 #endif
56563
56564 int
56565 main ()
56566 {
56567 return f != $ac_func;
56568 ;
56569 return 0;
56570 }
56571 _ACEOF
56572 rm -f conftest.$ac_objext conftest$ac_exeext
56573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56574 (eval $ac_link) 2>conftest.er1
56575 ac_status=$?
56576 grep -v '^ *+' conftest.er1 >conftest.err
56577 rm -f conftest.er1
56578 cat conftest.err >&5
56579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56580 (exit $ac_status); } &&
56581 { ac_try='test -z "$ac_c_werror_flag"
56582 || test ! -s conftest.err'
56583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56584 (eval $ac_try) 2>&5
56585 ac_status=$?
56586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56587 (exit $ac_status); }; } &&
56588 { ac_try='test -s conftest$ac_exeext'
56589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590 (eval $ac_try) 2>&5
56591 ac_status=$?
56592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593 (exit $ac_status); }; }; then
56594 eval "$as_ac_var=yes"
56595 else
56596 echo "$as_me: failed program was:" >&5
56597 sed 's/^/| /' conftest.$ac_ext >&5
56598
56599 eval "$as_ac_var=no"
56600 fi
56601 rm -f conftest.err conftest.$ac_objext \
56602 conftest$ac_exeext conftest.$ac_ext
56603 fi
56604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56606 if test `eval echo '${'$as_ac_var'}'` = yes; then
56607 cat >>confdefs.h <<_ACEOF
56608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56609 _ACEOF
56610
56611 fi
56612 done
56613
56614 fi
56615 fi
56616
56617
56618
56619
56620
56621
56622
56623
56624
56625
56626
56627
56628
56629
56630 echo "$as_me:$LINENO: checking for float round functions" >&5
56631 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56632 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56633 echo $ECHO_N "(cached) $ECHO_C" >&6
56634 else
56635
56636
56637
56638 ac_ext=cc
56639 ac_cpp='$CXXCPP $CPPFLAGS'
56640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56643
56644 cat >conftest.$ac_ext <<_ACEOF
56645 /* confdefs.h. */
56646 _ACEOF
56647 cat confdefs.h >>conftest.$ac_ext
56648 cat >>conftest.$ac_ext <<_ACEOF
56649 /* end confdefs.h. */
56650 #include <math.h>
56651 int
56652 main ()
56653 {
56654 ceilf (0); floorf (0);
56655 ;
56656 return 0;
56657 }
56658 _ACEOF
56659 rm -f conftest.$ac_objext
56660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56661 (eval $ac_compile) 2>conftest.er1
56662 ac_status=$?
56663 grep -v '^ *+' conftest.er1 >conftest.err
56664 rm -f conftest.er1
56665 cat conftest.err >&5
56666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56667 (exit $ac_status); } &&
56668 { ac_try='test -z "$ac_cxx_werror_flag"
56669 || test ! -s conftest.err'
56670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56671 (eval $ac_try) 2>&5
56672 ac_status=$?
56673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56674 (exit $ac_status); }; } &&
56675 { ac_try='test -s conftest.$ac_objext'
56676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56677 (eval $ac_try) 2>&5
56678 ac_status=$?
56679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56680 (exit $ac_status); }; }; then
56681 glibcxx_cv_func_float_round_use=yes
56682 else
56683 echo "$as_me: failed program was:" >&5
56684 sed 's/^/| /' conftest.$ac_ext >&5
56685
56686 glibcxx_cv_func_float_round_use=no
56687 fi
56688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56689 ac_ext=c
56690 ac_cpp='$CPP $CPPFLAGS'
56691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56694
56695 fi
56696
56697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56698 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56699 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56700
56701
56702 for ac_func in ceilf floorf
56703 do
56704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56705 echo "$as_me:$LINENO: checking for $ac_func" >&5
56706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56707 if eval "test \"\${$as_ac_var+set}\" = set"; then
56708 echo $ECHO_N "(cached) $ECHO_C" >&6
56709 else
56710 if test x$gcc_no_link = xyes; then
56711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56713 { (exit 1); exit 1; }; }
56714 fi
56715 cat >conftest.$ac_ext <<_ACEOF
56716 /* confdefs.h. */
56717 _ACEOF
56718 cat confdefs.h >>conftest.$ac_ext
56719 cat >>conftest.$ac_ext <<_ACEOF
56720 /* end confdefs.h. */
56721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56723 #define $ac_func innocuous_$ac_func
56724
56725 /* System header to define __stub macros and hopefully few prototypes,
56726 which can conflict with char $ac_func (); below.
56727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56728 <limits.h> exists even on freestanding compilers. */
56729
56730 #ifdef __STDC__
56731 # include <limits.h>
56732 #else
56733 # include <assert.h>
56734 #endif
56735
56736 #undef $ac_func
56737
56738 /* Override any gcc2 internal prototype to avoid an error. */
56739 #ifdef __cplusplus
56740 extern "C"
56741 {
56742 #endif
56743 /* We use char because int might match the return type of a gcc2
56744 builtin and then its argument prototype would still apply. */
56745 char $ac_func ();
56746 /* The GNU C library defines this for functions which it implements
56747 to always fail with ENOSYS. Some functions are actually named
56748 something starting with __ and the normal name is an alias. */
56749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56750 choke me
56751 #else
56752 char (*f) () = $ac_func;
56753 #endif
56754 #ifdef __cplusplus
56755 }
56756 #endif
56757
56758 int
56759 main ()
56760 {
56761 return f != $ac_func;
56762 ;
56763 return 0;
56764 }
56765 _ACEOF
56766 rm -f conftest.$ac_objext conftest$ac_exeext
56767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56768 (eval $ac_link) 2>conftest.er1
56769 ac_status=$?
56770 grep -v '^ *+' conftest.er1 >conftest.err
56771 rm -f conftest.er1
56772 cat conftest.err >&5
56773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56774 (exit $ac_status); } &&
56775 { ac_try='test -z "$ac_c_werror_flag"
56776 || test ! -s conftest.err'
56777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56778 (eval $ac_try) 2>&5
56779 ac_status=$?
56780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56781 (exit $ac_status); }; } &&
56782 { ac_try='test -s conftest$ac_exeext'
56783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56784 (eval $ac_try) 2>&5
56785 ac_status=$?
56786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56787 (exit $ac_status); }; }; then
56788 eval "$as_ac_var=yes"
56789 else
56790 echo "$as_me: failed program was:" >&5
56791 sed 's/^/| /' conftest.$ac_ext >&5
56792
56793 eval "$as_ac_var=no"
56794 fi
56795 rm -f conftest.err conftest.$ac_objext \
56796 conftest$ac_exeext conftest.$ac_ext
56797 fi
56798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56800 if test `eval echo '${'$as_ac_var'}'` = yes; then
56801 cat >>confdefs.h <<_ACEOF
56802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56803 _ACEOF
56804
56805 fi
56806 done
56807
56808 else
56809 echo "$as_me:$LINENO: checking for _float round functions" >&5
56810 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
56811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
56812 echo $ECHO_N "(cached) $ECHO_C" >&6
56813 else
56814
56815
56816
56817 ac_ext=cc
56818 ac_cpp='$CXXCPP $CPPFLAGS'
56819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56822
56823 cat >conftest.$ac_ext <<_ACEOF
56824 /* confdefs.h. */
56825 _ACEOF
56826 cat confdefs.h >>conftest.$ac_ext
56827 cat >>conftest.$ac_ext <<_ACEOF
56828 /* end confdefs.h. */
56829 #include <math.h>
56830 int
56831 main ()
56832 {
56833 _ceilf (0); _floorf (0);
56834 ;
56835 return 0;
56836 }
56837 _ACEOF
56838 rm -f conftest.$ac_objext
56839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56840 (eval $ac_compile) 2>conftest.er1
56841 ac_status=$?
56842 grep -v '^ *+' conftest.er1 >conftest.err
56843 rm -f conftest.er1
56844 cat conftest.err >&5
56845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56846 (exit $ac_status); } &&
56847 { ac_try='test -z "$ac_cxx_werror_flag"
56848 || test ! -s conftest.err'
56849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56850 (eval $ac_try) 2>&5
56851 ac_status=$?
56852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56853 (exit $ac_status); }; } &&
56854 { ac_try='test -s conftest.$ac_objext'
56855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56856 (eval $ac_try) 2>&5
56857 ac_status=$?
56858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56859 (exit $ac_status); }; }; then
56860 glibcxx_cv_func__float_round_use=yes
56861 else
56862 echo "$as_me: failed program was:" >&5
56863 sed 's/^/| /' conftest.$ac_ext >&5
56864
56865 glibcxx_cv_func__float_round_use=no
56866 fi
56867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56868 ac_ext=c
56869 ac_cpp='$CPP $CPPFLAGS'
56870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56873
56874 fi
56875
56876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
56877 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
56878 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56879
56880
56881 for ac_func in _ceilf _floorf
56882 do
56883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56884 echo "$as_me:$LINENO: checking for $ac_func" >&5
56885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56886 if eval "test \"\${$as_ac_var+set}\" = set"; then
56887 echo $ECHO_N "(cached) $ECHO_C" >&6
56888 else
56889 if test x$gcc_no_link = xyes; then
56890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56892 { (exit 1); exit 1; }; }
56893 fi
56894 cat >conftest.$ac_ext <<_ACEOF
56895 /* confdefs.h. */
56896 _ACEOF
56897 cat confdefs.h >>conftest.$ac_ext
56898 cat >>conftest.$ac_ext <<_ACEOF
56899 /* end confdefs.h. */
56900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56902 #define $ac_func innocuous_$ac_func
56903
56904 /* System header to define __stub macros and hopefully few prototypes,
56905 which can conflict with char $ac_func (); below.
56906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56907 <limits.h> exists even on freestanding compilers. */
56908
56909 #ifdef __STDC__
56910 # include <limits.h>
56911 #else
56912 # include <assert.h>
56913 #endif
56914
56915 #undef $ac_func
56916
56917 /* Override any gcc2 internal prototype to avoid an error. */
56918 #ifdef __cplusplus
56919 extern "C"
56920 {
56921 #endif
56922 /* We use char because int might match the return type of a gcc2
56923 builtin and then its argument prototype would still apply. */
56924 char $ac_func ();
56925 /* The GNU C library defines this for functions which it implements
56926 to always fail with ENOSYS. Some functions are actually named
56927 something starting with __ and the normal name is an alias. */
56928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56929 choke me
56930 #else
56931 char (*f) () = $ac_func;
56932 #endif
56933 #ifdef __cplusplus
56934 }
56935 #endif
56936
56937 int
56938 main ()
56939 {
56940 return f != $ac_func;
56941 ;
56942 return 0;
56943 }
56944 _ACEOF
56945 rm -f conftest.$ac_objext conftest$ac_exeext
56946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56947 (eval $ac_link) 2>conftest.er1
56948 ac_status=$?
56949 grep -v '^ *+' conftest.er1 >conftest.err
56950 rm -f conftest.er1
56951 cat conftest.err >&5
56952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56953 (exit $ac_status); } &&
56954 { ac_try='test -z "$ac_c_werror_flag"
56955 || test ! -s conftest.err'
56956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56957 (eval $ac_try) 2>&5
56958 ac_status=$?
56959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56960 (exit $ac_status); }; } &&
56961 { ac_try='test -s conftest$ac_exeext'
56962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56963 (eval $ac_try) 2>&5
56964 ac_status=$?
56965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56966 (exit $ac_status); }; }; then
56967 eval "$as_ac_var=yes"
56968 else
56969 echo "$as_me: failed program was:" >&5
56970 sed 's/^/| /' conftest.$ac_ext >&5
56971
56972 eval "$as_ac_var=no"
56973 fi
56974 rm -f conftest.err conftest.$ac_objext \
56975 conftest$ac_exeext conftest.$ac_ext
56976 fi
56977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56979 if test `eval echo '${'$as_ac_var'}'` = yes; then
56980 cat >>confdefs.h <<_ACEOF
56981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56982 _ACEOF
56983
56984 fi
56985 done
56986
56987 fi
56988 fi
56989
56990
56991
56992
56993
56994
56995
56996
56997 echo "$as_me:$LINENO: checking for expf declaration" >&5
56998 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
56999 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57000 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57001 echo $ECHO_N "(cached) $ECHO_C" >&6
57002 else
57003
57004
57005
57006 ac_ext=cc
57007 ac_cpp='$CXXCPP $CPPFLAGS'
57008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57011
57012 cat >conftest.$ac_ext <<_ACEOF
57013 /* confdefs.h. */
57014 _ACEOF
57015 cat confdefs.h >>conftest.$ac_ext
57016 cat >>conftest.$ac_ext <<_ACEOF
57017 /* end confdefs.h. */
57018 #include <math.h>
57019 #ifdef HAVE_IEEEFP_H
57020 #include <ieeefp.h>
57021 #endif
57022
57023 int
57024 main ()
57025 {
57026 expf(0);
57027 ;
57028 return 0;
57029 }
57030 _ACEOF
57031 rm -f conftest.$ac_objext
57032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57033 (eval $ac_compile) 2>conftest.er1
57034 ac_status=$?
57035 grep -v '^ *+' conftest.er1 >conftest.err
57036 rm -f conftest.er1
57037 cat conftest.err >&5
57038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57039 (exit $ac_status); } &&
57040 { ac_try='test -z "$ac_cxx_werror_flag"
57041 || test ! -s conftest.err'
57042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57043 (eval $ac_try) 2>&5
57044 ac_status=$?
57045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57046 (exit $ac_status); }; } &&
57047 { ac_try='test -s conftest.$ac_objext'
57048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57049 (eval $ac_try) 2>&5
57050 ac_status=$?
57051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57052 (exit $ac_status); }; }; then
57053 glibcxx_cv_func_expf_use=yes
57054 else
57055 echo "$as_me: failed program was:" >&5
57056 sed 's/^/| /' conftest.$ac_ext >&5
57057
57058 glibcxx_cv_func_expf_use=no
57059 fi
57060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57061 ac_ext=c
57062 ac_cpp='$CPP $CPPFLAGS'
57063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57066
57067
57068 fi
57069
57070 fi
57071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57072 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57073
57074 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57075
57076 for ac_func in expf
57077 do
57078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57079 echo "$as_me:$LINENO: checking for $ac_func" >&5
57080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57081 if eval "test \"\${$as_ac_var+set}\" = set"; then
57082 echo $ECHO_N "(cached) $ECHO_C" >&6
57083 else
57084 if test x$gcc_no_link = xyes; then
57085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57087 { (exit 1); exit 1; }; }
57088 fi
57089 cat >conftest.$ac_ext <<_ACEOF
57090 /* confdefs.h. */
57091 _ACEOF
57092 cat confdefs.h >>conftest.$ac_ext
57093 cat >>conftest.$ac_ext <<_ACEOF
57094 /* end confdefs.h. */
57095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57097 #define $ac_func innocuous_$ac_func
57098
57099 /* System header to define __stub macros and hopefully few prototypes,
57100 which can conflict with char $ac_func (); below.
57101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57102 <limits.h> exists even on freestanding compilers. */
57103
57104 #ifdef __STDC__
57105 # include <limits.h>
57106 #else
57107 # include <assert.h>
57108 #endif
57109
57110 #undef $ac_func
57111
57112 /* Override any gcc2 internal prototype to avoid an error. */
57113 #ifdef __cplusplus
57114 extern "C"
57115 {
57116 #endif
57117 /* We use char because int might match the return type of a gcc2
57118 builtin and then its argument prototype would still apply. */
57119 char $ac_func ();
57120 /* The GNU C library defines this for functions which it implements
57121 to always fail with ENOSYS. Some functions are actually named
57122 something starting with __ and the normal name is an alias. */
57123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57124 choke me
57125 #else
57126 char (*f) () = $ac_func;
57127 #endif
57128 #ifdef __cplusplus
57129 }
57130 #endif
57131
57132 int
57133 main ()
57134 {
57135 return f != $ac_func;
57136 ;
57137 return 0;
57138 }
57139 _ACEOF
57140 rm -f conftest.$ac_objext conftest$ac_exeext
57141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57142 (eval $ac_link) 2>conftest.er1
57143 ac_status=$?
57144 grep -v '^ *+' conftest.er1 >conftest.err
57145 rm -f conftest.er1
57146 cat conftest.err >&5
57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148 (exit $ac_status); } &&
57149 { ac_try='test -z "$ac_c_werror_flag"
57150 || test ! -s conftest.err'
57151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57152 (eval $ac_try) 2>&5
57153 ac_status=$?
57154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57155 (exit $ac_status); }; } &&
57156 { ac_try='test -s conftest$ac_exeext'
57157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57158 (eval $ac_try) 2>&5
57159 ac_status=$?
57160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57161 (exit $ac_status); }; }; then
57162 eval "$as_ac_var=yes"
57163 else
57164 echo "$as_me: failed program was:" >&5
57165 sed 's/^/| /' conftest.$ac_ext >&5
57166
57167 eval "$as_ac_var=no"
57168 fi
57169 rm -f conftest.err conftest.$ac_objext \
57170 conftest$ac_exeext conftest.$ac_ext
57171 fi
57172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57174 if test `eval echo '${'$as_ac_var'}'` = yes; then
57175 cat >>confdefs.h <<_ACEOF
57176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57177 _ACEOF
57178
57179 fi
57180 done
57181
57182 else
57183
57184 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57185 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57186 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57187 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57188 echo $ECHO_N "(cached) $ECHO_C" >&6
57189 else
57190
57191
57192
57193 ac_ext=cc
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57198
57199 cat >conftest.$ac_ext <<_ACEOF
57200 /* confdefs.h. */
57201 _ACEOF
57202 cat confdefs.h >>conftest.$ac_ext
57203 cat >>conftest.$ac_ext <<_ACEOF
57204 /* end confdefs.h. */
57205 #include <math.h>
57206 #ifdef HAVE_IEEEFP_H
57207 #include <ieeefp.h>
57208 #endif
57209
57210 int
57211 main ()
57212 {
57213 _expf(0);
57214 ;
57215 return 0;
57216 }
57217 _ACEOF
57218 rm -f conftest.$ac_objext
57219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57220 (eval $ac_compile) 2>conftest.er1
57221 ac_status=$?
57222 grep -v '^ *+' conftest.er1 >conftest.err
57223 rm -f conftest.er1
57224 cat conftest.err >&5
57225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57226 (exit $ac_status); } &&
57227 { ac_try='test -z "$ac_cxx_werror_flag"
57228 || test ! -s conftest.err'
57229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57230 (eval $ac_try) 2>&5
57231 ac_status=$?
57232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57233 (exit $ac_status); }; } &&
57234 { ac_try='test -s conftest.$ac_objext'
57235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57236 (eval $ac_try) 2>&5
57237 ac_status=$?
57238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57239 (exit $ac_status); }; }; then
57240 glibcxx_cv_func__expf_use=yes
57241 else
57242 echo "$as_me: failed program was:" >&5
57243 sed 's/^/| /' conftest.$ac_ext >&5
57244
57245 glibcxx_cv_func__expf_use=no
57246 fi
57247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57248 ac_ext=c
57249 ac_cpp='$CPP $CPPFLAGS'
57250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57253
57254
57255 fi
57256
57257 fi
57258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57259 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57260
57261 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57262
57263 for ac_func in _expf
57264 do
57265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57266 echo "$as_me:$LINENO: checking for $ac_func" >&5
57267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57268 if eval "test \"\${$as_ac_var+set}\" = set"; then
57269 echo $ECHO_N "(cached) $ECHO_C" >&6
57270 else
57271 if test x$gcc_no_link = xyes; then
57272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57274 { (exit 1); exit 1; }; }
57275 fi
57276 cat >conftest.$ac_ext <<_ACEOF
57277 /* confdefs.h. */
57278 _ACEOF
57279 cat confdefs.h >>conftest.$ac_ext
57280 cat >>conftest.$ac_ext <<_ACEOF
57281 /* end confdefs.h. */
57282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57284 #define $ac_func innocuous_$ac_func
57285
57286 /* System header to define __stub macros and hopefully few prototypes,
57287 which can conflict with char $ac_func (); below.
57288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57289 <limits.h> exists even on freestanding compilers. */
57290
57291 #ifdef __STDC__
57292 # include <limits.h>
57293 #else
57294 # include <assert.h>
57295 #endif
57296
57297 #undef $ac_func
57298
57299 /* Override any gcc2 internal prototype to avoid an error. */
57300 #ifdef __cplusplus
57301 extern "C"
57302 {
57303 #endif
57304 /* We use char because int might match the return type of a gcc2
57305 builtin and then its argument prototype would still apply. */
57306 char $ac_func ();
57307 /* The GNU C library defines this for functions which it implements
57308 to always fail with ENOSYS. Some functions are actually named
57309 something starting with __ and the normal name is an alias. */
57310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57311 choke me
57312 #else
57313 char (*f) () = $ac_func;
57314 #endif
57315 #ifdef __cplusplus
57316 }
57317 #endif
57318
57319 int
57320 main ()
57321 {
57322 return f != $ac_func;
57323 ;
57324 return 0;
57325 }
57326 _ACEOF
57327 rm -f conftest.$ac_objext conftest$ac_exeext
57328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57329 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
57350 else
57351 echo "$as_me: failed program was:" >&5
57352 sed 's/^/| /' conftest.$ac_ext >&5
57353
57354 eval "$as_ac_var=no"
57355 fi
57356 rm -f conftest.err conftest.$ac_objext \
57357 conftest$ac_exeext conftest.$ac_ext
57358 fi
57359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57361 if test `eval echo '${'$as_ac_var'}'` = yes; then
57362 cat >>confdefs.h <<_ACEOF
57363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57364 _ACEOF
57365
57366 fi
57367 done
57368
57369 fi
57370 fi
57371
57372
57373
57374
57375
57376
57377 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57378 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57379 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57380 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57381 echo $ECHO_N "(cached) $ECHO_C" >&6
57382 else
57383
57384
57385
57386 ac_ext=cc
57387 ac_cpp='$CXXCPP $CPPFLAGS'
57388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57391
57392 cat >conftest.$ac_ext <<_ACEOF
57393 /* confdefs.h. */
57394 _ACEOF
57395 cat confdefs.h >>conftest.$ac_ext
57396 cat >>conftest.$ac_ext <<_ACEOF
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 #ifdef HAVE_IEEEFP_H
57400 #include <ieeefp.h>
57401 #endif
57402
57403 int
57404 main ()
57405 {
57406 isnanf(0);
57407 ;
57408 return 0;
57409 }
57410 _ACEOF
57411 rm -f conftest.$ac_objext
57412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57413 (eval $ac_compile) 2>conftest.er1
57414 ac_status=$?
57415 grep -v '^ *+' conftest.er1 >conftest.err
57416 rm -f conftest.er1
57417 cat conftest.err >&5
57418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57419 (exit $ac_status); } &&
57420 { ac_try='test -z "$ac_cxx_werror_flag"
57421 || test ! -s conftest.err'
57422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57423 (eval $ac_try) 2>&5
57424 ac_status=$?
57425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57426 (exit $ac_status); }; } &&
57427 { ac_try='test -s conftest.$ac_objext'
57428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57429 (eval $ac_try) 2>&5
57430 ac_status=$?
57431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57432 (exit $ac_status); }; }; then
57433 glibcxx_cv_func_isnanf_use=yes
57434 else
57435 echo "$as_me: failed program was:" >&5
57436 sed 's/^/| /' conftest.$ac_ext >&5
57437
57438 glibcxx_cv_func_isnanf_use=no
57439 fi
57440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57441 ac_ext=c
57442 ac_cpp='$CPP $CPPFLAGS'
57443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57446
57447
57448 fi
57449
57450 fi
57451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57452 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57453
57454 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57455
57456 for ac_func in isnanf
57457 do
57458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57459 echo "$as_me:$LINENO: checking for $ac_func" >&5
57460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57461 if eval "test \"\${$as_ac_var+set}\" = set"; then
57462 echo $ECHO_N "(cached) $ECHO_C" >&6
57463 else
57464 if test x$gcc_no_link = xyes; then
57465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57467 { (exit 1); exit 1; }; }
57468 fi
57469 cat >conftest.$ac_ext <<_ACEOF
57470 /* confdefs.h. */
57471 _ACEOF
57472 cat confdefs.h >>conftest.$ac_ext
57473 cat >>conftest.$ac_ext <<_ACEOF
57474 /* end confdefs.h. */
57475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57477 #define $ac_func innocuous_$ac_func
57478
57479 /* System header to define __stub macros and hopefully few prototypes,
57480 which can conflict with char $ac_func (); below.
57481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57482 <limits.h> exists even on freestanding compilers. */
57483
57484 #ifdef __STDC__
57485 # include <limits.h>
57486 #else
57487 # include <assert.h>
57488 #endif
57489
57490 #undef $ac_func
57491
57492 /* Override any gcc2 internal prototype to avoid an error. */
57493 #ifdef __cplusplus
57494 extern "C"
57495 {
57496 #endif
57497 /* We use char because int might match the return type of a gcc2
57498 builtin and then its argument prototype would still apply. */
57499 char $ac_func ();
57500 /* The GNU C library defines this for functions which it implements
57501 to always fail with ENOSYS. Some functions are actually named
57502 something starting with __ and the normal name is an alias. */
57503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57504 choke me
57505 #else
57506 char (*f) () = $ac_func;
57507 #endif
57508 #ifdef __cplusplus
57509 }
57510 #endif
57511
57512 int
57513 main ()
57514 {
57515 return f != $ac_func;
57516 ;
57517 return 0;
57518 }
57519 _ACEOF
57520 rm -f conftest.$ac_objext conftest$ac_exeext
57521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57522 (eval $ac_link) 2>conftest.er1
57523 ac_status=$?
57524 grep -v '^ *+' conftest.er1 >conftest.err
57525 rm -f conftest.er1
57526 cat conftest.err >&5
57527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528 (exit $ac_status); } &&
57529 { ac_try='test -z "$ac_c_werror_flag"
57530 || test ! -s conftest.err'
57531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57532 (eval $ac_try) 2>&5
57533 ac_status=$?
57534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57535 (exit $ac_status); }; } &&
57536 { ac_try='test -s conftest$ac_exeext'
57537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57538 (eval $ac_try) 2>&5
57539 ac_status=$?
57540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57541 (exit $ac_status); }; }; then
57542 eval "$as_ac_var=yes"
57543 else
57544 echo "$as_me: failed program was:" >&5
57545 sed 's/^/| /' conftest.$ac_ext >&5
57546
57547 eval "$as_ac_var=no"
57548 fi
57549 rm -f conftest.err conftest.$ac_objext \
57550 conftest$ac_exeext conftest.$ac_ext
57551 fi
57552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57554 if test `eval echo '${'$as_ac_var'}'` = yes; then
57555 cat >>confdefs.h <<_ACEOF
57556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57557 _ACEOF
57558
57559 fi
57560 done
57561
57562 else
57563
57564 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57565 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57566 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57567 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57568 echo $ECHO_N "(cached) $ECHO_C" >&6
57569 else
57570
57571
57572
57573 ac_ext=cc
57574 ac_cpp='$CXXCPP $CPPFLAGS'
57575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57578
57579 cat >conftest.$ac_ext <<_ACEOF
57580 /* confdefs.h. */
57581 _ACEOF
57582 cat confdefs.h >>conftest.$ac_ext
57583 cat >>conftest.$ac_ext <<_ACEOF
57584 /* end confdefs.h. */
57585 #include <math.h>
57586 #ifdef HAVE_IEEEFP_H
57587 #include <ieeefp.h>
57588 #endif
57589
57590 int
57591 main ()
57592 {
57593 _isnanf(0);
57594 ;
57595 return 0;
57596 }
57597 _ACEOF
57598 rm -f conftest.$ac_objext
57599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57600 (eval $ac_compile) 2>conftest.er1
57601 ac_status=$?
57602 grep -v '^ *+' conftest.er1 >conftest.err
57603 rm -f conftest.er1
57604 cat conftest.err >&5
57605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57606 (exit $ac_status); } &&
57607 { ac_try='test -z "$ac_cxx_werror_flag"
57608 || test ! -s conftest.err'
57609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57610 (eval $ac_try) 2>&5
57611 ac_status=$?
57612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57613 (exit $ac_status); }; } &&
57614 { ac_try='test -s conftest.$ac_objext'
57615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57616 (eval $ac_try) 2>&5
57617 ac_status=$?
57618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57619 (exit $ac_status); }; }; then
57620 glibcxx_cv_func__isnanf_use=yes
57621 else
57622 echo "$as_me: failed program was:" >&5
57623 sed 's/^/| /' conftest.$ac_ext >&5
57624
57625 glibcxx_cv_func__isnanf_use=no
57626 fi
57627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57628 ac_ext=c
57629 ac_cpp='$CPP $CPPFLAGS'
57630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57633
57634
57635 fi
57636
57637 fi
57638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57639 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57640
57641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57642
57643 for ac_func in _isnanf
57644 do
57645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57646 echo "$as_me:$LINENO: checking for $ac_func" >&5
57647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57648 if eval "test \"\${$as_ac_var+set}\" = set"; then
57649 echo $ECHO_N "(cached) $ECHO_C" >&6
57650 else
57651 if test x$gcc_no_link = xyes; then
57652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57654 { (exit 1); exit 1; }; }
57655 fi
57656 cat >conftest.$ac_ext <<_ACEOF
57657 /* confdefs.h. */
57658 _ACEOF
57659 cat confdefs.h >>conftest.$ac_ext
57660 cat >>conftest.$ac_ext <<_ACEOF
57661 /* end confdefs.h. */
57662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57664 #define $ac_func innocuous_$ac_func
57665
57666 /* System header to define __stub macros and hopefully few prototypes,
57667 which can conflict with char $ac_func (); below.
57668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57669 <limits.h> exists even on freestanding compilers. */
57670
57671 #ifdef __STDC__
57672 # include <limits.h>
57673 #else
57674 # include <assert.h>
57675 #endif
57676
57677 #undef $ac_func
57678
57679 /* Override any gcc2 internal prototype to avoid an error. */
57680 #ifdef __cplusplus
57681 extern "C"
57682 {
57683 #endif
57684 /* We use char because int might match the return type of a gcc2
57685 builtin and then its argument prototype would still apply. */
57686 char $ac_func ();
57687 /* The GNU C library defines this for functions which it implements
57688 to always fail with ENOSYS. Some functions are actually named
57689 something starting with __ and the normal name is an alias. */
57690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57691 choke me
57692 #else
57693 char (*f) () = $ac_func;
57694 #endif
57695 #ifdef __cplusplus
57696 }
57697 #endif
57698
57699 int
57700 main ()
57701 {
57702 return f != $ac_func;
57703 ;
57704 return 0;
57705 }
57706 _ACEOF
57707 rm -f conftest.$ac_objext conftest$ac_exeext
57708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57709 (eval $ac_link) 2>conftest.er1
57710 ac_status=$?
57711 grep -v '^ *+' conftest.er1 >conftest.err
57712 rm -f conftest.er1
57713 cat conftest.err >&5
57714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57715 (exit $ac_status); } &&
57716 { ac_try='test -z "$ac_c_werror_flag"
57717 || test ! -s conftest.err'
57718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57719 (eval $ac_try) 2>&5
57720 ac_status=$?
57721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57722 (exit $ac_status); }; } &&
57723 { ac_try='test -s conftest$ac_exeext'
57724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57725 (eval $ac_try) 2>&5
57726 ac_status=$?
57727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57728 (exit $ac_status); }; }; then
57729 eval "$as_ac_var=yes"
57730 else
57731 echo "$as_me: failed program was:" >&5
57732 sed 's/^/| /' conftest.$ac_ext >&5
57733
57734 eval "$as_ac_var=no"
57735 fi
57736 rm -f conftest.err conftest.$ac_objext \
57737 conftest$ac_exeext conftest.$ac_ext
57738 fi
57739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57741 if test `eval echo '${'$as_ac_var'}'` = yes; then
57742 cat >>confdefs.h <<_ACEOF
57743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57744 _ACEOF
57745
57746 fi
57747 done
57748
57749 fi
57750 fi
57751
57752
57753
57754
57755
57756
57757 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57758 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57759 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57760 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57761 echo $ECHO_N "(cached) $ECHO_C" >&6
57762 else
57763
57764
57765
57766 ac_ext=cc
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771
57772 cat >conftest.$ac_ext <<_ACEOF
57773 /* confdefs.h. */
57774 _ACEOF
57775 cat confdefs.h >>conftest.$ac_ext
57776 cat >>conftest.$ac_ext <<_ACEOF
57777 /* end confdefs.h. */
57778 #include <math.h>
57779 #ifdef HAVE_IEEEFP_H
57780 #include <ieeefp.h>
57781 #endif
57782
57783 int
57784 main ()
57785 {
57786 isinff(0);
57787 ;
57788 return 0;
57789 }
57790 _ACEOF
57791 rm -f conftest.$ac_objext
57792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57793 (eval $ac_compile) 2>conftest.er1
57794 ac_status=$?
57795 grep -v '^ *+' conftest.er1 >conftest.err
57796 rm -f conftest.er1
57797 cat conftest.err >&5
57798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57799 (exit $ac_status); } &&
57800 { ac_try='test -z "$ac_cxx_werror_flag"
57801 || test ! -s conftest.err'
57802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57803 (eval $ac_try) 2>&5
57804 ac_status=$?
57805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57806 (exit $ac_status); }; } &&
57807 { ac_try='test -s conftest.$ac_objext'
57808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57809 (eval $ac_try) 2>&5
57810 ac_status=$?
57811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57812 (exit $ac_status); }; }; then
57813 glibcxx_cv_func_isinff_use=yes
57814 else
57815 echo "$as_me: failed program was:" >&5
57816 sed 's/^/| /' conftest.$ac_ext >&5
57817
57818 glibcxx_cv_func_isinff_use=no
57819 fi
57820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57821 ac_ext=c
57822 ac_cpp='$CPP $CPPFLAGS'
57823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57826
57827
57828 fi
57829
57830 fi
57831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57832 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57833
57834 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57835
57836 for ac_func in isinff
57837 do
57838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57839 echo "$as_me:$LINENO: checking for $ac_func" >&5
57840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57841 if eval "test \"\${$as_ac_var+set}\" = set"; then
57842 echo $ECHO_N "(cached) $ECHO_C" >&6
57843 else
57844 if test x$gcc_no_link = xyes; then
57845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57847 { (exit 1); exit 1; }; }
57848 fi
57849 cat >conftest.$ac_ext <<_ACEOF
57850 /* confdefs.h. */
57851 _ACEOF
57852 cat confdefs.h >>conftest.$ac_ext
57853 cat >>conftest.$ac_ext <<_ACEOF
57854 /* end confdefs.h. */
57855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57857 #define $ac_func innocuous_$ac_func
57858
57859 /* System header to define __stub macros and hopefully few prototypes,
57860 which can conflict with char $ac_func (); below.
57861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57862 <limits.h> exists even on freestanding compilers. */
57863
57864 #ifdef __STDC__
57865 # include <limits.h>
57866 #else
57867 # include <assert.h>
57868 #endif
57869
57870 #undef $ac_func
57871
57872 /* Override any gcc2 internal prototype to avoid an error. */
57873 #ifdef __cplusplus
57874 extern "C"
57875 {
57876 #endif
57877 /* We use char because int might match the return type of a gcc2
57878 builtin and then its argument prototype would still apply. */
57879 char $ac_func ();
57880 /* The GNU C library defines this for functions which it implements
57881 to always fail with ENOSYS. Some functions are actually named
57882 something starting with __ and the normal name is an alias. */
57883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57884 choke me
57885 #else
57886 char (*f) () = $ac_func;
57887 #endif
57888 #ifdef __cplusplus
57889 }
57890 #endif
57891
57892 int
57893 main ()
57894 {
57895 return f != $ac_func;
57896 ;
57897 return 0;
57898 }
57899 _ACEOF
57900 rm -f conftest.$ac_objext conftest$ac_exeext
57901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57902 (eval $ac_link) 2>conftest.er1
57903 ac_status=$?
57904 grep -v '^ *+' conftest.er1 >conftest.err
57905 rm -f conftest.er1
57906 cat conftest.err >&5
57907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57908 (exit $ac_status); } &&
57909 { ac_try='test -z "$ac_c_werror_flag"
57910 || test ! -s conftest.err'
57911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57912 (eval $ac_try) 2>&5
57913 ac_status=$?
57914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57915 (exit $ac_status); }; } &&
57916 { ac_try='test -s conftest$ac_exeext'
57917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57918 (eval $ac_try) 2>&5
57919 ac_status=$?
57920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57921 (exit $ac_status); }; }; then
57922 eval "$as_ac_var=yes"
57923 else
57924 echo "$as_me: failed program was:" >&5
57925 sed 's/^/| /' conftest.$ac_ext >&5
57926
57927 eval "$as_ac_var=no"
57928 fi
57929 rm -f conftest.err conftest.$ac_objext \
57930 conftest$ac_exeext conftest.$ac_ext
57931 fi
57932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57934 if test `eval echo '${'$as_ac_var'}'` = yes; then
57935 cat >>confdefs.h <<_ACEOF
57936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57937 _ACEOF
57938
57939 fi
57940 done
57941
57942 else
57943
57944 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57945 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57946 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57947 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57948 echo $ECHO_N "(cached) $ECHO_C" >&6
57949 else
57950
57951
57952
57953 ac_ext=cc
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57958
57959 cat >conftest.$ac_ext <<_ACEOF
57960 /* confdefs.h. */
57961 _ACEOF
57962 cat confdefs.h >>conftest.$ac_ext
57963 cat >>conftest.$ac_ext <<_ACEOF
57964 /* end confdefs.h. */
57965 #include <math.h>
57966 #ifdef HAVE_IEEEFP_H
57967 #include <ieeefp.h>
57968 #endif
57969
57970 int
57971 main ()
57972 {
57973 _isinff(0);
57974 ;
57975 return 0;
57976 }
57977 _ACEOF
57978 rm -f conftest.$ac_objext
57979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57980 (eval $ac_compile) 2>conftest.er1
57981 ac_status=$?
57982 grep -v '^ *+' conftest.er1 >conftest.err
57983 rm -f conftest.er1
57984 cat conftest.err >&5
57985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57986 (exit $ac_status); } &&
57987 { ac_try='test -z "$ac_cxx_werror_flag"
57988 || test ! -s conftest.err'
57989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57990 (eval $ac_try) 2>&5
57991 ac_status=$?
57992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57993 (exit $ac_status); }; } &&
57994 { ac_try='test -s conftest.$ac_objext'
57995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57996 (eval $ac_try) 2>&5
57997 ac_status=$?
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); }; }; then
58000 glibcxx_cv_func__isinff_use=yes
58001 else
58002 echo "$as_me: failed program was:" >&5
58003 sed 's/^/| /' conftest.$ac_ext >&5
58004
58005 glibcxx_cv_func__isinff_use=no
58006 fi
58007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58008 ac_ext=c
58009 ac_cpp='$CPP $CPPFLAGS'
58010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58013
58014
58015 fi
58016
58017 fi
58018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58019 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58020
58021 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58022
58023 for ac_func in _isinff
58024 do
58025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58026 echo "$as_me:$LINENO: checking for $ac_func" >&5
58027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58028 if eval "test \"\${$as_ac_var+set}\" = set"; then
58029 echo $ECHO_N "(cached) $ECHO_C" >&6
58030 else
58031 if test x$gcc_no_link = xyes; then
58032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58034 { (exit 1); exit 1; }; }
58035 fi
58036 cat >conftest.$ac_ext <<_ACEOF
58037 /* confdefs.h. */
58038 _ACEOF
58039 cat confdefs.h >>conftest.$ac_ext
58040 cat >>conftest.$ac_ext <<_ACEOF
58041 /* end confdefs.h. */
58042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58044 #define $ac_func innocuous_$ac_func
58045
58046 /* System header to define __stub macros and hopefully few prototypes,
58047 which can conflict with char $ac_func (); below.
58048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58049 <limits.h> exists even on freestanding compilers. */
58050
58051 #ifdef __STDC__
58052 # include <limits.h>
58053 #else
58054 # include <assert.h>
58055 #endif
58056
58057 #undef $ac_func
58058
58059 /* Override any gcc2 internal prototype to avoid an error. */
58060 #ifdef __cplusplus
58061 extern "C"
58062 {
58063 #endif
58064 /* We use char because int might match the return type of a gcc2
58065 builtin and then its argument prototype would still apply. */
58066 char $ac_func ();
58067 /* The GNU C library defines this for functions which it implements
58068 to always fail with ENOSYS. Some functions are actually named
58069 something starting with __ and the normal name is an alias. */
58070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58071 choke me
58072 #else
58073 char (*f) () = $ac_func;
58074 #endif
58075 #ifdef __cplusplus
58076 }
58077 #endif
58078
58079 int
58080 main ()
58081 {
58082 return f != $ac_func;
58083 ;
58084 return 0;
58085 }
58086 _ACEOF
58087 rm -f conftest.$ac_objext conftest$ac_exeext
58088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58089 (eval $ac_link) 2>conftest.er1
58090 ac_status=$?
58091 grep -v '^ *+' conftest.er1 >conftest.err
58092 rm -f conftest.er1
58093 cat conftest.err >&5
58094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58095 (exit $ac_status); } &&
58096 { ac_try='test -z "$ac_c_werror_flag"
58097 || test ! -s conftest.err'
58098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58099 (eval $ac_try) 2>&5
58100 ac_status=$?
58101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58102 (exit $ac_status); }; } &&
58103 { ac_try='test -s conftest$ac_exeext'
58104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58105 (eval $ac_try) 2>&5
58106 ac_status=$?
58107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58108 (exit $ac_status); }; }; then
58109 eval "$as_ac_var=yes"
58110 else
58111 echo "$as_me: failed program was:" >&5
58112 sed 's/^/| /' conftest.$ac_ext >&5
58113
58114 eval "$as_ac_var=no"
58115 fi
58116 rm -f conftest.err conftest.$ac_objext \
58117 conftest$ac_exeext conftest.$ac_ext
58118 fi
58119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58121 if test `eval echo '${'$as_ac_var'}'` = yes; then
58122 cat >>confdefs.h <<_ACEOF
58123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58124 _ACEOF
58125
58126 fi
58127 done
58128
58129 fi
58130 fi
58131
58132
58133
58134
58135
58136
58137 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58138 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58140 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58141 echo $ECHO_N "(cached) $ECHO_C" >&6
58142 else
58143
58144
58145
58146 ac_ext=cc
58147 ac_cpp='$CXXCPP $CPPFLAGS'
58148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58151
58152 cat >conftest.$ac_ext <<_ACEOF
58153 /* confdefs.h. */
58154 _ACEOF
58155 cat confdefs.h >>conftest.$ac_ext
58156 cat >>conftest.$ac_ext <<_ACEOF
58157 /* end confdefs.h. */
58158 #include <math.h>
58159 int
58160 main ()
58161 {
58162 atan2f(0, 0);
58163 ;
58164 return 0;
58165 }
58166 _ACEOF
58167 rm -f conftest.$ac_objext
58168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58169 (eval $ac_compile) 2>conftest.er1
58170 ac_status=$?
58171 grep -v '^ *+' conftest.er1 >conftest.err
58172 rm -f conftest.er1
58173 cat conftest.err >&5
58174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58175 (exit $ac_status); } &&
58176 { ac_try='test -z "$ac_cxx_werror_flag"
58177 || test ! -s conftest.err'
58178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58179 (eval $ac_try) 2>&5
58180 ac_status=$?
58181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58182 (exit $ac_status); }; } &&
58183 { ac_try='test -s conftest.$ac_objext'
58184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58185 (eval $ac_try) 2>&5
58186 ac_status=$?
58187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58188 (exit $ac_status); }; }; then
58189 glibcxx_cv_func_atan2f_use=yes
58190 else
58191 echo "$as_me: failed program was:" >&5
58192 sed 's/^/| /' conftest.$ac_ext >&5
58193
58194 glibcxx_cv_func_atan2f_use=no
58195 fi
58196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58197 ac_ext=c
58198 ac_cpp='$CPP $CPPFLAGS'
58199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58202
58203
58204 fi
58205
58206 fi
58207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58208 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58209
58210 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58211
58212 for ac_func in atan2f
58213 do
58214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58215 echo "$as_me:$LINENO: checking for $ac_func" >&5
58216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58217 if eval "test \"\${$as_ac_var+set}\" = set"; then
58218 echo $ECHO_N "(cached) $ECHO_C" >&6
58219 else
58220 if test x$gcc_no_link = xyes; then
58221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58223 { (exit 1); exit 1; }; }
58224 fi
58225 cat >conftest.$ac_ext <<_ACEOF
58226 /* confdefs.h. */
58227 _ACEOF
58228 cat confdefs.h >>conftest.$ac_ext
58229 cat >>conftest.$ac_ext <<_ACEOF
58230 /* end confdefs.h. */
58231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58233 #define $ac_func innocuous_$ac_func
58234
58235 /* System header to define __stub macros and hopefully few prototypes,
58236 which can conflict with char $ac_func (); below.
58237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58238 <limits.h> exists even on freestanding compilers. */
58239
58240 #ifdef __STDC__
58241 # include <limits.h>
58242 #else
58243 # include <assert.h>
58244 #endif
58245
58246 #undef $ac_func
58247
58248 /* Override any gcc2 internal prototype to avoid an error. */
58249 #ifdef __cplusplus
58250 extern "C"
58251 {
58252 #endif
58253 /* We use char because int might match the return type of a gcc2
58254 builtin and then its argument prototype would still apply. */
58255 char $ac_func ();
58256 /* The GNU C library defines this for functions which it implements
58257 to always fail with ENOSYS. Some functions are actually named
58258 something starting with __ and the normal name is an alias. */
58259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58260 choke me
58261 #else
58262 char (*f) () = $ac_func;
58263 #endif
58264 #ifdef __cplusplus
58265 }
58266 #endif
58267
58268 int
58269 main ()
58270 {
58271 return f != $ac_func;
58272 ;
58273 return 0;
58274 }
58275 _ACEOF
58276 rm -f conftest.$ac_objext conftest$ac_exeext
58277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58278 (eval $ac_link) 2>conftest.er1
58279 ac_status=$?
58280 grep -v '^ *+' conftest.er1 >conftest.err
58281 rm -f conftest.er1
58282 cat conftest.err >&5
58283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58284 (exit $ac_status); } &&
58285 { ac_try='test -z "$ac_c_werror_flag"
58286 || test ! -s conftest.err'
58287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58288 (eval $ac_try) 2>&5
58289 ac_status=$?
58290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58291 (exit $ac_status); }; } &&
58292 { ac_try='test -s conftest$ac_exeext'
58293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58294 (eval $ac_try) 2>&5
58295 ac_status=$?
58296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58297 (exit $ac_status); }; }; then
58298 eval "$as_ac_var=yes"
58299 else
58300 echo "$as_me: failed program was:" >&5
58301 sed 's/^/| /' conftest.$ac_ext >&5
58302
58303 eval "$as_ac_var=no"
58304 fi
58305 rm -f conftest.err conftest.$ac_objext \
58306 conftest$ac_exeext conftest.$ac_ext
58307 fi
58308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58310 if test `eval echo '${'$as_ac_var'}'` = yes; then
58311 cat >>confdefs.h <<_ACEOF
58312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58313 _ACEOF
58314
58315 fi
58316 done
58317
58318 else
58319
58320 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58321 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58322 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58323 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58324 echo $ECHO_N "(cached) $ECHO_C" >&6
58325 else
58326
58327
58328
58329 ac_ext=cc
58330 ac_cpp='$CXXCPP $CPPFLAGS'
58331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58334
58335 cat >conftest.$ac_ext <<_ACEOF
58336 /* confdefs.h. */
58337 _ACEOF
58338 cat confdefs.h >>conftest.$ac_ext
58339 cat >>conftest.$ac_ext <<_ACEOF
58340 /* end confdefs.h. */
58341 #include <math.h>
58342 int
58343 main ()
58344 {
58345 _atan2f(0, 0);
58346 ;
58347 return 0;
58348 }
58349 _ACEOF
58350 rm -f conftest.$ac_objext
58351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58352 (eval $ac_compile) 2>conftest.er1
58353 ac_status=$?
58354 grep -v '^ *+' conftest.er1 >conftest.err
58355 rm -f conftest.er1
58356 cat conftest.err >&5
58357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58358 (exit $ac_status); } &&
58359 { ac_try='test -z "$ac_cxx_werror_flag"
58360 || test ! -s conftest.err'
58361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58362 (eval $ac_try) 2>&5
58363 ac_status=$?
58364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58365 (exit $ac_status); }; } &&
58366 { ac_try='test -s conftest.$ac_objext'
58367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58368 (eval $ac_try) 2>&5
58369 ac_status=$?
58370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58371 (exit $ac_status); }; }; then
58372 glibcxx_cv_func__atan2f_use=yes
58373 else
58374 echo "$as_me: failed program was:" >&5
58375 sed 's/^/| /' conftest.$ac_ext >&5
58376
58377 glibcxx_cv_func__atan2f_use=no
58378 fi
58379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58380 ac_ext=c
58381 ac_cpp='$CPP $CPPFLAGS'
58382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58385
58386
58387 fi
58388
58389 fi
58390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58391 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58392
58393 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58394
58395 for ac_func in _atan2f
58396 do
58397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58398 echo "$as_me:$LINENO: checking for $ac_func" >&5
58399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58400 if eval "test \"\${$as_ac_var+set}\" = set"; then
58401 echo $ECHO_N "(cached) $ECHO_C" >&6
58402 else
58403 if test x$gcc_no_link = xyes; then
58404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58406 { (exit 1); exit 1; }; }
58407 fi
58408 cat >conftest.$ac_ext <<_ACEOF
58409 /* confdefs.h. */
58410 _ACEOF
58411 cat confdefs.h >>conftest.$ac_ext
58412 cat >>conftest.$ac_ext <<_ACEOF
58413 /* end confdefs.h. */
58414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58416 #define $ac_func innocuous_$ac_func
58417
58418 /* System header to define __stub macros and hopefully few prototypes,
58419 which can conflict with char $ac_func (); below.
58420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58421 <limits.h> exists even on freestanding compilers. */
58422
58423 #ifdef __STDC__
58424 # include <limits.h>
58425 #else
58426 # include <assert.h>
58427 #endif
58428
58429 #undef $ac_func
58430
58431 /* Override any gcc2 internal prototype to avoid an error. */
58432 #ifdef __cplusplus
58433 extern "C"
58434 {
58435 #endif
58436 /* We use char because int might match the return type of a gcc2
58437 builtin and then its argument prototype would still apply. */
58438 char $ac_func ();
58439 /* The GNU C library defines this for functions which it implements
58440 to always fail with ENOSYS. Some functions are actually named
58441 something starting with __ and the normal name is an alias. */
58442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58443 choke me
58444 #else
58445 char (*f) () = $ac_func;
58446 #endif
58447 #ifdef __cplusplus
58448 }
58449 #endif
58450
58451 int
58452 main ()
58453 {
58454 return f != $ac_func;
58455 ;
58456 return 0;
58457 }
58458 _ACEOF
58459 rm -f conftest.$ac_objext conftest$ac_exeext
58460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58461 (eval $ac_link) 2>conftest.er1
58462 ac_status=$?
58463 grep -v '^ *+' conftest.er1 >conftest.err
58464 rm -f conftest.er1
58465 cat conftest.err >&5
58466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467 (exit $ac_status); } &&
58468 { ac_try='test -z "$ac_c_werror_flag"
58469 || test ! -s conftest.err'
58470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58471 (eval $ac_try) 2>&5
58472 ac_status=$?
58473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58474 (exit $ac_status); }; } &&
58475 { ac_try='test -s conftest$ac_exeext'
58476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58477 (eval $ac_try) 2>&5
58478 ac_status=$?
58479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58480 (exit $ac_status); }; }; then
58481 eval "$as_ac_var=yes"
58482 else
58483 echo "$as_me: failed program was:" >&5
58484 sed 's/^/| /' conftest.$ac_ext >&5
58485
58486 eval "$as_ac_var=no"
58487 fi
58488 rm -f conftest.err conftest.$ac_objext \
58489 conftest$ac_exeext conftest.$ac_ext
58490 fi
58491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58493 if test `eval echo '${'$as_ac_var'}'` = yes; then
58494 cat >>confdefs.h <<_ACEOF
58495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58496 _ACEOF
58497
58498 fi
58499 done
58500
58501 fi
58502 fi
58503
58504
58505
58506
58507
58508
58509 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58510 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58513 echo $ECHO_N "(cached) $ECHO_C" >&6
58514 else
58515
58516
58517
58518 ac_ext=cc
58519 ac_cpp='$CXXCPP $CPPFLAGS'
58520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58523
58524 cat >conftest.$ac_ext <<_ACEOF
58525 /* confdefs.h. */
58526 _ACEOF
58527 cat confdefs.h >>conftest.$ac_ext
58528 cat >>conftest.$ac_ext <<_ACEOF
58529 /* end confdefs.h. */
58530 #include <math.h>
58531 #ifdef HAVE_IEEEFP_H
58532 #include <ieeefp.h>
58533 #endif
58534
58535 int
58536 main ()
58537 {
58538 fabsf(0);
58539 ;
58540 return 0;
58541 }
58542 _ACEOF
58543 rm -f conftest.$ac_objext
58544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58545 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_fabsf_use=yes
58566 else
58567 echo "$as_me: failed program was:" >&5
58568 sed 's/^/| /' conftest.$ac_ext >&5
58569
58570 glibcxx_cv_func_fabsf_use=no
58571 fi
58572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58573 ac_ext=c
58574 ac_cpp='$CPP $CPPFLAGS'
58575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58578
58579
58580 fi
58581
58582 fi
58583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58584 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58585
58586 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58587
58588 for ac_func in fabsf
58589 do
58590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58591 echo "$as_me:$LINENO: checking for $ac_func" >&5
58592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58593 if eval "test \"\${$as_ac_var+set}\" = set"; then
58594 echo $ECHO_N "(cached) $ECHO_C" >&6
58595 else
58596 if test x$gcc_no_link = xyes; then
58597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58599 { (exit 1); exit 1; }; }
58600 fi
58601 cat >conftest.$ac_ext <<_ACEOF
58602 /* confdefs.h. */
58603 _ACEOF
58604 cat confdefs.h >>conftest.$ac_ext
58605 cat >>conftest.$ac_ext <<_ACEOF
58606 /* end confdefs.h. */
58607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58609 #define $ac_func innocuous_$ac_func
58610
58611 /* System header to define __stub macros and hopefully few prototypes,
58612 which can conflict with char $ac_func (); below.
58613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58614 <limits.h> exists even on freestanding compilers. */
58615
58616 #ifdef __STDC__
58617 # include <limits.h>
58618 #else
58619 # include <assert.h>
58620 #endif
58621
58622 #undef $ac_func
58623
58624 /* Override any gcc2 internal prototype to avoid an error. */
58625 #ifdef __cplusplus
58626 extern "C"
58627 {
58628 #endif
58629 /* We use char because int might match the return type of a gcc2
58630 builtin and then its argument prototype would still apply. */
58631 char $ac_func ();
58632 /* The GNU C library defines this for functions which it implements
58633 to always fail with ENOSYS. Some functions are actually named
58634 something starting with __ and the normal name is an alias. */
58635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58636 choke me
58637 #else
58638 char (*f) () = $ac_func;
58639 #endif
58640 #ifdef __cplusplus
58641 }
58642 #endif
58643
58644 int
58645 main ()
58646 {
58647 return f != $ac_func;
58648 ;
58649 return 0;
58650 }
58651 _ACEOF
58652 rm -f conftest.$ac_objext conftest$ac_exeext
58653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58654 (eval $ac_link) 2>conftest.er1
58655 ac_status=$?
58656 grep -v '^ *+' conftest.er1 >conftest.err
58657 rm -f conftest.er1
58658 cat conftest.err >&5
58659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660 (exit $ac_status); } &&
58661 { ac_try='test -z "$ac_c_werror_flag"
58662 || test ! -s conftest.err'
58663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58664 (eval $ac_try) 2>&5
58665 ac_status=$?
58666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58667 (exit $ac_status); }; } &&
58668 { ac_try='test -s conftest$ac_exeext'
58669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58670 (eval $ac_try) 2>&5
58671 ac_status=$?
58672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58673 (exit $ac_status); }; }; then
58674 eval "$as_ac_var=yes"
58675 else
58676 echo "$as_me: failed program was:" >&5
58677 sed 's/^/| /' conftest.$ac_ext >&5
58678
58679 eval "$as_ac_var=no"
58680 fi
58681 rm -f conftest.err conftest.$ac_objext \
58682 conftest$ac_exeext conftest.$ac_ext
58683 fi
58684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58686 if test `eval echo '${'$as_ac_var'}'` = yes; then
58687 cat >>confdefs.h <<_ACEOF
58688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58689 _ACEOF
58690
58691 fi
58692 done
58693
58694 else
58695
58696 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58697 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58698 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58699 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58700 echo $ECHO_N "(cached) $ECHO_C" >&6
58701 else
58702
58703
58704
58705 ac_ext=cc
58706 ac_cpp='$CXXCPP $CPPFLAGS'
58707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58710
58711 cat >conftest.$ac_ext <<_ACEOF
58712 /* confdefs.h. */
58713 _ACEOF
58714 cat confdefs.h >>conftest.$ac_ext
58715 cat >>conftest.$ac_ext <<_ACEOF
58716 /* end confdefs.h. */
58717 #include <math.h>
58718 #ifdef HAVE_IEEEFP_H
58719 #include <ieeefp.h>
58720 #endif
58721
58722 int
58723 main ()
58724 {
58725 _fabsf(0);
58726 ;
58727 return 0;
58728 }
58729 _ACEOF
58730 rm -f conftest.$ac_objext
58731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58732 (eval $ac_compile) 2>conftest.er1
58733 ac_status=$?
58734 grep -v '^ *+' conftest.er1 >conftest.err
58735 rm -f conftest.er1
58736 cat conftest.err >&5
58737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58738 (exit $ac_status); } &&
58739 { ac_try='test -z "$ac_cxx_werror_flag"
58740 || test ! -s conftest.err'
58741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58742 (eval $ac_try) 2>&5
58743 ac_status=$?
58744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58745 (exit $ac_status); }; } &&
58746 { ac_try='test -s conftest.$ac_objext'
58747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58748 (eval $ac_try) 2>&5
58749 ac_status=$?
58750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58751 (exit $ac_status); }; }; then
58752 glibcxx_cv_func__fabsf_use=yes
58753 else
58754 echo "$as_me: failed program was:" >&5
58755 sed 's/^/| /' conftest.$ac_ext >&5
58756
58757 glibcxx_cv_func__fabsf_use=no
58758 fi
58759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58760 ac_ext=c
58761 ac_cpp='$CPP $CPPFLAGS'
58762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58765
58766
58767 fi
58768
58769 fi
58770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58771 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58772
58773 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58774
58775 for ac_func in _fabsf
58776 do
58777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58778 echo "$as_me:$LINENO: checking for $ac_func" >&5
58779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58780 if eval "test \"\${$as_ac_var+set}\" = set"; then
58781 echo $ECHO_N "(cached) $ECHO_C" >&6
58782 else
58783 if test x$gcc_no_link = xyes; then
58784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58786 { (exit 1); exit 1; }; }
58787 fi
58788 cat >conftest.$ac_ext <<_ACEOF
58789 /* confdefs.h. */
58790 _ACEOF
58791 cat confdefs.h >>conftest.$ac_ext
58792 cat >>conftest.$ac_ext <<_ACEOF
58793 /* end confdefs.h. */
58794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58796 #define $ac_func innocuous_$ac_func
58797
58798 /* System header to define __stub macros and hopefully few prototypes,
58799 which can conflict with char $ac_func (); below.
58800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58801 <limits.h> exists even on freestanding compilers. */
58802
58803 #ifdef __STDC__
58804 # include <limits.h>
58805 #else
58806 # include <assert.h>
58807 #endif
58808
58809 #undef $ac_func
58810
58811 /* Override any gcc2 internal prototype to avoid an error. */
58812 #ifdef __cplusplus
58813 extern "C"
58814 {
58815 #endif
58816 /* We use char because int might match the return type of a gcc2
58817 builtin and then its argument prototype would still apply. */
58818 char $ac_func ();
58819 /* The GNU C library defines this for functions which it implements
58820 to always fail with ENOSYS. Some functions are actually named
58821 something starting with __ and the normal name is an alias. */
58822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58823 choke me
58824 #else
58825 char (*f) () = $ac_func;
58826 #endif
58827 #ifdef __cplusplus
58828 }
58829 #endif
58830
58831 int
58832 main ()
58833 {
58834 return f != $ac_func;
58835 ;
58836 return 0;
58837 }
58838 _ACEOF
58839 rm -f conftest.$ac_objext conftest$ac_exeext
58840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58841 (eval $ac_link) 2>conftest.er1
58842 ac_status=$?
58843 grep -v '^ *+' conftest.er1 >conftest.err
58844 rm -f conftest.er1
58845 cat conftest.err >&5
58846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58847 (exit $ac_status); } &&
58848 { ac_try='test -z "$ac_c_werror_flag"
58849 || test ! -s conftest.err'
58850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58851 (eval $ac_try) 2>&5
58852 ac_status=$?
58853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58854 (exit $ac_status); }; } &&
58855 { ac_try='test -s conftest$ac_exeext'
58856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58857 (eval $ac_try) 2>&5
58858 ac_status=$?
58859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58860 (exit $ac_status); }; }; then
58861 eval "$as_ac_var=yes"
58862 else
58863 echo "$as_me: failed program was:" >&5
58864 sed 's/^/| /' conftest.$ac_ext >&5
58865
58866 eval "$as_ac_var=no"
58867 fi
58868 rm -f conftest.err conftest.$ac_objext \
58869 conftest$ac_exeext conftest.$ac_ext
58870 fi
58871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58873 if test `eval echo '${'$as_ac_var'}'` = yes; then
58874 cat >>confdefs.h <<_ACEOF
58875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58876 _ACEOF
58877
58878 fi
58879 done
58880
58881 fi
58882 fi
58883
58884
58885
58886
58887
58888
58889 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58890 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58891 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58892 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58893 echo $ECHO_N "(cached) $ECHO_C" >&6
58894 else
58895
58896
58897
58898 ac_ext=cc
58899 ac_cpp='$CXXCPP $CPPFLAGS'
58900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58903
58904 cat >conftest.$ac_ext <<_ACEOF
58905 /* confdefs.h. */
58906 _ACEOF
58907 cat confdefs.h >>conftest.$ac_ext
58908 cat >>conftest.$ac_ext <<_ACEOF
58909 /* end confdefs.h. */
58910 #include <math.h>
58911 int
58912 main ()
58913 {
58914 fmodf(0, 0);
58915 ;
58916 return 0;
58917 }
58918 _ACEOF
58919 rm -f conftest.$ac_objext
58920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58921 (eval $ac_compile) 2>conftest.er1
58922 ac_status=$?
58923 grep -v '^ *+' conftest.er1 >conftest.err
58924 rm -f conftest.er1
58925 cat conftest.err >&5
58926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58927 (exit $ac_status); } &&
58928 { ac_try='test -z "$ac_cxx_werror_flag"
58929 || test ! -s conftest.err'
58930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58931 (eval $ac_try) 2>&5
58932 ac_status=$?
58933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58934 (exit $ac_status); }; } &&
58935 { ac_try='test -s conftest.$ac_objext'
58936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58937 (eval $ac_try) 2>&5
58938 ac_status=$?
58939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58940 (exit $ac_status); }; }; then
58941 glibcxx_cv_func_fmodf_use=yes
58942 else
58943 echo "$as_me: failed program was:" >&5
58944 sed 's/^/| /' conftest.$ac_ext >&5
58945
58946 glibcxx_cv_func_fmodf_use=no
58947 fi
58948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58949 ac_ext=c
58950 ac_cpp='$CPP $CPPFLAGS'
58951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58954
58955
58956 fi
58957
58958 fi
58959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58960 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58961
58962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
58963
58964 for ac_func in fmodf
58965 do
58966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58967 echo "$as_me:$LINENO: checking for $ac_func" >&5
58968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58969 if eval "test \"\${$as_ac_var+set}\" = set"; then
58970 echo $ECHO_N "(cached) $ECHO_C" >&6
58971 else
58972 if test x$gcc_no_link = xyes; then
58973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58975 { (exit 1); exit 1; }; }
58976 fi
58977 cat >conftest.$ac_ext <<_ACEOF
58978 /* confdefs.h. */
58979 _ACEOF
58980 cat confdefs.h >>conftest.$ac_ext
58981 cat >>conftest.$ac_ext <<_ACEOF
58982 /* end confdefs.h. */
58983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58985 #define $ac_func innocuous_$ac_func
58986
58987 /* System header to define __stub macros and hopefully few prototypes,
58988 which can conflict with char $ac_func (); below.
58989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58990 <limits.h> exists even on freestanding compilers. */
58991
58992 #ifdef __STDC__
58993 # include <limits.h>
58994 #else
58995 # include <assert.h>
58996 #endif
58997
58998 #undef $ac_func
58999
59000 /* Override any gcc2 internal prototype to avoid an error. */
59001 #ifdef __cplusplus
59002 extern "C"
59003 {
59004 #endif
59005 /* We use char because int might match the return type of a gcc2
59006 builtin and then its argument prototype would still apply. */
59007 char $ac_func ();
59008 /* The GNU C library defines this for functions which it implements
59009 to always fail with ENOSYS. Some functions are actually named
59010 something starting with __ and the normal name is an alias. */
59011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59012 choke me
59013 #else
59014 char (*f) () = $ac_func;
59015 #endif
59016 #ifdef __cplusplus
59017 }
59018 #endif
59019
59020 int
59021 main ()
59022 {
59023 return f != $ac_func;
59024 ;
59025 return 0;
59026 }
59027 _ACEOF
59028 rm -f conftest.$ac_objext conftest$ac_exeext
59029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59030 (eval $ac_link) 2>conftest.er1
59031 ac_status=$?
59032 grep -v '^ *+' conftest.er1 >conftest.err
59033 rm -f conftest.er1
59034 cat conftest.err >&5
59035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59036 (exit $ac_status); } &&
59037 { ac_try='test -z "$ac_c_werror_flag"
59038 || test ! -s conftest.err'
59039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59040 (eval $ac_try) 2>&5
59041 ac_status=$?
59042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59043 (exit $ac_status); }; } &&
59044 { ac_try='test -s conftest$ac_exeext'
59045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59046 (eval $ac_try) 2>&5
59047 ac_status=$?
59048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59049 (exit $ac_status); }; }; then
59050 eval "$as_ac_var=yes"
59051 else
59052 echo "$as_me: failed program was:" >&5
59053 sed 's/^/| /' conftest.$ac_ext >&5
59054
59055 eval "$as_ac_var=no"
59056 fi
59057 rm -f conftest.err conftest.$ac_objext \
59058 conftest$ac_exeext conftest.$ac_ext
59059 fi
59060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59062 if test `eval echo '${'$as_ac_var'}'` = yes; then
59063 cat >>confdefs.h <<_ACEOF
59064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59065 _ACEOF
59066
59067 fi
59068 done
59069
59070 else
59071
59072 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59073 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59074 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59075 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59076 echo $ECHO_N "(cached) $ECHO_C" >&6
59077 else
59078
59079
59080
59081 ac_ext=cc
59082 ac_cpp='$CXXCPP $CPPFLAGS'
59083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59086
59087 cat >conftest.$ac_ext <<_ACEOF
59088 /* confdefs.h. */
59089 _ACEOF
59090 cat confdefs.h >>conftest.$ac_ext
59091 cat >>conftest.$ac_ext <<_ACEOF
59092 /* end confdefs.h. */
59093 #include <math.h>
59094 int
59095 main ()
59096 {
59097 _fmodf(0, 0);
59098 ;
59099 return 0;
59100 }
59101 _ACEOF
59102 rm -f conftest.$ac_objext
59103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59104 (eval $ac_compile) 2>conftest.er1
59105 ac_status=$?
59106 grep -v '^ *+' conftest.er1 >conftest.err
59107 rm -f conftest.er1
59108 cat conftest.err >&5
59109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59110 (exit $ac_status); } &&
59111 { ac_try='test -z "$ac_cxx_werror_flag"
59112 || test ! -s conftest.err'
59113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59114 (eval $ac_try) 2>&5
59115 ac_status=$?
59116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59117 (exit $ac_status); }; } &&
59118 { ac_try='test -s conftest.$ac_objext'
59119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59120 (eval $ac_try) 2>&5
59121 ac_status=$?
59122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59123 (exit $ac_status); }; }; then
59124 glibcxx_cv_func__fmodf_use=yes
59125 else
59126 echo "$as_me: failed program was:" >&5
59127 sed 's/^/| /' conftest.$ac_ext >&5
59128
59129 glibcxx_cv_func__fmodf_use=no
59130 fi
59131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59132 ac_ext=c
59133 ac_cpp='$CPP $CPPFLAGS'
59134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59137
59138
59139 fi
59140
59141 fi
59142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59143 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59144
59145 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59146
59147 for ac_func in _fmodf
59148 do
59149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59150 echo "$as_me:$LINENO: checking for $ac_func" >&5
59151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59152 if eval "test \"\${$as_ac_var+set}\" = set"; then
59153 echo $ECHO_N "(cached) $ECHO_C" >&6
59154 else
59155 if test x$gcc_no_link = xyes; then
59156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59158 { (exit 1); exit 1; }; }
59159 fi
59160 cat >conftest.$ac_ext <<_ACEOF
59161 /* confdefs.h. */
59162 _ACEOF
59163 cat confdefs.h >>conftest.$ac_ext
59164 cat >>conftest.$ac_ext <<_ACEOF
59165 /* end confdefs.h. */
59166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59168 #define $ac_func innocuous_$ac_func
59169
59170 /* System header to define __stub macros and hopefully few prototypes,
59171 which can conflict with char $ac_func (); below.
59172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59173 <limits.h> exists even on freestanding compilers. */
59174
59175 #ifdef __STDC__
59176 # include <limits.h>
59177 #else
59178 # include <assert.h>
59179 #endif
59180
59181 #undef $ac_func
59182
59183 /* Override any gcc2 internal prototype to avoid an error. */
59184 #ifdef __cplusplus
59185 extern "C"
59186 {
59187 #endif
59188 /* We use char because int might match the return type of a gcc2
59189 builtin and then its argument prototype would still apply. */
59190 char $ac_func ();
59191 /* The GNU C library defines this for functions which it implements
59192 to always fail with ENOSYS. Some functions are actually named
59193 something starting with __ and the normal name is an alias. */
59194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59195 choke me
59196 #else
59197 char (*f) () = $ac_func;
59198 #endif
59199 #ifdef __cplusplus
59200 }
59201 #endif
59202
59203 int
59204 main ()
59205 {
59206 return f != $ac_func;
59207 ;
59208 return 0;
59209 }
59210 _ACEOF
59211 rm -f conftest.$ac_objext conftest$ac_exeext
59212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59213 (eval $ac_link) 2>conftest.er1
59214 ac_status=$?
59215 grep -v '^ *+' conftest.er1 >conftest.err
59216 rm -f conftest.er1
59217 cat conftest.err >&5
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); } &&
59220 { ac_try='test -z "$ac_c_werror_flag"
59221 || test ! -s conftest.err'
59222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59223 (eval $ac_try) 2>&5
59224 ac_status=$?
59225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59226 (exit $ac_status); }; } &&
59227 { ac_try='test -s conftest$ac_exeext'
59228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59229 (eval $ac_try) 2>&5
59230 ac_status=$?
59231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59232 (exit $ac_status); }; }; then
59233 eval "$as_ac_var=yes"
59234 else
59235 echo "$as_me: failed program was:" >&5
59236 sed 's/^/| /' conftest.$ac_ext >&5
59237
59238 eval "$as_ac_var=no"
59239 fi
59240 rm -f conftest.err conftest.$ac_objext \
59241 conftest$ac_exeext conftest.$ac_ext
59242 fi
59243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59245 if test `eval echo '${'$as_ac_var'}'` = yes; then
59246 cat >>confdefs.h <<_ACEOF
59247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59248 _ACEOF
59249
59250 fi
59251 done
59252
59253 fi
59254 fi
59255
59256
59257
59258
59259
59260
59261 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59262 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59265 echo $ECHO_N "(cached) $ECHO_C" >&6
59266 else
59267
59268
59269
59270 ac_ext=cc
59271 ac_cpp='$CXXCPP $CPPFLAGS'
59272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59275
59276 cat >conftest.$ac_ext <<_ACEOF
59277 /* confdefs.h. */
59278 _ACEOF
59279 cat confdefs.h >>conftest.$ac_ext
59280 cat >>conftest.$ac_ext <<_ACEOF
59281 /* end confdefs.h. */
59282 #include <math.h>
59283 int
59284 main ()
59285 {
59286 frexpf(0, 0);
59287 ;
59288 return 0;
59289 }
59290 _ACEOF
59291 rm -f conftest.$ac_objext
59292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59293 (eval $ac_compile) 2>conftest.er1
59294 ac_status=$?
59295 grep -v '^ *+' conftest.er1 >conftest.err
59296 rm -f conftest.er1
59297 cat conftest.err >&5
59298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59299 (exit $ac_status); } &&
59300 { ac_try='test -z "$ac_cxx_werror_flag"
59301 || test ! -s conftest.err'
59302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59303 (eval $ac_try) 2>&5
59304 ac_status=$?
59305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59306 (exit $ac_status); }; } &&
59307 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
59313 glibcxx_cv_func_frexpf_use=yes
59314 else
59315 echo "$as_me: failed program was:" >&5
59316 sed 's/^/| /' conftest.$ac_ext >&5
59317
59318 glibcxx_cv_func_frexpf_use=no
59319 fi
59320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59321 ac_ext=c
59322 ac_cpp='$CPP $CPPFLAGS'
59323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59326
59327
59328 fi
59329
59330 fi
59331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59332 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59333
59334 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59335
59336 for ac_func in frexpf
59337 do
59338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59339 echo "$as_me:$LINENO: checking for $ac_func" >&5
59340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59341 if eval "test \"\${$as_ac_var+set}\" = set"; then
59342 echo $ECHO_N "(cached) $ECHO_C" >&6
59343 else
59344 if test x$gcc_no_link = xyes; then
59345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59347 { (exit 1); exit 1; }; }
59348 fi
59349 cat >conftest.$ac_ext <<_ACEOF
59350 /* confdefs.h. */
59351 _ACEOF
59352 cat confdefs.h >>conftest.$ac_ext
59353 cat >>conftest.$ac_ext <<_ACEOF
59354 /* end confdefs.h. */
59355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59357 #define $ac_func innocuous_$ac_func
59358
59359 /* System header to define __stub macros and hopefully few prototypes,
59360 which can conflict with char $ac_func (); below.
59361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59362 <limits.h> exists even on freestanding compilers. */
59363
59364 #ifdef __STDC__
59365 # include <limits.h>
59366 #else
59367 # include <assert.h>
59368 #endif
59369
59370 #undef $ac_func
59371
59372 /* Override any gcc2 internal prototype to avoid an error. */
59373 #ifdef __cplusplus
59374 extern "C"
59375 {
59376 #endif
59377 /* We use char because int might match the return type of a gcc2
59378 builtin and then its argument prototype would still apply. */
59379 char $ac_func ();
59380 /* The GNU C library defines this for functions which it implements
59381 to always fail with ENOSYS. Some functions are actually named
59382 something starting with __ and the normal name is an alias. */
59383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59384 choke me
59385 #else
59386 char (*f) () = $ac_func;
59387 #endif
59388 #ifdef __cplusplus
59389 }
59390 #endif
59391
59392 int
59393 main ()
59394 {
59395 return f != $ac_func;
59396 ;
59397 return 0;
59398 }
59399 _ACEOF
59400 rm -f conftest.$ac_objext conftest$ac_exeext
59401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59402 (eval $ac_link) 2>conftest.er1
59403 ac_status=$?
59404 grep -v '^ *+' conftest.er1 >conftest.err
59405 rm -f conftest.er1
59406 cat conftest.err >&5
59407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59408 (exit $ac_status); } &&
59409 { ac_try='test -z "$ac_c_werror_flag"
59410 || test ! -s conftest.err'
59411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59412 (eval $ac_try) 2>&5
59413 ac_status=$?
59414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59415 (exit $ac_status); }; } &&
59416 { ac_try='test -s conftest$ac_exeext'
59417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59418 (eval $ac_try) 2>&5
59419 ac_status=$?
59420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59421 (exit $ac_status); }; }; then
59422 eval "$as_ac_var=yes"
59423 else
59424 echo "$as_me: failed program was:" >&5
59425 sed 's/^/| /' conftest.$ac_ext >&5
59426
59427 eval "$as_ac_var=no"
59428 fi
59429 rm -f conftest.err conftest.$ac_objext \
59430 conftest$ac_exeext conftest.$ac_ext
59431 fi
59432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59434 if test `eval echo '${'$as_ac_var'}'` = yes; then
59435 cat >>confdefs.h <<_ACEOF
59436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59437 _ACEOF
59438
59439 fi
59440 done
59441
59442 else
59443
59444 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59445 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59446 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59447 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59448 echo $ECHO_N "(cached) $ECHO_C" >&6
59449 else
59450
59451
59452
59453 ac_ext=cc
59454 ac_cpp='$CXXCPP $CPPFLAGS'
59455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59458
59459 cat >conftest.$ac_ext <<_ACEOF
59460 /* confdefs.h. */
59461 _ACEOF
59462 cat confdefs.h >>conftest.$ac_ext
59463 cat >>conftest.$ac_ext <<_ACEOF
59464 /* end confdefs.h. */
59465 #include <math.h>
59466 int
59467 main ()
59468 {
59469 _frexpf(0, 0);
59470 ;
59471 return 0;
59472 }
59473 _ACEOF
59474 rm -f conftest.$ac_objext
59475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59476 (eval $ac_compile) 2>conftest.er1
59477 ac_status=$?
59478 grep -v '^ *+' conftest.er1 >conftest.err
59479 rm -f conftest.er1
59480 cat conftest.err >&5
59481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59482 (exit $ac_status); } &&
59483 { ac_try='test -z "$ac_cxx_werror_flag"
59484 || test ! -s conftest.err'
59485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59486 (eval $ac_try) 2>&5
59487 ac_status=$?
59488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59489 (exit $ac_status); }; } &&
59490 { ac_try='test -s conftest.$ac_objext'
59491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59492 (eval $ac_try) 2>&5
59493 ac_status=$?
59494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59495 (exit $ac_status); }; }; then
59496 glibcxx_cv_func__frexpf_use=yes
59497 else
59498 echo "$as_me: failed program was:" >&5
59499 sed 's/^/| /' conftest.$ac_ext >&5
59500
59501 glibcxx_cv_func__frexpf_use=no
59502 fi
59503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59504 ac_ext=c
59505 ac_cpp='$CPP $CPPFLAGS'
59506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59509
59510
59511 fi
59512
59513 fi
59514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59515 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59516
59517 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59518
59519 for ac_func in _frexpf
59520 do
59521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59522 echo "$as_me:$LINENO: checking for $ac_func" >&5
59523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59524 if eval "test \"\${$as_ac_var+set}\" = set"; then
59525 echo $ECHO_N "(cached) $ECHO_C" >&6
59526 else
59527 if test x$gcc_no_link = xyes; then
59528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59530 { (exit 1); exit 1; }; }
59531 fi
59532 cat >conftest.$ac_ext <<_ACEOF
59533 /* confdefs.h. */
59534 _ACEOF
59535 cat confdefs.h >>conftest.$ac_ext
59536 cat >>conftest.$ac_ext <<_ACEOF
59537 /* end confdefs.h. */
59538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59540 #define $ac_func innocuous_$ac_func
59541
59542 /* System header to define __stub macros and hopefully few prototypes,
59543 which can conflict with char $ac_func (); below.
59544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59545 <limits.h> exists even on freestanding compilers. */
59546
59547 #ifdef __STDC__
59548 # include <limits.h>
59549 #else
59550 # include <assert.h>
59551 #endif
59552
59553 #undef $ac_func
59554
59555 /* Override any gcc2 internal prototype to avoid an error. */
59556 #ifdef __cplusplus
59557 extern "C"
59558 {
59559 #endif
59560 /* We use char because int might match the return type of a gcc2
59561 builtin and then its argument prototype would still apply. */
59562 char $ac_func ();
59563 /* The GNU C library defines this for functions which it implements
59564 to always fail with ENOSYS. Some functions are actually named
59565 something starting with __ and the normal name is an alias. */
59566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59567 choke me
59568 #else
59569 char (*f) () = $ac_func;
59570 #endif
59571 #ifdef __cplusplus
59572 }
59573 #endif
59574
59575 int
59576 main ()
59577 {
59578 return f != $ac_func;
59579 ;
59580 return 0;
59581 }
59582 _ACEOF
59583 rm -f conftest.$ac_objext conftest$ac_exeext
59584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59585 (eval $ac_link) 2>conftest.er1
59586 ac_status=$?
59587 grep -v '^ *+' conftest.er1 >conftest.err
59588 rm -f conftest.er1
59589 cat conftest.err >&5
59590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59591 (exit $ac_status); } &&
59592 { ac_try='test -z "$ac_c_werror_flag"
59593 || test ! -s conftest.err'
59594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59595 (eval $ac_try) 2>&5
59596 ac_status=$?
59597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59598 (exit $ac_status); }; } &&
59599 { ac_try='test -s conftest$ac_exeext'
59600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59601 (eval $ac_try) 2>&5
59602 ac_status=$?
59603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604 (exit $ac_status); }; }; then
59605 eval "$as_ac_var=yes"
59606 else
59607 echo "$as_me: failed program was:" >&5
59608 sed 's/^/| /' conftest.$ac_ext >&5
59609
59610 eval "$as_ac_var=no"
59611 fi
59612 rm -f conftest.err conftest.$ac_objext \
59613 conftest$ac_exeext conftest.$ac_ext
59614 fi
59615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59617 if test `eval echo '${'$as_ac_var'}'` = yes; then
59618 cat >>confdefs.h <<_ACEOF
59619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59620 _ACEOF
59621
59622 fi
59623 done
59624
59625 fi
59626 fi
59627
59628
59629
59630
59631
59632
59633 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59634 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59635 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59636 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59637 echo $ECHO_N "(cached) $ECHO_C" >&6
59638 else
59639
59640
59641
59642 ac_ext=cc
59643 ac_cpp='$CXXCPP $CPPFLAGS'
59644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59647
59648 cat >conftest.$ac_ext <<_ACEOF
59649 /* confdefs.h. */
59650 _ACEOF
59651 cat confdefs.h >>conftest.$ac_ext
59652 cat >>conftest.$ac_ext <<_ACEOF
59653 /* end confdefs.h. */
59654 #include <math.h>
59655 int
59656 main ()
59657 {
59658 hypotf(0, 0);
59659 ;
59660 return 0;
59661 }
59662 _ACEOF
59663 rm -f conftest.$ac_objext
59664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59665 (eval $ac_compile) 2>conftest.er1
59666 ac_status=$?
59667 grep -v '^ *+' conftest.er1 >conftest.err
59668 rm -f conftest.er1
59669 cat conftest.err >&5
59670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59671 (exit $ac_status); } &&
59672 { ac_try='test -z "$ac_cxx_werror_flag"
59673 || test ! -s conftest.err'
59674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59675 (eval $ac_try) 2>&5
59676 ac_status=$?
59677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59678 (exit $ac_status); }; } &&
59679 { ac_try='test -s conftest.$ac_objext'
59680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59681 (eval $ac_try) 2>&5
59682 ac_status=$?
59683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59684 (exit $ac_status); }; }; then
59685 glibcxx_cv_func_hypotf_use=yes
59686 else
59687 echo "$as_me: failed program was:" >&5
59688 sed 's/^/| /' conftest.$ac_ext >&5
59689
59690 glibcxx_cv_func_hypotf_use=no
59691 fi
59692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59693 ac_ext=c
59694 ac_cpp='$CPP $CPPFLAGS'
59695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59698
59699
59700 fi
59701
59702 fi
59703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59704 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59705
59706 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59707
59708 for ac_func in hypotf
59709 do
59710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59711 echo "$as_me:$LINENO: checking for $ac_func" >&5
59712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59713 if eval "test \"\${$as_ac_var+set}\" = set"; then
59714 echo $ECHO_N "(cached) $ECHO_C" >&6
59715 else
59716 if test x$gcc_no_link = xyes; then
59717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59719 { (exit 1); exit 1; }; }
59720 fi
59721 cat >conftest.$ac_ext <<_ACEOF
59722 /* confdefs.h. */
59723 _ACEOF
59724 cat confdefs.h >>conftest.$ac_ext
59725 cat >>conftest.$ac_ext <<_ACEOF
59726 /* end confdefs.h. */
59727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59729 #define $ac_func innocuous_$ac_func
59730
59731 /* System header to define __stub macros and hopefully few prototypes,
59732 which can conflict with char $ac_func (); below.
59733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59734 <limits.h> exists even on freestanding compilers. */
59735
59736 #ifdef __STDC__
59737 # include <limits.h>
59738 #else
59739 # include <assert.h>
59740 #endif
59741
59742 #undef $ac_func
59743
59744 /* Override any gcc2 internal prototype to avoid an error. */
59745 #ifdef __cplusplus
59746 extern "C"
59747 {
59748 #endif
59749 /* We use char because int might match the return type of a gcc2
59750 builtin and then its argument prototype would still apply. */
59751 char $ac_func ();
59752 /* The GNU C library defines this for functions which it implements
59753 to always fail with ENOSYS. Some functions are actually named
59754 something starting with __ and the normal name is an alias. */
59755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59756 choke me
59757 #else
59758 char (*f) () = $ac_func;
59759 #endif
59760 #ifdef __cplusplus
59761 }
59762 #endif
59763
59764 int
59765 main ()
59766 {
59767 return f != $ac_func;
59768 ;
59769 return 0;
59770 }
59771 _ACEOF
59772 rm -f conftest.$ac_objext conftest$ac_exeext
59773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59774 (eval $ac_link) 2>conftest.er1
59775 ac_status=$?
59776 grep -v '^ *+' conftest.er1 >conftest.err
59777 rm -f conftest.er1
59778 cat conftest.err >&5
59779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59780 (exit $ac_status); } &&
59781 { ac_try='test -z "$ac_c_werror_flag"
59782 || test ! -s conftest.err'
59783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59784 (eval $ac_try) 2>&5
59785 ac_status=$?
59786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59787 (exit $ac_status); }; } &&
59788 { ac_try='test -s conftest$ac_exeext'
59789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59790 (eval $ac_try) 2>&5
59791 ac_status=$?
59792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59793 (exit $ac_status); }; }; then
59794 eval "$as_ac_var=yes"
59795 else
59796 echo "$as_me: failed program was:" >&5
59797 sed 's/^/| /' conftest.$ac_ext >&5
59798
59799 eval "$as_ac_var=no"
59800 fi
59801 rm -f conftest.err conftest.$ac_objext \
59802 conftest$ac_exeext conftest.$ac_ext
59803 fi
59804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59806 if test `eval echo '${'$as_ac_var'}'` = yes; then
59807 cat >>confdefs.h <<_ACEOF
59808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59809 _ACEOF
59810
59811 fi
59812 done
59813
59814 else
59815
59816 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59817 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59818 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59819 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59820 echo $ECHO_N "(cached) $ECHO_C" >&6
59821 else
59822
59823
59824
59825 ac_ext=cc
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830
59831 cat >conftest.$ac_ext <<_ACEOF
59832 /* confdefs.h. */
59833 _ACEOF
59834 cat confdefs.h >>conftest.$ac_ext
59835 cat >>conftest.$ac_ext <<_ACEOF
59836 /* end confdefs.h. */
59837 #include <math.h>
59838 int
59839 main ()
59840 {
59841 _hypotf(0, 0);
59842 ;
59843 return 0;
59844 }
59845 _ACEOF
59846 rm -f conftest.$ac_objext
59847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59848 (eval $ac_compile) 2>conftest.er1
59849 ac_status=$?
59850 grep -v '^ *+' conftest.er1 >conftest.err
59851 rm -f conftest.er1
59852 cat conftest.err >&5
59853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59854 (exit $ac_status); } &&
59855 { ac_try='test -z "$ac_cxx_werror_flag"
59856 || test ! -s conftest.err'
59857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59858 (eval $ac_try) 2>&5
59859 ac_status=$?
59860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59861 (exit $ac_status); }; } &&
59862 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
59868 glibcxx_cv_func__hypotf_use=yes
59869 else
59870 echo "$as_me: failed program was:" >&5
59871 sed 's/^/| /' conftest.$ac_ext >&5
59872
59873 glibcxx_cv_func__hypotf_use=no
59874 fi
59875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59876 ac_ext=c
59877 ac_cpp='$CPP $CPPFLAGS'
59878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59881
59882
59883 fi
59884
59885 fi
59886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59887 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59888
59889 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59890
59891 for ac_func in _hypotf
59892 do
59893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59894 echo "$as_me:$LINENO: checking for $ac_func" >&5
59895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59896 if eval "test \"\${$as_ac_var+set}\" = set"; then
59897 echo $ECHO_N "(cached) $ECHO_C" >&6
59898 else
59899 if test x$gcc_no_link = xyes; then
59900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59902 { (exit 1); exit 1; }; }
59903 fi
59904 cat >conftest.$ac_ext <<_ACEOF
59905 /* confdefs.h. */
59906 _ACEOF
59907 cat confdefs.h >>conftest.$ac_ext
59908 cat >>conftest.$ac_ext <<_ACEOF
59909 /* end confdefs.h. */
59910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59912 #define $ac_func innocuous_$ac_func
59913
59914 /* System header to define __stub macros and hopefully few prototypes,
59915 which can conflict with char $ac_func (); below.
59916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59917 <limits.h> exists even on freestanding compilers. */
59918
59919 #ifdef __STDC__
59920 # include <limits.h>
59921 #else
59922 # include <assert.h>
59923 #endif
59924
59925 #undef $ac_func
59926
59927 /* Override any gcc2 internal prototype to avoid an error. */
59928 #ifdef __cplusplus
59929 extern "C"
59930 {
59931 #endif
59932 /* We use char because int might match the return type of a gcc2
59933 builtin and then its argument prototype would still apply. */
59934 char $ac_func ();
59935 /* The GNU C library defines this for functions which it implements
59936 to always fail with ENOSYS. Some functions are actually named
59937 something starting with __ and the normal name is an alias. */
59938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59939 choke me
59940 #else
59941 char (*f) () = $ac_func;
59942 #endif
59943 #ifdef __cplusplus
59944 }
59945 #endif
59946
59947 int
59948 main ()
59949 {
59950 return f != $ac_func;
59951 ;
59952 return 0;
59953 }
59954 _ACEOF
59955 rm -f conftest.$ac_objext conftest$ac_exeext
59956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59957 (eval $ac_link) 2>conftest.er1
59958 ac_status=$?
59959 grep -v '^ *+' conftest.er1 >conftest.err
59960 rm -f conftest.er1
59961 cat conftest.err >&5
59962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59963 (exit $ac_status); } &&
59964 { ac_try='test -z "$ac_c_werror_flag"
59965 || test ! -s conftest.err'
59966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59967 (eval $ac_try) 2>&5
59968 ac_status=$?
59969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59970 (exit $ac_status); }; } &&
59971 { ac_try='test -s conftest$ac_exeext'
59972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59973 (eval $ac_try) 2>&5
59974 ac_status=$?
59975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59976 (exit $ac_status); }; }; then
59977 eval "$as_ac_var=yes"
59978 else
59979 echo "$as_me: failed program was:" >&5
59980 sed 's/^/| /' conftest.$ac_ext >&5
59981
59982 eval "$as_ac_var=no"
59983 fi
59984 rm -f conftest.err conftest.$ac_objext \
59985 conftest$ac_exeext conftest.$ac_ext
59986 fi
59987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59989 if test `eval echo '${'$as_ac_var'}'` = yes; then
59990 cat >>confdefs.h <<_ACEOF
59991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59992 _ACEOF
59993
59994 fi
59995 done
59996
59997 fi
59998 fi
59999
60000
60001
60002
60003
60004
60005 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60006 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60009 echo $ECHO_N "(cached) $ECHO_C" >&6
60010 else
60011
60012
60013
60014 ac_ext=cc
60015 ac_cpp='$CXXCPP $CPPFLAGS'
60016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60019
60020 cat >conftest.$ac_ext <<_ACEOF
60021 /* confdefs.h. */
60022 _ACEOF
60023 cat confdefs.h >>conftest.$ac_ext
60024 cat >>conftest.$ac_ext <<_ACEOF
60025 /* end confdefs.h. */
60026 #include <math.h>
60027 int
60028 main ()
60029 {
60030 ldexpf(0, 0);
60031 ;
60032 return 0;
60033 }
60034 _ACEOF
60035 rm -f conftest.$ac_objext
60036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60037 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func_ldexpf_use=yes
60058 else
60059 echo "$as_me: failed program was:" >&5
60060 sed 's/^/| /' conftest.$ac_ext >&5
60061
60062 glibcxx_cv_func_ldexpf_use=no
60063 fi
60064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60065 ac_ext=c
60066 ac_cpp='$CPP $CPPFLAGS'
60067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60070
60071
60072 fi
60073
60074 fi
60075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60076 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60077
60078 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60079
60080 for ac_func in ldexpf
60081 do
60082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60083 echo "$as_me:$LINENO: checking for $ac_func" >&5
60084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60085 if eval "test \"\${$as_ac_var+set}\" = set"; then
60086 echo $ECHO_N "(cached) $ECHO_C" >&6
60087 else
60088 if test x$gcc_no_link = xyes; then
60089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60091 { (exit 1); exit 1; }; }
60092 fi
60093 cat >conftest.$ac_ext <<_ACEOF
60094 /* confdefs.h. */
60095 _ACEOF
60096 cat confdefs.h >>conftest.$ac_ext
60097 cat >>conftest.$ac_ext <<_ACEOF
60098 /* end confdefs.h. */
60099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60101 #define $ac_func innocuous_$ac_func
60102
60103 /* System header to define __stub macros and hopefully few prototypes,
60104 which can conflict with char $ac_func (); below.
60105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60106 <limits.h> exists even on freestanding compilers. */
60107
60108 #ifdef __STDC__
60109 # include <limits.h>
60110 #else
60111 # include <assert.h>
60112 #endif
60113
60114 #undef $ac_func
60115
60116 /* Override any gcc2 internal prototype to avoid an error. */
60117 #ifdef __cplusplus
60118 extern "C"
60119 {
60120 #endif
60121 /* We use char because int might match the return type of a gcc2
60122 builtin and then its argument prototype would still apply. */
60123 char $ac_func ();
60124 /* The GNU C library defines this for functions which it implements
60125 to always fail with ENOSYS. Some functions are actually named
60126 something starting with __ and the normal name is an alias. */
60127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60128 choke me
60129 #else
60130 char (*f) () = $ac_func;
60131 #endif
60132 #ifdef __cplusplus
60133 }
60134 #endif
60135
60136 int
60137 main ()
60138 {
60139 return f != $ac_func;
60140 ;
60141 return 0;
60142 }
60143 _ACEOF
60144 rm -f conftest.$ac_objext conftest$ac_exeext
60145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60146 (eval $ac_link) 2>conftest.er1
60147 ac_status=$?
60148 grep -v '^ *+' conftest.er1 >conftest.err
60149 rm -f conftest.er1
60150 cat conftest.err >&5
60151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60152 (exit $ac_status); } &&
60153 { ac_try='test -z "$ac_c_werror_flag"
60154 || test ! -s conftest.err'
60155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60156 (eval $ac_try) 2>&5
60157 ac_status=$?
60158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60159 (exit $ac_status); }; } &&
60160 { ac_try='test -s conftest$ac_exeext'
60161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60162 (eval $ac_try) 2>&5
60163 ac_status=$?
60164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60165 (exit $ac_status); }; }; then
60166 eval "$as_ac_var=yes"
60167 else
60168 echo "$as_me: failed program was:" >&5
60169 sed 's/^/| /' conftest.$ac_ext >&5
60170
60171 eval "$as_ac_var=no"
60172 fi
60173 rm -f conftest.err conftest.$ac_objext \
60174 conftest$ac_exeext conftest.$ac_ext
60175 fi
60176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60178 if test `eval echo '${'$as_ac_var'}'` = yes; then
60179 cat >>confdefs.h <<_ACEOF
60180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60181 _ACEOF
60182
60183 fi
60184 done
60185
60186 else
60187
60188 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60189 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60192 echo $ECHO_N "(cached) $ECHO_C" >&6
60193 else
60194
60195
60196
60197 ac_ext=cc
60198 ac_cpp='$CXXCPP $CPPFLAGS'
60199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60202
60203 cat >conftest.$ac_ext <<_ACEOF
60204 /* confdefs.h. */
60205 _ACEOF
60206 cat confdefs.h >>conftest.$ac_ext
60207 cat >>conftest.$ac_ext <<_ACEOF
60208 /* end confdefs.h. */
60209 #include <math.h>
60210 int
60211 main ()
60212 {
60213 _ldexpf(0, 0);
60214 ;
60215 return 0;
60216 }
60217 _ACEOF
60218 rm -f conftest.$ac_objext
60219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60220 (eval $ac_compile) 2>conftest.er1
60221 ac_status=$?
60222 grep -v '^ *+' conftest.er1 >conftest.err
60223 rm -f conftest.er1
60224 cat conftest.err >&5
60225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60226 (exit $ac_status); } &&
60227 { ac_try='test -z "$ac_cxx_werror_flag"
60228 || test ! -s conftest.err'
60229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60230 (eval $ac_try) 2>&5
60231 ac_status=$?
60232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233 (exit $ac_status); }; } &&
60234 { ac_try='test -s conftest.$ac_objext'
60235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60236 (eval $ac_try) 2>&5
60237 ac_status=$?
60238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60239 (exit $ac_status); }; }; then
60240 glibcxx_cv_func__ldexpf_use=yes
60241 else
60242 echo "$as_me: failed program was:" >&5
60243 sed 's/^/| /' conftest.$ac_ext >&5
60244
60245 glibcxx_cv_func__ldexpf_use=no
60246 fi
60247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60248 ac_ext=c
60249 ac_cpp='$CPP $CPPFLAGS'
60250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60253
60254
60255 fi
60256
60257 fi
60258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60259 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60260
60261 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60262
60263 for ac_func in _ldexpf
60264 do
60265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60266 echo "$as_me:$LINENO: checking for $ac_func" >&5
60267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60268 if eval "test \"\${$as_ac_var+set}\" = set"; then
60269 echo $ECHO_N "(cached) $ECHO_C" >&6
60270 else
60271 if test x$gcc_no_link = xyes; then
60272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60274 { (exit 1); exit 1; }; }
60275 fi
60276 cat >conftest.$ac_ext <<_ACEOF
60277 /* confdefs.h. */
60278 _ACEOF
60279 cat confdefs.h >>conftest.$ac_ext
60280 cat >>conftest.$ac_ext <<_ACEOF
60281 /* end confdefs.h. */
60282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60284 #define $ac_func innocuous_$ac_func
60285
60286 /* System header to define __stub macros and hopefully few prototypes,
60287 which can conflict with char $ac_func (); below.
60288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60289 <limits.h> exists even on freestanding compilers. */
60290
60291 #ifdef __STDC__
60292 # include <limits.h>
60293 #else
60294 # include <assert.h>
60295 #endif
60296
60297 #undef $ac_func
60298
60299 /* Override any gcc2 internal prototype to avoid an error. */
60300 #ifdef __cplusplus
60301 extern "C"
60302 {
60303 #endif
60304 /* We use char because int might match the return type of a gcc2
60305 builtin and then its argument prototype would still apply. */
60306 char $ac_func ();
60307 /* The GNU C library defines this for functions which it implements
60308 to always fail with ENOSYS. Some functions are actually named
60309 something starting with __ and the normal name is an alias. */
60310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60311 choke me
60312 #else
60313 char (*f) () = $ac_func;
60314 #endif
60315 #ifdef __cplusplus
60316 }
60317 #endif
60318
60319 int
60320 main ()
60321 {
60322 return f != $ac_func;
60323 ;
60324 return 0;
60325 }
60326 _ACEOF
60327 rm -f conftest.$ac_objext conftest$ac_exeext
60328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60329 (eval $ac_link) 2>conftest.er1
60330 ac_status=$?
60331 grep -v '^ *+' conftest.er1 >conftest.err
60332 rm -f conftest.er1
60333 cat conftest.err >&5
60334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60335 (exit $ac_status); } &&
60336 { ac_try='test -z "$ac_c_werror_flag"
60337 || test ! -s conftest.err'
60338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60339 (eval $ac_try) 2>&5
60340 ac_status=$?
60341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60342 (exit $ac_status); }; } &&
60343 { ac_try='test -s conftest$ac_exeext'
60344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60345 (eval $ac_try) 2>&5
60346 ac_status=$?
60347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60348 (exit $ac_status); }; }; then
60349 eval "$as_ac_var=yes"
60350 else
60351 echo "$as_me: failed program was:" >&5
60352 sed 's/^/| /' conftest.$ac_ext >&5
60353
60354 eval "$as_ac_var=no"
60355 fi
60356 rm -f conftest.err conftest.$ac_objext \
60357 conftest$ac_exeext conftest.$ac_ext
60358 fi
60359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60361 if test `eval echo '${'$as_ac_var'}'` = yes; then
60362 cat >>confdefs.h <<_ACEOF
60363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60364 _ACEOF
60365
60366 fi
60367 done
60368
60369 fi
60370 fi
60371
60372
60373
60374
60375
60376
60377 echo "$as_me:$LINENO: checking for logf declaration" >&5
60378 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60379 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60380 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60381 echo $ECHO_N "(cached) $ECHO_C" >&6
60382 else
60383
60384
60385
60386 ac_ext=cc
60387 ac_cpp='$CXXCPP $CPPFLAGS'
60388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391
60392 cat >conftest.$ac_ext <<_ACEOF
60393 /* confdefs.h. */
60394 _ACEOF
60395 cat confdefs.h >>conftest.$ac_ext
60396 cat >>conftest.$ac_ext <<_ACEOF
60397 /* end confdefs.h. */
60398 #include <math.h>
60399 #ifdef HAVE_IEEEFP_H
60400 #include <ieeefp.h>
60401 #endif
60402
60403 int
60404 main ()
60405 {
60406 logf(0);
60407 ;
60408 return 0;
60409 }
60410 _ACEOF
60411 rm -f conftest.$ac_objext
60412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60413 (eval $ac_compile) 2>conftest.er1
60414 ac_status=$?
60415 grep -v '^ *+' conftest.er1 >conftest.err
60416 rm -f conftest.er1
60417 cat conftest.err >&5
60418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60419 (exit $ac_status); } &&
60420 { ac_try='test -z "$ac_cxx_werror_flag"
60421 || test ! -s conftest.err'
60422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60423 (eval $ac_try) 2>&5
60424 ac_status=$?
60425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60426 (exit $ac_status); }; } &&
60427 { ac_try='test -s conftest.$ac_objext'
60428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60429 (eval $ac_try) 2>&5
60430 ac_status=$?
60431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60432 (exit $ac_status); }; }; then
60433 glibcxx_cv_func_logf_use=yes
60434 else
60435 echo "$as_me: failed program was:" >&5
60436 sed 's/^/| /' conftest.$ac_ext >&5
60437
60438 glibcxx_cv_func_logf_use=no
60439 fi
60440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60441 ac_ext=c
60442 ac_cpp='$CPP $CPPFLAGS'
60443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60446
60447
60448 fi
60449
60450 fi
60451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60452 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60453
60454 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60455
60456 for ac_func in logf
60457 do
60458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60459 echo "$as_me:$LINENO: checking for $ac_func" >&5
60460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60461 if eval "test \"\${$as_ac_var+set}\" = set"; then
60462 echo $ECHO_N "(cached) $ECHO_C" >&6
60463 else
60464 if test x$gcc_no_link = xyes; then
60465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60467 { (exit 1); exit 1; }; }
60468 fi
60469 cat >conftest.$ac_ext <<_ACEOF
60470 /* confdefs.h. */
60471 _ACEOF
60472 cat confdefs.h >>conftest.$ac_ext
60473 cat >>conftest.$ac_ext <<_ACEOF
60474 /* end confdefs.h. */
60475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60477 #define $ac_func innocuous_$ac_func
60478
60479 /* System header to define __stub macros and hopefully few prototypes,
60480 which can conflict with char $ac_func (); below.
60481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60482 <limits.h> exists even on freestanding compilers. */
60483
60484 #ifdef __STDC__
60485 # include <limits.h>
60486 #else
60487 # include <assert.h>
60488 #endif
60489
60490 #undef $ac_func
60491
60492 /* Override any gcc2 internal prototype to avoid an error. */
60493 #ifdef __cplusplus
60494 extern "C"
60495 {
60496 #endif
60497 /* We use char because int might match the return type of a gcc2
60498 builtin and then its argument prototype would still apply. */
60499 char $ac_func ();
60500 /* The GNU C library defines this for functions which it implements
60501 to always fail with ENOSYS. Some functions are actually named
60502 something starting with __ and the normal name is an alias. */
60503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60504 choke me
60505 #else
60506 char (*f) () = $ac_func;
60507 #endif
60508 #ifdef __cplusplus
60509 }
60510 #endif
60511
60512 int
60513 main ()
60514 {
60515 return f != $ac_func;
60516 ;
60517 return 0;
60518 }
60519 _ACEOF
60520 rm -f conftest.$ac_objext conftest$ac_exeext
60521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60522 (eval $ac_link) 2>conftest.er1
60523 ac_status=$?
60524 grep -v '^ *+' conftest.er1 >conftest.err
60525 rm -f conftest.er1
60526 cat conftest.err >&5
60527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60528 (exit $ac_status); } &&
60529 { ac_try='test -z "$ac_c_werror_flag"
60530 || test ! -s conftest.err'
60531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60532 (eval $ac_try) 2>&5
60533 ac_status=$?
60534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60535 (exit $ac_status); }; } &&
60536 { ac_try='test -s conftest$ac_exeext'
60537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60538 (eval $ac_try) 2>&5
60539 ac_status=$?
60540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60541 (exit $ac_status); }; }; then
60542 eval "$as_ac_var=yes"
60543 else
60544 echo "$as_me: failed program was:" >&5
60545 sed 's/^/| /' conftest.$ac_ext >&5
60546
60547 eval "$as_ac_var=no"
60548 fi
60549 rm -f conftest.err conftest.$ac_objext \
60550 conftest$ac_exeext conftest.$ac_ext
60551 fi
60552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60554 if test `eval echo '${'$as_ac_var'}'` = yes; then
60555 cat >>confdefs.h <<_ACEOF
60556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60557 _ACEOF
60558
60559 fi
60560 done
60561
60562 else
60563
60564 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60565 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60566 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60567 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60568 echo $ECHO_N "(cached) $ECHO_C" >&6
60569 else
60570
60571
60572
60573 ac_ext=cc
60574 ac_cpp='$CXXCPP $CPPFLAGS'
60575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60578
60579 cat >conftest.$ac_ext <<_ACEOF
60580 /* confdefs.h. */
60581 _ACEOF
60582 cat confdefs.h >>conftest.$ac_ext
60583 cat >>conftest.$ac_ext <<_ACEOF
60584 /* end confdefs.h. */
60585 #include <math.h>
60586 #ifdef HAVE_IEEEFP_H
60587 #include <ieeefp.h>
60588 #endif
60589
60590 int
60591 main ()
60592 {
60593 _logf(0);
60594 ;
60595 return 0;
60596 }
60597 _ACEOF
60598 rm -f conftest.$ac_objext
60599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60600 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__logf_use=yes
60621 else
60622 echo "$as_me: failed program was:" >&5
60623 sed 's/^/| /' conftest.$ac_ext >&5
60624
60625 glibcxx_cv_func__logf_use=no
60626 fi
60627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60628 ac_ext=c
60629 ac_cpp='$CPP $CPPFLAGS'
60630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60633
60634
60635 fi
60636
60637 fi
60638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60639 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60640
60641 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60642
60643 for ac_func in _logf
60644 do
60645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60646 echo "$as_me:$LINENO: checking for $ac_func" >&5
60647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60648 if eval "test \"\${$as_ac_var+set}\" = set"; then
60649 echo $ECHO_N "(cached) $ECHO_C" >&6
60650 else
60651 if test x$gcc_no_link = xyes; then
60652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60654 { (exit 1); exit 1; }; }
60655 fi
60656 cat >conftest.$ac_ext <<_ACEOF
60657 /* confdefs.h. */
60658 _ACEOF
60659 cat confdefs.h >>conftest.$ac_ext
60660 cat >>conftest.$ac_ext <<_ACEOF
60661 /* end confdefs.h. */
60662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60664 #define $ac_func innocuous_$ac_func
60665
60666 /* System header to define __stub macros and hopefully few prototypes,
60667 which can conflict with char $ac_func (); below.
60668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60669 <limits.h> exists even on freestanding compilers. */
60670
60671 #ifdef __STDC__
60672 # include <limits.h>
60673 #else
60674 # include <assert.h>
60675 #endif
60676
60677 #undef $ac_func
60678
60679 /* Override any gcc2 internal prototype to avoid an error. */
60680 #ifdef __cplusplus
60681 extern "C"
60682 {
60683 #endif
60684 /* We use char because int might match the return type of a gcc2
60685 builtin and then its argument prototype would still apply. */
60686 char $ac_func ();
60687 /* The GNU C library defines this for functions which it implements
60688 to always fail with ENOSYS. Some functions are actually named
60689 something starting with __ and the normal name is an alias. */
60690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60691 choke me
60692 #else
60693 char (*f) () = $ac_func;
60694 #endif
60695 #ifdef __cplusplus
60696 }
60697 #endif
60698
60699 int
60700 main ()
60701 {
60702 return f != $ac_func;
60703 ;
60704 return 0;
60705 }
60706 _ACEOF
60707 rm -f conftest.$ac_objext conftest$ac_exeext
60708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60709 (eval $ac_link) 2>conftest.er1
60710 ac_status=$?
60711 grep -v '^ *+' conftest.er1 >conftest.err
60712 rm -f conftest.er1
60713 cat conftest.err >&5
60714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60715 (exit $ac_status); } &&
60716 { ac_try='test -z "$ac_c_werror_flag"
60717 || test ! -s conftest.err'
60718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60719 (eval $ac_try) 2>&5
60720 ac_status=$?
60721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60722 (exit $ac_status); }; } &&
60723 { ac_try='test -s conftest$ac_exeext'
60724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60725 (eval $ac_try) 2>&5
60726 ac_status=$?
60727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60728 (exit $ac_status); }; }; then
60729 eval "$as_ac_var=yes"
60730 else
60731 echo "$as_me: failed program was:" >&5
60732 sed 's/^/| /' conftest.$ac_ext >&5
60733
60734 eval "$as_ac_var=no"
60735 fi
60736 rm -f conftest.err conftest.$ac_objext \
60737 conftest$ac_exeext conftest.$ac_ext
60738 fi
60739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60741 if test `eval echo '${'$as_ac_var'}'` = yes; then
60742 cat >>confdefs.h <<_ACEOF
60743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60744 _ACEOF
60745
60746 fi
60747 done
60748
60749 fi
60750 fi
60751
60752
60753
60754
60755
60756
60757 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60758 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60759 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60760 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60761 echo $ECHO_N "(cached) $ECHO_C" >&6
60762 else
60763
60764
60765
60766 ac_ext=cc
60767 ac_cpp='$CXXCPP $CPPFLAGS'
60768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60771
60772 cat >conftest.$ac_ext <<_ACEOF
60773 /* confdefs.h. */
60774 _ACEOF
60775 cat confdefs.h >>conftest.$ac_ext
60776 cat >>conftest.$ac_ext <<_ACEOF
60777 /* end confdefs.h. */
60778 #include <math.h>
60779 #ifdef HAVE_IEEEFP_H
60780 #include <ieeefp.h>
60781 #endif
60782
60783 int
60784 main ()
60785 {
60786 log10f(0);
60787 ;
60788 return 0;
60789 }
60790 _ACEOF
60791 rm -f conftest.$ac_objext
60792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60793 (eval $ac_compile) 2>conftest.er1
60794 ac_status=$?
60795 grep -v '^ *+' conftest.er1 >conftest.err
60796 rm -f conftest.er1
60797 cat conftest.err >&5
60798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60799 (exit $ac_status); } &&
60800 { ac_try='test -z "$ac_cxx_werror_flag"
60801 || test ! -s conftest.err'
60802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60803 (eval $ac_try) 2>&5
60804 ac_status=$?
60805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60806 (exit $ac_status); }; } &&
60807 { ac_try='test -s conftest.$ac_objext'
60808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60809 (eval $ac_try) 2>&5
60810 ac_status=$?
60811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60812 (exit $ac_status); }; }; then
60813 glibcxx_cv_func_log10f_use=yes
60814 else
60815 echo "$as_me: failed program was:" >&5
60816 sed 's/^/| /' conftest.$ac_ext >&5
60817
60818 glibcxx_cv_func_log10f_use=no
60819 fi
60820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60821 ac_ext=c
60822 ac_cpp='$CPP $CPPFLAGS'
60823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60826
60827
60828 fi
60829
60830 fi
60831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60832 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60833
60834 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60835
60836 for ac_func in log10f
60837 do
60838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60839 echo "$as_me:$LINENO: checking for $ac_func" >&5
60840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60841 if eval "test \"\${$as_ac_var+set}\" = set"; then
60842 echo $ECHO_N "(cached) $ECHO_C" >&6
60843 else
60844 if test x$gcc_no_link = xyes; then
60845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60847 { (exit 1); exit 1; }; }
60848 fi
60849 cat >conftest.$ac_ext <<_ACEOF
60850 /* confdefs.h. */
60851 _ACEOF
60852 cat confdefs.h >>conftest.$ac_ext
60853 cat >>conftest.$ac_ext <<_ACEOF
60854 /* end confdefs.h. */
60855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60857 #define $ac_func innocuous_$ac_func
60858
60859 /* System header to define __stub macros and hopefully few prototypes,
60860 which can conflict with char $ac_func (); below.
60861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60862 <limits.h> exists even on freestanding compilers. */
60863
60864 #ifdef __STDC__
60865 # include <limits.h>
60866 #else
60867 # include <assert.h>
60868 #endif
60869
60870 #undef $ac_func
60871
60872 /* Override any gcc2 internal prototype to avoid an error. */
60873 #ifdef __cplusplus
60874 extern "C"
60875 {
60876 #endif
60877 /* We use char because int might match the return type of a gcc2
60878 builtin and then its argument prototype would still apply. */
60879 char $ac_func ();
60880 /* The GNU C library defines this for functions which it implements
60881 to always fail with ENOSYS. Some functions are actually named
60882 something starting with __ and the normal name is an alias. */
60883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60884 choke me
60885 #else
60886 char (*f) () = $ac_func;
60887 #endif
60888 #ifdef __cplusplus
60889 }
60890 #endif
60891
60892 int
60893 main ()
60894 {
60895 return f != $ac_func;
60896 ;
60897 return 0;
60898 }
60899 _ACEOF
60900 rm -f conftest.$ac_objext conftest$ac_exeext
60901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60902 (eval $ac_link) 2>conftest.er1
60903 ac_status=$?
60904 grep -v '^ *+' conftest.er1 >conftest.err
60905 rm -f conftest.er1
60906 cat conftest.err >&5
60907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60908 (exit $ac_status); } &&
60909 { ac_try='test -z "$ac_c_werror_flag"
60910 || test ! -s conftest.err'
60911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60912 (eval $ac_try) 2>&5
60913 ac_status=$?
60914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60915 (exit $ac_status); }; } &&
60916 { ac_try='test -s conftest$ac_exeext'
60917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60918 (eval $ac_try) 2>&5
60919 ac_status=$?
60920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60921 (exit $ac_status); }; }; then
60922 eval "$as_ac_var=yes"
60923 else
60924 echo "$as_me: failed program was:" >&5
60925 sed 's/^/| /' conftest.$ac_ext >&5
60926
60927 eval "$as_ac_var=no"
60928 fi
60929 rm -f conftest.err conftest.$ac_objext \
60930 conftest$ac_exeext conftest.$ac_ext
60931 fi
60932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60934 if test `eval echo '${'$as_ac_var'}'` = yes; then
60935 cat >>confdefs.h <<_ACEOF
60936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60937 _ACEOF
60938
60939 fi
60940 done
60941
60942 else
60943
60944 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60945 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60946 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60947 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60948 echo $ECHO_N "(cached) $ECHO_C" >&6
60949 else
60950
60951
60952
60953 ac_ext=cc
60954 ac_cpp='$CXXCPP $CPPFLAGS'
60955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60958
60959 cat >conftest.$ac_ext <<_ACEOF
60960 /* confdefs.h. */
60961 _ACEOF
60962 cat confdefs.h >>conftest.$ac_ext
60963 cat >>conftest.$ac_ext <<_ACEOF
60964 /* end confdefs.h. */
60965 #include <math.h>
60966 #ifdef HAVE_IEEEFP_H
60967 #include <ieeefp.h>
60968 #endif
60969
60970 int
60971 main ()
60972 {
60973 _log10f(0);
60974 ;
60975 return 0;
60976 }
60977 _ACEOF
60978 rm -f conftest.$ac_objext
60979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60980 (eval $ac_compile) 2>conftest.er1
60981 ac_status=$?
60982 grep -v '^ *+' conftest.er1 >conftest.err
60983 rm -f conftest.er1
60984 cat conftest.err >&5
60985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60986 (exit $ac_status); } &&
60987 { ac_try='test -z "$ac_cxx_werror_flag"
60988 || test ! -s conftest.err'
60989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60990 (eval $ac_try) 2>&5
60991 ac_status=$?
60992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60993 (exit $ac_status); }; } &&
60994 { ac_try='test -s conftest.$ac_objext'
60995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60996 (eval $ac_try) 2>&5
60997 ac_status=$?
60998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60999 (exit $ac_status); }; }; then
61000 glibcxx_cv_func__log10f_use=yes
61001 else
61002 echo "$as_me: failed program was:" >&5
61003 sed 's/^/| /' conftest.$ac_ext >&5
61004
61005 glibcxx_cv_func__log10f_use=no
61006 fi
61007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61008 ac_ext=c
61009 ac_cpp='$CPP $CPPFLAGS'
61010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61013
61014
61015 fi
61016
61017 fi
61018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61019 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61020
61021 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61022
61023 for ac_func in _log10f
61024 do
61025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61026 echo "$as_me:$LINENO: checking for $ac_func" >&5
61027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61028 if eval "test \"\${$as_ac_var+set}\" = set"; then
61029 echo $ECHO_N "(cached) $ECHO_C" >&6
61030 else
61031 if test x$gcc_no_link = xyes; then
61032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61034 { (exit 1); exit 1; }; }
61035 fi
61036 cat >conftest.$ac_ext <<_ACEOF
61037 /* confdefs.h. */
61038 _ACEOF
61039 cat confdefs.h >>conftest.$ac_ext
61040 cat >>conftest.$ac_ext <<_ACEOF
61041 /* end confdefs.h. */
61042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61044 #define $ac_func innocuous_$ac_func
61045
61046 /* System header to define __stub macros and hopefully few prototypes,
61047 which can conflict with char $ac_func (); below.
61048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61049 <limits.h> exists even on freestanding compilers. */
61050
61051 #ifdef __STDC__
61052 # include <limits.h>
61053 #else
61054 # include <assert.h>
61055 #endif
61056
61057 #undef $ac_func
61058
61059 /* Override any gcc2 internal prototype to avoid an error. */
61060 #ifdef __cplusplus
61061 extern "C"
61062 {
61063 #endif
61064 /* We use char because int might match the return type of a gcc2
61065 builtin and then its argument prototype would still apply. */
61066 char $ac_func ();
61067 /* The GNU C library defines this for functions which it implements
61068 to always fail with ENOSYS. Some functions are actually named
61069 something starting with __ and the normal name is an alias. */
61070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61071 choke me
61072 #else
61073 char (*f) () = $ac_func;
61074 #endif
61075 #ifdef __cplusplus
61076 }
61077 #endif
61078
61079 int
61080 main ()
61081 {
61082 return f != $ac_func;
61083 ;
61084 return 0;
61085 }
61086 _ACEOF
61087 rm -f conftest.$ac_objext conftest$ac_exeext
61088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61089 (eval $ac_link) 2>conftest.er1
61090 ac_status=$?
61091 grep -v '^ *+' conftest.er1 >conftest.err
61092 rm -f conftest.er1
61093 cat conftest.err >&5
61094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61095 (exit $ac_status); } &&
61096 { ac_try='test -z "$ac_c_werror_flag"
61097 || test ! -s conftest.err'
61098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61099 (eval $ac_try) 2>&5
61100 ac_status=$?
61101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61102 (exit $ac_status); }; } &&
61103 { ac_try='test -s conftest$ac_exeext'
61104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61105 (eval $ac_try) 2>&5
61106 ac_status=$?
61107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61108 (exit $ac_status); }; }; then
61109 eval "$as_ac_var=yes"
61110 else
61111 echo "$as_me: failed program was:" >&5
61112 sed 's/^/| /' conftest.$ac_ext >&5
61113
61114 eval "$as_ac_var=no"
61115 fi
61116 rm -f conftest.err conftest.$ac_objext \
61117 conftest$ac_exeext conftest.$ac_ext
61118 fi
61119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61121 if test `eval echo '${'$as_ac_var'}'` = yes; then
61122 cat >>confdefs.h <<_ACEOF
61123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61124 _ACEOF
61125
61126 fi
61127 done
61128
61129 fi
61130 fi
61131
61132
61133
61134
61135
61136
61137 echo "$as_me:$LINENO: checking for modff declaration" >&5
61138 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61139 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61140 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61141 echo $ECHO_N "(cached) $ECHO_C" >&6
61142 else
61143
61144
61145
61146 ac_ext=cc
61147 ac_cpp='$CXXCPP $CPPFLAGS'
61148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61151
61152 cat >conftest.$ac_ext <<_ACEOF
61153 /* confdefs.h. */
61154 _ACEOF
61155 cat confdefs.h >>conftest.$ac_ext
61156 cat >>conftest.$ac_ext <<_ACEOF
61157 /* end confdefs.h. */
61158 #include <math.h>
61159 int
61160 main ()
61161 {
61162 modff(0, 0);
61163 ;
61164 return 0;
61165 }
61166 _ACEOF
61167 rm -f conftest.$ac_objext
61168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61169 (eval $ac_compile) 2>conftest.er1
61170 ac_status=$?
61171 grep -v '^ *+' conftest.er1 >conftest.err
61172 rm -f conftest.er1
61173 cat conftest.err >&5
61174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61175 (exit $ac_status); } &&
61176 { ac_try='test -z "$ac_cxx_werror_flag"
61177 || test ! -s conftest.err'
61178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61179 (eval $ac_try) 2>&5
61180 ac_status=$?
61181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182 (exit $ac_status); }; } &&
61183 { ac_try='test -s conftest.$ac_objext'
61184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61185 (eval $ac_try) 2>&5
61186 ac_status=$?
61187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61188 (exit $ac_status); }; }; then
61189 glibcxx_cv_func_modff_use=yes
61190 else
61191 echo "$as_me: failed program was:" >&5
61192 sed 's/^/| /' conftest.$ac_ext >&5
61193
61194 glibcxx_cv_func_modff_use=no
61195 fi
61196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61197 ac_ext=c
61198 ac_cpp='$CPP $CPPFLAGS'
61199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61202
61203
61204 fi
61205
61206 fi
61207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61208 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61209
61210 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61211
61212 for ac_func in modff
61213 do
61214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61215 echo "$as_me:$LINENO: checking for $ac_func" >&5
61216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61217 if eval "test \"\${$as_ac_var+set}\" = set"; then
61218 echo $ECHO_N "(cached) $ECHO_C" >&6
61219 else
61220 if test x$gcc_no_link = xyes; then
61221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61223 { (exit 1); exit 1; }; }
61224 fi
61225 cat >conftest.$ac_ext <<_ACEOF
61226 /* confdefs.h. */
61227 _ACEOF
61228 cat confdefs.h >>conftest.$ac_ext
61229 cat >>conftest.$ac_ext <<_ACEOF
61230 /* end confdefs.h. */
61231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61233 #define $ac_func innocuous_$ac_func
61234
61235 /* System header to define __stub macros and hopefully few prototypes,
61236 which can conflict with char $ac_func (); below.
61237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61238 <limits.h> exists even on freestanding compilers. */
61239
61240 #ifdef __STDC__
61241 # include <limits.h>
61242 #else
61243 # include <assert.h>
61244 #endif
61245
61246 #undef $ac_func
61247
61248 /* Override any gcc2 internal prototype to avoid an error. */
61249 #ifdef __cplusplus
61250 extern "C"
61251 {
61252 #endif
61253 /* We use char because int might match the return type of a gcc2
61254 builtin and then its argument prototype would still apply. */
61255 char $ac_func ();
61256 /* The GNU C library defines this for functions which it implements
61257 to always fail with ENOSYS. Some functions are actually named
61258 something starting with __ and the normal name is an alias. */
61259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61260 choke me
61261 #else
61262 char (*f) () = $ac_func;
61263 #endif
61264 #ifdef __cplusplus
61265 }
61266 #endif
61267
61268 int
61269 main ()
61270 {
61271 return f != $ac_func;
61272 ;
61273 return 0;
61274 }
61275 _ACEOF
61276 rm -f conftest.$ac_objext conftest$ac_exeext
61277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61278 (eval $ac_link) 2>conftest.er1
61279 ac_status=$?
61280 grep -v '^ *+' conftest.er1 >conftest.err
61281 rm -f conftest.er1
61282 cat conftest.err >&5
61283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61284 (exit $ac_status); } &&
61285 { ac_try='test -z "$ac_c_werror_flag"
61286 || test ! -s conftest.err'
61287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61288 (eval $ac_try) 2>&5
61289 ac_status=$?
61290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61291 (exit $ac_status); }; } &&
61292 { ac_try='test -s conftest$ac_exeext'
61293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61294 (eval $ac_try) 2>&5
61295 ac_status=$?
61296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61297 (exit $ac_status); }; }; then
61298 eval "$as_ac_var=yes"
61299 else
61300 echo "$as_me: failed program was:" >&5
61301 sed 's/^/| /' conftest.$ac_ext >&5
61302
61303 eval "$as_ac_var=no"
61304 fi
61305 rm -f conftest.err conftest.$ac_objext \
61306 conftest$ac_exeext conftest.$ac_ext
61307 fi
61308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61310 if test `eval echo '${'$as_ac_var'}'` = yes; then
61311 cat >>confdefs.h <<_ACEOF
61312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61313 _ACEOF
61314
61315 fi
61316 done
61317
61318 else
61319
61320 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61321 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61322 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61323 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61324 echo $ECHO_N "(cached) $ECHO_C" >&6
61325 else
61326
61327
61328
61329 ac_ext=cc
61330 ac_cpp='$CXXCPP $CPPFLAGS'
61331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61334
61335 cat >conftest.$ac_ext <<_ACEOF
61336 /* confdefs.h. */
61337 _ACEOF
61338 cat confdefs.h >>conftest.$ac_ext
61339 cat >>conftest.$ac_ext <<_ACEOF
61340 /* end confdefs.h. */
61341 #include <math.h>
61342 int
61343 main ()
61344 {
61345 _modff(0, 0);
61346 ;
61347 return 0;
61348 }
61349 _ACEOF
61350 rm -f conftest.$ac_objext
61351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61352 (eval $ac_compile) 2>conftest.er1
61353 ac_status=$?
61354 grep -v '^ *+' conftest.er1 >conftest.err
61355 rm -f conftest.er1
61356 cat conftest.err >&5
61357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61358 (exit $ac_status); } &&
61359 { ac_try='test -z "$ac_cxx_werror_flag"
61360 || test ! -s conftest.err'
61361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61362 (eval $ac_try) 2>&5
61363 ac_status=$?
61364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61365 (exit $ac_status); }; } &&
61366 { ac_try='test -s conftest.$ac_objext'
61367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61368 (eval $ac_try) 2>&5
61369 ac_status=$?
61370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61371 (exit $ac_status); }; }; then
61372 glibcxx_cv_func__modff_use=yes
61373 else
61374 echo "$as_me: failed program was:" >&5
61375 sed 's/^/| /' conftest.$ac_ext >&5
61376
61377 glibcxx_cv_func__modff_use=no
61378 fi
61379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61380 ac_ext=c
61381 ac_cpp='$CPP $CPPFLAGS'
61382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61385
61386
61387 fi
61388
61389 fi
61390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61391 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61392
61393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61394
61395 for ac_func in _modff
61396 do
61397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61398 echo "$as_me:$LINENO: checking for $ac_func" >&5
61399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61400 if eval "test \"\${$as_ac_var+set}\" = set"; then
61401 echo $ECHO_N "(cached) $ECHO_C" >&6
61402 else
61403 if test x$gcc_no_link = xyes; then
61404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61406 { (exit 1); exit 1; }; }
61407 fi
61408 cat >conftest.$ac_ext <<_ACEOF
61409 /* confdefs.h. */
61410 _ACEOF
61411 cat confdefs.h >>conftest.$ac_ext
61412 cat >>conftest.$ac_ext <<_ACEOF
61413 /* end confdefs.h. */
61414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61416 #define $ac_func innocuous_$ac_func
61417
61418 /* System header to define __stub macros and hopefully few prototypes,
61419 which can conflict with char $ac_func (); below.
61420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61421 <limits.h> exists even on freestanding compilers. */
61422
61423 #ifdef __STDC__
61424 # include <limits.h>
61425 #else
61426 # include <assert.h>
61427 #endif
61428
61429 #undef $ac_func
61430
61431 /* Override any gcc2 internal prototype to avoid an error. */
61432 #ifdef __cplusplus
61433 extern "C"
61434 {
61435 #endif
61436 /* We use char because int might match the return type of a gcc2
61437 builtin and then its argument prototype would still apply. */
61438 char $ac_func ();
61439 /* The GNU C library defines this for functions which it implements
61440 to always fail with ENOSYS. Some functions are actually named
61441 something starting with __ and the normal name is an alias. */
61442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61443 choke me
61444 #else
61445 char (*f) () = $ac_func;
61446 #endif
61447 #ifdef __cplusplus
61448 }
61449 #endif
61450
61451 int
61452 main ()
61453 {
61454 return f != $ac_func;
61455 ;
61456 return 0;
61457 }
61458 _ACEOF
61459 rm -f conftest.$ac_objext conftest$ac_exeext
61460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61461 (eval $ac_link) 2>conftest.er1
61462 ac_status=$?
61463 grep -v '^ *+' conftest.er1 >conftest.err
61464 rm -f conftest.er1
61465 cat conftest.err >&5
61466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61467 (exit $ac_status); } &&
61468 { ac_try='test -z "$ac_c_werror_flag"
61469 || test ! -s conftest.err'
61470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61471 (eval $ac_try) 2>&5
61472 ac_status=$?
61473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61474 (exit $ac_status); }; } &&
61475 { ac_try='test -s conftest$ac_exeext'
61476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61477 (eval $ac_try) 2>&5
61478 ac_status=$?
61479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61480 (exit $ac_status); }; }; then
61481 eval "$as_ac_var=yes"
61482 else
61483 echo "$as_me: failed program was:" >&5
61484 sed 's/^/| /' conftest.$ac_ext >&5
61485
61486 eval "$as_ac_var=no"
61487 fi
61488 rm -f conftest.err conftest.$ac_objext \
61489 conftest$ac_exeext conftest.$ac_ext
61490 fi
61491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61493 if test `eval echo '${'$as_ac_var'}'` = yes; then
61494 cat >>confdefs.h <<_ACEOF
61495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61496 _ACEOF
61497
61498 fi
61499 done
61500
61501 fi
61502 fi
61503
61504
61505
61506
61507
61508
61509 echo "$as_me:$LINENO: checking for modf declaration" >&5
61510 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
61511 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61512 if test "${glibcxx_cv_func_modf_use+set}" = set; then
61513 echo $ECHO_N "(cached) $ECHO_C" >&6
61514 else
61515
61516
61517
61518 ac_ext=cc
61519 ac_cpp='$CXXCPP $CPPFLAGS'
61520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61523
61524 cat >conftest.$ac_ext <<_ACEOF
61525 /* confdefs.h. */
61526 _ACEOF
61527 cat confdefs.h >>conftest.$ac_ext
61528 cat >>conftest.$ac_ext <<_ACEOF
61529 /* end confdefs.h. */
61530 #include <math.h>
61531 int
61532 main ()
61533 {
61534 modf(0, 0);
61535 ;
61536 return 0;
61537 }
61538 _ACEOF
61539 rm -f conftest.$ac_objext
61540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61541 (eval $ac_compile) 2>conftest.er1
61542 ac_status=$?
61543 grep -v '^ *+' conftest.er1 >conftest.err
61544 rm -f conftest.er1
61545 cat conftest.err >&5
61546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61547 (exit $ac_status); } &&
61548 { ac_try='test -z "$ac_cxx_werror_flag"
61549 || test ! -s conftest.err'
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); }; } &&
61555 { ac_try='test -s conftest.$ac_objext'
61556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61557 (eval $ac_try) 2>&5
61558 ac_status=$?
61559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61560 (exit $ac_status); }; }; then
61561 glibcxx_cv_func_modf_use=yes
61562 else
61563 echo "$as_me: failed program was:" >&5
61564 sed 's/^/| /' conftest.$ac_ext >&5
61565
61566 glibcxx_cv_func_modf_use=no
61567 fi
61568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61569 ac_ext=c
61570 ac_cpp='$CPP $CPPFLAGS'
61571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61574
61575
61576 fi
61577
61578 fi
61579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
61580 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
61581
61582 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61583
61584 for ac_func in modf
61585 do
61586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61587 echo "$as_me:$LINENO: checking for $ac_func" >&5
61588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61589 if eval "test \"\${$as_ac_var+set}\" = set"; then
61590 echo $ECHO_N "(cached) $ECHO_C" >&6
61591 else
61592 if test x$gcc_no_link = xyes; then
61593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61595 { (exit 1); exit 1; }; }
61596 fi
61597 cat >conftest.$ac_ext <<_ACEOF
61598 /* confdefs.h. */
61599 _ACEOF
61600 cat confdefs.h >>conftest.$ac_ext
61601 cat >>conftest.$ac_ext <<_ACEOF
61602 /* end confdefs.h. */
61603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61605 #define $ac_func innocuous_$ac_func
61606
61607 /* System header to define __stub macros and hopefully few prototypes,
61608 which can conflict with char $ac_func (); below.
61609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61610 <limits.h> exists even on freestanding compilers. */
61611
61612 #ifdef __STDC__
61613 # include <limits.h>
61614 #else
61615 # include <assert.h>
61616 #endif
61617
61618 #undef $ac_func
61619
61620 /* Override any gcc2 internal prototype to avoid an error. */
61621 #ifdef __cplusplus
61622 extern "C"
61623 {
61624 #endif
61625 /* We use char because int might match the return type of a gcc2
61626 builtin and then its argument prototype would still apply. */
61627 char $ac_func ();
61628 /* The GNU C library defines this for functions which it implements
61629 to always fail with ENOSYS. Some functions are actually named
61630 something starting with __ and the normal name is an alias. */
61631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61632 choke me
61633 #else
61634 char (*f) () = $ac_func;
61635 #endif
61636 #ifdef __cplusplus
61637 }
61638 #endif
61639
61640 int
61641 main ()
61642 {
61643 return f != $ac_func;
61644 ;
61645 return 0;
61646 }
61647 _ACEOF
61648 rm -f conftest.$ac_objext conftest$ac_exeext
61649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61650 (eval $ac_link) 2>conftest.er1
61651 ac_status=$?
61652 grep -v '^ *+' conftest.er1 >conftest.err
61653 rm -f conftest.er1
61654 cat conftest.err >&5
61655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61656 (exit $ac_status); } &&
61657 { ac_try='test -z "$ac_c_werror_flag"
61658 || test ! -s conftest.err'
61659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61660 (eval $ac_try) 2>&5
61661 ac_status=$?
61662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61663 (exit $ac_status); }; } &&
61664 { ac_try='test -s conftest$ac_exeext'
61665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61666 (eval $ac_try) 2>&5
61667 ac_status=$?
61668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61669 (exit $ac_status); }; }; then
61670 eval "$as_ac_var=yes"
61671 else
61672 echo "$as_me: failed program was:" >&5
61673 sed 's/^/| /' conftest.$ac_ext >&5
61674
61675 eval "$as_ac_var=no"
61676 fi
61677 rm -f conftest.err conftest.$ac_objext \
61678 conftest$ac_exeext conftest.$ac_ext
61679 fi
61680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61682 if test `eval echo '${'$as_ac_var'}'` = yes; then
61683 cat >>confdefs.h <<_ACEOF
61684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61685 _ACEOF
61686
61687 fi
61688 done
61689
61690 else
61691
61692 echo "$as_me:$LINENO: checking for _modf declaration" >&5
61693 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
61694 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61695 if test "${glibcxx_cv_func__modf_use+set}" = set; then
61696 echo $ECHO_N "(cached) $ECHO_C" >&6
61697 else
61698
61699
61700
61701 ac_ext=cc
61702 ac_cpp='$CXXCPP $CPPFLAGS'
61703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61706
61707 cat >conftest.$ac_ext <<_ACEOF
61708 /* confdefs.h. */
61709 _ACEOF
61710 cat confdefs.h >>conftest.$ac_ext
61711 cat >>conftest.$ac_ext <<_ACEOF
61712 /* end confdefs.h. */
61713 #include <math.h>
61714 int
61715 main ()
61716 {
61717 _modf(0, 0);
61718 ;
61719 return 0;
61720 }
61721 _ACEOF
61722 rm -f conftest.$ac_objext
61723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61724 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__modf_use=yes
61745 else
61746 echo "$as_me: failed program was:" >&5
61747 sed 's/^/| /' conftest.$ac_ext >&5
61748
61749 glibcxx_cv_func__modf_use=no
61750 fi
61751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61752 ac_ext=c
61753 ac_cpp='$CPP $CPPFLAGS'
61754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61757
61758
61759 fi
61760
61761 fi
61762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
61763 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
61764
61765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61766
61767 for ac_func in _modf
61768 do
61769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61770 echo "$as_me:$LINENO: checking for $ac_func" >&5
61771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61772 if eval "test \"\${$as_ac_var+set}\" = set"; then
61773 echo $ECHO_N "(cached) $ECHO_C" >&6
61774 else
61775 if test x$gcc_no_link = xyes; then
61776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61778 { (exit 1); exit 1; }; }
61779 fi
61780 cat >conftest.$ac_ext <<_ACEOF
61781 /* confdefs.h. */
61782 _ACEOF
61783 cat confdefs.h >>conftest.$ac_ext
61784 cat >>conftest.$ac_ext <<_ACEOF
61785 /* end confdefs.h. */
61786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61788 #define $ac_func innocuous_$ac_func
61789
61790 /* System header to define __stub macros and hopefully few prototypes,
61791 which can conflict with char $ac_func (); below.
61792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61793 <limits.h> exists even on freestanding compilers. */
61794
61795 #ifdef __STDC__
61796 # include <limits.h>
61797 #else
61798 # include <assert.h>
61799 #endif
61800
61801 #undef $ac_func
61802
61803 /* Override any gcc2 internal prototype to avoid an error. */
61804 #ifdef __cplusplus
61805 extern "C"
61806 {
61807 #endif
61808 /* We use char because int might match the return type of a gcc2
61809 builtin and then its argument prototype would still apply. */
61810 char $ac_func ();
61811 /* The GNU C library defines this for functions which it implements
61812 to always fail with ENOSYS. Some functions are actually named
61813 something starting with __ and the normal name is an alias. */
61814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61815 choke me
61816 #else
61817 char (*f) () = $ac_func;
61818 #endif
61819 #ifdef __cplusplus
61820 }
61821 #endif
61822
61823 int
61824 main ()
61825 {
61826 return f != $ac_func;
61827 ;
61828 return 0;
61829 }
61830 _ACEOF
61831 rm -f conftest.$ac_objext conftest$ac_exeext
61832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61833 (eval $ac_link) 2>conftest.er1
61834 ac_status=$?
61835 grep -v '^ *+' conftest.er1 >conftest.err
61836 rm -f conftest.er1
61837 cat conftest.err >&5
61838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839 (exit $ac_status); } &&
61840 { ac_try='test -z "$ac_c_werror_flag"
61841 || test ! -s conftest.err'
61842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61843 (eval $ac_try) 2>&5
61844 ac_status=$?
61845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61846 (exit $ac_status); }; } &&
61847 { ac_try='test -s conftest$ac_exeext'
61848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61849 (eval $ac_try) 2>&5
61850 ac_status=$?
61851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61852 (exit $ac_status); }; }; then
61853 eval "$as_ac_var=yes"
61854 else
61855 echo "$as_me: failed program was:" >&5
61856 sed 's/^/| /' conftest.$ac_ext >&5
61857
61858 eval "$as_ac_var=no"
61859 fi
61860 rm -f conftest.err conftest.$ac_objext \
61861 conftest$ac_exeext conftest.$ac_ext
61862 fi
61863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61865 if test `eval echo '${'$as_ac_var'}'` = yes; then
61866 cat >>confdefs.h <<_ACEOF
61867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61868 _ACEOF
61869
61870 fi
61871 done
61872
61873 fi
61874 fi
61875
61876
61877
61878
61879
61880
61881 echo "$as_me:$LINENO: checking for powf declaration" >&5
61882 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61884 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61885 echo $ECHO_N "(cached) $ECHO_C" >&6
61886 else
61887
61888
61889
61890 ac_ext=cc
61891 ac_cpp='$CXXCPP $CPPFLAGS'
61892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61895
61896 cat >conftest.$ac_ext <<_ACEOF
61897 /* confdefs.h. */
61898 _ACEOF
61899 cat confdefs.h >>conftest.$ac_ext
61900 cat >>conftest.$ac_ext <<_ACEOF
61901 /* end confdefs.h. */
61902 #include <math.h>
61903 int
61904 main ()
61905 {
61906 powf(0, 0);
61907 ;
61908 return 0;
61909 }
61910 _ACEOF
61911 rm -f conftest.$ac_objext
61912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61913 (eval $ac_compile) 2>conftest.er1
61914 ac_status=$?
61915 grep -v '^ *+' conftest.er1 >conftest.err
61916 rm -f conftest.er1
61917 cat conftest.err >&5
61918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61919 (exit $ac_status); } &&
61920 { ac_try='test -z "$ac_cxx_werror_flag"
61921 || test ! -s conftest.err'
61922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61923 (eval $ac_try) 2>&5
61924 ac_status=$?
61925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61926 (exit $ac_status); }; } &&
61927 { ac_try='test -s conftest.$ac_objext'
61928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61929 (eval $ac_try) 2>&5
61930 ac_status=$?
61931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61932 (exit $ac_status); }; }; then
61933 glibcxx_cv_func_powf_use=yes
61934 else
61935 echo "$as_me: failed program was:" >&5
61936 sed 's/^/| /' conftest.$ac_ext >&5
61937
61938 glibcxx_cv_func_powf_use=no
61939 fi
61940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61941 ac_ext=c
61942 ac_cpp='$CPP $CPPFLAGS'
61943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61946
61947
61948 fi
61949
61950 fi
61951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61952 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61953
61954 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61955
61956 for ac_func in powf
61957 do
61958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61959 echo "$as_me:$LINENO: checking for $ac_func" >&5
61960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61961 if eval "test \"\${$as_ac_var+set}\" = set"; then
61962 echo $ECHO_N "(cached) $ECHO_C" >&6
61963 else
61964 if test x$gcc_no_link = xyes; then
61965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61967 { (exit 1); exit 1; }; }
61968 fi
61969 cat >conftest.$ac_ext <<_ACEOF
61970 /* confdefs.h. */
61971 _ACEOF
61972 cat confdefs.h >>conftest.$ac_ext
61973 cat >>conftest.$ac_ext <<_ACEOF
61974 /* end confdefs.h. */
61975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61977 #define $ac_func innocuous_$ac_func
61978
61979 /* System header to define __stub macros and hopefully few prototypes,
61980 which can conflict with char $ac_func (); below.
61981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61982 <limits.h> exists even on freestanding compilers. */
61983
61984 #ifdef __STDC__
61985 # include <limits.h>
61986 #else
61987 # include <assert.h>
61988 #endif
61989
61990 #undef $ac_func
61991
61992 /* Override any gcc2 internal prototype to avoid an error. */
61993 #ifdef __cplusplus
61994 extern "C"
61995 {
61996 #endif
61997 /* We use char because int might match the return type of a gcc2
61998 builtin and then its argument prototype would still apply. */
61999 char $ac_func ();
62000 /* The GNU C library defines this for functions which it implements
62001 to always fail with ENOSYS. Some functions are actually named
62002 something starting with __ and the normal name is an alias. */
62003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62004 choke me
62005 #else
62006 char (*f) () = $ac_func;
62007 #endif
62008 #ifdef __cplusplus
62009 }
62010 #endif
62011
62012 int
62013 main ()
62014 {
62015 return f != $ac_func;
62016 ;
62017 return 0;
62018 }
62019 _ACEOF
62020 rm -f conftest.$ac_objext conftest$ac_exeext
62021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62022 (eval $ac_link) 2>conftest.er1
62023 ac_status=$?
62024 grep -v '^ *+' conftest.er1 >conftest.err
62025 rm -f conftest.er1
62026 cat conftest.err >&5
62027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62028 (exit $ac_status); } &&
62029 { ac_try='test -z "$ac_c_werror_flag"
62030 || test ! -s conftest.err'
62031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62032 (eval $ac_try) 2>&5
62033 ac_status=$?
62034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62035 (exit $ac_status); }; } &&
62036 { ac_try='test -s conftest$ac_exeext'
62037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62038 (eval $ac_try) 2>&5
62039 ac_status=$?
62040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62041 (exit $ac_status); }; }; then
62042 eval "$as_ac_var=yes"
62043 else
62044 echo "$as_me: failed program was:" >&5
62045 sed 's/^/| /' conftest.$ac_ext >&5
62046
62047 eval "$as_ac_var=no"
62048 fi
62049 rm -f conftest.err conftest.$ac_objext \
62050 conftest$ac_exeext conftest.$ac_ext
62051 fi
62052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62054 if test `eval echo '${'$as_ac_var'}'` = yes; then
62055 cat >>confdefs.h <<_ACEOF
62056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62057 _ACEOF
62058
62059 fi
62060 done
62061
62062 else
62063
62064 echo "$as_me:$LINENO: checking for _powf declaration" >&5
62065 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
62066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62067 if test "${glibcxx_cv_func__powf_use+set}" = set; then
62068 echo $ECHO_N "(cached) $ECHO_C" >&6
62069 else
62070
62071
62072
62073 ac_ext=cc
62074 ac_cpp='$CXXCPP $CPPFLAGS'
62075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62078
62079 cat >conftest.$ac_ext <<_ACEOF
62080 /* confdefs.h. */
62081 _ACEOF
62082 cat confdefs.h >>conftest.$ac_ext
62083 cat >>conftest.$ac_ext <<_ACEOF
62084 /* end confdefs.h. */
62085 #include <math.h>
62086 int
62087 main ()
62088 {
62089 _powf(0, 0);
62090 ;
62091 return 0;
62092 }
62093 _ACEOF
62094 rm -f conftest.$ac_objext
62095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62096 (eval $ac_compile) 2>conftest.er1
62097 ac_status=$?
62098 grep -v '^ *+' conftest.er1 >conftest.err
62099 rm -f conftest.er1
62100 cat conftest.err >&5
62101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62102 (exit $ac_status); } &&
62103 { ac_try='test -z "$ac_cxx_werror_flag"
62104 || test ! -s conftest.err'
62105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62106 (eval $ac_try) 2>&5
62107 ac_status=$?
62108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62109 (exit $ac_status); }; } &&
62110 { ac_try='test -s conftest.$ac_objext'
62111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62112 (eval $ac_try) 2>&5
62113 ac_status=$?
62114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62115 (exit $ac_status); }; }; then
62116 glibcxx_cv_func__powf_use=yes
62117 else
62118 echo "$as_me: failed program was:" >&5
62119 sed 's/^/| /' conftest.$ac_ext >&5
62120
62121 glibcxx_cv_func__powf_use=no
62122 fi
62123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62124 ac_ext=c
62125 ac_cpp='$CPP $CPPFLAGS'
62126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62129
62130
62131 fi
62132
62133 fi
62134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
62135 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
62136
62137 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62138
62139 for ac_func in _powf
62140 do
62141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62142 echo "$as_me:$LINENO: checking for $ac_func" >&5
62143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62144 if eval "test \"\${$as_ac_var+set}\" = set"; then
62145 echo $ECHO_N "(cached) $ECHO_C" >&6
62146 else
62147 if test x$gcc_no_link = xyes; then
62148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62150 { (exit 1); exit 1; }; }
62151 fi
62152 cat >conftest.$ac_ext <<_ACEOF
62153 /* confdefs.h. */
62154 _ACEOF
62155 cat confdefs.h >>conftest.$ac_ext
62156 cat >>conftest.$ac_ext <<_ACEOF
62157 /* end confdefs.h. */
62158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62160 #define $ac_func innocuous_$ac_func
62161
62162 /* System header to define __stub macros and hopefully few prototypes,
62163 which can conflict with char $ac_func (); below.
62164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62165 <limits.h> exists even on freestanding compilers. */
62166
62167 #ifdef __STDC__
62168 # include <limits.h>
62169 #else
62170 # include <assert.h>
62171 #endif
62172
62173 #undef $ac_func
62174
62175 /* Override any gcc2 internal prototype to avoid an error. */
62176 #ifdef __cplusplus
62177 extern "C"
62178 {
62179 #endif
62180 /* We use char because int might match the return type of a gcc2
62181 builtin and then its argument prototype would still apply. */
62182 char $ac_func ();
62183 /* The GNU C library defines this for functions which it implements
62184 to always fail with ENOSYS. Some functions are actually named
62185 something starting with __ and the normal name is an alias. */
62186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62187 choke me
62188 #else
62189 char (*f) () = $ac_func;
62190 #endif
62191 #ifdef __cplusplus
62192 }
62193 #endif
62194
62195 int
62196 main ()
62197 {
62198 return f != $ac_func;
62199 ;
62200 return 0;
62201 }
62202 _ACEOF
62203 rm -f conftest.$ac_objext conftest$ac_exeext
62204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62205 (eval $ac_link) 2>conftest.er1
62206 ac_status=$?
62207 grep -v '^ *+' conftest.er1 >conftest.err
62208 rm -f conftest.er1
62209 cat conftest.err >&5
62210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62211 (exit $ac_status); } &&
62212 { ac_try='test -z "$ac_c_werror_flag"
62213 || test ! -s conftest.err'
62214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62215 (eval $ac_try) 2>&5
62216 ac_status=$?
62217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62218 (exit $ac_status); }; } &&
62219 { ac_try='test -s conftest$ac_exeext'
62220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62221 (eval $ac_try) 2>&5
62222 ac_status=$?
62223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62224 (exit $ac_status); }; }; then
62225 eval "$as_ac_var=yes"
62226 else
62227 echo "$as_me: failed program was:" >&5
62228 sed 's/^/| /' conftest.$ac_ext >&5
62229
62230 eval "$as_ac_var=no"
62231 fi
62232 rm -f conftest.err conftest.$ac_objext \
62233 conftest$ac_exeext conftest.$ac_ext
62234 fi
62235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62237 if test `eval echo '${'$as_ac_var'}'` = yes; then
62238 cat >>confdefs.h <<_ACEOF
62239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62240 _ACEOF
62241
62242 fi
62243 done
62244
62245 fi
62246 fi
62247
62248
62249
62250
62251
62252
62253 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
62254 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
62255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
62257 echo $ECHO_N "(cached) $ECHO_C" >&6
62258 else
62259
62260
62261
62262 ac_ext=cc
62263 ac_cpp='$CXXCPP $CPPFLAGS'
62264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62267
62268 cat >conftest.$ac_ext <<_ACEOF
62269 /* confdefs.h. */
62270 _ACEOF
62271 cat confdefs.h >>conftest.$ac_ext
62272 cat >>conftest.$ac_ext <<_ACEOF
62273 /* end confdefs.h. */
62274 #include <math.h>
62275 #ifdef HAVE_IEEEFP_H
62276 #include <ieeefp.h>
62277 #endif
62278
62279 int
62280 main ()
62281 {
62282 sqrtf(0);
62283 ;
62284 return 0;
62285 }
62286 _ACEOF
62287 rm -f conftest.$ac_objext
62288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62289 (eval $ac_compile) 2>conftest.er1
62290 ac_status=$?
62291 grep -v '^ *+' conftest.er1 >conftest.err
62292 rm -f conftest.er1
62293 cat conftest.err >&5
62294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62295 (exit $ac_status); } &&
62296 { ac_try='test -z "$ac_cxx_werror_flag"
62297 || test ! -s conftest.err'
62298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62299 (eval $ac_try) 2>&5
62300 ac_status=$?
62301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62302 (exit $ac_status); }; } &&
62303 { ac_try='test -s conftest.$ac_objext'
62304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62305 (eval $ac_try) 2>&5
62306 ac_status=$?
62307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62308 (exit $ac_status); }; }; then
62309 glibcxx_cv_func_sqrtf_use=yes
62310 else
62311 echo "$as_me: failed program was:" >&5
62312 sed 's/^/| /' conftest.$ac_ext >&5
62313
62314 glibcxx_cv_func_sqrtf_use=no
62315 fi
62316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62317 ac_ext=c
62318 ac_cpp='$CPP $CPPFLAGS'
62319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62322
62323
62324 fi
62325
62326 fi
62327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62328 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62329
62330 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62331
62332 for ac_func in sqrtf
62333 do
62334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62335 echo "$as_me:$LINENO: checking for $ac_func" >&5
62336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62337 if eval "test \"\${$as_ac_var+set}\" = set"; then
62338 echo $ECHO_N "(cached) $ECHO_C" >&6
62339 else
62340 if test x$gcc_no_link = xyes; then
62341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62343 { (exit 1); exit 1; }; }
62344 fi
62345 cat >conftest.$ac_ext <<_ACEOF
62346 /* confdefs.h. */
62347 _ACEOF
62348 cat confdefs.h >>conftest.$ac_ext
62349 cat >>conftest.$ac_ext <<_ACEOF
62350 /* end confdefs.h. */
62351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62353 #define $ac_func innocuous_$ac_func
62354
62355 /* System header to define __stub macros and hopefully few prototypes,
62356 which can conflict with char $ac_func (); below.
62357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62358 <limits.h> exists even on freestanding compilers. */
62359
62360 #ifdef __STDC__
62361 # include <limits.h>
62362 #else
62363 # include <assert.h>
62364 #endif
62365
62366 #undef $ac_func
62367
62368 /* Override any gcc2 internal prototype to avoid an error. */
62369 #ifdef __cplusplus
62370 extern "C"
62371 {
62372 #endif
62373 /* We use char because int might match the return type of a gcc2
62374 builtin and then its argument prototype would still apply. */
62375 char $ac_func ();
62376 /* The GNU C library defines this for functions which it implements
62377 to always fail with ENOSYS. Some functions are actually named
62378 something starting with __ and the normal name is an alias. */
62379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62380 choke me
62381 #else
62382 char (*f) () = $ac_func;
62383 #endif
62384 #ifdef __cplusplus
62385 }
62386 #endif
62387
62388 int
62389 main ()
62390 {
62391 return f != $ac_func;
62392 ;
62393 return 0;
62394 }
62395 _ACEOF
62396 rm -f conftest.$ac_objext conftest$ac_exeext
62397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62398 (eval $ac_link) 2>conftest.er1
62399 ac_status=$?
62400 grep -v '^ *+' conftest.er1 >conftest.err
62401 rm -f conftest.er1
62402 cat conftest.err >&5
62403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62404 (exit $ac_status); } &&
62405 { ac_try='test -z "$ac_c_werror_flag"
62406 || test ! -s conftest.err'
62407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62408 (eval $ac_try) 2>&5
62409 ac_status=$?
62410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62411 (exit $ac_status); }; } &&
62412 { ac_try='test -s conftest$ac_exeext'
62413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62414 (eval $ac_try) 2>&5
62415 ac_status=$?
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); }; }; then
62418 eval "$as_ac_var=yes"
62419 else
62420 echo "$as_me: failed program was:" >&5
62421 sed 's/^/| /' conftest.$ac_ext >&5
62422
62423 eval "$as_ac_var=no"
62424 fi
62425 rm -f conftest.err conftest.$ac_objext \
62426 conftest$ac_exeext conftest.$ac_ext
62427 fi
62428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62430 if test `eval echo '${'$as_ac_var'}'` = yes; then
62431 cat >>confdefs.h <<_ACEOF
62432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62433 _ACEOF
62434
62435 fi
62436 done
62437
62438 else
62439
62440 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62441 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62442 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62443 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62444 echo $ECHO_N "(cached) $ECHO_C" >&6
62445 else
62446
62447
62448
62449 ac_ext=cc
62450 ac_cpp='$CXXCPP $CPPFLAGS'
62451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62454
62455 cat >conftest.$ac_ext <<_ACEOF
62456 /* confdefs.h. */
62457 _ACEOF
62458 cat confdefs.h >>conftest.$ac_ext
62459 cat >>conftest.$ac_ext <<_ACEOF
62460 /* end confdefs.h. */
62461 #include <math.h>
62462 #ifdef HAVE_IEEEFP_H
62463 #include <ieeefp.h>
62464 #endif
62465
62466 int
62467 main ()
62468 {
62469 _sqrtf(0);
62470 ;
62471 return 0;
62472 }
62473 _ACEOF
62474 rm -f conftest.$ac_objext
62475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62476 (eval $ac_compile) 2>conftest.er1
62477 ac_status=$?
62478 grep -v '^ *+' conftest.er1 >conftest.err
62479 rm -f conftest.er1
62480 cat conftest.err >&5
62481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62482 (exit $ac_status); } &&
62483 { ac_try='test -z "$ac_cxx_werror_flag"
62484 || test ! -s conftest.err'
62485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62486 (eval $ac_try) 2>&5
62487 ac_status=$?
62488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62489 (exit $ac_status); }; } &&
62490 { ac_try='test -s conftest.$ac_objext'
62491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62492 (eval $ac_try) 2>&5
62493 ac_status=$?
62494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62495 (exit $ac_status); }; }; then
62496 glibcxx_cv_func__sqrtf_use=yes
62497 else
62498 echo "$as_me: failed program was:" >&5
62499 sed 's/^/| /' conftest.$ac_ext >&5
62500
62501 glibcxx_cv_func__sqrtf_use=no
62502 fi
62503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62504 ac_ext=c
62505 ac_cpp='$CPP $CPPFLAGS'
62506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62509
62510
62511 fi
62512
62513 fi
62514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62515 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62516
62517 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62518
62519 for ac_func in _sqrtf
62520 do
62521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62522 echo "$as_me:$LINENO: checking for $ac_func" >&5
62523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62524 if eval "test \"\${$as_ac_var+set}\" = set"; then
62525 echo $ECHO_N "(cached) $ECHO_C" >&6
62526 else
62527 if test x$gcc_no_link = xyes; then
62528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62530 { (exit 1); exit 1; }; }
62531 fi
62532 cat >conftest.$ac_ext <<_ACEOF
62533 /* confdefs.h. */
62534 _ACEOF
62535 cat confdefs.h >>conftest.$ac_ext
62536 cat >>conftest.$ac_ext <<_ACEOF
62537 /* end confdefs.h. */
62538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62540 #define $ac_func innocuous_$ac_func
62541
62542 /* System header to define __stub macros and hopefully few prototypes,
62543 which can conflict with char $ac_func (); below.
62544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62545 <limits.h> exists even on freestanding compilers. */
62546
62547 #ifdef __STDC__
62548 # include <limits.h>
62549 #else
62550 # include <assert.h>
62551 #endif
62552
62553 #undef $ac_func
62554
62555 /* Override any gcc2 internal prototype to avoid an error. */
62556 #ifdef __cplusplus
62557 extern "C"
62558 {
62559 #endif
62560 /* We use char because int might match the return type of a gcc2
62561 builtin and then its argument prototype would still apply. */
62562 char $ac_func ();
62563 /* The GNU C library defines this for functions which it implements
62564 to always fail with ENOSYS. Some functions are actually named
62565 something starting with __ and the normal name is an alias. */
62566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62567 choke me
62568 #else
62569 char (*f) () = $ac_func;
62570 #endif
62571 #ifdef __cplusplus
62572 }
62573 #endif
62574
62575 int
62576 main ()
62577 {
62578 return f != $ac_func;
62579 ;
62580 return 0;
62581 }
62582 _ACEOF
62583 rm -f conftest.$ac_objext conftest$ac_exeext
62584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62585 (eval $ac_link) 2>conftest.er1
62586 ac_status=$?
62587 grep -v '^ *+' conftest.er1 >conftest.err
62588 rm -f conftest.er1
62589 cat conftest.err >&5
62590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62591 (exit $ac_status); } &&
62592 { ac_try='test -z "$ac_c_werror_flag"
62593 || test ! -s conftest.err'
62594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62595 (eval $ac_try) 2>&5
62596 ac_status=$?
62597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62598 (exit $ac_status); }; } &&
62599 { ac_try='test -s conftest$ac_exeext'
62600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62601 (eval $ac_try) 2>&5
62602 ac_status=$?
62603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62604 (exit $ac_status); }; }; then
62605 eval "$as_ac_var=yes"
62606 else
62607 echo "$as_me: failed program was:" >&5
62608 sed 's/^/| /' conftest.$ac_ext >&5
62609
62610 eval "$as_ac_var=no"
62611 fi
62612 rm -f conftest.err conftest.$ac_objext \
62613 conftest$ac_exeext conftest.$ac_ext
62614 fi
62615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62617 if test `eval echo '${'$as_ac_var'}'` = yes; then
62618 cat >>confdefs.h <<_ACEOF
62619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62620 _ACEOF
62621
62622 fi
62623 done
62624
62625 fi
62626 fi
62627
62628
62629
62630
62631
62632
62633 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62634 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62637 echo $ECHO_N "(cached) $ECHO_C" >&6
62638 else
62639
62640
62641
62642 ac_ext=cc
62643 ac_cpp='$CXXCPP $CPPFLAGS'
62644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62647
62648 cat >conftest.$ac_ext <<_ACEOF
62649 /* confdefs.h. */
62650 _ACEOF
62651 cat confdefs.h >>conftest.$ac_ext
62652 cat >>conftest.$ac_ext <<_ACEOF
62653 /* end confdefs.h. */
62654 #include <math.h>
62655 int
62656 main ()
62657 {
62658 sincosf(0, 0, 0);
62659 ;
62660 return 0;
62661 }
62662 _ACEOF
62663 rm -f conftest.$ac_objext
62664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62665 (eval $ac_compile) 2>conftest.er1
62666 ac_status=$?
62667 grep -v '^ *+' conftest.er1 >conftest.err
62668 rm -f conftest.er1
62669 cat conftest.err >&5
62670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671 (exit $ac_status); } &&
62672 { ac_try='test -z "$ac_cxx_werror_flag"
62673 || test ! -s conftest.err'
62674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62675 (eval $ac_try) 2>&5
62676 ac_status=$?
62677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62678 (exit $ac_status); }; } &&
62679 { ac_try='test -s conftest.$ac_objext'
62680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62681 (eval $ac_try) 2>&5
62682 ac_status=$?
62683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62684 (exit $ac_status); }; }; then
62685 glibcxx_cv_func_sincosf_use=yes
62686 else
62687 echo "$as_me: failed program was:" >&5
62688 sed 's/^/| /' conftest.$ac_ext >&5
62689
62690 glibcxx_cv_func_sincosf_use=no
62691 fi
62692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62693 ac_ext=c
62694 ac_cpp='$CPP $CPPFLAGS'
62695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62698
62699
62700 fi
62701
62702 fi
62703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62704 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62705
62706 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62707
62708 for ac_func in sincosf
62709 do
62710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62711 echo "$as_me:$LINENO: checking for $ac_func" >&5
62712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62713 if eval "test \"\${$as_ac_var+set}\" = set"; then
62714 echo $ECHO_N "(cached) $ECHO_C" >&6
62715 else
62716 if test x$gcc_no_link = xyes; then
62717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62719 { (exit 1); exit 1; }; }
62720 fi
62721 cat >conftest.$ac_ext <<_ACEOF
62722 /* confdefs.h. */
62723 _ACEOF
62724 cat confdefs.h >>conftest.$ac_ext
62725 cat >>conftest.$ac_ext <<_ACEOF
62726 /* end confdefs.h. */
62727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62729 #define $ac_func innocuous_$ac_func
62730
62731 /* System header to define __stub macros and hopefully few prototypes,
62732 which can conflict with char $ac_func (); below.
62733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62734 <limits.h> exists even on freestanding compilers. */
62735
62736 #ifdef __STDC__
62737 # include <limits.h>
62738 #else
62739 # include <assert.h>
62740 #endif
62741
62742 #undef $ac_func
62743
62744 /* Override any gcc2 internal prototype to avoid an error. */
62745 #ifdef __cplusplus
62746 extern "C"
62747 {
62748 #endif
62749 /* We use char because int might match the return type of a gcc2
62750 builtin and then its argument prototype would still apply. */
62751 char $ac_func ();
62752 /* The GNU C library defines this for functions which it implements
62753 to always fail with ENOSYS. Some functions are actually named
62754 something starting with __ and the normal name is an alias. */
62755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62756 choke me
62757 #else
62758 char (*f) () = $ac_func;
62759 #endif
62760 #ifdef __cplusplus
62761 }
62762 #endif
62763
62764 int
62765 main ()
62766 {
62767 return f != $ac_func;
62768 ;
62769 return 0;
62770 }
62771 _ACEOF
62772 rm -f conftest.$ac_objext conftest$ac_exeext
62773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62774 (eval $ac_link) 2>conftest.er1
62775 ac_status=$?
62776 grep -v '^ *+' conftest.er1 >conftest.err
62777 rm -f conftest.er1
62778 cat conftest.err >&5
62779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62780 (exit $ac_status); } &&
62781 { ac_try='test -z "$ac_c_werror_flag"
62782 || test ! -s conftest.err'
62783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62784 (eval $ac_try) 2>&5
62785 ac_status=$?
62786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62787 (exit $ac_status); }; } &&
62788 { ac_try='test -s conftest$ac_exeext'
62789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62790 (eval $ac_try) 2>&5
62791 ac_status=$?
62792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62793 (exit $ac_status); }; }; then
62794 eval "$as_ac_var=yes"
62795 else
62796 echo "$as_me: failed program was:" >&5
62797 sed 's/^/| /' conftest.$ac_ext >&5
62798
62799 eval "$as_ac_var=no"
62800 fi
62801 rm -f conftest.err conftest.$ac_objext \
62802 conftest$ac_exeext conftest.$ac_ext
62803 fi
62804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62806 if test `eval echo '${'$as_ac_var'}'` = yes; then
62807 cat >>confdefs.h <<_ACEOF
62808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62809 _ACEOF
62810
62811 fi
62812 done
62813
62814 else
62815
62816 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62817 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62818 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62819 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62820 echo $ECHO_N "(cached) $ECHO_C" >&6
62821 else
62822
62823
62824
62825 ac_ext=cc
62826 ac_cpp='$CXXCPP $CPPFLAGS'
62827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62830
62831 cat >conftest.$ac_ext <<_ACEOF
62832 /* confdefs.h. */
62833 _ACEOF
62834 cat confdefs.h >>conftest.$ac_ext
62835 cat >>conftest.$ac_ext <<_ACEOF
62836 /* end confdefs.h. */
62837 #include <math.h>
62838 int
62839 main ()
62840 {
62841 _sincosf(0, 0, 0);
62842 ;
62843 return 0;
62844 }
62845 _ACEOF
62846 rm -f conftest.$ac_objext
62847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62848 (eval $ac_compile) 2>conftest.er1
62849 ac_status=$?
62850 grep -v '^ *+' conftest.er1 >conftest.err
62851 rm -f conftest.er1
62852 cat conftest.err >&5
62853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62854 (exit $ac_status); } &&
62855 { ac_try='test -z "$ac_cxx_werror_flag"
62856 || test ! -s conftest.err'
62857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62858 (eval $ac_try) 2>&5
62859 ac_status=$?
62860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62861 (exit $ac_status); }; } &&
62862 { ac_try='test -s conftest.$ac_objext'
62863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62864 (eval $ac_try) 2>&5
62865 ac_status=$?
62866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62867 (exit $ac_status); }; }; then
62868 glibcxx_cv_func__sincosf_use=yes
62869 else
62870 echo "$as_me: failed program was:" >&5
62871 sed 's/^/| /' conftest.$ac_ext >&5
62872
62873 glibcxx_cv_func__sincosf_use=no
62874 fi
62875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62876 ac_ext=c
62877 ac_cpp='$CPP $CPPFLAGS'
62878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62881
62882
62883 fi
62884
62885 fi
62886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62887 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62888
62889 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62890
62891 for ac_func in _sincosf
62892 do
62893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62894 echo "$as_me:$LINENO: checking for $ac_func" >&5
62895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62896 if eval "test \"\${$as_ac_var+set}\" = set"; then
62897 echo $ECHO_N "(cached) $ECHO_C" >&6
62898 else
62899 if test x$gcc_no_link = xyes; then
62900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62902 { (exit 1); exit 1; }; }
62903 fi
62904 cat >conftest.$ac_ext <<_ACEOF
62905 /* confdefs.h. */
62906 _ACEOF
62907 cat confdefs.h >>conftest.$ac_ext
62908 cat >>conftest.$ac_ext <<_ACEOF
62909 /* end confdefs.h. */
62910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62912 #define $ac_func innocuous_$ac_func
62913
62914 /* System header to define __stub macros and hopefully few prototypes,
62915 which can conflict with char $ac_func (); below.
62916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62917 <limits.h> exists even on freestanding compilers. */
62918
62919 #ifdef __STDC__
62920 # include <limits.h>
62921 #else
62922 # include <assert.h>
62923 #endif
62924
62925 #undef $ac_func
62926
62927 /* Override any gcc2 internal prototype to avoid an error. */
62928 #ifdef __cplusplus
62929 extern "C"
62930 {
62931 #endif
62932 /* We use char because int might match the return type of a gcc2
62933 builtin and then its argument prototype would still apply. */
62934 char $ac_func ();
62935 /* The GNU C library defines this for functions which it implements
62936 to always fail with ENOSYS. Some functions are actually named
62937 something starting with __ and the normal name is an alias. */
62938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62939 choke me
62940 #else
62941 char (*f) () = $ac_func;
62942 #endif
62943 #ifdef __cplusplus
62944 }
62945 #endif
62946
62947 int
62948 main ()
62949 {
62950 return f != $ac_func;
62951 ;
62952 return 0;
62953 }
62954 _ACEOF
62955 rm -f conftest.$ac_objext conftest$ac_exeext
62956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62957 (eval $ac_link) 2>conftest.er1
62958 ac_status=$?
62959 grep -v '^ *+' conftest.er1 >conftest.err
62960 rm -f conftest.er1
62961 cat conftest.err >&5
62962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963 (exit $ac_status); } &&
62964 { ac_try='test -z "$ac_c_werror_flag"
62965 || test ! -s conftest.err'
62966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62967 (eval $ac_try) 2>&5
62968 ac_status=$?
62969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62970 (exit $ac_status); }; } &&
62971 { ac_try='test -s conftest$ac_exeext'
62972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62973 (eval $ac_try) 2>&5
62974 ac_status=$?
62975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62976 (exit $ac_status); }; }; then
62977 eval "$as_ac_var=yes"
62978 else
62979 echo "$as_me: failed program was:" >&5
62980 sed 's/^/| /' conftest.$ac_ext >&5
62981
62982 eval "$as_ac_var=no"
62983 fi
62984 rm -f conftest.err conftest.$ac_objext \
62985 conftest$ac_exeext conftest.$ac_ext
62986 fi
62987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62989 if test `eval echo '${'$as_ac_var'}'` = yes; then
62990 cat >>confdefs.h <<_ACEOF
62991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62992 _ACEOF
62993
62994 fi
62995 done
62996
62997 fi
62998 fi
62999
63000
63001
63002
63003
63004
63005 echo "$as_me:$LINENO: checking for finitef declaration" >&5
63006 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
63007 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63008 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
63009 echo $ECHO_N "(cached) $ECHO_C" >&6
63010 else
63011
63012
63013
63014 ac_ext=cc
63015 ac_cpp='$CXXCPP $CPPFLAGS'
63016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63019
63020 cat >conftest.$ac_ext <<_ACEOF
63021 /* confdefs.h. */
63022 _ACEOF
63023 cat confdefs.h >>conftest.$ac_ext
63024 cat >>conftest.$ac_ext <<_ACEOF
63025 /* end confdefs.h. */
63026 #include <math.h>
63027 #ifdef HAVE_IEEEFP_H
63028 #include <ieeefp.h>
63029 #endif
63030
63031 int
63032 main ()
63033 {
63034 finitef(0);
63035 ;
63036 return 0;
63037 }
63038 _ACEOF
63039 rm -f conftest.$ac_objext
63040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63041 (eval $ac_compile) 2>conftest.er1
63042 ac_status=$?
63043 grep -v '^ *+' conftest.er1 >conftest.err
63044 rm -f conftest.er1
63045 cat conftest.err >&5
63046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63047 (exit $ac_status); } &&
63048 { ac_try='test -z "$ac_cxx_werror_flag"
63049 || test ! -s conftest.err'
63050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63051 (eval $ac_try) 2>&5
63052 ac_status=$?
63053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63054 (exit $ac_status); }; } &&
63055 { ac_try='test -s conftest.$ac_objext'
63056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63057 (eval $ac_try) 2>&5
63058 ac_status=$?
63059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63060 (exit $ac_status); }; }; then
63061 glibcxx_cv_func_finitef_use=yes
63062 else
63063 echo "$as_me: failed program was:" >&5
63064 sed 's/^/| /' conftest.$ac_ext >&5
63065
63066 glibcxx_cv_func_finitef_use=no
63067 fi
63068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63069 ac_ext=c
63070 ac_cpp='$CPP $CPPFLAGS'
63071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63074
63075
63076 fi
63077
63078 fi
63079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
63080 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
63081
63082 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63083
63084 for ac_func in finitef
63085 do
63086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63087 echo "$as_me:$LINENO: checking for $ac_func" >&5
63088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63089 if eval "test \"\${$as_ac_var+set}\" = set"; then
63090 echo $ECHO_N "(cached) $ECHO_C" >&6
63091 else
63092 if test x$gcc_no_link = xyes; then
63093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63095 { (exit 1); exit 1; }; }
63096 fi
63097 cat >conftest.$ac_ext <<_ACEOF
63098 /* confdefs.h. */
63099 _ACEOF
63100 cat confdefs.h >>conftest.$ac_ext
63101 cat >>conftest.$ac_ext <<_ACEOF
63102 /* end confdefs.h. */
63103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63105 #define $ac_func innocuous_$ac_func
63106
63107 /* System header to define __stub macros and hopefully few prototypes,
63108 which can conflict with char $ac_func (); below.
63109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63110 <limits.h> exists even on freestanding compilers. */
63111
63112 #ifdef __STDC__
63113 # include <limits.h>
63114 #else
63115 # include <assert.h>
63116 #endif
63117
63118 #undef $ac_func
63119
63120 /* Override any gcc2 internal prototype to avoid an error. */
63121 #ifdef __cplusplus
63122 extern "C"
63123 {
63124 #endif
63125 /* We use char because int might match the return type of a gcc2
63126 builtin and then its argument prototype would still apply. */
63127 char $ac_func ();
63128 /* The GNU C library defines this for functions which it implements
63129 to always fail with ENOSYS. Some functions are actually named
63130 something starting with __ and the normal name is an alias. */
63131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63132 choke me
63133 #else
63134 char (*f) () = $ac_func;
63135 #endif
63136 #ifdef __cplusplus
63137 }
63138 #endif
63139
63140 int
63141 main ()
63142 {
63143 return f != $ac_func;
63144 ;
63145 return 0;
63146 }
63147 _ACEOF
63148 rm -f conftest.$ac_objext conftest$ac_exeext
63149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63150 (eval $ac_link) 2>conftest.er1
63151 ac_status=$?
63152 grep -v '^ *+' conftest.er1 >conftest.err
63153 rm -f conftest.er1
63154 cat conftest.err >&5
63155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63156 (exit $ac_status); } &&
63157 { ac_try='test -z "$ac_c_werror_flag"
63158 || test ! -s conftest.err'
63159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63160 (eval $ac_try) 2>&5
63161 ac_status=$?
63162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63163 (exit $ac_status); }; } &&
63164 { ac_try='test -s conftest$ac_exeext'
63165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63166 (eval $ac_try) 2>&5
63167 ac_status=$?
63168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63169 (exit $ac_status); }; }; then
63170 eval "$as_ac_var=yes"
63171 else
63172 echo "$as_me: failed program was:" >&5
63173 sed 's/^/| /' conftest.$ac_ext >&5
63174
63175 eval "$as_ac_var=no"
63176 fi
63177 rm -f conftest.err conftest.$ac_objext \
63178 conftest$ac_exeext conftest.$ac_ext
63179 fi
63180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63182 if test `eval echo '${'$as_ac_var'}'` = yes; then
63183 cat >>confdefs.h <<_ACEOF
63184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63185 _ACEOF
63186
63187 fi
63188 done
63189
63190 else
63191
63192 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
63193 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
63194 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63195 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
63196 echo $ECHO_N "(cached) $ECHO_C" >&6
63197 else
63198
63199
63200
63201 ac_ext=cc
63202 ac_cpp='$CXXCPP $CPPFLAGS'
63203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63206
63207 cat >conftest.$ac_ext <<_ACEOF
63208 /* confdefs.h. */
63209 _ACEOF
63210 cat confdefs.h >>conftest.$ac_ext
63211 cat >>conftest.$ac_ext <<_ACEOF
63212 /* end confdefs.h. */
63213 #include <math.h>
63214 #ifdef HAVE_IEEEFP_H
63215 #include <ieeefp.h>
63216 #endif
63217
63218 int
63219 main ()
63220 {
63221 _finitef(0);
63222 ;
63223 return 0;
63224 }
63225 _ACEOF
63226 rm -f conftest.$ac_objext
63227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63228 (eval $ac_compile) 2>conftest.er1
63229 ac_status=$?
63230 grep -v '^ *+' conftest.er1 >conftest.err
63231 rm -f conftest.er1
63232 cat conftest.err >&5
63233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63234 (exit $ac_status); } &&
63235 { ac_try='test -z "$ac_cxx_werror_flag"
63236 || test ! -s conftest.err'
63237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63238 (eval $ac_try) 2>&5
63239 ac_status=$?
63240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63241 (exit $ac_status); }; } &&
63242 { ac_try='test -s conftest.$ac_objext'
63243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63244 (eval $ac_try) 2>&5
63245 ac_status=$?
63246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63247 (exit $ac_status); }; }; then
63248 glibcxx_cv_func__finitef_use=yes
63249 else
63250 echo "$as_me: failed program was:" >&5
63251 sed 's/^/| /' conftest.$ac_ext >&5
63252
63253 glibcxx_cv_func__finitef_use=no
63254 fi
63255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63256 ac_ext=c
63257 ac_cpp='$CPP $CPPFLAGS'
63258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63261
63262
63263 fi
63264
63265 fi
63266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
63267 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
63268
63269 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63270
63271 for ac_func in _finitef
63272 do
63273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63274 echo "$as_me:$LINENO: checking for $ac_func" >&5
63275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63276 if eval "test \"\${$as_ac_var+set}\" = set"; then
63277 echo $ECHO_N "(cached) $ECHO_C" >&6
63278 else
63279 if test x$gcc_no_link = xyes; then
63280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63282 { (exit 1); exit 1; }; }
63283 fi
63284 cat >conftest.$ac_ext <<_ACEOF
63285 /* confdefs.h. */
63286 _ACEOF
63287 cat confdefs.h >>conftest.$ac_ext
63288 cat >>conftest.$ac_ext <<_ACEOF
63289 /* end confdefs.h. */
63290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63292 #define $ac_func innocuous_$ac_func
63293
63294 /* System header to define __stub macros and hopefully few prototypes,
63295 which can conflict with char $ac_func (); below.
63296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63297 <limits.h> exists even on freestanding compilers. */
63298
63299 #ifdef __STDC__
63300 # include <limits.h>
63301 #else
63302 # include <assert.h>
63303 #endif
63304
63305 #undef $ac_func
63306
63307 /* Override any gcc2 internal prototype to avoid an error. */
63308 #ifdef __cplusplus
63309 extern "C"
63310 {
63311 #endif
63312 /* We use char because int might match the return type of a gcc2
63313 builtin and then its argument prototype would still apply. */
63314 char $ac_func ();
63315 /* The GNU C library defines this for functions which it implements
63316 to always fail with ENOSYS. Some functions are actually named
63317 something starting with __ and the normal name is an alias. */
63318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63319 choke me
63320 #else
63321 char (*f) () = $ac_func;
63322 #endif
63323 #ifdef __cplusplus
63324 }
63325 #endif
63326
63327 int
63328 main ()
63329 {
63330 return f != $ac_func;
63331 ;
63332 return 0;
63333 }
63334 _ACEOF
63335 rm -f conftest.$ac_objext conftest$ac_exeext
63336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63337 (eval $ac_link) 2>conftest.er1
63338 ac_status=$?
63339 grep -v '^ *+' conftest.er1 >conftest.err
63340 rm -f conftest.er1
63341 cat conftest.err >&5
63342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63343 (exit $ac_status); } &&
63344 { ac_try='test -z "$ac_c_werror_flag"
63345 || test ! -s conftest.err'
63346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63347 (eval $ac_try) 2>&5
63348 ac_status=$?
63349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63350 (exit $ac_status); }; } &&
63351 { ac_try='test -s conftest$ac_exeext'
63352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63353 (eval $ac_try) 2>&5
63354 ac_status=$?
63355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63356 (exit $ac_status); }; }; then
63357 eval "$as_ac_var=yes"
63358 else
63359 echo "$as_me: failed program was:" >&5
63360 sed 's/^/| /' conftest.$ac_ext >&5
63361
63362 eval "$as_ac_var=no"
63363 fi
63364 rm -f conftest.err conftest.$ac_objext \
63365 conftest$ac_exeext conftest.$ac_ext
63366 fi
63367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63369 if test `eval echo '${'$as_ac_var'}'` = yes; then
63370 cat >>confdefs.h <<_ACEOF
63371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63372 _ACEOF
63373
63374 fi
63375 done
63376
63377 fi
63378 fi
63379
63380
63381
63382
63383
63384
63385 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63386 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63388 echo $ECHO_N "(cached) $ECHO_C" >&6
63389 else
63390
63391
63392
63393 ac_ext=cc
63394 ac_cpp='$CXXCPP $CPPFLAGS'
63395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63398
63399 cat >conftest.$ac_ext <<_ACEOF
63400 /* confdefs.h. */
63401 _ACEOF
63402 cat confdefs.h >>conftest.$ac_ext
63403 cat >>conftest.$ac_ext <<_ACEOF
63404 /* end confdefs.h. */
63405 #include <math.h>
63406 int
63407 main ()
63408 {
63409 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63410 ;
63411 return 0;
63412 }
63413 _ACEOF
63414 rm -f conftest.$ac_objext
63415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63416 (eval $ac_compile) 2>conftest.er1
63417 ac_status=$?
63418 grep -v '^ *+' conftest.er1 >conftest.err
63419 rm -f conftest.er1
63420 cat conftest.err >&5
63421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63422 (exit $ac_status); } &&
63423 { ac_try='test -z "$ac_cxx_werror_flag"
63424 || test ! -s conftest.err'
63425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63426 (eval $ac_try) 2>&5
63427 ac_status=$?
63428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63429 (exit $ac_status); }; } &&
63430 { ac_try='test -s conftest.$ac_objext'
63431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63432 (eval $ac_try) 2>&5
63433 ac_status=$?
63434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63435 (exit $ac_status); }; }; then
63436 glibcxx_cv_func_long_double_trig_use=yes
63437 else
63438 echo "$as_me: failed program was:" >&5
63439 sed 's/^/| /' conftest.$ac_ext >&5
63440
63441 glibcxx_cv_func_long_double_trig_use=no
63442 fi
63443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63444 ac_ext=c
63445 ac_cpp='$CPP $CPPFLAGS'
63446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63449
63450 fi
63451
63452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63453 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63454 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63455
63456
63457
63458
63459
63460
63461
63462
63463
63464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63465 do
63466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63467 echo "$as_me:$LINENO: checking for $ac_func" >&5
63468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63469 if eval "test \"\${$as_ac_var+set}\" = set"; then
63470 echo $ECHO_N "(cached) $ECHO_C" >&6
63471 else
63472 if test x$gcc_no_link = xyes; then
63473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63475 { (exit 1); exit 1; }; }
63476 fi
63477 cat >conftest.$ac_ext <<_ACEOF
63478 /* confdefs.h. */
63479 _ACEOF
63480 cat confdefs.h >>conftest.$ac_ext
63481 cat >>conftest.$ac_ext <<_ACEOF
63482 /* end confdefs.h. */
63483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63485 #define $ac_func innocuous_$ac_func
63486
63487 /* System header to define __stub macros and hopefully few prototypes,
63488 which can conflict with char $ac_func (); below.
63489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63490 <limits.h> exists even on freestanding compilers. */
63491
63492 #ifdef __STDC__
63493 # include <limits.h>
63494 #else
63495 # include <assert.h>
63496 #endif
63497
63498 #undef $ac_func
63499
63500 /* Override any gcc2 internal prototype to avoid an error. */
63501 #ifdef __cplusplus
63502 extern "C"
63503 {
63504 #endif
63505 /* We use char because int might match the return type of a gcc2
63506 builtin and then its argument prototype would still apply. */
63507 char $ac_func ();
63508 /* The GNU C library defines this for functions which it implements
63509 to always fail with ENOSYS. Some functions are actually named
63510 something starting with __ and the normal name is an alias. */
63511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63512 choke me
63513 #else
63514 char (*f) () = $ac_func;
63515 #endif
63516 #ifdef __cplusplus
63517 }
63518 #endif
63519
63520 int
63521 main ()
63522 {
63523 return f != $ac_func;
63524 ;
63525 return 0;
63526 }
63527 _ACEOF
63528 rm -f conftest.$ac_objext conftest$ac_exeext
63529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63530 (eval $ac_link) 2>conftest.er1
63531 ac_status=$?
63532 grep -v '^ *+' conftest.er1 >conftest.err
63533 rm -f conftest.er1
63534 cat conftest.err >&5
63535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63536 (exit $ac_status); } &&
63537 { ac_try='test -z "$ac_c_werror_flag"
63538 || test ! -s conftest.err'
63539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63540 (eval $ac_try) 2>&5
63541 ac_status=$?
63542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63543 (exit $ac_status); }; } &&
63544 { ac_try='test -s conftest$ac_exeext'
63545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63546 (eval $ac_try) 2>&5
63547 ac_status=$?
63548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63549 (exit $ac_status); }; }; then
63550 eval "$as_ac_var=yes"
63551 else
63552 echo "$as_me: failed program was:" >&5
63553 sed 's/^/| /' conftest.$ac_ext >&5
63554
63555 eval "$as_ac_var=no"
63556 fi
63557 rm -f conftest.err conftest.$ac_objext \
63558 conftest$ac_exeext conftest.$ac_ext
63559 fi
63560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63562 if test `eval echo '${'$as_ac_var'}'` = yes; then
63563 cat >>confdefs.h <<_ACEOF
63564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63565 _ACEOF
63566
63567 fi
63568 done
63569
63570 else
63571 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
63572 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
63573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
63574 echo $ECHO_N "(cached) $ECHO_C" >&6
63575 else
63576
63577
63578
63579 ac_ext=cc
63580 ac_cpp='$CXXCPP $CPPFLAGS'
63581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63584
63585 cat >conftest.$ac_ext <<_ACEOF
63586 /* confdefs.h. */
63587 _ACEOF
63588 cat confdefs.h >>conftest.$ac_ext
63589 cat >>conftest.$ac_ext <<_ACEOF
63590 /* end confdefs.h. */
63591 #include <math.h>
63592 int
63593 main ()
63594 {
63595 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63596 ;
63597 return 0;
63598 }
63599 _ACEOF
63600 rm -f conftest.$ac_objext
63601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63602 (eval $ac_compile) 2>conftest.er1
63603 ac_status=$?
63604 grep -v '^ *+' conftest.er1 >conftest.err
63605 rm -f conftest.er1
63606 cat conftest.err >&5
63607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63608 (exit $ac_status); } &&
63609 { ac_try='test -z "$ac_cxx_werror_flag"
63610 || test ! -s conftest.err'
63611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63612 (eval $ac_try) 2>&5
63613 ac_status=$?
63614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63615 (exit $ac_status); }; } &&
63616 { ac_try='test -s conftest.$ac_objext'
63617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63618 (eval $ac_try) 2>&5
63619 ac_status=$?
63620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63621 (exit $ac_status); }; }; then
63622 glibcxx_cv_func__long_double_trig_use=yes
63623 else
63624 echo "$as_me: failed program was:" >&5
63625 sed 's/^/| /' conftest.$ac_ext >&5
63626
63627 glibcxx_cv_func__long_double_trig_use=no
63628 fi
63629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63630 ac_ext=c
63631 ac_cpp='$CPP $CPPFLAGS'
63632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63635
63636 fi
63637
63638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
63639 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
63640 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63641
63642
63643
63644
63645
63646
63647
63648
63649
63650 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63651 do
63652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63653 echo "$as_me:$LINENO: checking for $ac_func" >&5
63654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63655 if eval "test \"\${$as_ac_var+set}\" = set"; then
63656 echo $ECHO_N "(cached) $ECHO_C" >&6
63657 else
63658 if test x$gcc_no_link = xyes; then
63659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63661 { (exit 1); exit 1; }; }
63662 fi
63663 cat >conftest.$ac_ext <<_ACEOF
63664 /* confdefs.h. */
63665 _ACEOF
63666 cat confdefs.h >>conftest.$ac_ext
63667 cat >>conftest.$ac_ext <<_ACEOF
63668 /* end confdefs.h. */
63669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63671 #define $ac_func innocuous_$ac_func
63672
63673 /* System header to define __stub macros and hopefully few prototypes,
63674 which can conflict with char $ac_func (); below.
63675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63676 <limits.h> exists even on freestanding compilers. */
63677
63678 #ifdef __STDC__
63679 # include <limits.h>
63680 #else
63681 # include <assert.h>
63682 #endif
63683
63684 #undef $ac_func
63685
63686 /* Override any gcc2 internal prototype to avoid an error. */
63687 #ifdef __cplusplus
63688 extern "C"
63689 {
63690 #endif
63691 /* We use char because int might match the return type of a gcc2
63692 builtin and then its argument prototype would still apply. */
63693 char $ac_func ();
63694 /* The GNU C library defines this for functions which it implements
63695 to always fail with ENOSYS. Some functions are actually named
63696 something starting with __ and the normal name is an alias. */
63697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63698 choke me
63699 #else
63700 char (*f) () = $ac_func;
63701 #endif
63702 #ifdef __cplusplus
63703 }
63704 #endif
63705
63706 int
63707 main ()
63708 {
63709 return f != $ac_func;
63710 ;
63711 return 0;
63712 }
63713 _ACEOF
63714 rm -f conftest.$ac_objext conftest$ac_exeext
63715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63716 (eval $ac_link) 2>conftest.er1
63717 ac_status=$?
63718 grep -v '^ *+' conftest.er1 >conftest.err
63719 rm -f conftest.er1
63720 cat conftest.err >&5
63721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63722 (exit $ac_status); } &&
63723 { ac_try='test -z "$ac_c_werror_flag"
63724 || test ! -s conftest.err'
63725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63726 (eval $ac_try) 2>&5
63727 ac_status=$?
63728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63729 (exit $ac_status); }; } &&
63730 { ac_try='test -s conftest$ac_exeext'
63731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63732 (eval $ac_try) 2>&5
63733 ac_status=$?
63734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63735 (exit $ac_status); }; }; then
63736 eval "$as_ac_var=yes"
63737 else
63738 echo "$as_me: failed program was:" >&5
63739 sed 's/^/| /' conftest.$ac_ext >&5
63740
63741 eval "$as_ac_var=no"
63742 fi
63743 rm -f conftest.err conftest.$ac_objext \
63744 conftest$ac_exeext conftest.$ac_ext
63745 fi
63746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63748 if test `eval echo '${'$as_ac_var'}'` = yes; then
63749 cat >>confdefs.h <<_ACEOF
63750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63751 _ACEOF
63752
63753 fi
63754 done
63755
63756 fi
63757 fi
63758
63759
63760
63761
63762
63763
63764
63765
63766
63767
63768
63769
63770
63771
63772 echo "$as_me:$LINENO: checking for long double round functions" >&5
63773 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63774 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63775 echo $ECHO_N "(cached) $ECHO_C" >&6
63776 else
63777
63778
63779
63780 ac_ext=cc
63781 ac_cpp='$CXXCPP $CPPFLAGS'
63782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63785
63786 cat >conftest.$ac_ext <<_ACEOF
63787 /* confdefs.h. */
63788 _ACEOF
63789 cat confdefs.h >>conftest.$ac_ext
63790 cat >>conftest.$ac_ext <<_ACEOF
63791 /* end confdefs.h. */
63792 #include <math.h>
63793 int
63794 main ()
63795 {
63796 ceill (0); floorl (0);
63797 ;
63798 return 0;
63799 }
63800 _ACEOF
63801 rm -f conftest.$ac_objext
63802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63803 (eval $ac_compile) 2>conftest.er1
63804 ac_status=$?
63805 grep -v '^ *+' conftest.er1 >conftest.err
63806 rm -f conftest.er1
63807 cat conftest.err >&5
63808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63809 (exit $ac_status); } &&
63810 { ac_try='test -z "$ac_cxx_werror_flag"
63811 || test ! -s conftest.err'
63812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63813 (eval $ac_try) 2>&5
63814 ac_status=$?
63815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63816 (exit $ac_status); }; } &&
63817 { ac_try='test -s conftest.$ac_objext'
63818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63819 (eval $ac_try) 2>&5
63820 ac_status=$?
63821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63822 (exit $ac_status); }; }; then
63823 glibcxx_cv_func_long_double_round_use=yes
63824 else
63825 echo "$as_me: failed program was:" >&5
63826 sed 's/^/| /' conftest.$ac_ext >&5
63827
63828 glibcxx_cv_func_long_double_round_use=no
63829 fi
63830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63831 ac_ext=c
63832 ac_cpp='$CPP $CPPFLAGS'
63833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63836
63837 fi
63838
63839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63840 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63841 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63842
63843
63844 for ac_func in ceill floorl
63845 do
63846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63847 echo "$as_me:$LINENO: checking for $ac_func" >&5
63848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63849 if eval "test \"\${$as_ac_var+set}\" = set"; then
63850 echo $ECHO_N "(cached) $ECHO_C" >&6
63851 else
63852 if test x$gcc_no_link = xyes; then
63853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63855 { (exit 1); exit 1; }; }
63856 fi
63857 cat >conftest.$ac_ext <<_ACEOF
63858 /* confdefs.h. */
63859 _ACEOF
63860 cat confdefs.h >>conftest.$ac_ext
63861 cat >>conftest.$ac_ext <<_ACEOF
63862 /* end confdefs.h. */
63863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63865 #define $ac_func innocuous_$ac_func
63866
63867 /* System header to define __stub macros and hopefully few prototypes,
63868 which can conflict with char $ac_func (); below.
63869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63870 <limits.h> exists even on freestanding compilers. */
63871
63872 #ifdef __STDC__
63873 # include <limits.h>
63874 #else
63875 # include <assert.h>
63876 #endif
63877
63878 #undef $ac_func
63879
63880 /* Override any gcc2 internal prototype to avoid an error. */
63881 #ifdef __cplusplus
63882 extern "C"
63883 {
63884 #endif
63885 /* We use char because int might match the return type of a gcc2
63886 builtin and then its argument prototype would still apply. */
63887 char $ac_func ();
63888 /* The GNU C library defines this for functions which it implements
63889 to always fail with ENOSYS. Some functions are actually named
63890 something starting with __ and the normal name is an alias. */
63891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63892 choke me
63893 #else
63894 char (*f) () = $ac_func;
63895 #endif
63896 #ifdef __cplusplus
63897 }
63898 #endif
63899
63900 int
63901 main ()
63902 {
63903 return f != $ac_func;
63904 ;
63905 return 0;
63906 }
63907 _ACEOF
63908 rm -f conftest.$ac_objext conftest$ac_exeext
63909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63910 (eval $ac_link) 2>conftest.er1
63911 ac_status=$?
63912 grep -v '^ *+' conftest.er1 >conftest.err
63913 rm -f conftest.er1
63914 cat conftest.err >&5
63915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63916 (exit $ac_status); } &&
63917 { ac_try='test -z "$ac_c_werror_flag"
63918 || test ! -s conftest.err'
63919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63920 (eval $ac_try) 2>&5
63921 ac_status=$?
63922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63923 (exit $ac_status); }; } &&
63924 { ac_try='test -s conftest$ac_exeext'
63925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63926 (eval $ac_try) 2>&5
63927 ac_status=$?
63928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63929 (exit $ac_status); }; }; then
63930 eval "$as_ac_var=yes"
63931 else
63932 echo "$as_me: failed program was:" >&5
63933 sed 's/^/| /' conftest.$ac_ext >&5
63934
63935 eval "$as_ac_var=no"
63936 fi
63937 rm -f conftest.err conftest.$ac_objext \
63938 conftest$ac_exeext conftest.$ac_ext
63939 fi
63940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63942 if test `eval echo '${'$as_ac_var'}'` = yes; then
63943 cat >>confdefs.h <<_ACEOF
63944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63945 _ACEOF
63946
63947 fi
63948 done
63949
63950 else
63951 echo "$as_me:$LINENO: checking for _long double round functions" >&5
63952 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
63953 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
63954 echo $ECHO_N "(cached) $ECHO_C" >&6
63955 else
63956
63957
63958
63959 ac_ext=cc
63960 ac_cpp='$CXXCPP $CPPFLAGS'
63961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63964
63965 cat >conftest.$ac_ext <<_ACEOF
63966 /* confdefs.h. */
63967 _ACEOF
63968 cat confdefs.h >>conftest.$ac_ext
63969 cat >>conftest.$ac_ext <<_ACEOF
63970 /* end confdefs.h. */
63971 #include <math.h>
63972 int
63973 main ()
63974 {
63975 _ceill (0); _floorl (0);
63976 ;
63977 return 0;
63978 }
63979 _ACEOF
63980 rm -f conftest.$ac_objext
63981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63982 (eval $ac_compile) 2>conftest.er1
63983 ac_status=$?
63984 grep -v '^ *+' conftest.er1 >conftest.err
63985 rm -f conftest.er1
63986 cat conftest.err >&5
63987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63988 (exit $ac_status); } &&
63989 { ac_try='test -z "$ac_cxx_werror_flag"
63990 || test ! -s conftest.err'
63991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63992 (eval $ac_try) 2>&5
63993 ac_status=$?
63994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63995 (exit $ac_status); }; } &&
63996 { ac_try='test -s conftest.$ac_objext'
63997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63998 (eval $ac_try) 2>&5
63999 ac_status=$?
64000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64001 (exit $ac_status); }; }; then
64002 glibcxx_cv_func__long_double_round_use=yes
64003 else
64004 echo "$as_me: failed program was:" >&5
64005 sed 's/^/| /' conftest.$ac_ext >&5
64006
64007 glibcxx_cv_func__long_double_round_use=no
64008 fi
64009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64010 ac_ext=c
64011 ac_cpp='$CPP $CPPFLAGS'
64012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64015
64016 fi
64017
64018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
64019 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
64020 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64021
64022
64023 for ac_func in _ceill _floorl
64024 do
64025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64026 echo "$as_me:$LINENO: checking for $ac_func" >&5
64027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64028 if eval "test \"\${$as_ac_var+set}\" = set"; then
64029 echo $ECHO_N "(cached) $ECHO_C" >&6
64030 else
64031 if test x$gcc_no_link = xyes; then
64032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64034 { (exit 1); exit 1; }; }
64035 fi
64036 cat >conftest.$ac_ext <<_ACEOF
64037 /* confdefs.h. */
64038 _ACEOF
64039 cat confdefs.h >>conftest.$ac_ext
64040 cat >>conftest.$ac_ext <<_ACEOF
64041 /* end confdefs.h. */
64042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64044 #define $ac_func innocuous_$ac_func
64045
64046 /* System header to define __stub macros and hopefully few prototypes,
64047 which can conflict with char $ac_func (); below.
64048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64049 <limits.h> exists even on freestanding compilers. */
64050
64051 #ifdef __STDC__
64052 # include <limits.h>
64053 #else
64054 # include <assert.h>
64055 #endif
64056
64057 #undef $ac_func
64058
64059 /* Override any gcc2 internal prototype to avoid an error. */
64060 #ifdef __cplusplus
64061 extern "C"
64062 {
64063 #endif
64064 /* We use char because int might match the return type of a gcc2
64065 builtin and then its argument prototype would still apply. */
64066 char $ac_func ();
64067 /* The GNU C library defines this for functions which it implements
64068 to always fail with ENOSYS. Some functions are actually named
64069 something starting with __ and the normal name is an alias. */
64070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64071 choke me
64072 #else
64073 char (*f) () = $ac_func;
64074 #endif
64075 #ifdef __cplusplus
64076 }
64077 #endif
64078
64079 int
64080 main ()
64081 {
64082 return f != $ac_func;
64083 ;
64084 return 0;
64085 }
64086 _ACEOF
64087 rm -f conftest.$ac_objext conftest$ac_exeext
64088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64089 (eval $ac_link) 2>conftest.er1
64090 ac_status=$?
64091 grep -v '^ *+' conftest.er1 >conftest.err
64092 rm -f conftest.er1
64093 cat conftest.err >&5
64094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64095 (exit $ac_status); } &&
64096 { ac_try='test -z "$ac_c_werror_flag"
64097 || test ! -s conftest.err'
64098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64099 (eval $ac_try) 2>&5
64100 ac_status=$?
64101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64102 (exit $ac_status); }; } &&
64103 { ac_try='test -s conftest$ac_exeext'
64104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64105 (eval $ac_try) 2>&5
64106 ac_status=$?
64107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64108 (exit $ac_status); }; }; then
64109 eval "$as_ac_var=yes"
64110 else
64111 echo "$as_me: failed program was:" >&5
64112 sed 's/^/| /' conftest.$ac_ext >&5
64113
64114 eval "$as_ac_var=no"
64115 fi
64116 rm -f conftest.err conftest.$ac_objext \
64117 conftest$ac_exeext conftest.$ac_ext
64118 fi
64119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64121 if test `eval echo '${'$as_ac_var'}'` = yes; then
64122 cat >>confdefs.h <<_ACEOF
64123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64124 _ACEOF
64125
64126 fi
64127 done
64128
64129 fi
64130 fi
64131
64132
64133
64134
64135
64136
64137
64138
64139 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
64140 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
64141 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64142 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
64143 echo $ECHO_N "(cached) $ECHO_C" >&6
64144 else
64145
64146
64147
64148 ac_ext=cc
64149 ac_cpp='$CXXCPP $CPPFLAGS'
64150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64153
64154 cat >conftest.$ac_ext <<_ACEOF
64155 /* confdefs.h. */
64156 _ACEOF
64157 cat confdefs.h >>conftest.$ac_ext
64158 cat >>conftest.$ac_ext <<_ACEOF
64159 /* end confdefs.h. */
64160 #include <math.h>
64161 #ifdef HAVE_IEEEFP_H
64162 #include <ieeefp.h>
64163 #endif
64164
64165 int
64166 main ()
64167 {
64168 isnanl(0);
64169 ;
64170 return 0;
64171 }
64172 _ACEOF
64173 rm -f conftest.$ac_objext
64174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64175 (eval $ac_compile) 2>conftest.er1
64176 ac_status=$?
64177 grep -v '^ *+' conftest.er1 >conftest.err
64178 rm -f conftest.er1
64179 cat conftest.err >&5
64180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64181 (exit $ac_status); } &&
64182 { ac_try='test -z "$ac_cxx_werror_flag"
64183 || test ! -s conftest.err'
64184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64185 (eval $ac_try) 2>&5
64186 ac_status=$?
64187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64188 (exit $ac_status); }; } &&
64189 { ac_try='test -s conftest.$ac_objext'
64190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64191 (eval $ac_try) 2>&5
64192 ac_status=$?
64193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64194 (exit $ac_status); }; }; then
64195 glibcxx_cv_func_isnanl_use=yes
64196 else
64197 echo "$as_me: failed program was:" >&5
64198 sed 's/^/| /' conftest.$ac_ext >&5
64199
64200 glibcxx_cv_func_isnanl_use=no
64201 fi
64202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64203 ac_ext=c
64204 ac_cpp='$CPP $CPPFLAGS'
64205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64208
64209
64210 fi
64211
64212 fi
64213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
64214 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
64215
64216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64217
64218 for ac_func in isnanl
64219 do
64220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64221 echo "$as_me:$LINENO: checking for $ac_func" >&5
64222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64223 if eval "test \"\${$as_ac_var+set}\" = set"; then
64224 echo $ECHO_N "(cached) $ECHO_C" >&6
64225 else
64226 if test x$gcc_no_link = xyes; then
64227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64229 { (exit 1); exit 1; }; }
64230 fi
64231 cat >conftest.$ac_ext <<_ACEOF
64232 /* confdefs.h. */
64233 _ACEOF
64234 cat confdefs.h >>conftest.$ac_ext
64235 cat >>conftest.$ac_ext <<_ACEOF
64236 /* end confdefs.h. */
64237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64239 #define $ac_func innocuous_$ac_func
64240
64241 /* System header to define __stub macros and hopefully few prototypes,
64242 which can conflict with char $ac_func (); below.
64243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64244 <limits.h> exists even on freestanding compilers. */
64245
64246 #ifdef __STDC__
64247 # include <limits.h>
64248 #else
64249 # include <assert.h>
64250 #endif
64251
64252 #undef $ac_func
64253
64254 /* Override any gcc2 internal prototype to avoid an error. */
64255 #ifdef __cplusplus
64256 extern "C"
64257 {
64258 #endif
64259 /* We use char because int might match the return type of a gcc2
64260 builtin and then its argument prototype would still apply. */
64261 char $ac_func ();
64262 /* The GNU C library defines this for functions which it implements
64263 to always fail with ENOSYS. Some functions are actually named
64264 something starting with __ and the normal name is an alias. */
64265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64266 choke me
64267 #else
64268 char (*f) () = $ac_func;
64269 #endif
64270 #ifdef __cplusplus
64271 }
64272 #endif
64273
64274 int
64275 main ()
64276 {
64277 return f != $ac_func;
64278 ;
64279 return 0;
64280 }
64281 _ACEOF
64282 rm -f conftest.$ac_objext conftest$ac_exeext
64283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64284 (eval $ac_link) 2>conftest.er1
64285 ac_status=$?
64286 grep -v '^ *+' conftest.er1 >conftest.err
64287 rm -f conftest.er1
64288 cat conftest.err >&5
64289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64290 (exit $ac_status); } &&
64291 { ac_try='test -z "$ac_c_werror_flag"
64292 || test ! -s conftest.err'
64293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64294 (eval $ac_try) 2>&5
64295 ac_status=$?
64296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64297 (exit $ac_status); }; } &&
64298 { ac_try='test -s conftest$ac_exeext'
64299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64300 (eval $ac_try) 2>&5
64301 ac_status=$?
64302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64303 (exit $ac_status); }; }; then
64304 eval "$as_ac_var=yes"
64305 else
64306 echo "$as_me: failed program was:" >&5
64307 sed 's/^/| /' conftest.$ac_ext >&5
64308
64309 eval "$as_ac_var=no"
64310 fi
64311 rm -f conftest.err conftest.$ac_objext \
64312 conftest$ac_exeext conftest.$ac_ext
64313 fi
64314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64316 if test `eval echo '${'$as_ac_var'}'` = yes; then
64317 cat >>confdefs.h <<_ACEOF
64318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64319 _ACEOF
64320
64321 fi
64322 done
64323
64324 else
64325
64326 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
64327 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
64328 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64329 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
64330 echo $ECHO_N "(cached) $ECHO_C" >&6
64331 else
64332
64333
64334
64335 ac_ext=cc
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64340
64341 cat >conftest.$ac_ext <<_ACEOF
64342 /* confdefs.h. */
64343 _ACEOF
64344 cat confdefs.h >>conftest.$ac_ext
64345 cat >>conftest.$ac_ext <<_ACEOF
64346 /* end confdefs.h. */
64347 #include <math.h>
64348 #ifdef HAVE_IEEEFP_H
64349 #include <ieeefp.h>
64350 #endif
64351
64352 int
64353 main ()
64354 {
64355 _isnanl(0);
64356 ;
64357 return 0;
64358 }
64359 _ACEOF
64360 rm -f conftest.$ac_objext
64361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64362 (eval $ac_compile) 2>conftest.er1
64363 ac_status=$?
64364 grep -v '^ *+' conftest.er1 >conftest.err
64365 rm -f conftest.er1
64366 cat conftest.err >&5
64367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64368 (exit $ac_status); } &&
64369 { ac_try='test -z "$ac_cxx_werror_flag"
64370 || test ! -s conftest.err'
64371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64372 (eval $ac_try) 2>&5
64373 ac_status=$?
64374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64375 (exit $ac_status); }; } &&
64376 { ac_try='test -s conftest.$ac_objext'
64377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64378 (eval $ac_try) 2>&5
64379 ac_status=$?
64380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64381 (exit $ac_status); }; }; then
64382 glibcxx_cv_func__isnanl_use=yes
64383 else
64384 echo "$as_me: failed program was:" >&5
64385 sed 's/^/| /' conftest.$ac_ext >&5
64386
64387 glibcxx_cv_func__isnanl_use=no
64388 fi
64389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64390 ac_ext=c
64391 ac_cpp='$CPP $CPPFLAGS'
64392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64395
64396
64397 fi
64398
64399 fi
64400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
64401 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
64402
64403 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64404
64405 for ac_func in _isnanl
64406 do
64407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64408 echo "$as_me:$LINENO: checking for $ac_func" >&5
64409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64410 if eval "test \"\${$as_ac_var+set}\" = set"; then
64411 echo $ECHO_N "(cached) $ECHO_C" >&6
64412 else
64413 if test x$gcc_no_link = xyes; then
64414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64416 { (exit 1); exit 1; }; }
64417 fi
64418 cat >conftest.$ac_ext <<_ACEOF
64419 /* confdefs.h. */
64420 _ACEOF
64421 cat confdefs.h >>conftest.$ac_ext
64422 cat >>conftest.$ac_ext <<_ACEOF
64423 /* end confdefs.h. */
64424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64426 #define $ac_func innocuous_$ac_func
64427
64428 /* System header to define __stub macros and hopefully few prototypes,
64429 which can conflict with char $ac_func (); below.
64430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64431 <limits.h> exists even on freestanding compilers. */
64432
64433 #ifdef __STDC__
64434 # include <limits.h>
64435 #else
64436 # include <assert.h>
64437 #endif
64438
64439 #undef $ac_func
64440
64441 /* Override any gcc2 internal prototype to avoid an error. */
64442 #ifdef __cplusplus
64443 extern "C"
64444 {
64445 #endif
64446 /* We use char because int might match the return type of a gcc2
64447 builtin and then its argument prototype would still apply. */
64448 char $ac_func ();
64449 /* The GNU C library defines this for functions which it implements
64450 to always fail with ENOSYS. Some functions are actually named
64451 something starting with __ and the normal name is an alias. */
64452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64453 choke me
64454 #else
64455 char (*f) () = $ac_func;
64456 #endif
64457 #ifdef __cplusplus
64458 }
64459 #endif
64460
64461 int
64462 main ()
64463 {
64464 return f != $ac_func;
64465 ;
64466 return 0;
64467 }
64468 _ACEOF
64469 rm -f conftest.$ac_objext conftest$ac_exeext
64470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64471 (eval $ac_link) 2>conftest.er1
64472 ac_status=$?
64473 grep -v '^ *+' conftest.er1 >conftest.err
64474 rm -f conftest.er1
64475 cat conftest.err >&5
64476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477 (exit $ac_status); } &&
64478 { ac_try='test -z "$ac_c_werror_flag"
64479 || test ! -s conftest.err'
64480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64481 (eval $ac_try) 2>&5
64482 ac_status=$?
64483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64484 (exit $ac_status); }; } &&
64485 { ac_try='test -s conftest$ac_exeext'
64486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64487 (eval $ac_try) 2>&5
64488 ac_status=$?
64489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64490 (exit $ac_status); }; }; then
64491 eval "$as_ac_var=yes"
64492 else
64493 echo "$as_me: failed program was:" >&5
64494 sed 's/^/| /' conftest.$ac_ext >&5
64495
64496 eval "$as_ac_var=no"
64497 fi
64498 rm -f conftest.err conftest.$ac_objext \
64499 conftest$ac_exeext conftest.$ac_ext
64500 fi
64501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64503 if test `eval echo '${'$as_ac_var'}'` = yes; then
64504 cat >>confdefs.h <<_ACEOF
64505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64506 _ACEOF
64507
64508 fi
64509 done
64510
64511 fi
64512 fi
64513
64514
64515
64516
64517
64518
64519 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
64520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
64521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
64523 echo $ECHO_N "(cached) $ECHO_C" >&6
64524 else
64525
64526
64527
64528 ac_ext=cc
64529 ac_cpp='$CXXCPP $CPPFLAGS'
64530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64533
64534 cat >conftest.$ac_ext <<_ACEOF
64535 /* confdefs.h. */
64536 _ACEOF
64537 cat confdefs.h >>conftest.$ac_ext
64538 cat >>conftest.$ac_ext <<_ACEOF
64539 /* end confdefs.h. */
64540 #include <math.h>
64541 #ifdef HAVE_IEEEFP_H
64542 #include <ieeefp.h>
64543 #endif
64544
64545 int
64546 main ()
64547 {
64548 isinfl(0);
64549 ;
64550 return 0;
64551 }
64552 _ACEOF
64553 rm -f conftest.$ac_objext
64554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64555 (eval $ac_compile) 2>conftest.er1
64556 ac_status=$?
64557 grep -v '^ *+' conftest.er1 >conftest.err
64558 rm -f conftest.er1
64559 cat conftest.err >&5
64560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64561 (exit $ac_status); } &&
64562 { ac_try='test -z "$ac_cxx_werror_flag"
64563 || test ! -s conftest.err'
64564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64565 (eval $ac_try) 2>&5
64566 ac_status=$?
64567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64568 (exit $ac_status); }; } &&
64569 { ac_try='test -s conftest.$ac_objext'
64570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64571 (eval $ac_try) 2>&5
64572 ac_status=$?
64573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64574 (exit $ac_status); }; }; then
64575 glibcxx_cv_func_isinfl_use=yes
64576 else
64577 echo "$as_me: failed program was:" >&5
64578 sed 's/^/| /' conftest.$ac_ext >&5
64579
64580 glibcxx_cv_func_isinfl_use=no
64581 fi
64582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64583 ac_ext=c
64584 ac_cpp='$CPP $CPPFLAGS'
64585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64588
64589
64590 fi
64591
64592 fi
64593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
64594 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
64595
64596 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64597
64598 for ac_func in isinfl
64599 do
64600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64601 echo "$as_me:$LINENO: checking for $ac_func" >&5
64602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64603 if eval "test \"\${$as_ac_var+set}\" = set"; then
64604 echo $ECHO_N "(cached) $ECHO_C" >&6
64605 else
64606 if test x$gcc_no_link = xyes; then
64607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64609 { (exit 1); exit 1; }; }
64610 fi
64611 cat >conftest.$ac_ext <<_ACEOF
64612 /* confdefs.h. */
64613 _ACEOF
64614 cat confdefs.h >>conftest.$ac_ext
64615 cat >>conftest.$ac_ext <<_ACEOF
64616 /* end confdefs.h. */
64617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64619 #define $ac_func innocuous_$ac_func
64620
64621 /* System header to define __stub macros and hopefully few prototypes,
64622 which can conflict with char $ac_func (); below.
64623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64624 <limits.h> exists even on freestanding compilers. */
64625
64626 #ifdef __STDC__
64627 # include <limits.h>
64628 #else
64629 # include <assert.h>
64630 #endif
64631
64632 #undef $ac_func
64633
64634 /* Override any gcc2 internal prototype to avoid an error. */
64635 #ifdef __cplusplus
64636 extern "C"
64637 {
64638 #endif
64639 /* We use char because int might match the return type of a gcc2
64640 builtin and then its argument prototype would still apply. */
64641 char $ac_func ();
64642 /* The GNU C library defines this for functions which it implements
64643 to always fail with ENOSYS. Some functions are actually named
64644 something starting with __ and the normal name is an alias. */
64645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64646 choke me
64647 #else
64648 char (*f) () = $ac_func;
64649 #endif
64650 #ifdef __cplusplus
64651 }
64652 #endif
64653
64654 int
64655 main ()
64656 {
64657 return f != $ac_func;
64658 ;
64659 return 0;
64660 }
64661 _ACEOF
64662 rm -f conftest.$ac_objext conftest$ac_exeext
64663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64664 (eval $ac_link) 2>conftest.er1
64665 ac_status=$?
64666 grep -v '^ *+' conftest.er1 >conftest.err
64667 rm -f conftest.er1
64668 cat conftest.err >&5
64669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64670 (exit $ac_status); } &&
64671 { ac_try='test -z "$ac_c_werror_flag"
64672 || test ! -s conftest.err'
64673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64674 (eval $ac_try) 2>&5
64675 ac_status=$?
64676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64677 (exit $ac_status); }; } &&
64678 { ac_try='test -s conftest$ac_exeext'
64679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64680 (eval $ac_try) 2>&5
64681 ac_status=$?
64682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64683 (exit $ac_status); }; }; then
64684 eval "$as_ac_var=yes"
64685 else
64686 echo "$as_me: failed program was:" >&5
64687 sed 's/^/| /' conftest.$ac_ext >&5
64688
64689 eval "$as_ac_var=no"
64690 fi
64691 rm -f conftest.err conftest.$ac_objext \
64692 conftest$ac_exeext conftest.$ac_ext
64693 fi
64694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64696 if test `eval echo '${'$as_ac_var'}'` = yes; then
64697 cat >>confdefs.h <<_ACEOF
64698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64699 _ACEOF
64700
64701 fi
64702 done
64703
64704 else
64705
64706 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64707 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64709 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64710 echo $ECHO_N "(cached) $ECHO_C" >&6
64711 else
64712
64713
64714
64715 ac_ext=cc
64716 ac_cpp='$CXXCPP $CPPFLAGS'
64717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64720
64721 cat >conftest.$ac_ext <<_ACEOF
64722 /* confdefs.h. */
64723 _ACEOF
64724 cat confdefs.h >>conftest.$ac_ext
64725 cat >>conftest.$ac_ext <<_ACEOF
64726 /* end confdefs.h. */
64727 #include <math.h>
64728 #ifdef HAVE_IEEEFP_H
64729 #include <ieeefp.h>
64730 #endif
64731
64732 int
64733 main ()
64734 {
64735 _isinfl(0);
64736 ;
64737 return 0;
64738 }
64739 _ACEOF
64740 rm -f conftest.$ac_objext
64741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64742 (eval $ac_compile) 2>conftest.er1
64743 ac_status=$?
64744 grep -v '^ *+' conftest.er1 >conftest.err
64745 rm -f conftest.er1
64746 cat conftest.err >&5
64747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64748 (exit $ac_status); } &&
64749 { ac_try='test -z "$ac_cxx_werror_flag"
64750 || test ! -s conftest.err'
64751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64752 (eval $ac_try) 2>&5
64753 ac_status=$?
64754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64755 (exit $ac_status); }; } &&
64756 { ac_try='test -s conftest.$ac_objext'
64757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64758 (eval $ac_try) 2>&5
64759 ac_status=$?
64760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64761 (exit $ac_status); }; }; then
64762 glibcxx_cv_func__isinfl_use=yes
64763 else
64764 echo "$as_me: failed program was:" >&5
64765 sed 's/^/| /' conftest.$ac_ext >&5
64766
64767 glibcxx_cv_func__isinfl_use=no
64768 fi
64769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64770 ac_ext=c
64771 ac_cpp='$CPP $CPPFLAGS'
64772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64775
64776
64777 fi
64778
64779 fi
64780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64781 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64782
64783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64784
64785 for ac_func in _isinfl
64786 do
64787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64788 echo "$as_me:$LINENO: checking for $ac_func" >&5
64789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64790 if eval "test \"\${$as_ac_var+set}\" = set"; then
64791 echo $ECHO_N "(cached) $ECHO_C" >&6
64792 else
64793 if test x$gcc_no_link = xyes; then
64794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64796 { (exit 1); exit 1; }; }
64797 fi
64798 cat >conftest.$ac_ext <<_ACEOF
64799 /* confdefs.h. */
64800 _ACEOF
64801 cat confdefs.h >>conftest.$ac_ext
64802 cat >>conftest.$ac_ext <<_ACEOF
64803 /* end confdefs.h. */
64804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64806 #define $ac_func innocuous_$ac_func
64807
64808 /* System header to define __stub macros and hopefully few prototypes,
64809 which can conflict with char $ac_func (); below.
64810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64811 <limits.h> exists even on freestanding compilers. */
64812
64813 #ifdef __STDC__
64814 # include <limits.h>
64815 #else
64816 # include <assert.h>
64817 #endif
64818
64819 #undef $ac_func
64820
64821 /* Override any gcc2 internal prototype to avoid an error. */
64822 #ifdef __cplusplus
64823 extern "C"
64824 {
64825 #endif
64826 /* We use char because int might match the return type of a gcc2
64827 builtin and then its argument prototype would still apply. */
64828 char $ac_func ();
64829 /* The GNU C library defines this for functions which it implements
64830 to always fail with ENOSYS. Some functions are actually named
64831 something starting with __ and the normal name is an alias. */
64832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64833 choke me
64834 #else
64835 char (*f) () = $ac_func;
64836 #endif
64837 #ifdef __cplusplus
64838 }
64839 #endif
64840
64841 int
64842 main ()
64843 {
64844 return f != $ac_func;
64845 ;
64846 return 0;
64847 }
64848 _ACEOF
64849 rm -f conftest.$ac_objext conftest$ac_exeext
64850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64851 (eval $ac_link) 2>conftest.er1
64852 ac_status=$?
64853 grep -v '^ *+' conftest.er1 >conftest.err
64854 rm -f conftest.er1
64855 cat conftest.err >&5
64856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64857 (exit $ac_status); } &&
64858 { ac_try='test -z "$ac_c_werror_flag"
64859 || test ! -s conftest.err'
64860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64861 (eval $ac_try) 2>&5
64862 ac_status=$?
64863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64864 (exit $ac_status); }; } &&
64865 { ac_try='test -s conftest$ac_exeext'
64866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64867 (eval $ac_try) 2>&5
64868 ac_status=$?
64869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64870 (exit $ac_status); }; }; then
64871 eval "$as_ac_var=yes"
64872 else
64873 echo "$as_me: failed program was:" >&5
64874 sed 's/^/| /' conftest.$ac_ext >&5
64875
64876 eval "$as_ac_var=no"
64877 fi
64878 rm -f conftest.err conftest.$ac_objext \
64879 conftest$ac_exeext conftest.$ac_ext
64880 fi
64881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64883 if test `eval echo '${'$as_ac_var'}'` = yes; then
64884 cat >>confdefs.h <<_ACEOF
64885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64886 _ACEOF
64887
64888 fi
64889 done
64890
64891 fi
64892 fi
64893
64894
64895
64896
64897
64898
64899 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64900 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64901 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64902 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64903 echo $ECHO_N "(cached) $ECHO_C" >&6
64904 else
64905
64906
64907
64908 ac_ext=cc
64909 ac_cpp='$CXXCPP $CPPFLAGS'
64910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64913
64914 cat >conftest.$ac_ext <<_ACEOF
64915 /* confdefs.h. */
64916 _ACEOF
64917 cat confdefs.h >>conftest.$ac_ext
64918 cat >>conftest.$ac_ext <<_ACEOF
64919 /* end confdefs.h. */
64920 #include <math.h>
64921 int
64922 main ()
64923 {
64924 copysignl(0, 0);
64925 ;
64926 return 0;
64927 }
64928 _ACEOF
64929 rm -f conftest.$ac_objext
64930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64931 (eval $ac_compile) 2>conftest.er1
64932 ac_status=$?
64933 grep -v '^ *+' conftest.er1 >conftest.err
64934 rm -f conftest.er1
64935 cat conftest.err >&5
64936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64937 (exit $ac_status); } &&
64938 { ac_try='test -z "$ac_cxx_werror_flag"
64939 || test ! -s conftest.err'
64940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64941 (eval $ac_try) 2>&5
64942 ac_status=$?
64943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64944 (exit $ac_status); }; } &&
64945 { ac_try='test -s conftest.$ac_objext'
64946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64947 (eval $ac_try) 2>&5
64948 ac_status=$?
64949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64950 (exit $ac_status); }; }; then
64951 glibcxx_cv_func_copysignl_use=yes
64952 else
64953 echo "$as_me: failed program was:" >&5
64954 sed 's/^/| /' conftest.$ac_ext >&5
64955
64956 glibcxx_cv_func_copysignl_use=no
64957 fi
64958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64959 ac_ext=c
64960 ac_cpp='$CPP $CPPFLAGS'
64961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64964
64965
64966 fi
64967
64968 fi
64969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64970 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64971
64972 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64973
64974 for ac_func in copysignl
64975 do
64976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64977 echo "$as_me:$LINENO: checking for $ac_func" >&5
64978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64979 if eval "test \"\${$as_ac_var+set}\" = set"; then
64980 echo $ECHO_N "(cached) $ECHO_C" >&6
64981 else
64982 if test x$gcc_no_link = xyes; then
64983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64985 { (exit 1); exit 1; }; }
64986 fi
64987 cat >conftest.$ac_ext <<_ACEOF
64988 /* confdefs.h. */
64989 _ACEOF
64990 cat confdefs.h >>conftest.$ac_ext
64991 cat >>conftest.$ac_ext <<_ACEOF
64992 /* end confdefs.h. */
64993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64995 #define $ac_func innocuous_$ac_func
64996
64997 /* System header to define __stub macros and hopefully few prototypes,
64998 which can conflict with char $ac_func (); below.
64999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65000 <limits.h> exists even on freestanding compilers. */
65001
65002 #ifdef __STDC__
65003 # include <limits.h>
65004 #else
65005 # include <assert.h>
65006 #endif
65007
65008 #undef $ac_func
65009
65010 /* Override any gcc2 internal prototype to avoid an error. */
65011 #ifdef __cplusplus
65012 extern "C"
65013 {
65014 #endif
65015 /* We use char because int might match the return type of a gcc2
65016 builtin and then its argument prototype would still apply. */
65017 char $ac_func ();
65018 /* The GNU C library defines this for functions which it implements
65019 to always fail with ENOSYS. Some functions are actually named
65020 something starting with __ and the normal name is an alias. */
65021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65022 choke me
65023 #else
65024 char (*f) () = $ac_func;
65025 #endif
65026 #ifdef __cplusplus
65027 }
65028 #endif
65029
65030 int
65031 main ()
65032 {
65033 return f != $ac_func;
65034 ;
65035 return 0;
65036 }
65037 _ACEOF
65038 rm -f conftest.$ac_objext conftest$ac_exeext
65039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65040 (eval $ac_link) 2>conftest.er1
65041 ac_status=$?
65042 grep -v '^ *+' conftest.er1 >conftest.err
65043 rm -f conftest.er1
65044 cat conftest.err >&5
65045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65046 (exit $ac_status); } &&
65047 { ac_try='test -z "$ac_c_werror_flag"
65048 || test ! -s conftest.err'
65049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65050 (eval $ac_try) 2>&5
65051 ac_status=$?
65052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65053 (exit $ac_status); }; } &&
65054 { ac_try='test -s conftest$ac_exeext'
65055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65056 (eval $ac_try) 2>&5
65057 ac_status=$?
65058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65059 (exit $ac_status); }; }; then
65060 eval "$as_ac_var=yes"
65061 else
65062 echo "$as_me: failed program was:" >&5
65063 sed 's/^/| /' conftest.$ac_ext >&5
65064
65065 eval "$as_ac_var=no"
65066 fi
65067 rm -f conftest.err conftest.$ac_objext \
65068 conftest$ac_exeext conftest.$ac_ext
65069 fi
65070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65072 if test `eval echo '${'$as_ac_var'}'` = yes; then
65073 cat >>confdefs.h <<_ACEOF
65074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65075 _ACEOF
65076
65077 fi
65078 done
65079
65080 else
65081
65082 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
65083 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
65084 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
65085 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
65086 echo $ECHO_N "(cached) $ECHO_C" >&6
65087 else
65088
65089
65090
65091 ac_ext=cc
65092 ac_cpp='$CXXCPP $CPPFLAGS'
65093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65096
65097 cat >conftest.$ac_ext <<_ACEOF
65098 /* confdefs.h. */
65099 _ACEOF
65100 cat confdefs.h >>conftest.$ac_ext
65101 cat >>conftest.$ac_ext <<_ACEOF
65102 /* end confdefs.h. */
65103 #include <math.h>
65104 int
65105 main ()
65106 {
65107 _copysignl(0, 0);
65108 ;
65109 return 0;
65110 }
65111 _ACEOF
65112 rm -f conftest.$ac_objext
65113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65114 (eval $ac_compile) 2>conftest.er1
65115 ac_status=$?
65116 grep -v '^ *+' conftest.er1 >conftest.err
65117 rm -f conftest.er1
65118 cat conftest.err >&5
65119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65120 (exit $ac_status); } &&
65121 { ac_try='test -z "$ac_cxx_werror_flag"
65122 || test ! -s conftest.err'
65123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65124 (eval $ac_try) 2>&5
65125 ac_status=$?
65126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65127 (exit $ac_status); }; } &&
65128 { ac_try='test -s conftest.$ac_objext'
65129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65130 (eval $ac_try) 2>&5
65131 ac_status=$?
65132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65133 (exit $ac_status); }; }; then
65134 glibcxx_cv_func__copysignl_use=yes
65135 else
65136 echo "$as_me: failed program was:" >&5
65137 sed 's/^/| /' conftest.$ac_ext >&5
65138
65139 glibcxx_cv_func__copysignl_use=no
65140 fi
65141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65142 ac_ext=c
65143 ac_cpp='$CPP $CPPFLAGS'
65144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65147
65148
65149 fi
65150
65151 fi
65152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
65153 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
65154
65155 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
65156
65157 for ac_func in _copysignl
65158 do
65159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65160 echo "$as_me:$LINENO: checking for $ac_func" >&5
65161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65162 if eval "test \"\${$as_ac_var+set}\" = set"; then
65163 echo $ECHO_N "(cached) $ECHO_C" >&6
65164 else
65165 if test x$gcc_no_link = xyes; then
65166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65168 { (exit 1); exit 1; }; }
65169 fi
65170 cat >conftest.$ac_ext <<_ACEOF
65171 /* confdefs.h. */
65172 _ACEOF
65173 cat confdefs.h >>conftest.$ac_ext
65174 cat >>conftest.$ac_ext <<_ACEOF
65175 /* end confdefs.h. */
65176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65178 #define $ac_func innocuous_$ac_func
65179
65180 /* System header to define __stub macros and hopefully few prototypes,
65181 which can conflict with char $ac_func (); below.
65182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65183 <limits.h> exists even on freestanding compilers. */
65184
65185 #ifdef __STDC__
65186 # include <limits.h>
65187 #else
65188 # include <assert.h>
65189 #endif
65190
65191 #undef $ac_func
65192
65193 /* Override any gcc2 internal prototype to avoid an error. */
65194 #ifdef __cplusplus
65195 extern "C"
65196 {
65197 #endif
65198 /* We use char because int might match the return type of a gcc2
65199 builtin and then its argument prototype would still apply. */
65200 char $ac_func ();
65201 /* The GNU C library defines this for functions which it implements
65202 to always fail with ENOSYS. Some functions are actually named
65203 something starting with __ and the normal name is an alias. */
65204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65205 choke me
65206 #else
65207 char (*f) () = $ac_func;
65208 #endif
65209 #ifdef __cplusplus
65210 }
65211 #endif
65212
65213 int
65214 main ()
65215 {
65216 return f != $ac_func;
65217 ;
65218 return 0;
65219 }
65220 _ACEOF
65221 rm -f conftest.$ac_objext conftest$ac_exeext
65222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65223 (eval $ac_link) 2>conftest.er1
65224 ac_status=$?
65225 grep -v '^ *+' conftest.er1 >conftest.err
65226 rm -f conftest.er1
65227 cat conftest.err >&5
65228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65229 (exit $ac_status); } &&
65230 { ac_try='test -z "$ac_c_werror_flag"
65231 || test ! -s conftest.err'
65232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65233 (eval $ac_try) 2>&5
65234 ac_status=$?
65235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65236 (exit $ac_status); }; } &&
65237 { ac_try='test -s conftest$ac_exeext'
65238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65239 (eval $ac_try) 2>&5
65240 ac_status=$?
65241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65242 (exit $ac_status); }; }; then
65243 eval "$as_ac_var=yes"
65244 else
65245 echo "$as_me: failed program was:" >&5
65246 sed 's/^/| /' conftest.$ac_ext >&5
65247
65248 eval "$as_ac_var=no"
65249 fi
65250 rm -f conftest.err conftest.$ac_objext \
65251 conftest$ac_exeext conftest.$ac_ext
65252 fi
65253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65255 if test `eval echo '${'$as_ac_var'}'` = yes; then
65256 cat >>confdefs.h <<_ACEOF
65257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65258 _ACEOF
65259
65260 fi
65261 done
65262
65263 fi
65264 fi
65265
65266
65267
65268
65269
65270
65271 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
65272 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
65273 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65274 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
65275 echo $ECHO_N "(cached) $ECHO_C" >&6
65276 else
65277
65278
65279
65280 ac_ext=cc
65281 ac_cpp='$CXXCPP $CPPFLAGS'
65282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65285
65286 cat >conftest.$ac_ext <<_ACEOF
65287 /* confdefs.h. */
65288 _ACEOF
65289 cat confdefs.h >>conftest.$ac_ext
65290 cat >>conftest.$ac_ext <<_ACEOF
65291 /* end confdefs.h. */
65292 #include <math.h>
65293 int
65294 main ()
65295 {
65296 atan2l(0, 0);
65297 ;
65298 return 0;
65299 }
65300 _ACEOF
65301 rm -f conftest.$ac_objext
65302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65303 (eval $ac_compile) 2>conftest.er1
65304 ac_status=$?
65305 grep -v '^ *+' conftest.er1 >conftest.err
65306 rm -f conftest.er1
65307 cat conftest.err >&5
65308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65309 (exit $ac_status); } &&
65310 { ac_try='test -z "$ac_cxx_werror_flag"
65311 || test ! -s conftest.err'
65312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65313 (eval $ac_try) 2>&5
65314 ac_status=$?
65315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65316 (exit $ac_status); }; } &&
65317 { ac_try='test -s conftest.$ac_objext'
65318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65319 (eval $ac_try) 2>&5
65320 ac_status=$?
65321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65322 (exit $ac_status); }; }; then
65323 glibcxx_cv_func_atan2l_use=yes
65324 else
65325 echo "$as_me: failed program was:" >&5
65326 sed 's/^/| /' conftest.$ac_ext >&5
65327
65328 glibcxx_cv_func_atan2l_use=no
65329 fi
65330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65331 ac_ext=c
65332 ac_cpp='$CPP $CPPFLAGS'
65333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65336
65337
65338 fi
65339
65340 fi
65341 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
65342 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
65343
65344 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65345
65346 for ac_func in atan2l
65347 do
65348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65349 echo "$as_me:$LINENO: checking for $ac_func" >&5
65350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65351 if eval "test \"\${$as_ac_var+set}\" = set"; then
65352 echo $ECHO_N "(cached) $ECHO_C" >&6
65353 else
65354 if test x$gcc_no_link = xyes; then
65355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65357 { (exit 1); exit 1; }; }
65358 fi
65359 cat >conftest.$ac_ext <<_ACEOF
65360 /* confdefs.h. */
65361 _ACEOF
65362 cat confdefs.h >>conftest.$ac_ext
65363 cat >>conftest.$ac_ext <<_ACEOF
65364 /* end confdefs.h. */
65365 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65367 #define $ac_func innocuous_$ac_func
65368
65369 /* System header to define __stub macros and hopefully few prototypes,
65370 which can conflict with char $ac_func (); below.
65371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65372 <limits.h> exists even on freestanding compilers. */
65373
65374 #ifdef __STDC__
65375 # include <limits.h>
65376 #else
65377 # include <assert.h>
65378 #endif
65379
65380 #undef $ac_func
65381
65382 /* Override any gcc2 internal prototype to avoid an error. */
65383 #ifdef __cplusplus
65384 extern "C"
65385 {
65386 #endif
65387 /* We use char because int might match the return type of a gcc2
65388 builtin and then its argument prototype would still apply. */
65389 char $ac_func ();
65390 /* The GNU C library defines this for functions which it implements
65391 to always fail with ENOSYS. Some functions are actually named
65392 something starting with __ and the normal name is an alias. */
65393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65394 choke me
65395 #else
65396 char (*f) () = $ac_func;
65397 #endif
65398 #ifdef __cplusplus
65399 }
65400 #endif
65401
65402 int
65403 main ()
65404 {
65405 return f != $ac_func;
65406 ;
65407 return 0;
65408 }
65409 _ACEOF
65410 rm -f conftest.$ac_objext conftest$ac_exeext
65411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65412 (eval $ac_link) 2>conftest.er1
65413 ac_status=$?
65414 grep -v '^ *+' conftest.er1 >conftest.err
65415 rm -f conftest.er1
65416 cat conftest.err >&5
65417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65418 (exit $ac_status); } &&
65419 { ac_try='test -z "$ac_c_werror_flag"
65420 || test ! -s conftest.err'
65421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65422 (eval $ac_try) 2>&5
65423 ac_status=$?
65424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65425 (exit $ac_status); }; } &&
65426 { ac_try='test -s conftest$ac_exeext'
65427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65428 (eval $ac_try) 2>&5
65429 ac_status=$?
65430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65431 (exit $ac_status); }; }; then
65432 eval "$as_ac_var=yes"
65433 else
65434 echo "$as_me: failed program was:" >&5
65435 sed 's/^/| /' conftest.$ac_ext >&5
65436
65437 eval "$as_ac_var=no"
65438 fi
65439 rm -f conftest.err conftest.$ac_objext \
65440 conftest$ac_exeext conftest.$ac_ext
65441 fi
65442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65444 if test `eval echo '${'$as_ac_var'}'` = yes; then
65445 cat >>confdefs.h <<_ACEOF
65446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65447 _ACEOF
65448
65449 fi
65450 done
65451
65452 else
65453
65454 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
65455 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
65456 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65457 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
65458 echo $ECHO_N "(cached) $ECHO_C" >&6
65459 else
65460
65461
65462
65463 ac_ext=cc
65464 ac_cpp='$CXXCPP $CPPFLAGS'
65465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65468
65469 cat >conftest.$ac_ext <<_ACEOF
65470 /* confdefs.h. */
65471 _ACEOF
65472 cat confdefs.h >>conftest.$ac_ext
65473 cat >>conftest.$ac_ext <<_ACEOF
65474 /* end confdefs.h. */
65475 #include <math.h>
65476 int
65477 main ()
65478 {
65479 _atan2l(0, 0);
65480 ;
65481 return 0;
65482 }
65483 _ACEOF
65484 rm -f conftest.$ac_objext
65485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65486 (eval $ac_compile) 2>conftest.er1
65487 ac_status=$?
65488 grep -v '^ *+' conftest.er1 >conftest.err
65489 rm -f conftest.er1
65490 cat conftest.err >&5
65491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65492 (exit $ac_status); } &&
65493 { ac_try='test -z "$ac_cxx_werror_flag"
65494 || test ! -s conftest.err'
65495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65496 (eval $ac_try) 2>&5
65497 ac_status=$?
65498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65499 (exit $ac_status); }; } &&
65500 { ac_try='test -s conftest.$ac_objext'
65501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65502 (eval $ac_try) 2>&5
65503 ac_status=$?
65504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65505 (exit $ac_status); }; }; then
65506 glibcxx_cv_func__atan2l_use=yes
65507 else
65508 echo "$as_me: failed program was:" >&5
65509 sed 's/^/| /' conftest.$ac_ext >&5
65510
65511 glibcxx_cv_func__atan2l_use=no
65512 fi
65513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65514 ac_ext=c
65515 ac_cpp='$CPP $CPPFLAGS'
65516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65519
65520
65521 fi
65522
65523 fi
65524 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
65525 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
65526
65527 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65528
65529 for ac_func in _atan2l
65530 do
65531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65532 echo "$as_me:$LINENO: checking for $ac_func" >&5
65533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65534 if eval "test \"\${$as_ac_var+set}\" = set"; then
65535 echo $ECHO_N "(cached) $ECHO_C" >&6
65536 else
65537 if test x$gcc_no_link = xyes; then
65538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65540 { (exit 1); exit 1; }; }
65541 fi
65542 cat >conftest.$ac_ext <<_ACEOF
65543 /* confdefs.h. */
65544 _ACEOF
65545 cat confdefs.h >>conftest.$ac_ext
65546 cat >>conftest.$ac_ext <<_ACEOF
65547 /* end confdefs.h. */
65548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65550 #define $ac_func innocuous_$ac_func
65551
65552 /* System header to define __stub macros and hopefully few prototypes,
65553 which can conflict with char $ac_func (); below.
65554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65555 <limits.h> exists even on freestanding compilers. */
65556
65557 #ifdef __STDC__
65558 # include <limits.h>
65559 #else
65560 # include <assert.h>
65561 #endif
65562
65563 #undef $ac_func
65564
65565 /* Override any gcc2 internal prototype to avoid an error. */
65566 #ifdef __cplusplus
65567 extern "C"
65568 {
65569 #endif
65570 /* We use char because int might match the return type of a gcc2
65571 builtin and then its argument prototype would still apply. */
65572 char $ac_func ();
65573 /* The GNU C library defines this for functions which it implements
65574 to always fail with ENOSYS. Some functions are actually named
65575 something starting with __ and the normal name is an alias. */
65576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65577 choke me
65578 #else
65579 char (*f) () = $ac_func;
65580 #endif
65581 #ifdef __cplusplus
65582 }
65583 #endif
65584
65585 int
65586 main ()
65587 {
65588 return f != $ac_func;
65589 ;
65590 return 0;
65591 }
65592 _ACEOF
65593 rm -f conftest.$ac_objext conftest$ac_exeext
65594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65595 (eval $ac_link) 2>conftest.er1
65596 ac_status=$?
65597 grep -v '^ *+' conftest.er1 >conftest.err
65598 rm -f conftest.er1
65599 cat conftest.err >&5
65600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65601 (exit $ac_status); } &&
65602 { ac_try='test -z "$ac_c_werror_flag"
65603 || test ! -s conftest.err'
65604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65605 (eval $ac_try) 2>&5
65606 ac_status=$?
65607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65608 (exit $ac_status); }; } &&
65609 { ac_try='test -s conftest$ac_exeext'
65610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65611 (eval $ac_try) 2>&5
65612 ac_status=$?
65613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65614 (exit $ac_status); }; }; then
65615 eval "$as_ac_var=yes"
65616 else
65617 echo "$as_me: failed program was:" >&5
65618 sed 's/^/| /' conftest.$ac_ext >&5
65619
65620 eval "$as_ac_var=no"
65621 fi
65622 rm -f conftest.err conftest.$ac_objext \
65623 conftest$ac_exeext conftest.$ac_ext
65624 fi
65625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65627 if test `eval echo '${'$as_ac_var'}'` = yes; then
65628 cat >>confdefs.h <<_ACEOF
65629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65630 _ACEOF
65631
65632 fi
65633 done
65634
65635 fi
65636 fi
65637
65638
65639
65640
65641
65642
65643 echo "$as_me:$LINENO: checking for expl declaration" >&5
65644 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
65645 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65646 if test "${glibcxx_cv_func_expl_use+set}" = set; then
65647 echo $ECHO_N "(cached) $ECHO_C" >&6
65648 else
65649
65650
65651
65652 ac_ext=cc
65653 ac_cpp='$CXXCPP $CPPFLAGS'
65654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65657
65658 cat >conftest.$ac_ext <<_ACEOF
65659 /* confdefs.h. */
65660 _ACEOF
65661 cat confdefs.h >>conftest.$ac_ext
65662 cat >>conftest.$ac_ext <<_ACEOF
65663 /* end confdefs.h. */
65664 #include <math.h>
65665 #ifdef HAVE_IEEEFP_H
65666 #include <ieeefp.h>
65667 #endif
65668
65669 int
65670 main ()
65671 {
65672 expl(0);
65673 ;
65674 return 0;
65675 }
65676 _ACEOF
65677 rm -f conftest.$ac_objext
65678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65679 (eval $ac_compile) 2>conftest.er1
65680 ac_status=$?
65681 grep -v '^ *+' conftest.er1 >conftest.err
65682 rm -f conftest.er1
65683 cat conftest.err >&5
65684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65685 (exit $ac_status); } &&
65686 { ac_try='test -z "$ac_cxx_werror_flag"
65687 || test ! -s conftest.err'
65688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65689 (eval $ac_try) 2>&5
65690 ac_status=$?
65691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65692 (exit $ac_status); }; } &&
65693 { ac_try='test -s conftest.$ac_objext'
65694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65695 (eval $ac_try) 2>&5
65696 ac_status=$?
65697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65698 (exit $ac_status); }; }; then
65699 glibcxx_cv_func_expl_use=yes
65700 else
65701 echo "$as_me: failed program was:" >&5
65702 sed 's/^/| /' conftest.$ac_ext >&5
65703
65704 glibcxx_cv_func_expl_use=no
65705 fi
65706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65707 ac_ext=c
65708 ac_cpp='$CPP $CPPFLAGS'
65709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65712
65713
65714 fi
65715
65716 fi
65717 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65718 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65719
65720 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65721
65722 for ac_func in expl
65723 do
65724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65725 echo "$as_me:$LINENO: checking for $ac_func" >&5
65726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65727 if eval "test \"\${$as_ac_var+set}\" = set"; then
65728 echo $ECHO_N "(cached) $ECHO_C" >&6
65729 else
65730 if test x$gcc_no_link = xyes; then
65731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65733 { (exit 1); exit 1; }; }
65734 fi
65735 cat >conftest.$ac_ext <<_ACEOF
65736 /* confdefs.h. */
65737 _ACEOF
65738 cat confdefs.h >>conftest.$ac_ext
65739 cat >>conftest.$ac_ext <<_ACEOF
65740 /* end confdefs.h. */
65741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65743 #define $ac_func innocuous_$ac_func
65744
65745 /* System header to define __stub macros and hopefully few prototypes,
65746 which can conflict with char $ac_func (); below.
65747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65748 <limits.h> exists even on freestanding compilers. */
65749
65750 #ifdef __STDC__
65751 # include <limits.h>
65752 #else
65753 # include <assert.h>
65754 #endif
65755
65756 #undef $ac_func
65757
65758 /* Override any gcc2 internal prototype to avoid an error. */
65759 #ifdef __cplusplus
65760 extern "C"
65761 {
65762 #endif
65763 /* We use char because int might match the return type of a gcc2
65764 builtin and then its argument prototype would still apply. */
65765 char $ac_func ();
65766 /* The GNU C library defines this for functions which it implements
65767 to always fail with ENOSYS. Some functions are actually named
65768 something starting with __ and the normal name is an alias. */
65769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65770 choke me
65771 #else
65772 char (*f) () = $ac_func;
65773 #endif
65774 #ifdef __cplusplus
65775 }
65776 #endif
65777
65778 int
65779 main ()
65780 {
65781 return f != $ac_func;
65782 ;
65783 return 0;
65784 }
65785 _ACEOF
65786 rm -f conftest.$ac_objext conftest$ac_exeext
65787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65788 (eval $ac_link) 2>conftest.er1
65789 ac_status=$?
65790 grep -v '^ *+' conftest.er1 >conftest.err
65791 rm -f conftest.er1
65792 cat conftest.err >&5
65793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65794 (exit $ac_status); } &&
65795 { ac_try='test -z "$ac_c_werror_flag"
65796 || test ! -s conftest.err'
65797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65798 (eval $ac_try) 2>&5
65799 ac_status=$?
65800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65801 (exit $ac_status); }; } &&
65802 { ac_try='test -s conftest$ac_exeext'
65803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65804 (eval $ac_try) 2>&5
65805 ac_status=$?
65806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65807 (exit $ac_status); }; }; then
65808 eval "$as_ac_var=yes"
65809 else
65810 echo "$as_me: failed program was:" >&5
65811 sed 's/^/| /' conftest.$ac_ext >&5
65812
65813 eval "$as_ac_var=no"
65814 fi
65815 rm -f conftest.err conftest.$ac_objext \
65816 conftest$ac_exeext conftest.$ac_ext
65817 fi
65818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65820 if test `eval echo '${'$as_ac_var'}'` = yes; then
65821 cat >>confdefs.h <<_ACEOF
65822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65823 _ACEOF
65824
65825 fi
65826 done
65827
65828 else
65829
65830 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65831 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65832 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65833 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65834 echo $ECHO_N "(cached) $ECHO_C" >&6
65835 else
65836
65837
65838
65839 ac_ext=cc
65840 ac_cpp='$CXXCPP $CPPFLAGS'
65841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65844
65845 cat >conftest.$ac_ext <<_ACEOF
65846 /* confdefs.h. */
65847 _ACEOF
65848 cat confdefs.h >>conftest.$ac_ext
65849 cat >>conftest.$ac_ext <<_ACEOF
65850 /* end confdefs.h. */
65851 #include <math.h>
65852 #ifdef HAVE_IEEEFP_H
65853 #include <ieeefp.h>
65854 #endif
65855
65856 int
65857 main ()
65858 {
65859 _expl(0);
65860 ;
65861 return 0;
65862 }
65863 _ACEOF
65864 rm -f conftest.$ac_objext
65865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65866 (eval $ac_compile) 2>conftest.er1
65867 ac_status=$?
65868 grep -v '^ *+' conftest.er1 >conftest.err
65869 rm -f conftest.er1
65870 cat conftest.err >&5
65871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65872 (exit $ac_status); } &&
65873 { ac_try='test -z "$ac_cxx_werror_flag"
65874 || test ! -s conftest.err'
65875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65876 (eval $ac_try) 2>&5
65877 ac_status=$?
65878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65879 (exit $ac_status); }; } &&
65880 { ac_try='test -s conftest.$ac_objext'
65881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65882 (eval $ac_try) 2>&5
65883 ac_status=$?
65884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65885 (exit $ac_status); }; }; then
65886 glibcxx_cv_func__expl_use=yes
65887 else
65888 echo "$as_me: failed program was:" >&5
65889 sed 's/^/| /' conftest.$ac_ext >&5
65890
65891 glibcxx_cv_func__expl_use=no
65892 fi
65893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65894 ac_ext=c
65895 ac_cpp='$CPP $CPPFLAGS'
65896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65899
65900
65901 fi
65902
65903 fi
65904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65905 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65906
65907 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65908
65909 for ac_func in _expl
65910 do
65911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65912 echo "$as_me:$LINENO: checking for $ac_func" >&5
65913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65914 if eval "test \"\${$as_ac_var+set}\" = set"; then
65915 echo $ECHO_N "(cached) $ECHO_C" >&6
65916 else
65917 if test x$gcc_no_link = xyes; then
65918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65920 { (exit 1); exit 1; }; }
65921 fi
65922 cat >conftest.$ac_ext <<_ACEOF
65923 /* confdefs.h. */
65924 _ACEOF
65925 cat confdefs.h >>conftest.$ac_ext
65926 cat >>conftest.$ac_ext <<_ACEOF
65927 /* end confdefs.h. */
65928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65930 #define $ac_func innocuous_$ac_func
65931
65932 /* System header to define __stub macros and hopefully few prototypes,
65933 which can conflict with char $ac_func (); below.
65934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65935 <limits.h> exists even on freestanding compilers. */
65936
65937 #ifdef __STDC__
65938 # include <limits.h>
65939 #else
65940 # include <assert.h>
65941 #endif
65942
65943 #undef $ac_func
65944
65945 /* Override any gcc2 internal prototype to avoid an error. */
65946 #ifdef __cplusplus
65947 extern "C"
65948 {
65949 #endif
65950 /* We use char because int might match the return type of a gcc2
65951 builtin and then its argument prototype would still apply. */
65952 char $ac_func ();
65953 /* The GNU C library defines this for functions which it implements
65954 to always fail with ENOSYS. Some functions are actually named
65955 something starting with __ and the normal name is an alias. */
65956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65957 choke me
65958 #else
65959 char (*f) () = $ac_func;
65960 #endif
65961 #ifdef __cplusplus
65962 }
65963 #endif
65964
65965 int
65966 main ()
65967 {
65968 return f != $ac_func;
65969 ;
65970 return 0;
65971 }
65972 _ACEOF
65973 rm -f conftest.$ac_objext conftest$ac_exeext
65974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65975 (eval $ac_link) 2>conftest.er1
65976 ac_status=$?
65977 grep -v '^ *+' conftest.er1 >conftest.err
65978 rm -f conftest.er1
65979 cat conftest.err >&5
65980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65981 (exit $ac_status); } &&
65982 { ac_try='test -z "$ac_c_werror_flag"
65983 || test ! -s conftest.err'
65984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65985 (eval $ac_try) 2>&5
65986 ac_status=$?
65987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65988 (exit $ac_status); }; } &&
65989 { ac_try='test -s conftest$ac_exeext'
65990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65991 (eval $ac_try) 2>&5
65992 ac_status=$?
65993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65994 (exit $ac_status); }; }; then
65995 eval "$as_ac_var=yes"
65996 else
65997 echo "$as_me: failed program was:" >&5
65998 sed 's/^/| /' conftest.$ac_ext >&5
65999
66000 eval "$as_ac_var=no"
66001 fi
66002 rm -f conftest.err conftest.$ac_objext \
66003 conftest$ac_exeext conftest.$ac_ext
66004 fi
66005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66007 if test `eval echo '${'$as_ac_var'}'` = yes; then
66008 cat >>confdefs.h <<_ACEOF
66009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66010 _ACEOF
66011
66012 fi
66013 done
66014
66015 fi
66016 fi
66017
66018
66019
66020
66021
66022
66023 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66024 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66025 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66026 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66027 echo $ECHO_N "(cached) $ECHO_C" >&6
66028 else
66029
66030
66031
66032 ac_ext=cc
66033 ac_cpp='$CXXCPP $CPPFLAGS'
66034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66037
66038 cat >conftest.$ac_ext <<_ACEOF
66039 /* confdefs.h. */
66040 _ACEOF
66041 cat confdefs.h >>conftest.$ac_ext
66042 cat >>conftest.$ac_ext <<_ACEOF
66043 /* end confdefs.h. */
66044 #include <math.h>
66045 #ifdef HAVE_IEEEFP_H
66046 #include <ieeefp.h>
66047 #endif
66048
66049 int
66050 main ()
66051 {
66052 fabsl(0);
66053 ;
66054 return 0;
66055 }
66056 _ACEOF
66057 rm -f conftest.$ac_objext
66058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66059 (eval $ac_compile) 2>conftest.er1
66060 ac_status=$?
66061 grep -v '^ *+' conftest.er1 >conftest.err
66062 rm -f conftest.er1
66063 cat conftest.err >&5
66064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66065 (exit $ac_status); } &&
66066 { ac_try='test -z "$ac_cxx_werror_flag"
66067 || test ! -s conftest.err'
66068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66069 (eval $ac_try) 2>&5
66070 ac_status=$?
66071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66072 (exit $ac_status); }; } &&
66073 { ac_try='test -s conftest.$ac_objext'
66074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66075 (eval $ac_try) 2>&5
66076 ac_status=$?
66077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66078 (exit $ac_status); }; }; then
66079 glibcxx_cv_func_fabsl_use=yes
66080 else
66081 echo "$as_me: failed program was:" >&5
66082 sed 's/^/| /' conftest.$ac_ext >&5
66083
66084 glibcxx_cv_func_fabsl_use=no
66085 fi
66086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66087 ac_ext=c
66088 ac_cpp='$CPP $CPPFLAGS'
66089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66092
66093
66094 fi
66095
66096 fi
66097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
66098 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
66099
66100 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
66101
66102 for ac_func in fabsl
66103 do
66104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66105 echo "$as_me:$LINENO: checking for $ac_func" >&5
66106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66107 if eval "test \"\${$as_ac_var+set}\" = set"; then
66108 echo $ECHO_N "(cached) $ECHO_C" >&6
66109 else
66110 if test x$gcc_no_link = xyes; then
66111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66113 { (exit 1); exit 1; }; }
66114 fi
66115 cat >conftest.$ac_ext <<_ACEOF
66116 /* confdefs.h. */
66117 _ACEOF
66118 cat confdefs.h >>conftest.$ac_ext
66119 cat >>conftest.$ac_ext <<_ACEOF
66120 /* end confdefs.h. */
66121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66123 #define $ac_func innocuous_$ac_func
66124
66125 /* System header to define __stub macros and hopefully few prototypes,
66126 which can conflict with char $ac_func (); below.
66127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66128 <limits.h> exists even on freestanding compilers. */
66129
66130 #ifdef __STDC__
66131 # include <limits.h>
66132 #else
66133 # include <assert.h>
66134 #endif
66135
66136 #undef $ac_func
66137
66138 /* Override any gcc2 internal prototype to avoid an error. */
66139 #ifdef __cplusplus
66140 extern "C"
66141 {
66142 #endif
66143 /* We use char because int might match the return type of a gcc2
66144 builtin and then its argument prototype would still apply. */
66145 char $ac_func ();
66146 /* The GNU C library defines this for functions which it implements
66147 to always fail with ENOSYS. Some functions are actually named
66148 something starting with __ and the normal name is an alias. */
66149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66150 choke me
66151 #else
66152 char (*f) () = $ac_func;
66153 #endif
66154 #ifdef __cplusplus
66155 }
66156 #endif
66157
66158 int
66159 main ()
66160 {
66161 return f != $ac_func;
66162 ;
66163 return 0;
66164 }
66165 _ACEOF
66166 rm -f conftest.$ac_objext conftest$ac_exeext
66167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66168 (eval $ac_link) 2>conftest.er1
66169 ac_status=$?
66170 grep -v '^ *+' conftest.er1 >conftest.err
66171 rm -f conftest.er1
66172 cat conftest.err >&5
66173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66174 (exit $ac_status); } &&
66175 { ac_try='test -z "$ac_c_werror_flag"
66176 || test ! -s conftest.err'
66177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66178 (eval $ac_try) 2>&5
66179 ac_status=$?
66180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66181 (exit $ac_status); }; } &&
66182 { ac_try='test -s conftest$ac_exeext'
66183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66184 (eval $ac_try) 2>&5
66185 ac_status=$?
66186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66187 (exit $ac_status); }; }; then
66188 eval "$as_ac_var=yes"
66189 else
66190 echo "$as_me: failed program was:" >&5
66191 sed 's/^/| /' conftest.$ac_ext >&5
66192
66193 eval "$as_ac_var=no"
66194 fi
66195 rm -f conftest.err conftest.$ac_objext \
66196 conftest$ac_exeext conftest.$ac_ext
66197 fi
66198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66200 if test `eval echo '${'$as_ac_var'}'` = yes; then
66201 cat >>confdefs.h <<_ACEOF
66202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66203 _ACEOF
66204
66205 fi
66206 done
66207
66208 else
66209
66210 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
66211 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
66212 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
66213 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
66214 echo $ECHO_N "(cached) $ECHO_C" >&6
66215 else
66216
66217
66218
66219 ac_ext=cc
66220 ac_cpp='$CXXCPP $CPPFLAGS'
66221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66224
66225 cat >conftest.$ac_ext <<_ACEOF
66226 /* confdefs.h. */
66227 _ACEOF
66228 cat confdefs.h >>conftest.$ac_ext
66229 cat >>conftest.$ac_ext <<_ACEOF
66230 /* end confdefs.h. */
66231 #include <math.h>
66232 #ifdef HAVE_IEEEFP_H
66233 #include <ieeefp.h>
66234 #endif
66235
66236 int
66237 main ()
66238 {
66239 _fabsl(0);
66240 ;
66241 return 0;
66242 }
66243 _ACEOF
66244 rm -f conftest.$ac_objext
66245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66246 (eval $ac_compile) 2>conftest.er1
66247 ac_status=$?
66248 grep -v '^ *+' conftest.er1 >conftest.err
66249 rm -f conftest.er1
66250 cat conftest.err >&5
66251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66252 (exit $ac_status); } &&
66253 { ac_try='test -z "$ac_cxx_werror_flag"
66254 || test ! -s conftest.err'
66255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66256 (eval $ac_try) 2>&5
66257 ac_status=$?
66258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66259 (exit $ac_status); }; } &&
66260 { ac_try='test -s conftest.$ac_objext'
66261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66262 (eval $ac_try) 2>&5
66263 ac_status=$?
66264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66265 (exit $ac_status); }; }; then
66266 glibcxx_cv_func__fabsl_use=yes
66267 else
66268 echo "$as_me: failed program was:" >&5
66269 sed 's/^/| /' conftest.$ac_ext >&5
66270
66271 glibcxx_cv_func__fabsl_use=no
66272 fi
66273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66274 ac_ext=c
66275 ac_cpp='$CPP $CPPFLAGS'
66276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66279
66280
66281 fi
66282
66283 fi
66284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
66285 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
66286
66287 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
66288
66289 for ac_func in _fabsl
66290 do
66291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66292 echo "$as_me:$LINENO: checking for $ac_func" >&5
66293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66294 if eval "test \"\${$as_ac_var+set}\" = set"; then
66295 echo $ECHO_N "(cached) $ECHO_C" >&6
66296 else
66297 if test x$gcc_no_link = xyes; then
66298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66300 { (exit 1); exit 1; }; }
66301 fi
66302 cat >conftest.$ac_ext <<_ACEOF
66303 /* confdefs.h. */
66304 _ACEOF
66305 cat confdefs.h >>conftest.$ac_ext
66306 cat >>conftest.$ac_ext <<_ACEOF
66307 /* end confdefs.h. */
66308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66310 #define $ac_func innocuous_$ac_func
66311
66312 /* System header to define __stub macros and hopefully few prototypes,
66313 which can conflict with char $ac_func (); below.
66314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66315 <limits.h> exists even on freestanding compilers. */
66316
66317 #ifdef __STDC__
66318 # include <limits.h>
66319 #else
66320 # include <assert.h>
66321 #endif
66322
66323 #undef $ac_func
66324
66325 /* Override any gcc2 internal prototype to avoid an error. */
66326 #ifdef __cplusplus
66327 extern "C"
66328 {
66329 #endif
66330 /* We use char because int might match the return type of a gcc2
66331 builtin and then its argument prototype would still apply. */
66332 char $ac_func ();
66333 /* The GNU C library defines this for functions which it implements
66334 to always fail with ENOSYS. Some functions are actually named
66335 something starting with __ and the normal name is an alias. */
66336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66337 choke me
66338 #else
66339 char (*f) () = $ac_func;
66340 #endif
66341 #ifdef __cplusplus
66342 }
66343 #endif
66344
66345 int
66346 main ()
66347 {
66348 return f != $ac_func;
66349 ;
66350 return 0;
66351 }
66352 _ACEOF
66353 rm -f conftest.$ac_objext conftest$ac_exeext
66354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66355 (eval $ac_link) 2>conftest.er1
66356 ac_status=$?
66357 grep -v '^ *+' conftest.er1 >conftest.err
66358 rm -f conftest.er1
66359 cat conftest.err >&5
66360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66361 (exit $ac_status); } &&
66362 { ac_try='test -z "$ac_c_werror_flag"
66363 || test ! -s conftest.err'
66364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66365 (eval $ac_try) 2>&5
66366 ac_status=$?
66367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66368 (exit $ac_status); }; } &&
66369 { ac_try='test -s conftest$ac_exeext'
66370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66371 (eval $ac_try) 2>&5
66372 ac_status=$?
66373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66374 (exit $ac_status); }; }; then
66375 eval "$as_ac_var=yes"
66376 else
66377 echo "$as_me: failed program was:" >&5
66378 sed 's/^/| /' conftest.$ac_ext >&5
66379
66380 eval "$as_ac_var=no"
66381 fi
66382 rm -f conftest.err conftest.$ac_objext \
66383 conftest$ac_exeext conftest.$ac_ext
66384 fi
66385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66387 if test `eval echo '${'$as_ac_var'}'` = yes; then
66388 cat >>confdefs.h <<_ACEOF
66389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66390 _ACEOF
66391
66392 fi
66393 done
66394
66395 fi
66396 fi
66397
66398
66399
66400
66401
66402
66403 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
66404 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
66405 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
66406 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
66407 echo $ECHO_N "(cached) $ECHO_C" >&6
66408 else
66409
66410
66411
66412 ac_ext=cc
66413 ac_cpp='$CXXCPP $CPPFLAGS'
66414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66417
66418 cat >conftest.$ac_ext <<_ACEOF
66419 /* confdefs.h. */
66420 _ACEOF
66421 cat confdefs.h >>conftest.$ac_ext
66422 cat >>conftest.$ac_ext <<_ACEOF
66423 /* end confdefs.h. */
66424 #include <math.h>
66425 int
66426 main ()
66427 {
66428 fmodl(0, 0);
66429 ;
66430 return 0;
66431 }
66432 _ACEOF
66433 rm -f conftest.$ac_objext
66434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66435 (eval $ac_compile) 2>conftest.er1
66436 ac_status=$?
66437 grep -v '^ *+' conftest.er1 >conftest.err
66438 rm -f conftest.er1
66439 cat conftest.err >&5
66440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66441 (exit $ac_status); } &&
66442 { ac_try='test -z "$ac_cxx_werror_flag"
66443 || test ! -s conftest.err'
66444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66445 (eval $ac_try) 2>&5
66446 ac_status=$?
66447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66448 (exit $ac_status); }; } &&
66449 { ac_try='test -s conftest.$ac_objext'
66450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66451 (eval $ac_try) 2>&5
66452 ac_status=$?
66453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66454 (exit $ac_status); }; }; then
66455 glibcxx_cv_func_fmodl_use=yes
66456 else
66457 echo "$as_me: failed program was:" >&5
66458 sed 's/^/| /' conftest.$ac_ext >&5
66459
66460 glibcxx_cv_func_fmodl_use=no
66461 fi
66462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66463 ac_ext=c
66464 ac_cpp='$CPP $CPPFLAGS'
66465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66468
66469
66470 fi
66471
66472 fi
66473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
66474 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
66475
66476 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
66477
66478 for ac_func in fmodl
66479 do
66480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66481 echo "$as_me:$LINENO: checking for $ac_func" >&5
66482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66483 if eval "test \"\${$as_ac_var+set}\" = set"; then
66484 echo $ECHO_N "(cached) $ECHO_C" >&6
66485 else
66486 if test x$gcc_no_link = xyes; then
66487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66489 { (exit 1); exit 1; }; }
66490 fi
66491 cat >conftest.$ac_ext <<_ACEOF
66492 /* confdefs.h. */
66493 _ACEOF
66494 cat confdefs.h >>conftest.$ac_ext
66495 cat >>conftest.$ac_ext <<_ACEOF
66496 /* end confdefs.h. */
66497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66499 #define $ac_func innocuous_$ac_func
66500
66501 /* System header to define __stub macros and hopefully few prototypes,
66502 which can conflict with char $ac_func (); below.
66503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66504 <limits.h> exists even on freestanding compilers. */
66505
66506 #ifdef __STDC__
66507 # include <limits.h>
66508 #else
66509 # include <assert.h>
66510 #endif
66511
66512 #undef $ac_func
66513
66514 /* Override any gcc2 internal prototype to avoid an error. */
66515 #ifdef __cplusplus
66516 extern "C"
66517 {
66518 #endif
66519 /* We use char because int might match the return type of a gcc2
66520 builtin and then its argument prototype would still apply. */
66521 char $ac_func ();
66522 /* The GNU C library defines this for functions which it implements
66523 to always fail with ENOSYS. Some functions are actually named
66524 something starting with __ and the normal name is an alias. */
66525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66526 choke me
66527 #else
66528 char (*f) () = $ac_func;
66529 #endif
66530 #ifdef __cplusplus
66531 }
66532 #endif
66533
66534 int
66535 main ()
66536 {
66537 return f != $ac_func;
66538 ;
66539 return 0;
66540 }
66541 _ACEOF
66542 rm -f conftest.$ac_objext conftest$ac_exeext
66543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66544 (eval $ac_link) 2>conftest.er1
66545 ac_status=$?
66546 grep -v '^ *+' conftest.er1 >conftest.err
66547 rm -f conftest.er1
66548 cat conftest.err >&5
66549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66550 (exit $ac_status); } &&
66551 { ac_try='test -z "$ac_c_werror_flag"
66552 || test ! -s conftest.err'
66553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66554 (eval $ac_try) 2>&5
66555 ac_status=$?
66556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66557 (exit $ac_status); }; } &&
66558 { ac_try='test -s conftest$ac_exeext'
66559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66560 (eval $ac_try) 2>&5
66561 ac_status=$?
66562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66563 (exit $ac_status); }; }; then
66564 eval "$as_ac_var=yes"
66565 else
66566 echo "$as_me: failed program was:" >&5
66567 sed 's/^/| /' conftest.$ac_ext >&5
66568
66569 eval "$as_ac_var=no"
66570 fi
66571 rm -f conftest.err conftest.$ac_objext \
66572 conftest$ac_exeext conftest.$ac_ext
66573 fi
66574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66576 if test `eval echo '${'$as_ac_var'}'` = yes; then
66577 cat >>confdefs.h <<_ACEOF
66578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66579 _ACEOF
66580
66581 fi
66582 done
66583
66584 else
66585
66586 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
66587 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
66588 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
66589 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
66590 echo $ECHO_N "(cached) $ECHO_C" >&6
66591 else
66592
66593
66594
66595 ac_ext=cc
66596 ac_cpp='$CXXCPP $CPPFLAGS'
66597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66600
66601 cat >conftest.$ac_ext <<_ACEOF
66602 /* confdefs.h. */
66603 _ACEOF
66604 cat confdefs.h >>conftest.$ac_ext
66605 cat >>conftest.$ac_ext <<_ACEOF
66606 /* end confdefs.h. */
66607 #include <math.h>
66608 int
66609 main ()
66610 {
66611 _fmodl(0, 0);
66612 ;
66613 return 0;
66614 }
66615 _ACEOF
66616 rm -f conftest.$ac_objext
66617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66618 (eval $ac_compile) 2>conftest.er1
66619 ac_status=$?
66620 grep -v '^ *+' conftest.er1 >conftest.err
66621 rm -f conftest.er1
66622 cat conftest.err >&5
66623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66624 (exit $ac_status); } &&
66625 { ac_try='test -z "$ac_cxx_werror_flag"
66626 || test ! -s conftest.err'
66627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66628 (eval $ac_try) 2>&5
66629 ac_status=$?
66630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66631 (exit $ac_status); }; } &&
66632 { ac_try='test -s conftest.$ac_objext'
66633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66634 (eval $ac_try) 2>&5
66635 ac_status=$?
66636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66637 (exit $ac_status); }; }; then
66638 glibcxx_cv_func__fmodl_use=yes
66639 else
66640 echo "$as_me: failed program was:" >&5
66641 sed 's/^/| /' conftest.$ac_ext >&5
66642
66643 glibcxx_cv_func__fmodl_use=no
66644 fi
66645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66646 ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66651
66652
66653 fi
66654
66655 fi
66656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
66657 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
66658
66659 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
66660
66661 for ac_func in _fmodl
66662 do
66663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66664 echo "$as_me:$LINENO: checking for $ac_func" >&5
66665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66666 if eval "test \"\${$as_ac_var+set}\" = set"; then
66667 echo $ECHO_N "(cached) $ECHO_C" >&6
66668 else
66669 if test x$gcc_no_link = xyes; then
66670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66672 { (exit 1); exit 1; }; }
66673 fi
66674 cat >conftest.$ac_ext <<_ACEOF
66675 /* confdefs.h. */
66676 _ACEOF
66677 cat confdefs.h >>conftest.$ac_ext
66678 cat >>conftest.$ac_ext <<_ACEOF
66679 /* end confdefs.h. */
66680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66682 #define $ac_func innocuous_$ac_func
66683
66684 /* System header to define __stub macros and hopefully few prototypes,
66685 which can conflict with char $ac_func (); below.
66686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66687 <limits.h> exists even on freestanding compilers. */
66688
66689 #ifdef __STDC__
66690 # include <limits.h>
66691 #else
66692 # include <assert.h>
66693 #endif
66694
66695 #undef $ac_func
66696
66697 /* Override any gcc2 internal prototype to avoid an error. */
66698 #ifdef __cplusplus
66699 extern "C"
66700 {
66701 #endif
66702 /* We use char because int might match the return type of a gcc2
66703 builtin and then its argument prototype would still apply. */
66704 char $ac_func ();
66705 /* The GNU C library defines this for functions which it implements
66706 to always fail with ENOSYS. Some functions are actually named
66707 something starting with __ and the normal name is an alias. */
66708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66709 choke me
66710 #else
66711 char (*f) () = $ac_func;
66712 #endif
66713 #ifdef __cplusplus
66714 }
66715 #endif
66716
66717 int
66718 main ()
66719 {
66720 return f != $ac_func;
66721 ;
66722 return 0;
66723 }
66724 _ACEOF
66725 rm -f conftest.$ac_objext conftest$ac_exeext
66726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66727 (eval $ac_link) 2>conftest.er1
66728 ac_status=$?
66729 grep -v '^ *+' conftest.er1 >conftest.err
66730 rm -f conftest.er1
66731 cat conftest.err >&5
66732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66733 (exit $ac_status); } &&
66734 { ac_try='test -z "$ac_c_werror_flag"
66735 || test ! -s conftest.err'
66736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66737 (eval $ac_try) 2>&5
66738 ac_status=$?
66739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66740 (exit $ac_status); }; } &&
66741 { ac_try='test -s conftest$ac_exeext'
66742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66743 (eval $ac_try) 2>&5
66744 ac_status=$?
66745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66746 (exit $ac_status); }; }; then
66747 eval "$as_ac_var=yes"
66748 else
66749 echo "$as_me: failed program was:" >&5
66750 sed 's/^/| /' conftest.$ac_ext >&5
66751
66752 eval "$as_ac_var=no"
66753 fi
66754 rm -f conftest.err conftest.$ac_objext \
66755 conftest$ac_exeext conftest.$ac_ext
66756 fi
66757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66759 if test `eval echo '${'$as_ac_var'}'` = yes; then
66760 cat >>confdefs.h <<_ACEOF
66761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66762 _ACEOF
66763
66764 fi
66765 done
66766
66767 fi
66768 fi
66769
66770
66771
66772
66773
66774
66775 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66776 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66777 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66778 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66779 echo $ECHO_N "(cached) $ECHO_C" >&6
66780 else
66781
66782
66783
66784 ac_ext=cc
66785 ac_cpp='$CXXCPP $CPPFLAGS'
66786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66789
66790 cat >conftest.$ac_ext <<_ACEOF
66791 /* confdefs.h. */
66792 _ACEOF
66793 cat confdefs.h >>conftest.$ac_ext
66794 cat >>conftest.$ac_ext <<_ACEOF
66795 /* end confdefs.h. */
66796 #include <math.h>
66797 int
66798 main ()
66799 {
66800 frexpl(0, 0);
66801 ;
66802 return 0;
66803 }
66804 _ACEOF
66805 rm -f conftest.$ac_objext
66806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66807 (eval $ac_compile) 2>conftest.er1
66808 ac_status=$?
66809 grep -v '^ *+' conftest.er1 >conftest.err
66810 rm -f conftest.er1
66811 cat conftest.err >&5
66812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66813 (exit $ac_status); } &&
66814 { ac_try='test -z "$ac_cxx_werror_flag"
66815 || test ! -s conftest.err'
66816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66817 (eval $ac_try) 2>&5
66818 ac_status=$?
66819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66820 (exit $ac_status); }; } &&
66821 { ac_try='test -s conftest.$ac_objext'
66822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66823 (eval $ac_try) 2>&5
66824 ac_status=$?
66825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66826 (exit $ac_status); }; }; then
66827 glibcxx_cv_func_frexpl_use=yes
66828 else
66829 echo "$as_me: failed program was:" >&5
66830 sed 's/^/| /' conftest.$ac_ext >&5
66831
66832 glibcxx_cv_func_frexpl_use=no
66833 fi
66834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66835 ac_ext=c
66836 ac_cpp='$CPP $CPPFLAGS'
66837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66840
66841
66842 fi
66843
66844 fi
66845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66846 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66847
66848 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66849
66850 for ac_func in frexpl
66851 do
66852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66853 echo "$as_me:$LINENO: checking for $ac_func" >&5
66854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66855 if eval "test \"\${$as_ac_var+set}\" = set"; then
66856 echo $ECHO_N "(cached) $ECHO_C" >&6
66857 else
66858 if test x$gcc_no_link = xyes; then
66859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66861 { (exit 1); exit 1; }; }
66862 fi
66863 cat >conftest.$ac_ext <<_ACEOF
66864 /* confdefs.h. */
66865 _ACEOF
66866 cat confdefs.h >>conftest.$ac_ext
66867 cat >>conftest.$ac_ext <<_ACEOF
66868 /* end confdefs.h. */
66869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66871 #define $ac_func innocuous_$ac_func
66872
66873 /* System header to define __stub macros and hopefully few prototypes,
66874 which can conflict with char $ac_func (); below.
66875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66876 <limits.h> exists even on freestanding compilers. */
66877
66878 #ifdef __STDC__
66879 # include <limits.h>
66880 #else
66881 # include <assert.h>
66882 #endif
66883
66884 #undef $ac_func
66885
66886 /* Override any gcc2 internal prototype to avoid an error. */
66887 #ifdef __cplusplus
66888 extern "C"
66889 {
66890 #endif
66891 /* We use char because int might match the return type of a gcc2
66892 builtin and then its argument prototype would still apply. */
66893 char $ac_func ();
66894 /* The GNU C library defines this for functions which it implements
66895 to always fail with ENOSYS. Some functions are actually named
66896 something starting with __ and the normal name is an alias. */
66897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66898 choke me
66899 #else
66900 char (*f) () = $ac_func;
66901 #endif
66902 #ifdef __cplusplus
66903 }
66904 #endif
66905
66906 int
66907 main ()
66908 {
66909 return f != $ac_func;
66910 ;
66911 return 0;
66912 }
66913 _ACEOF
66914 rm -f conftest.$ac_objext conftest$ac_exeext
66915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66916 (eval $ac_link) 2>conftest.er1
66917 ac_status=$?
66918 grep -v '^ *+' conftest.er1 >conftest.err
66919 rm -f conftest.er1
66920 cat conftest.err >&5
66921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66922 (exit $ac_status); } &&
66923 { ac_try='test -z "$ac_c_werror_flag"
66924 || test ! -s conftest.err'
66925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66926 (eval $ac_try) 2>&5
66927 ac_status=$?
66928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66929 (exit $ac_status); }; } &&
66930 { ac_try='test -s conftest$ac_exeext'
66931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66932 (eval $ac_try) 2>&5
66933 ac_status=$?
66934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935 (exit $ac_status); }; }; then
66936 eval "$as_ac_var=yes"
66937 else
66938 echo "$as_me: failed program was:" >&5
66939 sed 's/^/| /' conftest.$ac_ext >&5
66940
66941 eval "$as_ac_var=no"
66942 fi
66943 rm -f conftest.err conftest.$ac_objext \
66944 conftest$ac_exeext conftest.$ac_ext
66945 fi
66946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66948 if test `eval echo '${'$as_ac_var'}'` = yes; then
66949 cat >>confdefs.h <<_ACEOF
66950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66951 _ACEOF
66952
66953 fi
66954 done
66955
66956 else
66957
66958 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66959 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66960 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66961 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66962 echo $ECHO_N "(cached) $ECHO_C" >&6
66963 else
66964
66965
66966
66967 ac_ext=cc
66968 ac_cpp='$CXXCPP $CPPFLAGS'
66969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66972
66973 cat >conftest.$ac_ext <<_ACEOF
66974 /* confdefs.h. */
66975 _ACEOF
66976 cat confdefs.h >>conftest.$ac_ext
66977 cat >>conftest.$ac_ext <<_ACEOF
66978 /* end confdefs.h. */
66979 #include <math.h>
66980 int
66981 main ()
66982 {
66983 _frexpl(0, 0);
66984 ;
66985 return 0;
66986 }
66987 _ACEOF
66988 rm -f conftest.$ac_objext
66989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66990 (eval $ac_compile) 2>conftest.er1
66991 ac_status=$?
66992 grep -v '^ *+' conftest.er1 >conftest.err
66993 rm -f conftest.er1
66994 cat conftest.err >&5
66995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66996 (exit $ac_status); } &&
66997 { ac_try='test -z "$ac_cxx_werror_flag"
66998 || test ! -s conftest.err'
66999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67000 (eval $ac_try) 2>&5
67001 ac_status=$?
67002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67003 (exit $ac_status); }; } &&
67004 { ac_try='test -s conftest.$ac_objext'
67005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67006 (eval $ac_try) 2>&5
67007 ac_status=$?
67008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67009 (exit $ac_status); }; }; then
67010 glibcxx_cv_func__frexpl_use=yes
67011 else
67012 echo "$as_me: failed program was:" >&5
67013 sed 's/^/| /' conftest.$ac_ext >&5
67014
67015 glibcxx_cv_func__frexpl_use=no
67016 fi
67017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67018 ac_ext=c
67019 ac_cpp='$CPP $CPPFLAGS'
67020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67023
67024
67025 fi
67026
67027 fi
67028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67029 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67030
67031 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67032
67033 for ac_func in _frexpl
67034 do
67035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67036 echo "$as_me:$LINENO: checking for $ac_func" >&5
67037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67038 if eval "test \"\${$as_ac_var+set}\" = set"; then
67039 echo $ECHO_N "(cached) $ECHO_C" >&6
67040 else
67041 if test x$gcc_no_link = xyes; then
67042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67044 { (exit 1); exit 1; }; }
67045 fi
67046 cat >conftest.$ac_ext <<_ACEOF
67047 /* confdefs.h. */
67048 _ACEOF
67049 cat confdefs.h >>conftest.$ac_ext
67050 cat >>conftest.$ac_ext <<_ACEOF
67051 /* end confdefs.h. */
67052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67054 #define $ac_func innocuous_$ac_func
67055
67056 /* System header to define __stub macros and hopefully few prototypes,
67057 which can conflict with char $ac_func (); below.
67058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67059 <limits.h> exists even on freestanding compilers. */
67060
67061 #ifdef __STDC__
67062 # include <limits.h>
67063 #else
67064 # include <assert.h>
67065 #endif
67066
67067 #undef $ac_func
67068
67069 /* Override any gcc2 internal prototype to avoid an error. */
67070 #ifdef __cplusplus
67071 extern "C"
67072 {
67073 #endif
67074 /* We use char because int might match the return type of a gcc2
67075 builtin and then its argument prototype would still apply. */
67076 char $ac_func ();
67077 /* The GNU C library defines this for functions which it implements
67078 to always fail with ENOSYS. Some functions are actually named
67079 something starting with __ and the normal name is an alias. */
67080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67081 choke me
67082 #else
67083 char (*f) () = $ac_func;
67084 #endif
67085 #ifdef __cplusplus
67086 }
67087 #endif
67088
67089 int
67090 main ()
67091 {
67092 return f != $ac_func;
67093 ;
67094 return 0;
67095 }
67096 _ACEOF
67097 rm -f conftest.$ac_objext conftest$ac_exeext
67098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67099 (eval $ac_link) 2>conftest.er1
67100 ac_status=$?
67101 grep -v '^ *+' conftest.er1 >conftest.err
67102 rm -f conftest.er1
67103 cat conftest.err >&5
67104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67105 (exit $ac_status); } &&
67106 { ac_try='test -z "$ac_c_werror_flag"
67107 || test ! -s conftest.err'
67108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67109 (eval $ac_try) 2>&5
67110 ac_status=$?
67111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67112 (exit $ac_status); }; } &&
67113 { ac_try='test -s conftest$ac_exeext'
67114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67115 (eval $ac_try) 2>&5
67116 ac_status=$?
67117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118 (exit $ac_status); }; }; then
67119 eval "$as_ac_var=yes"
67120 else
67121 echo "$as_me: failed program was:" >&5
67122 sed 's/^/| /' conftest.$ac_ext >&5
67123
67124 eval "$as_ac_var=no"
67125 fi
67126 rm -f conftest.err conftest.$ac_objext \
67127 conftest$ac_exeext conftest.$ac_ext
67128 fi
67129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67131 if test `eval echo '${'$as_ac_var'}'` = yes; then
67132 cat >>confdefs.h <<_ACEOF
67133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67134 _ACEOF
67135
67136 fi
67137 done
67138
67139 fi
67140 fi
67141
67142
67143
67144
67145
67146
67147 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
67148 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
67149 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
67150 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
67151 echo $ECHO_N "(cached) $ECHO_C" >&6
67152 else
67153
67154
67155
67156 ac_ext=cc
67157 ac_cpp='$CXXCPP $CPPFLAGS'
67158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67161
67162 cat >conftest.$ac_ext <<_ACEOF
67163 /* confdefs.h. */
67164 _ACEOF
67165 cat confdefs.h >>conftest.$ac_ext
67166 cat >>conftest.$ac_ext <<_ACEOF
67167 /* end confdefs.h. */
67168 #include <math.h>
67169 int
67170 main ()
67171 {
67172 hypotl(0, 0);
67173 ;
67174 return 0;
67175 }
67176 _ACEOF
67177 rm -f conftest.$ac_objext
67178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67179 (eval $ac_compile) 2>conftest.er1
67180 ac_status=$?
67181 grep -v '^ *+' conftest.er1 >conftest.err
67182 rm -f conftest.er1
67183 cat conftest.err >&5
67184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67185 (exit $ac_status); } &&
67186 { ac_try='test -z "$ac_cxx_werror_flag"
67187 || test ! -s conftest.err'
67188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67189 (eval $ac_try) 2>&5
67190 ac_status=$?
67191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67192 (exit $ac_status); }; } &&
67193 { ac_try='test -s conftest.$ac_objext'
67194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67195 (eval $ac_try) 2>&5
67196 ac_status=$?
67197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67198 (exit $ac_status); }; }; then
67199 glibcxx_cv_func_hypotl_use=yes
67200 else
67201 echo "$as_me: failed program was:" >&5
67202 sed 's/^/| /' conftest.$ac_ext >&5
67203
67204 glibcxx_cv_func_hypotl_use=no
67205 fi
67206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67207 ac_ext=c
67208 ac_cpp='$CPP $CPPFLAGS'
67209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67212
67213
67214 fi
67215
67216 fi
67217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
67218 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
67219
67220 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
67221
67222 for ac_func in hypotl
67223 do
67224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67225 echo "$as_me:$LINENO: checking for $ac_func" >&5
67226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67227 if eval "test \"\${$as_ac_var+set}\" = set"; then
67228 echo $ECHO_N "(cached) $ECHO_C" >&6
67229 else
67230 if test x$gcc_no_link = xyes; then
67231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67233 { (exit 1); exit 1; }; }
67234 fi
67235 cat >conftest.$ac_ext <<_ACEOF
67236 /* confdefs.h. */
67237 _ACEOF
67238 cat confdefs.h >>conftest.$ac_ext
67239 cat >>conftest.$ac_ext <<_ACEOF
67240 /* end confdefs.h. */
67241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67243 #define $ac_func innocuous_$ac_func
67244
67245 /* System header to define __stub macros and hopefully few prototypes,
67246 which can conflict with char $ac_func (); below.
67247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67248 <limits.h> exists even on freestanding compilers. */
67249
67250 #ifdef __STDC__
67251 # include <limits.h>
67252 #else
67253 # include <assert.h>
67254 #endif
67255
67256 #undef $ac_func
67257
67258 /* Override any gcc2 internal prototype to avoid an error. */
67259 #ifdef __cplusplus
67260 extern "C"
67261 {
67262 #endif
67263 /* We use char because int might match the return type of a gcc2
67264 builtin and then its argument prototype would still apply. */
67265 char $ac_func ();
67266 /* The GNU C library defines this for functions which it implements
67267 to always fail with ENOSYS. Some functions are actually named
67268 something starting with __ and the normal name is an alias. */
67269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67270 choke me
67271 #else
67272 char (*f) () = $ac_func;
67273 #endif
67274 #ifdef __cplusplus
67275 }
67276 #endif
67277
67278 int
67279 main ()
67280 {
67281 return f != $ac_func;
67282 ;
67283 return 0;
67284 }
67285 _ACEOF
67286 rm -f conftest.$ac_objext conftest$ac_exeext
67287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67288 (eval $ac_link) 2>conftest.er1
67289 ac_status=$?
67290 grep -v '^ *+' conftest.er1 >conftest.err
67291 rm -f conftest.er1
67292 cat conftest.err >&5
67293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67294 (exit $ac_status); } &&
67295 { ac_try='test -z "$ac_c_werror_flag"
67296 || test ! -s conftest.err'
67297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67298 (eval $ac_try) 2>&5
67299 ac_status=$?
67300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67301 (exit $ac_status); }; } &&
67302 { ac_try='test -s conftest$ac_exeext'
67303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67304 (eval $ac_try) 2>&5
67305 ac_status=$?
67306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67307 (exit $ac_status); }; }; then
67308 eval "$as_ac_var=yes"
67309 else
67310 echo "$as_me: failed program was:" >&5
67311 sed 's/^/| /' conftest.$ac_ext >&5
67312
67313 eval "$as_ac_var=no"
67314 fi
67315 rm -f conftest.err conftest.$ac_objext \
67316 conftest$ac_exeext conftest.$ac_ext
67317 fi
67318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67320 if test `eval echo '${'$as_ac_var'}'` = yes; then
67321 cat >>confdefs.h <<_ACEOF
67322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67323 _ACEOF
67324
67325 fi
67326 done
67327
67328 else
67329
67330 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
67331 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
67332 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
67333 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
67334 echo $ECHO_N "(cached) $ECHO_C" >&6
67335 else
67336
67337
67338
67339 ac_ext=cc
67340 ac_cpp='$CXXCPP $CPPFLAGS'
67341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67344
67345 cat >conftest.$ac_ext <<_ACEOF
67346 /* confdefs.h. */
67347 _ACEOF
67348 cat confdefs.h >>conftest.$ac_ext
67349 cat >>conftest.$ac_ext <<_ACEOF
67350 /* end confdefs.h. */
67351 #include <math.h>
67352 int
67353 main ()
67354 {
67355 _hypotl(0, 0);
67356 ;
67357 return 0;
67358 }
67359 _ACEOF
67360 rm -f conftest.$ac_objext
67361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67362 (eval $ac_compile) 2>conftest.er1
67363 ac_status=$?
67364 grep -v '^ *+' conftest.er1 >conftest.err
67365 rm -f conftest.er1
67366 cat conftest.err >&5
67367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67368 (exit $ac_status); } &&
67369 { ac_try='test -z "$ac_cxx_werror_flag"
67370 || test ! -s conftest.err'
67371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67372 (eval $ac_try) 2>&5
67373 ac_status=$?
67374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67375 (exit $ac_status); }; } &&
67376 { ac_try='test -s conftest.$ac_objext'
67377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67378 (eval $ac_try) 2>&5
67379 ac_status=$?
67380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67381 (exit $ac_status); }; }; then
67382 glibcxx_cv_func__hypotl_use=yes
67383 else
67384 echo "$as_me: failed program was:" >&5
67385 sed 's/^/| /' conftest.$ac_ext >&5
67386
67387 glibcxx_cv_func__hypotl_use=no
67388 fi
67389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67390 ac_ext=c
67391 ac_cpp='$CPP $CPPFLAGS'
67392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67395
67396
67397 fi
67398
67399 fi
67400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
67401 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
67402
67403 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
67404
67405 for ac_func in _hypotl
67406 do
67407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67408 echo "$as_me:$LINENO: checking for $ac_func" >&5
67409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67410 if eval "test \"\${$as_ac_var+set}\" = set"; then
67411 echo $ECHO_N "(cached) $ECHO_C" >&6
67412 else
67413 if test x$gcc_no_link = xyes; then
67414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67416 { (exit 1); exit 1; }; }
67417 fi
67418 cat >conftest.$ac_ext <<_ACEOF
67419 /* confdefs.h. */
67420 _ACEOF
67421 cat confdefs.h >>conftest.$ac_ext
67422 cat >>conftest.$ac_ext <<_ACEOF
67423 /* end confdefs.h. */
67424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67426 #define $ac_func innocuous_$ac_func
67427
67428 /* System header to define __stub macros and hopefully few prototypes,
67429 which can conflict with char $ac_func (); below.
67430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67431 <limits.h> exists even on freestanding compilers. */
67432
67433 #ifdef __STDC__
67434 # include <limits.h>
67435 #else
67436 # include <assert.h>
67437 #endif
67438
67439 #undef $ac_func
67440
67441 /* Override any gcc2 internal prototype to avoid an error. */
67442 #ifdef __cplusplus
67443 extern "C"
67444 {
67445 #endif
67446 /* We use char because int might match the return type of a gcc2
67447 builtin and then its argument prototype would still apply. */
67448 char $ac_func ();
67449 /* The GNU C library defines this for functions which it implements
67450 to always fail with ENOSYS. Some functions are actually named
67451 something starting with __ and the normal name is an alias. */
67452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67453 choke me
67454 #else
67455 char (*f) () = $ac_func;
67456 #endif
67457 #ifdef __cplusplus
67458 }
67459 #endif
67460
67461 int
67462 main ()
67463 {
67464 return f != $ac_func;
67465 ;
67466 return 0;
67467 }
67468 _ACEOF
67469 rm -f conftest.$ac_objext conftest$ac_exeext
67470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67471 (eval $ac_link) 2>conftest.er1
67472 ac_status=$?
67473 grep -v '^ *+' conftest.er1 >conftest.err
67474 rm -f conftest.er1
67475 cat conftest.err >&5
67476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67477 (exit $ac_status); } &&
67478 { ac_try='test -z "$ac_c_werror_flag"
67479 || test ! -s conftest.err'
67480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67481 (eval $ac_try) 2>&5
67482 ac_status=$?
67483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67484 (exit $ac_status); }; } &&
67485 { ac_try='test -s conftest$ac_exeext'
67486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67487 (eval $ac_try) 2>&5
67488 ac_status=$?
67489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67490 (exit $ac_status); }; }; then
67491 eval "$as_ac_var=yes"
67492 else
67493 echo "$as_me: failed program was:" >&5
67494 sed 's/^/| /' conftest.$ac_ext >&5
67495
67496 eval "$as_ac_var=no"
67497 fi
67498 rm -f conftest.err conftest.$ac_objext \
67499 conftest$ac_exeext conftest.$ac_ext
67500 fi
67501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67503 if test `eval echo '${'$as_ac_var'}'` = yes; then
67504 cat >>confdefs.h <<_ACEOF
67505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67506 _ACEOF
67507
67508 fi
67509 done
67510
67511 fi
67512 fi
67513
67514
67515
67516
67517
67518
67519 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
67520 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
67521 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
67522 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
67523 echo $ECHO_N "(cached) $ECHO_C" >&6
67524 else
67525
67526
67527
67528 ac_ext=cc
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67533
67534 cat >conftest.$ac_ext <<_ACEOF
67535 /* confdefs.h. */
67536 _ACEOF
67537 cat confdefs.h >>conftest.$ac_ext
67538 cat >>conftest.$ac_ext <<_ACEOF
67539 /* end confdefs.h. */
67540 #include <math.h>
67541 int
67542 main ()
67543 {
67544 ldexpl(0, 0);
67545 ;
67546 return 0;
67547 }
67548 _ACEOF
67549 rm -f conftest.$ac_objext
67550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67551 (eval $ac_compile) 2>conftest.er1
67552 ac_status=$?
67553 grep -v '^ *+' conftest.er1 >conftest.err
67554 rm -f conftest.er1
67555 cat conftest.err >&5
67556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67557 (exit $ac_status); } &&
67558 { ac_try='test -z "$ac_cxx_werror_flag"
67559 || test ! -s conftest.err'
67560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67561 (eval $ac_try) 2>&5
67562 ac_status=$?
67563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67564 (exit $ac_status); }; } &&
67565 { ac_try='test -s conftest.$ac_objext'
67566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67567 (eval $ac_try) 2>&5
67568 ac_status=$?
67569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67570 (exit $ac_status); }; }; then
67571 glibcxx_cv_func_ldexpl_use=yes
67572 else
67573 echo "$as_me: failed program was:" >&5
67574 sed 's/^/| /' conftest.$ac_ext >&5
67575
67576 glibcxx_cv_func_ldexpl_use=no
67577 fi
67578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67579 ac_ext=c
67580 ac_cpp='$CPP $CPPFLAGS'
67581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67584
67585
67586 fi
67587
67588 fi
67589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
67590 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
67591
67592 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
67593
67594 for ac_func in ldexpl
67595 do
67596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67597 echo "$as_me:$LINENO: checking for $ac_func" >&5
67598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67599 if eval "test \"\${$as_ac_var+set}\" = set"; then
67600 echo $ECHO_N "(cached) $ECHO_C" >&6
67601 else
67602 if test x$gcc_no_link = xyes; then
67603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67605 { (exit 1); exit 1; }; }
67606 fi
67607 cat >conftest.$ac_ext <<_ACEOF
67608 /* confdefs.h. */
67609 _ACEOF
67610 cat confdefs.h >>conftest.$ac_ext
67611 cat >>conftest.$ac_ext <<_ACEOF
67612 /* end confdefs.h. */
67613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67615 #define $ac_func innocuous_$ac_func
67616
67617 /* System header to define __stub macros and hopefully few prototypes,
67618 which can conflict with char $ac_func (); below.
67619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67620 <limits.h> exists even on freestanding compilers. */
67621
67622 #ifdef __STDC__
67623 # include <limits.h>
67624 #else
67625 # include <assert.h>
67626 #endif
67627
67628 #undef $ac_func
67629
67630 /* Override any gcc2 internal prototype to avoid an error. */
67631 #ifdef __cplusplus
67632 extern "C"
67633 {
67634 #endif
67635 /* We use char because int might match the return type of a gcc2
67636 builtin and then its argument prototype would still apply. */
67637 char $ac_func ();
67638 /* The GNU C library defines this for functions which it implements
67639 to always fail with ENOSYS. Some functions are actually named
67640 something starting with __ and the normal name is an alias. */
67641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67642 choke me
67643 #else
67644 char (*f) () = $ac_func;
67645 #endif
67646 #ifdef __cplusplus
67647 }
67648 #endif
67649
67650 int
67651 main ()
67652 {
67653 return f != $ac_func;
67654 ;
67655 return 0;
67656 }
67657 _ACEOF
67658 rm -f conftest.$ac_objext conftest$ac_exeext
67659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67660 (eval $ac_link) 2>conftest.er1
67661 ac_status=$?
67662 grep -v '^ *+' conftest.er1 >conftest.err
67663 rm -f conftest.er1
67664 cat conftest.err >&5
67665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67666 (exit $ac_status); } &&
67667 { ac_try='test -z "$ac_c_werror_flag"
67668 || test ! -s conftest.err'
67669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67670 (eval $ac_try) 2>&5
67671 ac_status=$?
67672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67673 (exit $ac_status); }; } &&
67674 { ac_try='test -s conftest$ac_exeext'
67675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67676 (eval $ac_try) 2>&5
67677 ac_status=$?
67678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67679 (exit $ac_status); }; }; then
67680 eval "$as_ac_var=yes"
67681 else
67682 echo "$as_me: failed program was:" >&5
67683 sed 's/^/| /' conftest.$ac_ext >&5
67684
67685 eval "$as_ac_var=no"
67686 fi
67687 rm -f conftest.err conftest.$ac_objext \
67688 conftest$ac_exeext conftest.$ac_ext
67689 fi
67690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67692 if test `eval echo '${'$as_ac_var'}'` = yes; then
67693 cat >>confdefs.h <<_ACEOF
67694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67695 _ACEOF
67696
67697 fi
67698 done
67699
67700 else
67701
67702 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
67703 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
67704 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
67705 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
67706 echo $ECHO_N "(cached) $ECHO_C" >&6
67707 else
67708
67709
67710
67711 ac_ext=cc
67712 ac_cpp='$CXXCPP $CPPFLAGS'
67713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67716
67717 cat >conftest.$ac_ext <<_ACEOF
67718 /* confdefs.h. */
67719 _ACEOF
67720 cat confdefs.h >>conftest.$ac_ext
67721 cat >>conftest.$ac_ext <<_ACEOF
67722 /* end confdefs.h. */
67723 #include <math.h>
67724 int
67725 main ()
67726 {
67727 _ldexpl(0, 0);
67728 ;
67729 return 0;
67730 }
67731 _ACEOF
67732 rm -f conftest.$ac_objext
67733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67734 (eval $ac_compile) 2>conftest.er1
67735 ac_status=$?
67736 grep -v '^ *+' conftest.er1 >conftest.err
67737 rm -f conftest.er1
67738 cat conftest.err >&5
67739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67740 (exit $ac_status); } &&
67741 { ac_try='test -z "$ac_cxx_werror_flag"
67742 || test ! -s conftest.err'
67743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67744 (eval $ac_try) 2>&5
67745 ac_status=$?
67746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67747 (exit $ac_status); }; } &&
67748 { ac_try='test -s conftest.$ac_objext'
67749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67750 (eval $ac_try) 2>&5
67751 ac_status=$?
67752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67753 (exit $ac_status); }; }; then
67754 glibcxx_cv_func__ldexpl_use=yes
67755 else
67756 echo "$as_me: failed program was:" >&5
67757 sed 's/^/| /' conftest.$ac_ext >&5
67758
67759 glibcxx_cv_func__ldexpl_use=no
67760 fi
67761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67762 ac_ext=c
67763 ac_cpp='$CPP $CPPFLAGS'
67764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67767
67768
67769 fi
67770
67771 fi
67772 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67773 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67774
67775 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67776
67777 for ac_func in _ldexpl
67778 do
67779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67780 echo "$as_me:$LINENO: checking for $ac_func" >&5
67781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67782 if eval "test \"\${$as_ac_var+set}\" = set"; then
67783 echo $ECHO_N "(cached) $ECHO_C" >&6
67784 else
67785 if test x$gcc_no_link = xyes; then
67786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67788 { (exit 1); exit 1; }; }
67789 fi
67790 cat >conftest.$ac_ext <<_ACEOF
67791 /* confdefs.h. */
67792 _ACEOF
67793 cat confdefs.h >>conftest.$ac_ext
67794 cat >>conftest.$ac_ext <<_ACEOF
67795 /* end confdefs.h. */
67796 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67797 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67798 #define $ac_func innocuous_$ac_func
67799
67800 /* System header to define __stub macros and hopefully few prototypes,
67801 which can conflict with char $ac_func (); below.
67802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67803 <limits.h> exists even on freestanding compilers. */
67804
67805 #ifdef __STDC__
67806 # include <limits.h>
67807 #else
67808 # include <assert.h>
67809 #endif
67810
67811 #undef $ac_func
67812
67813 /* Override any gcc2 internal prototype to avoid an error. */
67814 #ifdef __cplusplus
67815 extern "C"
67816 {
67817 #endif
67818 /* We use char because int might match the return type of a gcc2
67819 builtin and then its argument prototype would still apply. */
67820 char $ac_func ();
67821 /* The GNU C library defines this for functions which it implements
67822 to always fail with ENOSYS. Some functions are actually named
67823 something starting with __ and the normal name is an alias. */
67824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67825 choke me
67826 #else
67827 char (*f) () = $ac_func;
67828 #endif
67829 #ifdef __cplusplus
67830 }
67831 #endif
67832
67833 int
67834 main ()
67835 {
67836 return f != $ac_func;
67837 ;
67838 return 0;
67839 }
67840 _ACEOF
67841 rm -f conftest.$ac_objext conftest$ac_exeext
67842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67843 (eval $ac_link) 2>conftest.er1
67844 ac_status=$?
67845 grep -v '^ *+' conftest.er1 >conftest.err
67846 rm -f conftest.er1
67847 cat conftest.err >&5
67848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67849 (exit $ac_status); } &&
67850 { ac_try='test -z "$ac_c_werror_flag"
67851 || test ! -s conftest.err'
67852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67853 (eval $ac_try) 2>&5
67854 ac_status=$?
67855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67856 (exit $ac_status); }; } &&
67857 { ac_try='test -s conftest$ac_exeext'
67858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67859 (eval $ac_try) 2>&5
67860 ac_status=$?
67861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67862 (exit $ac_status); }; }; then
67863 eval "$as_ac_var=yes"
67864 else
67865 echo "$as_me: failed program was:" >&5
67866 sed 's/^/| /' conftest.$ac_ext >&5
67867
67868 eval "$as_ac_var=no"
67869 fi
67870 rm -f conftest.err conftest.$ac_objext \
67871 conftest$ac_exeext conftest.$ac_ext
67872 fi
67873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67874 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67875 if test `eval echo '${'$as_ac_var'}'` = yes; then
67876 cat >>confdefs.h <<_ACEOF
67877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67878 _ACEOF
67879
67880 fi
67881 done
67882
67883 fi
67884 fi
67885
67886
67887
67888
67889
67890
67891 echo "$as_me:$LINENO: checking for logl declaration" >&5
67892 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67893 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67894 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67895 echo $ECHO_N "(cached) $ECHO_C" >&6
67896 else
67897
67898
67899
67900 ac_ext=cc
67901 ac_cpp='$CXXCPP $CPPFLAGS'
67902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67905
67906 cat >conftest.$ac_ext <<_ACEOF
67907 /* confdefs.h. */
67908 _ACEOF
67909 cat confdefs.h >>conftest.$ac_ext
67910 cat >>conftest.$ac_ext <<_ACEOF
67911 /* end confdefs.h. */
67912 #include <math.h>
67913 #ifdef HAVE_IEEEFP_H
67914 #include <ieeefp.h>
67915 #endif
67916
67917 int
67918 main ()
67919 {
67920 logl(0);
67921 ;
67922 return 0;
67923 }
67924 _ACEOF
67925 rm -f conftest.$ac_objext
67926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67927 (eval $ac_compile) 2>conftest.er1
67928 ac_status=$?
67929 grep -v '^ *+' conftest.er1 >conftest.err
67930 rm -f conftest.er1
67931 cat conftest.err >&5
67932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67933 (exit $ac_status); } &&
67934 { ac_try='test -z "$ac_cxx_werror_flag"
67935 || test ! -s conftest.err'
67936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67937 (eval $ac_try) 2>&5
67938 ac_status=$?
67939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67940 (exit $ac_status); }; } &&
67941 { ac_try='test -s conftest.$ac_objext'
67942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67943 (eval $ac_try) 2>&5
67944 ac_status=$?
67945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67946 (exit $ac_status); }; }; then
67947 glibcxx_cv_func_logl_use=yes
67948 else
67949 echo "$as_me: failed program was:" >&5
67950 sed 's/^/| /' conftest.$ac_ext >&5
67951
67952 glibcxx_cv_func_logl_use=no
67953 fi
67954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67955 ac_ext=c
67956 ac_cpp='$CPP $CPPFLAGS'
67957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67960
67961
67962 fi
67963
67964 fi
67965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67966 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67967
67968 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67969
67970 for ac_func in logl
67971 do
67972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67973 echo "$as_me:$LINENO: checking for $ac_func" >&5
67974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67975 if eval "test \"\${$as_ac_var+set}\" = set"; then
67976 echo $ECHO_N "(cached) $ECHO_C" >&6
67977 else
67978 if test x$gcc_no_link = xyes; then
67979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67981 { (exit 1); exit 1; }; }
67982 fi
67983 cat >conftest.$ac_ext <<_ACEOF
67984 /* confdefs.h. */
67985 _ACEOF
67986 cat confdefs.h >>conftest.$ac_ext
67987 cat >>conftest.$ac_ext <<_ACEOF
67988 /* end confdefs.h. */
67989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67991 #define $ac_func innocuous_$ac_func
67992
67993 /* System header to define __stub macros and hopefully few prototypes,
67994 which can conflict with char $ac_func (); below.
67995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67996 <limits.h> exists even on freestanding compilers. */
67997
67998 #ifdef __STDC__
67999 # include <limits.h>
68000 #else
68001 # include <assert.h>
68002 #endif
68003
68004 #undef $ac_func
68005
68006 /* Override any gcc2 internal prototype to avoid an error. */
68007 #ifdef __cplusplus
68008 extern "C"
68009 {
68010 #endif
68011 /* We use char because int might match the return type of a gcc2
68012 builtin and then its argument prototype would still apply. */
68013 char $ac_func ();
68014 /* The GNU C library defines this for functions which it implements
68015 to always fail with ENOSYS. Some functions are actually named
68016 something starting with __ and the normal name is an alias. */
68017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68018 choke me
68019 #else
68020 char (*f) () = $ac_func;
68021 #endif
68022 #ifdef __cplusplus
68023 }
68024 #endif
68025
68026 int
68027 main ()
68028 {
68029 return f != $ac_func;
68030 ;
68031 return 0;
68032 }
68033 _ACEOF
68034 rm -f conftest.$ac_objext conftest$ac_exeext
68035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68036 (eval $ac_link) 2>conftest.er1
68037 ac_status=$?
68038 grep -v '^ *+' conftest.er1 >conftest.err
68039 rm -f conftest.er1
68040 cat conftest.err >&5
68041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68042 (exit $ac_status); } &&
68043 { ac_try='test -z "$ac_c_werror_flag"
68044 || test ! -s conftest.err'
68045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68046 (eval $ac_try) 2>&5
68047 ac_status=$?
68048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68049 (exit $ac_status); }; } &&
68050 { ac_try='test -s conftest$ac_exeext'
68051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68052 (eval $ac_try) 2>&5
68053 ac_status=$?
68054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68055 (exit $ac_status); }; }; then
68056 eval "$as_ac_var=yes"
68057 else
68058 echo "$as_me: failed program was:" >&5
68059 sed 's/^/| /' conftest.$ac_ext >&5
68060
68061 eval "$as_ac_var=no"
68062 fi
68063 rm -f conftest.err conftest.$ac_objext \
68064 conftest$ac_exeext conftest.$ac_ext
68065 fi
68066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68068 if test `eval echo '${'$as_ac_var'}'` = yes; then
68069 cat >>confdefs.h <<_ACEOF
68070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68071 _ACEOF
68072
68073 fi
68074 done
68075
68076 else
68077
68078 echo "$as_me:$LINENO: checking for _logl declaration" >&5
68079 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
68080 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68081 if test "${glibcxx_cv_func__logl_use+set}" = set; then
68082 echo $ECHO_N "(cached) $ECHO_C" >&6
68083 else
68084
68085
68086
68087 ac_ext=cc
68088 ac_cpp='$CXXCPP $CPPFLAGS'
68089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68092
68093 cat >conftest.$ac_ext <<_ACEOF
68094 /* confdefs.h. */
68095 _ACEOF
68096 cat confdefs.h >>conftest.$ac_ext
68097 cat >>conftest.$ac_ext <<_ACEOF
68098 /* end confdefs.h. */
68099 #include <math.h>
68100 #ifdef HAVE_IEEEFP_H
68101 #include <ieeefp.h>
68102 #endif
68103
68104 int
68105 main ()
68106 {
68107 _logl(0);
68108 ;
68109 return 0;
68110 }
68111 _ACEOF
68112 rm -f conftest.$ac_objext
68113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68114 (eval $ac_compile) 2>conftest.er1
68115 ac_status=$?
68116 grep -v '^ *+' conftest.er1 >conftest.err
68117 rm -f conftest.er1
68118 cat conftest.err >&5
68119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68120 (exit $ac_status); } &&
68121 { ac_try='test -z "$ac_cxx_werror_flag"
68122 || test ! -s conftest.err'
68123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68124 (eval $ac_try) 2>&5
68125 ac_status=$?
68126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68127 (exit $ac_status); }; } &&
68128 { ac_try='test -s conftest.$ac_objext'
68129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68130 (eval $ac_try) 2>&5
68131 ac_status=$?
68132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68133 (exit $ac_status); }; }; then
68134 glibcxx_cv_func__logl_use=yes
68135 else
68136 echo "$as_me: failed program was:" >&5
68137 sed 's/^/| /' conftest.$ac_ext >&5
68138
68139 glibcxx_cv_func__logl_use=no
68140 fi
68141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68147
68148
68149 fi
68150
68151 fi
68152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
68153 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
68154
68155 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68156
68157 for ac_func in _logl
68158 do
68159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68160 echo "$as_me:$LINENO: checking for $ac_func" >&5
68161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68162 if eval "test \"\${$as_ac_var+set}\" = set"; then
68163 echo $ECHO_N "(cached) $ECHO_C" >&6
68164 else
68165 if test x$gcc_no_link = xyes; then
68166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68168 { (exit 1); exit 1; }; }
68169 fi
68170 cat >conftest.$ac_ext <<_ACEOF
68171 /* confdefs.h. */
68172 _ACEOF
68173 cat confdefs.h >>conftest.$ac_ext
68174 cat >>conftest.$ac_ext <<_ACEOF
68175 /* end confdefs.h. */
68176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68178 #define $ac_func innocuous_$ac_func
68179
68180 /* System header to define __stub macros and hopefully few prototypes,
68181 which can conflict with char $ac_func (); below.
68182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68183 <limits.h> exists even on freestanding compilers. */
68184
68185 #ifdef __STDC__
68186 # include <limits.h>
68187 #else
68188 # include <assert.h>
68189 #endif
68190
68191 #undef $ac_func
68192
68193 /* Override any gcc2 internal prototype to avoid an error. */
68194 #ifdef __cplusplus
68195 extern "C"
68196 {
68197 #endif
68198 /* We use char because int might match the return type of a gcc2
68199 builtin and then its argument prototype would still apply. */
68200 char $ac_func ();
68201 /* The GNU C library defines this for functions which it implements
68202 to always fail with ENOSYS. Some functions are actually named
68203 something starting with __ and the normal name is an alias. */
68204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68205 choke me
68206 #else
68207 char (*f) () = $ac_func;
68208 #endif
68209 #ifdef __cplusplus
68210 }
68211 #endif
68212
68213 int
68214 main ()
68215 {
68216 return f != $ac_func;
68217 ;
68218 return 0;
68219 }
68220 _ACEOF
68221 rm -f conftest.$ac_objext conftest$ac_exeext
68222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68223 (eval $ac_link) 2>conftest.er1
68224 ac_status=$?
68225 grep -v '^ *+' conftest.er1 >conftest.err
68226 rm -f conftest.er1
68227 cat conftest.err >&5
68228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68229 (exit $ac_status); } &&
68230 { ac_try='test -z "$ac_c_werror_flag"
68231 || test ! -s conftest.err'
68232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68233 (eval $ac_try) 2>&5
68234 ac_status=$?
68235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68236 (exit $ac_status); }; } &&
68237 { ac_try='test -s conftest$ac_exeext'
68238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68239 (eval $ac_try) 2>&5
68240 ac_status=$?
68241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68242 (exit $ac_status); }; }; then
68243 eval "$as_ac_var=yes"
68244 else
68245 echo "$as_me: failed program was:" >&5
68246 sed 's/^/| /' conftest.$ac_ext >&5
68247
68248 eval "$as_ac_var=no"
68249 fi
68250 rm -f conftest.err conftest.$ac_objext \
68251 conftest$ac_exeext conftest.$ac_ext
68252 fi
68253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68255 if test `eval echo '${'$as_ac_var'}'` = yes; then
68256 cat >>confdefs.h <<_ACEOF
68257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68258 _ACEOF
68259
68260 fi
68261 done
68262
68263 fi
68264 fi
68265
68266
68267
68268
68269
68270
68271 echo "$as_me:$LINENO: checking for log10l declaration" >&5
68272 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
68273 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68274 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
68275 echo $ECHO_N "(cached) $ECHO_C" >&6
68276 else
68277
68278
68279
68280 ac_ext=cc
68281 ac_cpp='$CXXCPP $CPPFLAGS'
68282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68285
68286 cat >conftest.$ac_ext <<_ACEOF
68287 /* confdefs.h. */
68288 _ACEOF
68289 cat confdefs.h >>conftest.$ac_ext
68290 cat >>conftest.$ac_ext <<_ACEOF
68291 /* end confdefs.h. */
68292 #include <math.h>
68293 #ifdef HAVE_IEEEFP_H
68294 #include <ieeefp.h>
68295 #endif
68296
68297 int
68298 main ()
68299 {
68300 log10l(0);
68301 ;
68302 return 0;
68303 }
68304 _ACEOF
68305 rm -f conftest.$ac_objext
68306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68307 (eval $ac_compile) 2>conftest.er1
68308 ac_status=$?
68309 grep -v '^ *+' conftest.er1 >conftest.err
68310 rm -f conftest.er1
68311 cat conftest.err >&5
68312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68313 (exit $ac_status); } &&
68314 { ac_try='test -z "$ac_cxx_werror_flag"
68315 || test ! -s conftest.err'
68316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68317 (eval $ac_try) 2>&5
68318 ac_status=$?
68319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68320 (exit $ac_status); }; } &&
68321 { ac_try='test -s conftest.$ac_objext'
68322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68323 (eval $ac_try) 2>&5
68324 ac_status=$?
68325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68326 (exit $ac_status); }; }; then
68327 glibcxx_cv_func_log10l_use=yes
68328 else
68329 echo "$as_me: failed program was:" >&5
68330 sed 's/^/| /' conftest.$ac_ext >&5
68331
68332 glibcxx_cv_func_log10l_use=no
68333 fi
68334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68335 ac_ext=c
68336 ac_cpp='$CPP $CPPFLAGS'
68337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68340
68341
68342 fi
68343
68344 fi
68345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
68346 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
68347
68348 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68349
68350 for ac_func in log10l
68351 do
68352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68353 echo "$as_me:$LINENO: checking for $ac_func" >&5
68354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68355 if eval "test \"\${$as_ac_var+set}\" = set"; then
68356 echo $ECHO_N "(cached) $ECHO_C" >&6
68357 else
68358 if test x$gcc_no_link = xyes; then
68359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68361 { (exit 1); exit 1; }; }
68362 fi
68363 cat >conftest.$ac_ext <<_ACEOF
68364 /* confdefs.h. */
68365 _ACEOF
68366 cat confdefs.h >>conftest.$ac_ext
68367 cat >>conftest.$ac_ext <<_ACEOF
68368 /* end confdefs.h. */
68369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68371 #define $ac_func innocuous_$ac_func
68372
68373 /* System header to define __stub macros and hopefully few prototypes,
68374 which can conflict with char $ac_func (); below.
68375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68376 <limits.h> exists even on freestanding compilers. */
68377
68378 #ifdef __STDC__
68379 # include <limits.h>
68380 #else
68381 # include <assert.h>
68382 #endif
68383
68384 #undef $ac_func
68385
68386 /* Override any gcc2 internal prototype to avoid an error. */
68387 #ifdef __cplusplus
68388 extern "C"
68389 {
68390 #endif
68391 /* We use char because int might match the return type of a gcc2
68392 builtin and then its argument prototype would still apply. */
68393 char $ac_func ();
68394 /* The GNU C library defines this for functions which it implements
68395 to always fail with ENOSYS. Some functions are actually named
68396 something starting with __ and the normal name is an alias. */
68397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68398 choke me
68399 #else
68400 char (*f) () = $ac_func;
68401 #endif
68402 #ifdef __cplusplus
68403 }
68404 #endif
68405
68406 int
68407 main ()
68408 {
68409 return f != $ac_func;
68410 ;
68411 return 0;
68412 }
68413 _ACEOF
68414 rm -f conftest.$ac_objext conftest$ac_exeext
68415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68416 (eval $ac_link) 2>conftest.er1
68417 ac_status=$?
68418 grep -v '^ *+' conftest.er1 >conftest.err
68419 rm -f conftest.er1
68420 cat conftest.err >&5
68421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68422 (exit $ac_status); } &&
68423 { ac_try='test -z "$ac_c_werror_flag"
68424 || test ! -s conftest.err'
68425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68426 (eval $ac_try) 2>&5
68427 ac_status=$?
68428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68429 (exit $ac_status); }; } &&
68430 { ac_try='test -s conftest$ac_exeext'
68431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68432 (eval $ac_try) 2>&5
68433 ac_status=$?
68434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68435 (exit $ac_status); }; }; then
68436 eval "$as_ac_var=yes"
68437 else
68438 echo "$as_me: failed program was:" >&5
68439 sed 's/^/| /' conftest.$ac_ext >&5
68440
68441 eval "$as_ac_var=no"
68442 fi
68443 rm -f conftest.err conftest.$ac_objext \
68444 conftest$ac_exeext conftest.$ac_ext
68445 fi
68446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68448 if test `eval echo '${'$as_ac_var'}'` = yes; then
68449 cat >>confdefs.h <<_ACEOF
68450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68451 _ACEOF
68452
68453 fi
68454 done
68455
68456 else
68457
68458 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
68459 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
68460 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68461 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
68462 echo $ECHO_N "(cached) $ECHO_C" >&6
68463 else
68464
68465
68466
68467 ac_ext=cc
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68472
68473 cat >conftest.$ac_ext <<_ACEOF
68474 /* confdefs.h. */
68475 _ACEOF
68476 cat confdefs.h >>conftest.$ac_ext
68477 cat >>conftest.$ac_ext <<_ACEOF
68478 /* end confdefs.h. */
68479 #include <math.h>
68480 #ifdef HAVE_IEEEFP_H
68481 #include <ieeefp.h>
68482 #endif
68483
68484 int
68485 main ()
68486 {
68487 _log10l(0);
68488 ;
68489 return 0;
68490 }
68491 _ACEOF
68492 rm -f conftest.$ac_objext
68493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68494 (eval $ac_compile) 2>conftest.er1
68495 ac_status=$?
68496 grep -v '^ *+' conftest.er1 >conftest.err
68497 rm -f conftest.er1
68498 cat conftest.err >&5
68499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68500 (exit $ac_status); } &&
68501 { ac_try='test -z "$ac_cxx_werror_flag"
68502 || test ! -s conftest.err'
68503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68504 (eval $ac_try) 2>&5
68505 ac_status=$?
68506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68507 (exit $ac_status); }; } &&
68508 { ac_try='test -s conftest.$ac_objext'
68509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68510 (eval $ac_try) 2>&5
68511 ac_status=$?
68512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68513 (exit $ac_status); }; }; then
68514 glibcxx_cv_func__log10l_use=yes
68515 else
68516 echo "$as_me: failed program was:" >&5
68517 sed 's/^/| /' conftest.$ac_ext >&5
68518
68519 glibcxx_cv_func__log10l_use=no
68520 fi
68521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68522 ac_ext=c
68523 ac_cpp='$CPP $CPPFLAGS'
68524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68527
68528
68529 fi
68530
68531 fi
68532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
68533 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
68534
68535 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68536
68537 for ac_func in _log10l
68538 do
68539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68540 echo "$as_me:$LINENO: checking for $ac_func" >&5
68541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68542 if eval "test \"\${$as_ac_var+set}\" = set"; then
68543 echo $ECHO_N "(cached) $ECHO_C" >&6
68544 else
68545 if test x$gcc_no_link = xyes; then
68546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68548 { (exit 1); exit 1; }; }
68549 fi
68550 cat >conftest.$ac_ext <<_ACEOF
68551 /* confdefs.h. */
68552 _ACEOF
68553 cat confdefs.h >>conftest.$ac_ext
68554 cat >>conftest.$ac_ext <<_ACEOF
68555 /* end confdefs.h. */
68556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68558 #define $ac_func innocuous_$ac_func
68559
68560 /* System header to define __stub macros and hopefully few prototypes,
68561 which can conflict with char $ac_func (); below.
68562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68563 <limits.h> exists even on freestanding compilers. */
68564
68565 #ifdef __STDC__
68566 # include <limits.h>
68567 #else
68568 # include <assert.h>
68569 #endif
68570
68571 #undef $ac_func
68572
68573 /* Override any gcc2 internal prototype to avoid an error. */
68574 #ifdef __cplusplus
68575 extern "C"
68576 {
68577 #endif
68578 /* We use char because int might match the return type of a gcc2
68579 builtin and then its argument prototype would still apply. */
68580 char $ac_func ();
68581 /* The GNU C library defines this for functions which it implements
68582 to always fail with ENOSYS. Some functions are actually named
68583 something starting with __ and the normal name is an alias. */
68584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68585 choke me
68586 #else
68587 char (*f) () = $ac_func;
68588 #endif
68589 #ifdef __cplusplus
68590 }
68591 #endif
68592
68593 int
68594 main ()
68595 {
68596 return f != $ac_func;
68597 ;
68598 return 0;
68599 }
68600 _ACEOF
68601 rm -f conftest.$ac_objext conftest$ac_exeext
68602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68603 (eval $ac_link) 2>conftest.er1
68604 ac_status=$?
68605 grep -v '^ *+' conftest.er1 >conftest.err
68606 rm -f conftest.er1
68607 cat conftest.err >&5
68608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68609 (exit $ac_status); } &&
68610 { ac_try='test -z "$ac_c_werror_flag"
68611 || test ! -s conftest.err'
68612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68613 (eval $ac_try) 2>&5
68614 ac_status=$?
68615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68616 (exit $ac_status); }; } &&
68617 { ac_try='test -s conftest$ac_exeext'
68618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68619 (eval $ac_try) 2>&5
68620 ac_status=$?
68621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68622 (exit $ac_status); }; }; then
68623 eval "$as_ac_var=yes"
68624 else
68625 echo "$as_me: failed program was:" >&5
68626 sed 's/^/| /' conftest.$ac_ext >&5
68627
68628 eval "$as_ac_var=no"
68629 fi
68630 rm -f conftest.err conftest.$ac_objext \
68631 conftest$ac_exeext conftest.$ac_ext
68632 fi
68633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68635 if test `eval echo '${'$as_ac_var'}'` = yes; then
68636 cat >>confdefs.h <<_ACEOF
68637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68638 _ACEOF
68639
68640 fi
68641 done
68642
68643 fi
68644 fi
68645
68646
68647
68648
68649
68650
68651 echo "$as_me:$LINENO: checking for modfl declaration" >&5
68652 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
68653 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68654 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
68655 echo $ECHO_N "(cached) $ECHO_C" >&6
68656 else
68657
68658
68659
68660 ac_ext=cc
68661 ac_cpp='$CXXCPP $CPPFLAGS'
68662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68665
68666 cat >conftest.$ac_ext <<_ACEOF
68667 /* confdefs.h. */
68668 _ACEOF
68669 cat confdefs.h >>conftest.$ac_ext
68670 cat >>conftest.$ac_ext <<_ACEOF
68671 /* end confdefs.h. */
68672 #include <math.h>
68673 int
68674 main ()
68675 {
68676 modfl(0, 0);
68677 ;
68678 return 0;
68679 }
68680 _ACEOF
68681 rm -f conftest.$ac_objext
68682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68683 (eval $ac_compile) 2>conftest.er1
68684 ac_status=$?
68685 grep -v '^ *+' conftest.er1 >conftest.err
68686 rm -f conftest.er1
68687 cat conftest.err >&5
68688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68689 (exit $ac_status); } &&
68690 { ac_try='test -z "$ac_cxx_werror_flag"
68691 || test ! -s conftest.err'
68692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68693 (eval $ac_try) 2>&5
68694 ac_status=$?
68695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68696 (exit $ac_status); }; } &&
68697 { ac_try='test -s conftest.$ac_objext'
68698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68699 (eval $ac_try) 2>&5
68700 ac_status=$?
68701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702 (exit $ac_status); }; }; then
68703 glibcxx_cv_func_modfl_use=yes
68704 else
68705 echo "$as_me: failed program was:" >&5
68706 sed 's/^/| /' conftest.$ac_ext >&5
68707
68708 glibcxx_cv_func_modfl_use=no
68709 fi
68710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68711 ac_ext=c
68712 ac_cpp='$CPP $CPPFLAGS'
68713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68716
68717
68718 fi
68719
68720 fi
68721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
68722 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
68723
68724 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68725
68726 for ac_func in modfl
68727 do
68728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68729 echo "$as_me:$LINENO: checking for $ac_func" >&5
68730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68731 if eval "test \"\${$as_ac_var+set}\" = set"; then
68732 echo $ECHO_N "(cached) $ECHO_C" >&6
68733 else
68734 if test x$gcc_no_link = xyes; then
68735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68737 { (exit 1); exit 1; }; }
68738 fi
68739 cat >conftest.$ac_ext <<_ACEOF
68740 /* confdefs.h. */
68741 _ACEOF
68742 cat confdefs.h >>conftest.$ac_ext
68743 cat >>conftest.$ac_ext <<_ACEOF
68744 /* end confdefs.h. */
68745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68747 #define $ac_func innocuous_$ac_func
68748
68749 /* System header to define __stub macros and hopefully few prototypes,
68750 which can conflict with char $ac_func (); below.
68751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68752 <limits.h> exists even on freestanding compilers. */
68753
68754 #ifdef __STDC__
68755 # include <limits.h>
68756 #else
68757 # include <assert.h>
68758 #endif
68759
68760 #undef $ac_func
68761
68762 /* Override any gcc2 internal prototype to avoid an error. */
68763 #ifdef __cplusplus
68764 extern "C"
68765 {
68766 #endif
68767 /* We use char because int might match the return type of a gcc2
68768 builtin and then its argument prototype would still apply. */
68769 char $ac_func ();
68770 /* The GNU C library defines this for functions which it implements
68771 to always fail with ENOSYS. Some functions are actually named
68772 something starting with __ and the normal name is an alias. */
68773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68774 choke me
68775 #else
68776 char (*f) () = $ac_func;
68777 #endif
68778 #ifdef __cplusplus
68779 }
68780 #endif
68781
68782 int
68783 main ()
68784 {
68785 return f != $ac_func;
68786 ;
68787 return 0;
68788 }
68789 _ACEOF
68790 rm -f conftest.$ac_objext conftest$ac_exeext
68791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68792 (eval $ac_link) 2>conftest.er1
68793 ac_status=$?
68794 grep -v '^ *+' conftest.er1 >conftest.err
68795 rm -f conftest.er1
68796 cat conftest.err >&5
68797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68798 (exit $ac_status); } &&
68799 { ac_try='test -z "$ac_c_werror_flag"
68800 || test ! -s conftest.err'
68801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68802 (eval $ac_try) 2>&5
68803 ac_status=$?
68804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68805 (exit $ac_status); }; } &&
68806 { ac_try='test -s conftest$ac_exeext'
68807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68808 (eval $ac_try) 2>&5
68809 ac_status=$?
68810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68811 (exit $ac_status); }; }; then
68812 eval "$as_ac_var=yes"
68813 else
68814 echo "$as_me: failed program was:" >&5
68815 sed 's/^/| /' conftest.$ac_ext >&5
68816
68817 eval "$as_ac_var=no"
68818 fi
68819 rm -f conftest.err conftest.$ac_objext \
68820 conftest$ac_exeext conftest.$ac_ext
68821 fi
68822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68824 if test `eval echo '${'$as_ac_var'}'` = yes; then
68825 cat >>confdefs.h <<_ACEOF
68826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68827 _ACEOF
68828
68829 fi
68830 done
68831
68832 else
68833
68834 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68835 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68836 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68837 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68838 echo $ECHO_N "(cached) $ECHO_C" >&6
68839 else
68840
68841
68842
68843 ac_ext=cc
68844 ac_cpp='$CXXCPP $CPPFLAGS'
68845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68848
68849 cat >conftest.$ac_ext <<_ACEOF
68850 /* confdefs.h. */
68851 _ACEOF
68852 cat confdefs.h >>conftest.$ac_ext
68853 cat >>conftest.$ac_ext <<_ACEOF
68854 /* end confdefs.h. */
68855 #include <math.h>
68856 int
68857 main ()
68858 {
68859 _modfl(0, 0);
68860 ;
68861 return 0;
68862 }
68863 _ACEOF
68864 rm -f conftest.$ac_objext
68865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68866 (eval $ac_compile) 2>conftest.er1
68867 ac_status=$?
68868 grep -v '^ *+' conftest.er1 >conftest.err
68869 rm -f conftest.er1
68870 cat conftest.err >&5
68871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68872 (exit $ac_status); } &&
68873 { ac_try='test -z "$ac_cxx_werror_flag"
68874 || test ! -s conftest.err'
68875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68876 (eval $ac_try) 2>&5
68877 ac_status=$?
68878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68879 (exit $ac_status); }; } &&
68880 { ac_try='test -s conftest.$ac_objext'
68881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68882 (eval $ac_try) 2>&5
68883 ac_status=$?
68884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68885 (exit $ac_status); }; }; then
68886 glibcxx_cv_func__modfl_use=yes
68887 else
68888 echo "$as_me: failed program was:" >&5
68889 sed 's/^/| /' conftest.$ac_ext >&5
68890
68891 glibcxx_cv_func__modfl_use=no
68892 fi
68893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68894 ac_ext=c
68895 ac_cpp='$CPP $CPPFLAGS'
68896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68899
68900
68901 fi
68902
68903 fi
68904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68905 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68906
68907 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68908
68909 for ac_func in _modfl
68910 do
68911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68912 echo "$as_me:$LINENO: checking for $ac_func" >&5
68913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68914 if eval "test \"\${$as_ac_var+set}\" = set"; then
68915 echo $ECHO_N "(cached) $ECHO_C" >&6
68916 else
68917 if test x$gcc_no_link = xyes; then
68918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68920 { (exit 1); exit 1; }; }
68921 fi
68922 cat >conftest.$ac_ext <<_ACEOF
68923 /* confdefs.h. */
68924 _ACEOF
68925 cat confdefs.h >>conftest.$ac_ext
68926 cat >>conftest.$ac_ext <<_ACEOF
68927 /* end confdefs.h. */
68928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68930 #define $ac_func innocuous_$ac_func
68931
68932 /* System header to define __stub macros and hopefully few prototypes,
68933 which can conflict with char $ac_func (); below.
68934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68935 <limits.h> exists even on freestanding compilers. */
68936
68937 #ifdef __STDC__
68938 # include <limits.h>
68939 #else
68940 # include <assert.h>
68941 #endif
68942
68943 #undef $ac_func
68944
68945 /* Override any gcc2 internal prototype to avoid an error. */
68946 #ifdef __cplusplus
68947 extern "C"
68948 {
68949 #endif
68950 /* We use char because int might match the return type of a gcc2
68951 builtin and then its argument prototype would still apply. */
68952 char $ac_func ();
68953 /* The GNU C library defines this for functions which it implements
68954 to always fail with ENOSYS. Some functions are actually named
68955 something starting with __ and the normal name is an alias. */
68956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68957 choke me
68958 #else
68959 char (*f) () = $ac_func;
68960 #endif
68961 #ifdef __cplusplus
68962 }
68963 #endif
68964
68965 int
68966 main ()
68967 {
68968 return f != $ac_func;
68969 ;
68970 return 0;
68971 }
68972 _ACEOF
68973 rm -f conftest.$ac_objext conftest$ac_exeext
68974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68975 (eval $ac_link) 2>conftest.er1
68976 ac_status=$?
68977 grep -v '^ *+' conftest.er1 >conftest.err
68978 rm -f conftest.er1
68979 cat conftest.err >&5
68980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68981 (exit $ac_status); } &&
68982 { ac_try='test -z "$ac_c_werror_flag"
68983 || test ! -s conftest.err'
68984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68985 (eval $ac_try) 2>&5
68986 ac_status=$?
68987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68988 (exit $ac_status); }; } &&
68989 { ac_try='test -s conftest$ac_exeext'
68990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68991 (eval $ac_try) 2>&5
68992 ac_status=$?
68993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68994 (exit $ac_status); }; }; then
68995 eval "$as_ac_var=yes"
68996 else
68997 echo "$as_me: failed program was:" >&5
68998 sed 's/^/| /' conftest.$ac_ext >&5
68999
69000 eval "$as_ac_var=no"
69001 fi
69002 rm -f conftest.err conftest.$ac_objext \
69003 conftest$ac_exeext conftest.$ac_ext
69004 fi
69005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69007 if test `eval echo '${'$as_ac_var'}'` = yes; then
69008 cat >>confdefs.h <<_ACEOF
69009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69010 _ACEOF
69011
69012 fi
69013 done
69014
69015 fi
69016 fi
69017
69018
69019
69020
69021
69022
69023 echo "$as_me:$LINENO: checking for powl declaration" >&5
69024 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69025 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69026 if test "${glibcxx_cv_func_powl_use+set}" = set; then
69027 echo $ECHO_N "(cached) $ECHO_C" >&6
69028 else
69029
69030
69031
69032 ac_ext=cc
69033 ac_cpp='$CXXCPP $CPPFLAGS'
69034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69037
69038 cat >conftest.$ac_ext <<_ACEOF
69039 /* confdefs.h. */
69040 _ACEOF
69041 cat confdefs.h >>conftest.$ac_ext
69042 cat >>conftest.$ac_ext <<_ACEOF
69043 /* end confdefs.h. */
69044 #include <math.h>
69045 int
69046 main ()
69047 {
69048 powl(0, 0);
69049 ;
69050 return 0;
69051 }
69052 _ACEOF
69053 rm -f conftest.$ac_objext
69054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69055 (eval $ac_compile) 2>conftest.er1
69056 ac_status=$?
69057 grep -v '^ *+' conftest.er1 >conftest.err
69058 rm -f conftest.er1
69059 cat conftest.err >&5
69060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69061 (exit $ac_status); } &&
69062 { ac_try='test -z "$ac_cxx_werror_flag"
69063 || test ! -s conftest.err'
69064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69065 (eval $ac_try) 2>&5
69066 ac_status=$?
69067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69068 (exit $ac_status); }; } &&
69069 { ac_try='test -s conftest.$ac_objext'
69070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69071 (eval $ac_try) 2>&5
69072 ac_status=$?
69073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69074 (exit $ac_status); }; }; then
69075 glibcxx_cv_func_powl_use=yes
69076 else
69077 echo "$as_me: failed program was:" >&5
69078 sed 's/^/| /' conftest.$ac_ext >&5
69079
69080 glibcxx_cv_func_powl_use=no
69081 fi
69082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69083 ac_ext=c
69084 ac_cpp='$CPP $CPPFLAGS'
69085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69088
69089
69090 fi
69091
69092 fi
69093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
69094 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
69095
69096 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69097
69098 for ac_func in powl
69099 do
69100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69101 echo "$as_me:$LINENO: checking for $ac_func" >&5
69102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69103 if eval "test \"\${$as_ac_var+set}\" = set"; then
69104 echo $ECHO_N "(cached) $ECHO_C" >&6
69105 else
69106 if test x$gcc_no_link = xyes; then
69107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69109 { (exit 1); exit 1; }; }
69110 fi
69111 cat >conftest.$ac_ext <<_ACEOF
69112 /* confdefs.h. */
69113 _ACEOF
69114 cat confdefs.h >>conftest.$ac_ext
69115 cat >>conftest.$ac_ext <<_ACEOF
69116 /* end confdefs.h. */
69117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69119 #define $ac_func innocuous_$ac_func
69120
69121 /* System header to define __stub macros and hopefully few prototypes,
69122 which can conflict with char $ac_func (); below.
69123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69124 <limits.h> exists even on freestanding compilers. */
69125
69126 #ifdef __STDC__
69127 # include <limits.h>
69128 #else
69129 # include <assert.h>
69130 #endif
69131
69132 #undef $ac_func
69133
69134 /* Override any gcc2 internal prototype to avoid an error. */
69135 #ifdef __cplusplus
69136 extern "C"
69137 {
69138 #endif
69139 /* We use char because int might match the return type of a gcc2
69140 builtin and then its argument prototype would still apply. */
69141 char $ac_func ();
69142 /* The GNU C library defines this for functions which it implements
69143 to always fail with ENOSYS. Some functions are actually named
69144 something starting with __ and the normal name is an alias. */
69145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69146 choke me
69147 #else
69148 char (*f) () = $ac_func;
69149 #endif
69150 #ifdef __cplusplus
69151 }
69152 #endif
69153
69154 int
69155 main ()
69156 {
69157 return f != $ac_func;
69158 ;
69159 return 0;
69160 }
69161 _ACEOF
69162 rm -f conftest.$ac_objext conftest$ac_exeext
69163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69164 (eval $ac_link) 2>conftest.er1
69165 ac_status=$?
69166 grep -v '^ *+' conftest.er1 >conftest.err
69167 rm -f conftest.er1
69168 cat conftest.err >&5
69169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69170 (exit $ac_status); } &&
69171 { ac_try='test -z "$ac_c_werror_flag"
69172 || test ! -s conftest.err'
69173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69174 (eval $ac_try) 2>&5
69175 ac_status=$?
69176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69177 (exit $ac_status); }; } &&
69178 { ac_try='test -s conftest$ac_exeext'
69179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69180 (eval $ac_try) 2>&5
69181 ac_status=$?
69182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69183 (exit $ac_status); }; }; then
69184 eval "$as_ac_var=yes"
69185 else
69186 echo "$as_me: failed program was:" >&5
69187 sed 's/^/| /' conftest.$ac_ext >&5
69188
69189 eval "$as_ac_var=no"
69190 fi
69191 rm -f conftest.err conftest.$ac_objext \
69192 conftest$ac_exeext conftest.$ac_ext
69193 fi
69194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69196 if test `eval echo '${'$as_ac_var'}'` = yes; then
69197 cat >>confdefs.h <<_ACEOF
69198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69199 _ACEOF
69200
69201 fi
69202 done
69203
69204 else
69205
69206 echo "$as_me:$LINENO: checking for _powl declaration" >&5
69207 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
69208 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69209 if test "${glibcxx_cv_func__powl_use+set}" = set; then
69210 echo $ECHO_N "(cached) $ECHO_C" >&6
69211 else
69212
69213
69214
69215 ac_ext=cc
69216 ac_cpp='$CXXCPP $CPPFLAGS'
69217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69220
69221 cat >conftest.$ac_ext <<_ACEOF
69222 /* confdefs.h. */
69223 _ACEOF
69224 cat confdefs.h >>conftest.$ac_ext
69225 cat >>conftest.$ac_ext <<_ACEOF
69226 /* end confdefs.h. */
69227 #include <math.h>
69228 int
69229 main ()
69230 {
69231 _powl(0, 0);
69232 ;
69233 return 0;
69234 }
69235 _ACEOF
69236 rm -f conftest.$ac_objext
69237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69238 (eval $ac_compile) 2>conftest.er1
69239 ac_status=$?
69240 grep -v '^ *+' conftest.er1 >conftest.err
69241 rm -f conftest.er1
69242 cat conftest.err >&5
69243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69244 (exit $ac_status); } &&
69245 { ac_try='test -z "$ac_cxx_werror_flag"
69246 || test ! -s conftest.err'
69247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69248 (eval $ac_try) 2>&5
69249 ac_status=$?
69250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69251 (exit $ac_status); }; } &&
69252 { ac_try='test -s conftest.$ac_objext'
69253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69254 (eval $ac_try) 2>&5
69255 ac_status=$?
69256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69257 (exit $ac_status); }; }; then
69258 glibcxx_cv_func__powl_use=yes
69259 else
69260 echo "$as_me: failed program was:" >&5
69261 sed 's/^/| /' conftest.$ac_ext >&5
69262
69263 glibcxx_cv_func__powl_use=no
69264 fi
69265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69266 ac_ext=c
69267 ac_cpp='$CPP $CPPFLAGS'
69268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69271
69272
69273 fi
69274
69275 fi
69276 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
69277 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
69278
69279 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69280
69281 for ac_func in _powl
69282 do
69283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69284 echo "$as_me:$LINENO: checking for $ac_func" >&5
69285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69286 if eval "test \"\${$as_ac_var+set}\" = set"; then
69287 echo $ECHO_N "(cached) $ECHO_C" >&6
69288 else
69289 if test x$gcc_no_link = xyes; then
69290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69292 { (exit 1); exit 1; }; }
69293 fi
69294 cat >conftest.$ac_ext <<_ACEOF
69295 /* confdefs.h. */
69296 _ACEOF
69297 cat confdefs.h >>conftest.$ac_ext
69298 cat >>conftest.$ac_ext <<_ACEOF
69299 /* end confdefs.h. */
69300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69302 #define $ac_func innocuous_$ac_func
69303
69304 /* System header to define __stub macros and hopefully few prototypes,
69305 which can conflict with char $ac_func (); below.
69306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69307 <limits.h> exists even on freestanding compilers. */
69308
69309 #ifdef __STDC__
69310 # include <limits.h>
69311 #else
69312 # include <assert.h>
69313 #endif
69314
69315 #undef $ac_func
69316
69317 /* Override any gcc2 internal prototype to avoid an error. */
69318 #ifdef __cplusplus
69319 extern "C"
69320 {
69321 #endif
69322 /* We use char because int might match the return type of a gcc2
69323 builtin and then its argument prototype would still apply. */
69324 char $ac_func ();
69325 /* The GNU C library defines this for functions which it implements
69326 to always fail with ENOSYS. Some functions are actually named
69327 something starting with __ and the normal name is an alias. */
69328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69329 choke me
69330 #else
69331 char (*f) () = $ac_func;
69332 #endif
69333 #ifdef __cplusplus
69334 }
69335 #endif
69336
69337 int
69338 main ()
69339 {
69340 return f != $ac_func;
69341 ;
69342 return 0;
69343 }
69344 _ACEOF
69345 rm -f conftest.$ac_objext conftest$ac_exeext
69346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69347 (eval $ac_link) 2>conftest.er1
69348 ac_status=$?
69349 grep -v '^ *+' conftest.er1 >conftest.err
69350 rm -f conftest.er1
69351 cat conftest.err >&5
69352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69353 (exit $ac_status); } &&
69354 { ac_try='test -z "$ac_c_werror_flag"
69355 || test ! -s conftest.err'
69356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69357 (eval $ac_try) 2>&5
69358 ac_status=$?
69359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69360 (exit $ac_status); }; } &&
69361 { ac_try='test -s conftest$ac_exeext'
69362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69363 (eval $ac_try) 2>&5
69364 ac_status=$?
69365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69366 (exit $ac_status); }; }; then
69367 eval "$as_ac_var=yes"
69368 else
69369 echo "$as_me: failed program was:" >&5
69370 sed 's/^/| /' conftest.$ac_ext >&5
69371
69372 eval "$as_ac_var=no"
69373 fi
69374 rm -f conftest.err conftest.$ac_objext \
69375 conftest$ac_exeext conftest.$ac_ext
69376 fi
69377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69379 if test `eval echo '${'$as_ac_var'}'` = yes; then
69380 cat >>confdefs.h <<_ACEOF
69381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69382 _ACEOF
69383
69384 fi
69385 done
69386
69387 fi
69388 fi
69389
69390
69391
69392
69393
69394
69395 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
69396 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
69397 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69398 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
69399 echo $ECHO_N "(cached) $ECHO_C" >&6
69400 else
69401
69402
69403
69404 ac_ext=cc
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69409
69410 cat >conftest.$ac_ext <<_ACEOF
69411 /* confdefs.h. */
69412 _ACEOF
69413 cat confdefs.h >>conftest.$ac_ext
69414 cat >>conftest.$ac_ext <<_ACEOF
69415 /* end confdefs.h. */
69416 #include <math.h>
69417 #ifdef HAVE_IEEEFP_H
69418 #include <ieeefp.h>
69419 #endif
69420
69421 int
69422 main ()
69423 {
69424 sqrtl(0);
69425 ;
69426 return 0;
69427 }
69428 _ACEOF
69429 rm -f conftest.$ac_objext
69430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69431 (eval $ac_compile) 2>conftest.er1
69432 ac_status=$?
69433 grep -v '^ *+' conftest.er1 >conftest.err
69434 rm -f conftest.er1
69435 cat conftest.err >&5
69436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69437 (exit $ac_status); } &&
69438 { ac_try='test -z "$ac_cxx_werror_flag"
69439 || test ! -s conftest.err'
69440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69441 (eval $ac_try) 2>&5
69442 ac_status=$?
69443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69444 (exit $ac_status); }; } &&
69445 { ac_try='test -s conftest.$ac_objext'
69446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69447 (eval $ac_try) 2>&5
69448 ac_status=$?
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); }; }; then
69451 glibcxx_cv_func_sqrtl_use=yes
69452 else
69453 echo "$as_me: failed program was:" >&5
69454 sed 's/^/| /' conftest.$ac_ext >&5
69455
69456 glibcxx_cv_func_sqrtl_use=no
69457 fi
69458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69459 ac_ext=c
69460 ac_cpp='$CPP $CPPFLAGS'
69461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69464
69465
69466 fi
69467
69468 fi
69469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
69470 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
69471
69472 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69473
69474 for ac_func in sqrtl
69475 do
69476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69477 echo "$as_me:$LINENO: checking for $ac_func" >&5
69478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69479 if eval "test \"\${$as_ac_var+set}\" = set"; then
69480 echo $ECHO_N "(cached) $ECHO_C" >&6
69481 else
69482 if test x$gcc_no_link = xyes; then
69483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69485 { (exit 1); exit 1; }; }
69486 fi
69487 cat >conftest.$ac_ext <<_ACEOF
69488 /* confdefs.h. */
69489 _ACEOF
69490 cat confdefs.h >>conftest.$ac_ext
69491 cat >>conftest.$ac_ext <<_ACEOF
69492 /* end confdefs.h. */
69493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69495 #define $ac_func innocuous_$ac_func
69496
69497 /* System header to define __stub macros and hopefully few prototypes,
69498 which can conflict with char $ac_func (); below.
69499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69500 <limits.h> exists even on freestanding compilers. */
69501
69502 #ifdef __STDC__
69503 # include <limits.h>
69504 #else
69505 # include <assert.h>
69506 #endif
69507
69508 #undef $ac_func
69509
69510 /* Override any gcc2 internal prototype to avoid an error. */
69511 #ifdef __cplusplus
69512 extern "C"
69513 {
69514 #endif
69515 /* We use char because int might match the return type of a gcc2
69516 builtin and then its argument prototype would still apply. */
69517 char $ac_func ();
69518 /* The GNU C library defines this for functions which it implements
69519 to always fail with ENOSYS. Some functions are actually named
69520 something starting with __ and the normal name is an alias. */
69521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69522 choke me
69523 #else
69524 char (*f) () = $ac_func;
69525 #endif
69526 #ifdef __cplusplus
69527 }
69528 #endif
69529
69530 int
69531 main ()
69532 {
69533 return f != $ac_func;
69534 ;
69535 return 0;
69536 }
69537 _ACEOF
69538 rm -f conftest.$ac_objext conftest$ac_exeext
69539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69540 (eval $ac_link) 2>conftest.er1
69541 ac_status=$?
69542 grep -v '^ *+' conftest.er1 >conftest.err
69543 rm -f conftest.er1
69544 cat conftest.err >&5
69545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69546 (exit $ac_status); } &&
69547 { ac_try='test -z "$ac_c_werror_flag"
69548 || test ! -s conftest.err'
69549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69550 (eval $ac_try) 2>&5
69551 ac_status=$?
69552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69553 (exit $ac_status); }; } &&
69554 { ac_try='test -s conftest$ac_exeext'
69555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69556 (eval $ac_try) 2>&5
69557 ac_status=$?
69558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69559 (exit $ac_status); }; }; then
69560 eval "$as_ac_var=yes"
69561 else
69562 echo "$as_me: failed program was:" >&5
69563 sed 's/^/| /' conftest.$ac_ext >&5
69564
69565 eval "$as_ac_var=no"
69566 fi
69567 rm -f conftest.err conftest.$ac_objext \
69568 conftest$ac_exeext conftest.$ac_ext
69569 fi
69570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69572 if test `eval echo '${'$as_ac_var'}'` = yes; then
69573 cat >>confdefs.h <<_ACEOF
69574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69575 _ACEOF
69576
69577 fi
69578 done
69579
69580 else
69581
69582 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
69583 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
69584 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69585 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
69586 echo $ECHO_N "(cached) $ECHO_C" >&6
69587 else
69588
69589
69590
69591 ac_ext=cc
69592 ac_cpp='$CXXCPP $CPPFLAGS'
69593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69596
69597 cat >conftest.$ac_ext <<_ACEOF
69598 /* confdefs.h. */
69599 _ACEOF
69600 cat confdefs.h >>conftest.$ac_ext
69601 cat >>conftest.$ac_ext <<_ACEOF
69602 /* end confdefs.h. */
69603 #include <math.h>
69604 #ifdef HAVE_IEEEFP_H
69605 #include <ieeefp.h>
69606 #endif
69607
69608 int
69609 main ()
69610 {
69611 _sqrtl(0);
69612 ;
69613 return 0;
69614 }
69615 _ACEOF
69616 rm -f conftest.$ac_objext
69617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69618 (eval $ac_compile) 2>conftest.er1
69619 ac_status=$?
69620 grep -v '^ *+' conftest.er1 >conftest.err
69621 rm -f conftest.er1
69622 cat conftest.err >&5
69623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69624 (exit $ac_status); } &&
69625 { ac_try='test -z "$ac_cxx_werror_flag"
69626 || test ! -s conftest.err'
69627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69628 (eval $ac_try) 2>&5
69629 ac_status=$?
69630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69631 (exit $ac_status); }; } &&
69632 { ac_try='test -s conftest.$ac_objext'
69633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69634 (eval $ac_try) 2>&5
69635 ac_status=$?
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); }; }; then
69638 glibcxx_cv_func__sqrtl_use=yes
69639 else
69640 echo "$as_me: failed program was:" >&5
69641 sed 's/^/| /' conftest.$ac_ext >&5
69642
69643 glibcxx_cv_func__sqrtl_use=no
69644 fi
69645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69646 ac_ext=c
69647 ac_cpp='$CPP $CPPFLAGS'
69648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69651
69652
69653 fi
69654
69655 fi
69656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
69657 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
69658
69659 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69660
69661 for ac_func in _sqrtl
69662 do
69663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69664 echo "$as_me:$LINENO: checking for $ac_func" >&5
69665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69666 if eval "test \"\${$as_ac_var+set}\" = set"; then
69667 echo $ECHO_N "(cached) $ECHO_C" >&6
69668 else
69669 if test x$gcc_no_link = xyes; then
69670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69672 { (exit 1); exit 1; }; }
69673 fi
69674 cat >conftest.$ac_ext <<_ACEOF
69675 /* confdefs.h. */
69676 _ACEOF
69677 cat confdefs.h >>conftest.$ac_ext
69678 cat >>conftest.$ac_ext <<_ACEOF
69679 /* end confdefs.h. */
69680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69682 #define $ac_func innocuous_$ac_func
69683
69684 /* System header to define __stub macros and hopefully few prototypes,
69685 which can conflict with char $ac_func (); below.
69686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69687 <limits.h> exists even on freestanding compilers. */
69688
69689 #ifdef __STDC__
69690 # include <limits.h>
69691 #else
69692 # include <assert.h>
69693 #endif
69694
69695 #undef $ac_func
69696
69697 /* Override any gcc2 internal prototype to avoid an error. */
69698 #ifdef __cplusplus
69699 extern "C"
69700 {
69701 #endif
69702 /* We use char because int might match the return type of a gcc2
69703 builtin and then its argument prototype would still apply. */
69704 char $ac_func ();
69705 /* The GNU C library defines this for functions which it implements
69706 to always fail with ENOSYS. Some functions are actually named
69707 something starting with __ and the normal name is an alias. */
69708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69709 choke me
69710 #else
69711 char (*f) () = $ac_func;
69712 #endif
69713 #ifdef __cplusplus
69714 }
69715 #endif
69716
69717 int
69718 main ()
69719 {
69720 return f != $ac_func;
69721 ;
69722 return 0;
69723 }
69724 _ACEOF
69725 rm -f conftest.$ac_objext conftest$ac_exeext
69726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69727 (eval $ac_link) 2>conftest.er1
69728 ac_status=$?
69729 grep -v '^ *+' conftest.er1 >conftest.err
69730 rm -f conftest.er1
69731 cat conftest.err >&5
69732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69733 (exit $ac_status); } &&
69734 { ac_try='test -z "$ac_c_werror_flag"
69735 || test ! -s conftest.err'
69736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69737 (eval $ac_try) 2>&5
69738 ac_status=$?
69739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740 (exit $ac_status); }; } &&
69741 { ac_try='test -s conftest$ac_exeext'
69742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69743 (eval $ac_try) 2>&5
69744 ac_status=$?
69745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69746 (exit $ac_status); }; }; then
69747 eval "$as_ac_var=yes"
69748 else
69749 echo "$as_me: failed program was:" >&5
69750 sed 's/^/| /' conftest.$ac_ext >&5
69751
69752 eval "$as_ac_var=no"
69753 fi
69754 rm -f conftest.err conftest.$ac_objext \
69755 conftest$ac_exeext conftest.$ac_ext
69756 fi
69757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69759 if test `eval echo '${'$as_ac_var'}'` = yes; then
69760 cat >>confdefs.h <<_ACEOF
69761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69762 _ACEOF
69763
69764 fi
69765 done
69766
69767 fi
69768 fi
69769
69770
69771
69772
69773
69774
69775 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69776 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69777 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69778 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69779 echo $ECHO_N "(cached) $ECHO_C" >&6
69780 else
69781
69782
69783
69784 ac_ext=cc
69785 ac_cpp='$CXXCPP $CPPFLAGS'
69786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69789
69790 cat >conftest.$ac_ext <<_ACEOF
69791 /* confdefs.h. */
69792 _ACEOF
69793 cat confdefs.h >>conftest.$ac_ext
69794 cat >>conftest.$ac_ext <<_ACEOF
69795 /* end confdefs.h. */
69796 #include <math.h>
69797 int
69798 main ()
69799 {
69800 sincosl(0, 0, 0);
69801 ;
69802 return 0;
69803 }
69804 _ACEOF
69805 rm -f conftest.$ac_objext
69806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69807 (eval $ac_compile) 2>conftest.er1
69808 ac_status=$?
69809 grep -v '^ *+' conftest.er1 >conftest.err
69810 rm -f conftest.er1
69811 cat conftest.err >&5
69812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69813 (exit $ac_status); } &&
69814 { ac_try='test -z "$ac_cxx_werror_flag"
69815 || test ! -s conftest.err'
69816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69817 (eval $ac_try) 2>&5
69818 ac_status=$?
69819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69820 (exit $ac_status); }; } &&
69821 { ac_try='test -s conftest.$ac_objext'
69822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69823 (eval $ac_try) 2>&5
69824 ac_status=$?
69825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69826 (exit $ac_status); }; }; then
69827 glibcxx_cv_func_sincosl_use=yes
69828 else
69829 echo "$as_me: failed program was:" >&5
69830 sed 's/^/| /' conftest.$ac_ext >&5
69831
69832 glibcxx_cv_func_sincosl_use=no
69833 fi
69834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69835 ac_ext=c
69836 ac_cpp='$CPP $CPPFLAGS'
69837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69840
69841
69842 fi
69843
69844 fi
69845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69846 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69847
69848 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69849
69850 for ac_func in sincosl
69851 do
69852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69853 echo "$as_me:$LINENO: checking for $ac_func" >&5
69854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69855 if eval "test \"\${$as_ac_var+set}\" = set"; then
69856 echo $ECHO_N "(cached) $ECHO_C" >&6
69857 else
69858 if test x$gcc_no_link = xyes; then
69859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69861 { (exit 1); exit 1; }; }
69862 fi
69863 cat >conftest.$ac_ext <<_ACEOF
69864 /* confdefs.h. */
69865 _ACEOF
69866 cat confdefs.h >>conftest.$ac_ext
69867 cat >>conftest.$ac_ext <<_ACEOF
69868 /* end confdefs.h. */
69869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69871 #define $ac_func innocuous_$ac_func
69872
69873 /* System header to define __stub macros and hopefully few prototypes,
69874 which can conflict with char $ac_func (); below.
69875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69876 <limits.h> exists even on freestanding compilers. */
69877
69878 #ifdef __STDC__
69879 # include <limits.h>
69880 #else
69881 # include <assert.h>
69882 #endif
69883
69884 #undef $ac_func
69885
69886 /* Override any gcc2 internal prototype to avoid an error. */
69887 #ifdef __cplusplus
69888 extern "C"
69889 {
69890 #endif
69891 /* We use char because int might match the return type of a gcc2
69892 builtin and then its argument prototype would still apply. */
69893 char $ac_func ();
69894 /* The GNU C library defines this for functions which it implements
69895 to always fail with ENOSYS. Some functions are actually named
69896 something starting with __ and the normal name is an alias. */
69897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69898 choke me
69899 #else
69900 char (*f) () = $ac_func;
69901 #endif
69902 #ifdef __cplusplus
69903 }
69904 #endif
69905
69906 int
69907 main ()
69908 {
69909 return f != $ac_func;
69910 ;
69911 return 0;
69912 }
69913 _ACEOF
69914 rm -f conftest.$ac_objext conftest$ac_exeext
69915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69916 (eval $ac_link) 2>conftest.er1
69917 ac_status=$?
69918 grep -v '^ *+' conftest.er1 >conftest.err
69919 rm -f conftest.er1
69920 cat conftest.err >&5
69921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69922 (exit $ac_status); } &&
69923 { ac_try='test -z "$ac_c_werror_flag"
69924 || test ! -s conftest.err'
69925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69926 (eval $ac_try) 2>&5
69927 ac_status=$?
69928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69929 (exit $ac_status); }; } &&
69930 { ac_try='test -s conftest$ac_exeext'
69931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69932 (eval $ac_try) 2>&5
69933 ac_status=$?
69934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69935 (exit $ac_status); }; }; then
69936 eval "$as_ac_var=yes"
69937 else
69938 echo "$as_me: failed program was:" >&5
69939 sed 's/^/| /' conftest.$ac_ext >&5
69940
69941 eval "$as_ac_var=no"
69942 fi
69943 rm -f conftest.err conftest.$ac_objext \
69944 conftest$ac_exeext conftest.$ac_ext
69945 fi
69946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69948 if test `eval echo '${'$as_ac_var'}'` = yes; then
69949 cat >>confdefs.h <<_ACEOF
69950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69951 _ACEOF
69952
69953 fi
69954 done
69955
69956 else
69957
69958 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69959 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69960 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69961 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69962 echo $ECHO_N "(cached) $ECHO_C" >&6
69963 else
69964
69965
69966
69967 ac_ext=cc
69968 ac_cpp='$CXXCPP $CPPFLAGS'
69969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69972
69973 cat >conftest.$ac_ext <<_ACEOF
69974 /* confdefs.h. */
69975 _ACEOF
69976 cat confdefs.h >>conftest.$ac_ext
69977 cat >>conftest.$ac_ext <<_ACEOF
69978 /* end confdefs.h. */
69979 #include <math.h>
69980 int
69981 main ()
69982 {
69983 _sincosl(0, 0, 0);
69984 ;
69985 return 0;
69986 }
69987 _ACEOF
69988 rm -f conftest.$ac_objext
69989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69990 (eval $ac_compile) 2>conftest.er1
69991 ac_status=$?
69992 grep -v '^ *+' conftest.er1 >conftest.err
69993 rm -f conftest.er1
69994 cat conftest.err >&5
69995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69996 (exit $ac_status); } &&
69997 { ac_try='test -z "$ac_cxx_werror_flag"
69998 || test ! -s conftest.err'
69999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70000 (eval $ac_try) 2>&5
70001 ac_status=$?
70002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70003 (exit $ac_status); }; } &&
70004 { ac_try='test -s conftest.$ac_objext'
70005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70006 (eval $ac_try) 2>&5
70007 ac_status=$?
70008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70009 (exit $ac_status); }; }; then
70010 glibcxx_cv_func__sincosl_use=yes
70011 else
70012 echo "$as_me: failed program was:" >&5
70013 sed 's/^/| /' conftest.$ac_ext >&5
70014
70015 glibcxx_cv_func__sincosl_use=no
70016 fi
70017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70018 ac_ext=c
70019 ac_cpp='$CPP $CPPFLAGS'
70020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70023
70024
70025 fi
70026
70027 fi
70028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70029 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70030
70031 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70032
70033 for ac_func in _sincosl
70034 do
70035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70036 echo "$as_me:$LINENO: checking for $ac_func" >&5
70037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70038 if eval "test \"\${$as_ac_var+set}\" = set"; then
70039 echo $ECHO_N "(cached) $ECHO_C" >&6
70040 else
70041 if test x$gcc_no_link = xyes; then
70042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70044 { (exit 1); exit 1; }; }
70045 fi
70046 cat >conftest.$ac_ext <<_ACEOF
70047 /* confdefs.h. */
70048 _ACEOF
70049 cat confdefs.h >>conftest.$ac_ext
70050 cat >>conftest.$ac_ext <<_ACEOF
70051 /* end confdefs.h. */
70052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70054 #define $ac_func innocuous_$ac_func
70055
70056 /* System header to define __stub macros and hopefully few prototypes,
70057 which can conflict with char $ac_func (); below.
70058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70059 <limits.h> exists even on freestanding compilers. */
70060
70061 #ifdef __STDC__
70062 # include <limits.h>
70063 #else
70064 # include <assert.h>
70065 #endif
70066
70067 #undef $ac_func
70068
70069 /* Override any gcc2 internal prototype to avoid an error. */
70070 #ifdef __cplusplus
70071 extern "C"
70072 {
70073 #endif
70074 /* We use char because int might match the return type of a gcc2
70075 builtin and then its argument prototype would still apply. */
70076 char $ac_func ();
70077 /* The GNU C library defines this for functions which it implements
70078 to always fail with ENOSYS. Some functions are actually named
70079 something starting with __ and the normal name is an alias. */
70080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70081 choke me
70082 #else
70083 char (*f) () = $ac_func;
70084 #endif
70085 #ifdef __cplusplus
70086 }
70087 #endif
70088
70089 int
70090 main ()
70091 {
70092 return f != $ac_func;
70093 ;
70094 return 0;
70095 }
70096 _ACEOF
70097 rm -f conftest.$ac_objext conftest$ac_exeext
70098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70099 (eval $ac_link) 2>conftest.er1
70100 ac_status=$?
70101 grep -v '^ *+' conftest.er1 >conftest.err
70102 rm -f conftest.er1
70103 cat conftest.err >&5
70104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70105 (exit $ac_status); } &&
70106 { ac_try='test -z "$ac_c_werror_flag"
70107 || test ! -s conftest.err'
70108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70109 (eval $ac_try) 2>&5
70110 ac_status=$?
70111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70112 (exit $ac_status); }; } &&
70113 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
70119 eval "$as_ac_var=yes"
70120 else
70121 echo "$as_me: failed program was:" >&5
70122 sed 's/^/| /' conftest.$ac_ext >&5
70123
70124 eval "$as_ac_var=no"
70125 fi
70126 rm -f conftest.err conftest.$ac_objext \
70127 conftest$ac_exeext conftest.$ac_ext
70128 fi
70129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70131 if test `eval echo '${'$as_ac_var'}'` = yes; then
70132 cat >>confdefs.h <<_ACEOF
70133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70134 _ACEOF
70135
70136 fi
70137 done
70138
70139 fi
70140 fi
70141
70142
70143
70144
70145
70146
70147 echo "$as_me:$LINENO: checking for finitel declaration" >&5
70148 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
70149 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70150 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
70151 echo $ECHO_N "(cached) $ECHO_C" >&6
70152 else
70153
70154
70155
70156 ac_ext=cc
70157 ac_cpp='$CXXCPP $CPPFLAGS'
70158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70161
70162 cat >conftest.$ac_ext <<_ACEOF
70163 /* confdefs.h. */
70164 _ACEOF
70165 cat confdefs.h >>conftest.$ac_ext
70166 cat >>conftest.$ac_ext <<_ACEOF
70167 /* end confdefs.h. */
70168 #include <math.h>
70169 #ifdef HAVE_IEEEFP_H
70170 #include <ieeefp.h>
70171 #endif
70172
70173 int
70174 main ()
70175 {
70176 finitel(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_finitel_use=yes
70204 else
70205 echo "$as_me: failed program was:" >&5
70206 sed 's/^/| /' conftest.$ac_ext >&5
70207
70208 glibcxx_cv_func_finitel_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_finitel_use" >&5
70222 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
70223
70224 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70225
70226 for ac_func in finitel
70227 do
70228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70229 echo "$as_me:$LINENO: checking for $ac_func" >&5
70230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70231 if eval "test \"\${$as_ac_var+set}\" = set"; then
70232 echo $ECHO_N "(cached) $ECHO_C" >&6
70233 else
70234 if test x$gcc_no_link = xyes; then
70235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70237 { (exit 1); exit 1; }; }
70238 fi
70239 cat >conftest.$ac_ext <<_ACEOF
70240 /* confdefs.h. */
70241 _ACEOF
70242 cat confdefs.h >>conftest.$ac_ext
70243 cat >>conftest.$ac_ext <<_ACEOF
70244 /* end confdefs.h. */
70245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70247 #define $ac_func innocuous_$ac_func
70248
70249 /* System header to define __stub macros and hopefully few prototypes,
70250 which can conflict with char $ac_func (); below.
70251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70252 <limits.h> exists even on freestanding compilers. */
70253
70254 #ifdef __STDC__
70255 # include <limits.h>
70256 #else
70257 # include <assert.h>
70258 #endif
70259
70260 #undef $ac_func
70261
70262 /* Override any gcc2 internal prototype to avoid an error. */
70263 #ifdef __cplusplus
70264 extern "C"
70265 {
70266 #endif
70267 /* We use char because int might match the return type of a gcc2
70268 builtin and then its argument prototype would still apply. */
70269 char $ac_func ();
70270 /* The GNU C library defines this for functions which it implements
70271 to always fail with ENOSYS. Some functions are actually named
70272 something starting with __ and the normal name is an alias. */
70273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70274 choke me
70275 #else
70276 char (*f) () = $ac_func;
70277 #endif
70278 #ifdef __cplusplus
70279 }
70280 #endif
70281
70282 int
70283 main ()
70284 {
70285 return f != $ac_func;
70286 ;
70287 return 0;
70288 }
70289 _ACEOF
70290 rm -f conftest.$ac_objext conftest$ac_exeext
70291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70292 (eval $ac_link) 2>conftest.er1
70293 ac_status=$?
70294 grep -v '^ *+' conftest.er1 >conftest.err
70295 rm -f conftest.er1
70296 cat conftest.err >&5
70297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70298 (exit $ac_status); } &&
70299 { ac_try='test -z "$ac_c_werror_flag"
70300 || test ! -s conftest.err'
70301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70302 (eval $ac_try) 2>&5
70303 ac_status=$?
70304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70305 (exit $ac_status); }; } &&
70306 { ac_try='test -s conftest$ac_exeext'
70307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70308 (eval $ac_try) 2>&5
70309 ac_status=$?
70310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70311 (exit $ac_status); }; }; then
70312 eval "$as_ac_var=yes"
70313 else
70314 echo "$as_me: failed program was:" >&5
70315 sed 's/^/| /' conftest.$ac_ext >&5
70316
70317 eval "$as_ac_var=no"
70318 fi
70319 rm -f conftest.err conftest.$ac_objext \
70320 conftest$ac_exeext conftest.$ac_ext
70321 fi
70322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70324 if test `eval echo '${'$as_ac_var'}'` = yes; then
70325 cat >>confdefs.h <<_ACEOF
70326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70327 _ACEOF
70328
70329 fi
70330 done
70331
70332 else
70333
70334 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
70335 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
70336 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70337 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
70338 echo $ECHO_N "(cached) $ECHO_C" >&6
70339 else
70340
70341
70342
70343 ac_ext=cc
70344 ac_cpp='$CXXCPP $CPPFLAGS'
70345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70348
70349 cat >conftest.$ac_ext <<_ACEOF
70350 /* confdefs.h. */
70351 _ACEOF
70352 cat confdefs.h >>conftest.$ac_ext
70353 cat >>conftest.$ac_ext <<_ACEOF
70354 /* end confdefs.h. */
70355 #include <math.h>
70356 #ifdef HAVE_IEEEFP_H
70357 #include <ieeefp.h>
70358 #endif
70359
70360 int
70361 main ()
70362 {
70363 _finitel(0);
70364 ;
70365 return 0;
70366 }
70367 _ACEOF
70368 rm -f conftest.$ac_objext
70369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70370 (eval $ac_compile) 2>conftest.er1
70371 ac_status=$?
70372 grep -v '^ *+' conftest.er1 >conftest.err
70373 rm -f conftest.er1
70374 cat conftest.err >&5
70375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70376 (exit $ac_status); } &&
70377 { ac_try='test -z "$ac_cxx_werror_flag"
70378 || test ! -s conftest.err'
70379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70380 (eval $ac_try) 2>&5
70381 ac_status=$?
70382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70383 (exit $ac_status); }; } &&
70384 { ac_try='test -s conftest.$ac_objext'
70385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70386 (eval $ac_try) 2>&5
70387 ac_status=$?
70388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70389 (exit $ac_status); }; }; then
70390 glibcxx_cv_func__finitel_use=yes
70391 else
70392 echo "$as_me: failed program was:" >&5
70393 sed 's/^/| /' conftest.$ac_ext >&5
70394
70395 glibcxx_cv_func__finitel_use=no
70396 fi
70397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70398 ac_ext=c
70399 ac_cpp='$CPP $CPPFLAGS'
70400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70403
70404
70405 fi
70406
70407 fi
70408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
70409 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
70410
70411 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70412
70413 for ac_func in _finitel
70414 do
70415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70416 echo "$as_me:$LINENO: checking for $ac_func" >&5
70417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70418 if eval "test \"\${$as_ac_var+set}\" = set"; then
70419 echo $ECHO_N "(cached) $ECHO_C" >&6
70420 else
70421 if test x$gcc_no_link = xyes; then
70422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70424 { (exit 1); exit 1; }; }
70425 fi
70426 cat >conftest.$ac_ext <<_ACEOF
70427 /* confdefs.h. */
70428 _ACEOF
70429 cat confdefs.h >>conftest.$ac_ext
70430 cat >>conftest.$ac_ext <<_ACEOF
70431 /* end confdefs.h. */
70432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70434 #define $ac_func innocuous_$ac_func
70435
70436 /* System header to define __stub macros and hopefully few prototypes,
70437 which can conflict with char $ac_func (); below.
70438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70439 <limits.h> exists even on freestanding compilers. */
70440
70441 #ifdef __STDC__
70442 # include <limits.h>
70443 #else
70444 # include <assert.h>
70445 #endif
70446
70447 #undef $ac_func
70448
70449 /* Override any gcc2 internal prototype to avoid an error. */
70450 #ifdef __cplusplus
70451 extern "C"
70452 {
70453 #endif
70454 /* We use char because int might match the return type of a gcc2
70455 builtin and then its argument prototype would still apply. */
70456 char $ac_func ();
70457 /* The GNU C library defines this for functions which it implements
70458 to always fail with ENOSYS. Some functions are actually named
70459 something starting with __ and the normal name is an alias. */
70460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70461 choke me
70462 #else
70463 char (*f) () = $ac_func;
70464 #endif
70465 #ifdef __cplusplus
70466 }
70467 #endif
70468
70469 int
70470 main ()
70471 {
70472 return f != $ac_func;
70473 ;
70474 return 0;
70475 }
70476 _ACEOF
70477 rm -f conftest.$ac_objext conftest$ac_exeext
70478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70479 (eval $ac_link) 2>conftest.er1
70480 ac_status=$?
70481 grep -v '^ *+' conftest.er1 >conftest.err
70482 rm -f conftest.er1
70483 cat conftest.err >&5
70484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70485 (exit $ac_status); } &&
70486 { ac_try='test -z "$ac_c_werror_flag"
70487 || test ! -s conftest.err'
70488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70489 (eval $ac_try) 2>&5
70490 ac_status=$?
70491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70492 (exit $ac_status); }; } &&
70493 { ac_try='test -s conftest$ac_exeext'
70494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70495 (eval $ac_try) 2>&5
70496 ac_status=$?
70497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70498 (exit $ac_status); }; }; then
70499 eval "$as_ac_var=yes"
70500 else
70501 echo "$as_me: failed program was:" >&5
70502 sed 's/^/| /' conftest.$ac_ext >&5
70503
70504 eval "$as_ac_var=no"
70505 fi
70506 rm -f conftest.err conftest.$ac_objext \
70507 conftest$ac_exeext conftest.$ac_ext
70508 fi
70509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70511 if test `eval echo '${'$as_ac_var'}'` = yes; then
70512 cat >>confdefs.h <<_ACEOF
70513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70514 _ACEOF
70515
70516 fi
70517 done
70518
70519 fi
70520 fi
70521
70522
70523
70524
70525
70526 LIBS="$ac_save_LIBS"
70527 CXXFLAGS="$ac_save_CXXFLAGS"
70528
70529
70530
70531 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70532 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70533 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70534 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70535 echo $ECHO_N "(cached) $ECHO_C" >&6
70536 else
70537
70538
70539
70540 ac_ext=cc
70541 ac_cpp='$CXXCPP $CPPFLAGS'
70542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70545
70546 cat >conftest.$ac_ext <<_ACEOF
70547 /* confdefs.h. */
70548 _ACEOF
70549 cat confdefs.h >>conftest.$ac_ext
70550 cat >>conftest.$ac_ext <<_ACEOF
70551 /* end confdefs.h. */
70552 #include <math.h>
70553 int
70554 main ()
70555 {
70556 __builtin_abs(0);
70557 ;
70558 return 0;
70559 }
70560 _ACEOF
70561 rm -f conftest.$ac_objext
70562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70563 (eval $ac_compile) 2>conftest.er1
70564 ac_status=$?
70565 grep -v '^ *+' conftest.er1 >conftest.err
70566 rm -f conftest.er1
70567 cat conftest.err >&5
70568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70569 (exit $ac_status); } &&
70570 { ac_try='test -z "$ac_cxx_werror_flag"
70571 || test ! -s conftest.err'
70572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70573 (eval $ac_try) 2>&5
70574 ac_status=$?
70575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70576 (exit $ac_status); }; } &&
70577 { ac_try='test -s conftest.$ac_objext'
70578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70579 (eval $ac_try) 2>&5
70580 ac_status=$?
70581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582 (exit $ac_status); }; }; then
70583 glibcxx_cv_func___builtin_abs_use=yes
70584 else
70585 echo "$as_me: failed program was:" >&5
70586 sed 's/^/| /' conftest.$ac_ext >&5
70587
70588 glibcxx_cv_func___builtin_abs_use=no
70589 fi
70590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70591 ac_ext=c
70592 ac_cpp='$CPP $CPPFLAGS'
70593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70596
70597
70598 fi
70599
70600 fi
70601 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70602 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70603 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70604 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70605 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70606 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70607 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70608 echo $ECHO_N "(cached) $ECHO_C" >&6
70609 else
70610
70611 if test x$gcc_no_link = xyes; then
70612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70614 { (exit 1); exit 1; }; }
70615 fi
70616 cat >conftest.$ac_ext <<_ACEOF
70617 /* confdefs.h. */
70618 _ACEOF
70619 cat confdefs.h >>conftest.$ac_ext
70620 cat >>conftest.$ac_ext <<_ACEOF
70621 /* end confdefs.h. */
70622 #include <math.h>
70623 int
70624 main ()
70625 {
70626 __builtin_abs(0);
70627 ;
70628 return 0;
70629 }
70630 _ACEOF
70631 rm -f conftest.$ac_objext conftest$ac_exeext
70632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70633 (eval $ac_link) 2>conftest.er1
70634 ac_status=$?
70635 grep -v '^ *+' conftest.er1 >conftest.err
70636 rm -f conftest.er1
70637 cat conftest.err >&5
70638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70639 (exit $ac_status); } &&
70640 { ac_try='test -z "$ac_c_werror_flag"
70641 || test ! -s conftest.err'
70642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70643 (eval $ac_try) 2>&5
70644 ac_status=$?
70645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70646 (exit $ac_status); }; } &&
70647 { ac_try='test -s conftest$ac_exeext'
70648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70649 (eval $ac_try) 2>&5
70650 ac_status=$?
70651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70652 (exit $ac_status); }; }; then
70653 glibcxx_cv_func___builtin_abs_link=yes
70654 else
70655 echo "$as_me: failed program was:" >&5
70656 sed 's/^/| /' conftest.$ac_ext >&5
70657
70658 glibcxx_cv_func___builtin_abs_link=no
70659 fi
70660 rm -f conftest.err conftest.$ac_objext \
70661 conftest$ac_exeext conftest.$ac_ext
70662
70663 fi
70664
70665 fi
70666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70667 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70668
70669 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70670
70671 cat >>confdefs.h <<\_ACEOF
70672 #define HAVE___BUILTIN_ABS 1
70673 _ACEOF
70674
70675 fi
70676
70677 fi
70678
70679
70680 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70681 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70682 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70683 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70684 echo $ECHO_N "(cached) $ECHO_C" >&6
70685 else
70686
70687
70688
70689 ac_ext=cc
70690 ac_cpp='$CXXCPP $CPPFLAGS'
70691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70694
70695 cat >conftest.$ac_ext <<_ACEOF
70696 /* confdefs.h. */
70697 _ACEOF
70698 cat confdefs.h >>conftest.$ac_ext
70699 cat >>conftest.$ac_ext <<_ACEOF
70700 /* end confdefs.h. */
70701 #include <math.h>
70702 int
70703 main ()
70704 {
70705 __builtin_fabsf(0);
70706 ;
70707 return 0;
70708 }
70709 _ACEOF
70710 rm -f conftest.$ac_objext
70711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70712 (eval $ac_compile) 2>conftest.er1
70713 ac_status=$?
70714 grep -v '^ *+' conftest.er1 >conftest.err
70715 rm -f conftest.er1
70716 cat conftest.err >&5
70717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70718 (exit $ac_status); } &&
70719 { ac_try='test -z "$ac_cxx_werror_flag"
70720 || test ! -s conftest.err'
70721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70722 (eval $ac_try) 2>&5
70723 ac_status=$?
70724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70725 (exit $ac_status); }; } &&
70726 { ac_try='test -s conftest.$ac_objext'
70727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70728 (eval $ac_try) 2>&5
70729 ac_status=$?
70730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70731 (exit $ac_status); }; }; then
70732 glibcxx_cv_func___builtin_fabsf_use=yes
70733 else
70734 echo "$as_me: failed program was:" >&5
70735 sed 's/^/| /' conftest.$ac_ext >&5
70736
70737 glibcxx_cv_func___builtin_fabsf_use=no
70738 fi
70739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70740 ac_ext=c
70741 ac_cpp='$CPP $CPPFLAGS'
70742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70745
70746
70747 fi
70748
70749 fi
70750 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70751 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70752 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70753 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70754 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70755 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70756 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70757 echo $ECHO_N "(cached) $ECHO_C" >&6
70758 else
70759
70760 if test x$gcc_no_link = xyes; then
70761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70763 { (exit 1); exit 1; }; }
70764 fi
70765 cat >conftest.$ac_ext <<_ACEOF
70766 /* confdefs.h. */
70767 _ACEOF
70768 cat confdefs.h >>conftest.$ac_ext
70769 cat >>conftest.$ac_ext <<_ACEOF
70770 /* end confdefs.h. */
70771 #include <math.h>
70772 int
70773 main ()
70774 {
70775 __builtin_fabsf(0);
70776 ;
70777 return 0;
70778 }
70779 _ACEOF
70780 rm -f conftest.$ac_objext conftest$ac_exeext
70781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70782 (eval $ac_link) 2>conftest.er1
70783 ac_status=$?
70784 grep -v '^ *+' conftest.er1 >conftest.err
70785 rm -f conftest.er1
70786 cat conftest.err >&5
70787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70788 (exit $ac_status); } &&
70789 { ac_try='test -z "$ac_c_werror_flag"
70790 || test ! -s conftest.err'
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); }; } &&
70796 { ac_try='test -s conftest$ac_exeext'
70797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70798 (eval $ac_try) 2>&5
70799 ac_status=$?
70800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70801 (exit $ac_status); }; }; then
70802 glibcxx_cv_func___builtin_fabsf_link=yes
70803 else
70804 echo "$as_me: failed program was:" >&5
70805 sed 's/^/| /' conftest.$ac_ext >&5
70806
70807 glibcxx_cv_func___builtin_fabsf_link=no
70808 fi
70809 rm -f conftest.err conftest.$ac_objext \
70810 conftest$ac_exeext conftest.$ac_ext
70811
70812 fi
70813
70814 fi
70815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70817
70818 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70819
70820 cat >>confdefs.h <<\_ACEOF
70821 #define HAVE___BUILTIN_FABSF 1
70822 _ACEOF
70823
70824 fi
70825
70826 fi
70827
70828
70829 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70830 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70831 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70832 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70833 echo $ECHO_N "(cached) $ECHO_C" >&6
70834 else
70835
70836
70837
70838 ac_ext=cc
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70843
70844 cat >conftest.$ac_ext <<_ACEOF
70845 /* confdefs.h. */
70846 _ACEOF
70847 cat confdefs.h >>conftest.$ac_ext
70848 cat >>conftest.$ac_ext <<_ACEOF
70849 /* end confdefs.h. */
70850 #include <math.h>
70851 int
70852 main ()
70853 {
70854 __builtin_fabs(0);
70855 ;
70856 return 0;
70857 }
70858 _ACEOF
70859 rm -f conftest.$ac_objext
70860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70861 (eval $ac_compile) 2>conftest.er1
70862 ac_status=$?
70863 grep -v '^ *+' conftest.er1 >conftest.err
70864 rm -f conftest.er1
70865 cat conftest.err >&5
70866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70867 (exit $ac_status); } &&
70868 { ac_try='test -z "$ac_cxx_werror_flag"
70869 || test ! -s conftest.err'
70870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70871 (eval $ac_try) 2>&5
70872 ac_status=$?
70873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70874 (exit $ac_status); }; } &&
70875 { ac_try='test -s conftest.$ac_objext'
70876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70877 (eval $ac_try) 2>&5
70878 ac_status=$?
70879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70880 (exit $ac_status); }; }; then
70881 glibcxx_cv_func___builtin_fabs_use=yes
70882 else
70883 echo "$as_me: failed program was:" >&5
70884 sed 's/^/| /' conftest.$ac_ext >&5
70885
70886 glibcxx_cv_func___builtin_fabs_use=no
70887 fi
70888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70889 ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70894
70895
70896 fi
70897
70898 fi
70899 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70900 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70901 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70902 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70903 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70904 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70905 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70906 echo $ECHO_N "(cached) $ECHO_C" >&6
70907 else
70908
70909 if test x$gcc_no_link = xyes; then
70910 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70912 { (exit 1); exit 1; }; }
70913 fi
70914 cat >conftest.$ac_ext <<_ACEOF
70915 /* confdefs.h. */
70916 _ACEOF
70917 cat confdefs.h >>conftest.$ac_ext
70918 cat >>conftest.$ac_ext <<_ACEOF
70919 /* end confdefs.h. */
70920 #include <math.h>
70921 int
70922 main ()
70923 {
70924 __builtin_fabs(0);
70925 ;
70926 return 0;
70927 }
70928 _ACEOF
70929 rm -f conftest.$ac_objext conftest$ac_exeext
70930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70931 (eval $ac_link) 2>conftest.er1
70932 ac_status=$?
70933 grep -v '^ *+' conftest.er1 >conftest.err
70934 rm -f conftest.er1
70935 cat conftest.err >&5
70936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70937 (exit $ac_status); } &&
70938 { ac_try='test -z "$ac_c_werror_flag"
70939 || test ! -s conftest.err'
70940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70941 (eval $ac_try) 2>&5
70942 ac_status=$?
70943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70944 (exit $ac_status); }; } &&
70945 { ac_try='test -s conftest$ac_exeext'
70946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70947 (eval $ac_try) 2>&5
70948 ac_status=$?
70949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70950 (exit $ac_status); }; }; then
70951 glibcxx_cv_func___builtin_fabs_link=yes
70952 else
70953 echo "$as_me: failed program was:" >&5
70954 sed 's/^/| /' conftest.$ac_ext >&5
70955
70956 glibcxx_cv_func___builtin_fabs_link=no
70957 fi
70958 rm -f conftest.err conftest.$ac_objext \
70959 conftest$ac_exeext conftest.$ac_ext
70960
70961 fi
70962
70963 fi
70964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70965 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70966
70967 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70968
70969 cat >>confdefs.h <<\_ACEOF
70970 #define HAVE___BUILTIN_FABS 1
70971 _ACEOF
70972
70973 fi
70974
70975 fi
70976
70977
70978 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70979 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70980 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70981 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70982 echo $ECHO_N "(cached) $ECHO_C" >&6
70983 else
70984
70985
70986
70987 ac_ext=cc
70988 ac_cpp='$CXXCPP $CPPFLAGS'
70989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70992
70993 cat >conftest.$ac_ext <<_ACEOF
70994 /* confdefs.h. */
70995 _ACEOF
70996 cat confdefs.h >>conftest.$ac_ext
70997 cat >>conftest.$ac_ext <<_ACEOF
70998 /* end confdefs.h. */
70999 #include <math.h>
71000 int
71001 main ()
71002 {
71003 __builtin_fabsl(0);
71004 ;
71005 return 0;
71006 }
71007 _ACEOF
71008 rm -f conftest.$ac_objext
71009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71010 (eval $ac_compile) 2>conftest.er1
71011 ac_status=$?
71012 grep -v '^ *+' conftest.er1 >conftest.err
71013 rm -f conftest.er1
71014 cat conftest.err >&5
71015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71016 (exit $ac_status); } &&
71017 { ac_try='test -z "$ac_cxx_werror_flag"
71018 || test ! -s conftest.err'
71019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71020 (eval $ac_try) 2>&5
71021 ac_status=$?
71022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71023 (exit $ac_status); }; } &&
71024 { ac_try='test -s conftest.$ac_objext'
71025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71026 (eval $ac_try) 2>&5
71027 ac_status=$?
71028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71029 (exit $ac_status); }; }; then
71030 glibcxx_cv_func___builtin_fabsl_use=yes
71031 else
71032 echo "$as_me: failed program was:" >&5
71033 sed 's/^/| /' conftest.$ac_ext >&5
71034
71035 glibcxx_cv_func___builtin_fabsl_use=no
71036 fi
71037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71038 ac_ext=c
71039 ac_cpp='$CPP $CPPFLAGS'
71040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71043
71044
71045 fi
71046
71047 fi
71048 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71050 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71051 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71052 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71053 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71054 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71055 echo $ECHO_N "(cached) $ECHO_C" >&6
71056 else
71057
71058 if test x$gcc_no_link = xyes; then
71059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71061 { (exit 1); exit 1; }; }
71062 fi
71063 cat >conftest.$ac_ext <<_ACEOF
71064 /* confdefs.h. */
71065 _ACEOF
71066 cat confdefs.h >>conftest.$ac_ext
71067 cat >>conftest.$ac_ext <<_ACEOF
71068 /* end confdefs.h. */
71069 #include <math.h>
71070 int
71071 main ()
71072 {
71073 __builtin_fabsl(0);
71074 ;
71075 return 0;
71076 }
71077 _ACEOF
71078 rm -f conftest.$ac_objext conftest$ac_exeext
71079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71080 (eval $ac_link) 2>conftest.er1
71081 ac_status=$?
71082 grep -v '^ *+' conftest.er1 >conftest.err
71083 rm -f conftest.er1
71084 cat conftest.err >&5
71085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71086 (exit $ac_status); } &&
71087 { ac_try='test -z "$ac_c_werror_flag"
71088 || test ! -s conftest.err'
71089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71090 (eval $ac_try) 2>&5
71091 ac_status=$?
71092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71093 (exit $ac_status); }; } &&
71094 { ac_try='test -s conftest$ac_exeext'
71095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71096 (eval $ac_try) 2>&5
71097 ac_status=$?
71098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71099 (exit $ac_status); }; }; then
71100 glibcxx_cv_func___builtin_fabsl_link=yes
71101 else
71102 echo "$as_me: failed program was:" >&5
71103 sed 's/^/| /' conftest.$ac_ext >&5
71104
71105 glibcxx_cv_func___builtin_fabsl_link=no
71106 fi
71107 rm -f conftest.err conftest.$ac_objext \
71108 conftest$ac_exeext conftest.$ac_ext
71109
71110 fi
71111
71112 fi
71113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71114 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71115
71116 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71117
71118 cat >>confdefs.h <<\_ACEOF
71119 #define HAVE___BUILTIN_FABSL 1
71120 _ACEOF
71121
71122 fi
71123
71124 fi
71125
71126
71127 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71128 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71129 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71130 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71131 echo $ECHO_N "(cached) $ECHO_C" >&6
71132 else
71133
71134
71135
71136 ac_ext=cc
71137 ac_cpp='$CXXCPP $CPPFLAGS'
71138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71141
71142 cat >conftest.$ac_ext <<_ACEOF
71143 /* confdefs.h. */
71144 _ACEOF
71145 cat confdefs.h >>conftest.$ac_ext
71146 cat >>conftest.$ac_ext <<_ACEOF
71147 /* end confdefs.h. */
71148 #include <math.h>
71149 int
71150 main ()
71151 {
71152 __builtin_labs(0);
71153 ;
71154 return 0;
71155 }
71156 _ACEOF
71157 rm -f conftest.$ac_objext
71158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71159 (eval $ac_compile) 2>conftest.er1
71160 ac_status=$?
71161 grep -v '^ *+' conftest.er1 >conftest.err
71162 rm -f conftest.er1
71163 cat conftest.err >&5
71164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71165 (exit $ac_status); } &&
71166 { ac_try='test -z "$ac_cxx_werror_flag"
71167 || test ! -s conftest.err'
71168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71169 (eval $ac_try) 2>&5
71170 ac_status=$?
71171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71172 (exit $ac_status); }; } &&
71173 { ac_try='test -s conftest.$ac_objext'
71174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71175 (eval $ac_try) 2>&5
71176 ac_status=$?
71177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71178 (exit $ac_status); }; }; then
71179 glibcxx_cv_func___builtin_labs_use=yes
71180 else
71181 echo "$as_me: failed program was:" >&5
71182 sed 's/^/| /' conftest.$ac_ext >&5
71183
71184 glibcxx_cv_func___builtin_labs_use=no
71185 fi
71186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71187 ac_ext=c
71188 ac_cpp='$CPP $CPPFLAGS'
71189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71192
71193
71194 fi
71195
71196 fi
71197 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71198 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71199 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71200 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71201 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71202 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71203 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71204 echo $ECHO_N "(cached) $ECHO_C" >&6
71205 else
71206
71207 if test x$gcc_no_link = xyes; then
71208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71210 { (exit 1); exit 1; }; }
71211 fi
71212 cat >conftest.$ac_ext <<_ACEOF
71213 /* confdefs.h. */
71214 _ACEOF
71215 cat confdefs.h >>conftest.$ac_ext
71216 cat >>conftest.$ac_ext <<_ACEOF
71217 /* end confdefs.h. */
71218 #include <math.h>
71219 int
71220 main ()
71221 {
71222 __builtin_labs(0);
71223 ;
71224 return 0;
71225 }
71226 _ACEOF
71227 rm -f conftest.$ac_objext conftest$ac_exeext
71228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71229 (eval $ac_link) 2>conftest.er1
71230 ac_status=$?
71231 grep -v '^ *+' conftest.er1 >conftest.err
71232 rm -f conftest.er1
71233 cat conftest.err >&5
71234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71235 (exit $ac_status); } &&
71236 { ac_try='test -z "$ac_c_werror_flag"
71237 || test ! -s conftest.err'
71238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71239 (eval $ac_try) 2>&5
71240 ac_status=$?
71241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71242 (exit $ac_status); }; } &&
71243 { ac_try='test -s conftest$ac_exeext'
71244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71245 (eval $ac_try) 2>&5
71246 ac_status=$?
71247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71248 (exit $ac_status); }; }; then
71249 glibcxx_cv_func___builtin_labs_link=yes
71250 else
71251 echo "$as_me: failed program was:" >&5
71252 sed 's/^/| /' conftest.$ac_ext >&5
71253
71254 glibcxx_cv_func___builtin_labs_link=no
71255 fi
71256 rm -f conftest.err conftest.$ac_objext \
71257 conftest$ac_exeext conftest.$ac_ext
71258
71259 fi
71260
71261 fi
71262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71263 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71264
71265 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71266
71267 cat >>confdefs.h <<\_ACEOF
71268 #define HAVE___BUILTIN_LABS 1
71269 _ACEOF
71270
71271 fi
71272
71273 fi
71274
71275
71276
71277 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71278 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71279 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71280 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71281 echo $ECHO_N "(cached) $ECHO_C" >&6
71282 else
71283
71284
71285
71286 ac_ext=cc
71287 ac_cpp='$CXXCPP $CPPFLAGS'
71288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71291
71292 cat >conftest.$ac_ext <<_ACEOF
71293 /* confdefs.h. */
71294 _ACEOF
71295 cat confdefs.h >>conftest.$ac_ext
71296 cat >>conftest.$ac_ext <<_ACEOF
71297 /* end confdefs.h. */
71298 #include <math.h>
71299 int
71300 main ()
71301 {
71302 __builtin_sqrtf(0);
71303 ;
71304 return 0;
71305 }
71306 _ACEOF
71307 rm -f conftest.$ac_objext
71308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71309 (eval $ac_compile) 2>conftest.er1
71310 ac_status=$?
71311 grep -v '^ *+' conftest.er1 >conftest.err
71312 rm -f conftest.er1
71313 cat conftest.err >&5
71314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71315 (exit $ac_status); } &&
71316 { ac_try='test -z "$ac_cxx_werror_flag"
71317 || test ! -s conftest.err'
71318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71319 (eval $ac_try) 2>&5
71320 ac_status=$?
71321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71322 (exit $ac_status); }; } &&
71323 { ac_try='test -s conftest.$ac_objext'
71324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71325 (eval $ac_try) 2>&5
71326 ac_status=$?
71327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71328 (exit $ac_status); }; }; then
71329 glibcxx_cv_func___builtin_sqrtf_use=yes
71330 else
71331 echo "$as_me: failed program was:" >&5
71332 sed 's/^/| /' conftest.$ac_ext >&5
71333
71334 glibcxx_cv_func___builtin_sqrtf_use=no
71335 fi
71336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71337 ac_ext=c
71338 ac_cpp='$CPP $CPPFLAGS'
71339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71342
71343
71344 fi
71345
71346 fi
71347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71349 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71350 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71351 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71352 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71353 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71354 echo $ECHO_N "(cached) $ECHO_C" >&6
71355 else
71356
71357 if test x$gcc_no_link = xyes; then
71358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71360 { (exit 1); exit 1; }; }
71361 fi
71362 cat >conftest.$ac_ext <<_ACEOF
71363 /* confdefs.h. */
71364 _ACEOF
71365 cat confdefs.h >>conftest.$ac_ext
71366 cat >>conftest.$ac_ext <<_ACEOF
71367 /* end confdefs.h. */
71368 #include <math.h>
71369 int
71370 main ()
71371 {
71372 __builtin_sqrtf(0);
71373 ;
71374 return 0;
71375 }
71376 _ACEOF
71377 rm -f conftest.$ac_objext conftest$ac_exeext
71378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71379 (eval $ac_link) 2>conftest.er1
71380 ac_status=$?
71381 grep -v '^ *+' conftest.er1 >conftest.err
71382 rm -f conftest.er1
71383 cat conftest.err >&5
71384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71385 (exit $ac_status); } &&
71386 { ac_try='test -z "$ac_c_werror_flag"
71387 || test ! -s conftest.err'
71388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71389 (eval $ac_try) 2>&5
71390 ac_status=$?
71391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71392 (exit $ac_status); }; } &&
71393 { ac_try='test -s conftest$ac_exeext'
71394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71395 (eval $ac_try) 2>&5
71396 ac_status=$?
71397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71398 (exit $ac_status); }; }; then
71399 glibcxx_cv_func___builtin_sqrtf_link=yes
71400 else
71401 echo "$as_me: failed program was:" >&5
71402 sed 's/^/| /' conftest.$ac_ext >&5
71403
71404 glibcxx_cv_func___builtin_sqrtf_link=no
71405 fi
71406 rm -f conftest.err conftest.$ac_objext \
71407 conftest$ac_exeext conftest.$ac_ext
71408
71409 fi
71410
71411 fi
71412 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71413 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71414
71415 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71416
71417 cat >>confdefs.h <<\_ACEOF
71418 #define HAVE___BUILTIN_SQRTF 1
71419 _ACEOF
71420
71421 fi
71422
71423 fi
71424
71425
71426 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71427 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71428 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71429 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71430 echo $ECHO_N "(cached) $ECHO_C" >&6
71431 else
71432
71433
71434
71435 ac_ext=cc
71436 ac_cpp='$CXXCPP $CPPFLAGS'
71437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71440
71441 cat >conftest.$ac_ext <<_ACEOF
71442 /* confdefs.h. */
71443 _ACEOF
71444 cat confdefs.h >>conftest.$ac_ext
71445 cat >>conftest.$ac_ext <<_ACEOF
71446 /* end confdefs.h. */
71447 #include <math.h>
71448 int
71449 main ()
71450 {
71451 __builtin_sqrt(0);
71452 ;
71453 return 0;
71454 }
71455 _ACEOF
71456 rm -f conftest.$ac_objext
71457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71458 (eval $ac_compile) 2>conftest.er1
71459 ac_status=$?
71460 grep -v '^ *+' conftest.er1 >conftest.err
71461 rm -f conftest.er1
71462 cat conftest.err >&5
71463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71464 (exit $ac_status); } &&
71465 { ac_try='test -z "$ac_cxx_werror_flag"
71466 || test ! -s conftest.err'
71467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71468 (eval $ac_try) 2>&5
71469 ac_status=$?
71470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71471 (exit $ac_status); }; } &&
71472 { ac_try='test -s conftest.$ac_objext'
71473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71474 (eval $ac_try) 2>&5
71475 ac_status=$?
71476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71477 (exit $ac_status); }; }; then
71478 glibcxx_cv_func___builtin_sqrt_use=yes
71479 else
71480 echo "$as_me: failed program was:" >&5
71481 sed 's/^/| /' conftest.$ac_ext >&5
71482
71483 glibcxx_cv_func___builtin_sqrt_use=no
71484 fi
71485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71486 ac_ext=c
71487 ac_cpp='$CPP $CPPFLAGS'
71488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71491
71492
71493 fi
71494
71495 fi
71496 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71497 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71498 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71499 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71500 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71501 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71502 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71503 echo $ECHO_N "(cached) $ECHO_C" >&6
71504 else
71505
71506 if test x$gcc_no_link = xyes; then
71507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71509 { (exit 1); exit 1; }; }
71510 fi
71511 cat >conftest.$ac_ext <<_ACEOF
71512 /* confdefs.h. */
71513 _ACEOF
71514 cat confdefs.h >>conftest.$ac_ext
71515 cat >>conftest.$ac_ext <<_ACEOF
71516 /* end confdefs.h. */
71517 #include <math.h>
71518 int
71519 main ()
71520 {
71521 __builtin_sqrt(0);
71522 ;
71523 return 0;
71524 }
71525 _ACEOF
71526 rm -f conftest.$ac_objext conftest$ac_exeext
71527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71528 (eval $ac_link) 2>conftest.er1
71529 ac_status=$?
71530 grep -v '^ *+' conftest.er1 >conftest.err
71531 rm -f conftest.er1
71532 cat conftest.err >&5
71533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71534 (exit $ac_status); } &&
71535 { ac_try='test -z "$ac_c_werror_flag"
71536 || test ! -s conftest.err'
71537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71538 (eval $ac_try) 2>&5
71539 ac_status=$?
71540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71541 (exit $ac_status); }; } &&
71542 { ac_try='test -s conftest$ac_exeext'
71543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71544 (eval $ac_try) 2>&5
71545 ac_status=$?
71546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71547 (exit $ac_status); }; }; then
71548 glibcxx_cv_func___builtin_sqrt_link=yes
71549 else
71550 echo "$as_me: failed program was:" >&5
71551 sed 's/^/| /' conftest.$ac_ext >&5
71552
71553 glibcxx_cv_func___builtin_sqrt_link=no
71554 fi
71555 rm -f conftest.err conftest.$ac_objext \
71556 conftest$ac_exeext conftest.$ac_ext
71557
71558 fi
71559
71560 fi
71561 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71562 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71563
71564 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71565
71566 cat >>confdefs.h <<\_ACEOF
71567 #define HAVE___BUILTIN_SQRT 1
71568 _ACEOF
71569
71570 fi
71571
71572 fi
71573
71574
71575 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71576 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71577 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71578 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71579 echo $ECHO_N "(cached) $ECHO_C" >&6
71580 else
71581
71582
71583
71584 ac_ext=cc
71585 ac_cpp='$CXXCPP $CPPFLAGS'
71586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71589
71590 cat >conftest.$ac_ext <<_ACEOF
71591 /* confdefs.h. */
71592 _ACEOF
71593 cat confdefs.h >>conftest.$ac_ext
71594 cat >>conftest.$ac_ext <<_ACEOF
71595 /* end confdefs.h. */
71596 #include <math.h>
71597 int
71598 main ()
71599 {
71600 __builtin_sqrtl(0);
71601 ;
71602 return 0;
71603 }
71604 _ACEOF
71605 rm -f conftest.$ac_objext
71606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71607 (eval $ac_compile) 2>conftest.er1
71608 ac_status=$?
71609 grep -v '^ *+' conftest.er1 >conftest.err
71610 rm -f conftest.er1
71611 cat conftest.err >&5
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); } &&
71614 { ac_try='test -z "$ac_cxx_werror_flag"
71615 || test ! -s conftest.err'
71616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71617 (eval $ac_try) 2>&5
71618 ac_status=$?
71619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71620 (exit $ac_status); }; } &&
71621 { ac_try='test -s conftest.$ac_objext'
71622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71623 (eval $ac_try) 2>&5
71624 ac_status=$?
71625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71626 (exit $ac_status); }; }; then
71627 glibcxx_cv_func___builtin_sqrtl_use=yes
71628 else
71629 echo "$as_me: failed program was:" >&5
71630 sed 's/^/| /' conftest.$ac_ext >&5
71631
71632 glibcxx_cv_func___builtin_sqrtl_use=no
71633 fi
71634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71635 ac_ext=c
71636 ac_cpp='$CPP $CPPFLAGS'
71637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71640
71641
71642 fi
71643
71644 fi
71645 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71646 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71647 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71648 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71649 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71650 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71651 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71652 echo $ECHO_N "(cached) $ECHO_C" >&6
71653 else
71654
71655 if test x$gcc_no_link = xyes; then
71656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71658 { (exit 1); exit 1; }; }
71659 fi
71660 cat >conftest.$ac_ext <<_ACEOF
71661 /* confdefs.h. */
71662 _ACEOF
71663 cat confdefs.h >>conftest.$ac_ext
71664 cat >>conftest.$ac_ext <<_ACEOF
71665 /* end confdefs.h. */
71666 #include <math.h>
71667 int
71668 main ()
71669 {
71670 __builtin_sqrtl(0);
71671 ;
71672 return 0;
71673 }
71674 _ACEOF
71675 rm -f conftest.$ac_objext conftest$ac_exeext
71676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71677 (eval $ac_link) 2>conftest.er1
71678 ac_status=$?
71679 grep -v '^ *+' conftest.er1 >conftest.err
71680 rm -f conftest.er1
71681 cat conftest.err >&5
71682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71683 (exit $ac_status); } &&
71684 { ac_try='test -z "$ac_c_werror_flag"
71685 || test ! -s conftest.err'
71686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71687 (eval $ac_try) 2>&5
71688 ac_status=$?
71689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71690 (exit $ac_status); }; } &&
71691 { ac_try='test -s conftest$ac_exeext'
71692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71693 (eval $ac_try) 2>&5
71694 ac_status=$?
71695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71696 (exit $ac_status); }; }; then
71697 glibcxx_cv_func___builtin_sqrtl_link=yes
71698 else
71699 echo "$as_me: failed program was:" >&5
71700 sed 's/^/| /' conftest.$ac_ext >&5
71701
71702 glibcxx_cv_func___builtin_sqrtl_link=no
71703 fi
71704 rm -f conftest.err conftest.$ac_objext \
71705 conftest$ac_exeext conftest.$ac_ext
71706
71707 fi
71708
71709 fi
71710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71712
71713 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71714
71715 cat >>confdefs.h <<\_ACEOF
71716 #define HAVE___BUILTIN_SQRTL 1
71717 _ACEOF
71718
71719 fi
71720
71721 fi
71722
71723
71724
71725 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71726 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71727 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71728 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71729 echo $ECHO_N "(cached) $ECHO_C" >&6
71730 else
71731
71732
71733
71734 ac_ext=cc
71735 ac_cpp='$CXXCPP $CPPFLAGS'
71736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71739
71740 cat >conftest.$ac_ext <<_ACEOF
71741 /* confdefs.h. */
71742 _ACEOF
71743 cat confdefs.h >>conftest.$ac_ext
71744 cat >>conftest.$ac_ext <<_ACEOF
71745 /* end confdefs.h. */
71746 #include <math.h>
71747 int
71748 main ()
71749 {
71750 __builtin_sinf(0);
71751 ;
71752 return 0;
71753 }
71754 _ACEOF
71755 rm -f conftest.$ac_objext
71756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71757 (eval $ac_compile) 2>conftest.er1
71758 ac_status=$?
71759 grep -v '^ *+' conftest.er1 >conftest.err
71760 rm -f conftest.er1
71761 cat conftest.err >&5
71762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71763 (exit $ac_status); } &&
71764 { ac_try='test -z "$ac_cxx_werror_flag"
71765 || test ! -s conftest.err'
71766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71767 (eval $ac_try) 2>&5
71768 ac_status=$?
71769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71770 (exit $ac_status); }; } &&
71771 { ac_try='test -s conftest.$ac_objext'
71772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71773 (eval $ac_try) 2>&5
71774 ac_status=$?
71775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71776 (exit $ac_status); }; }; then
71777 glibcxx_cv_func___builtin_sinf_use=yes
71778 else
71779 echo "$as_me: failed program was:" >&5
71780 sed 's/^/| /' conftest.$ac_ext >&5
71781
71782 glibcxx_cv_func___builtin_sinf_use=no
71783 fi
71784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71785 ac_ext=c
71786 ac_cpp='$CPP $CPPFLAGS'
71787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71790
71791
71792 fi
71793
71794 fi
71795 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71796 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71797 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71798 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71799 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71800 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71801 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71802 echo $ECHO_N "(cached) $ECHO_C" >&6
71803 else
71804
71805 if test x$gcc_no_link = xyes; then
71806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71808 { (exit 1); exit 1; }; }
71809 fi
71810 cat >conftest.$ac_ext <<_ACEOF
71811 /* confdefs.h. */
71812 _ACEOF
71813 cat confdefs.h >>conftest.$ac_ext
71814 cat >>conftest.$ac_ext <<_ACEOF
71815 /* end confdefs.h. */
71816 #include <math.h>
71817 int
71818 main ()
71819 {
71820 __builtin_sinf(0);
71821 ;
71822 return 0;
71823 }
71824 _ACEOF
71825 rm -f conftest.$ac_objext conftest$ac_exeext
71826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71827 (eval $ac_link) 2>conftest.er1
71828 ac_status=$?
71829 grep -v '^ *+' conftest.er1 >conftest.err
71830 rm -f conftest.er1
71831 cat conftest.err >&5
71832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71833 (exit $ac_status); } &&
71834 { ac_try='test -z "$ac_c_werror_flag"
71835 || test ! -s conftest.err'
71836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71837 (eval $ac_try) 2>&5
71838 ac_status=$?
71839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71840 (exit $ac_status); }; } &&
71841 { ac_try='test -s conftest$ac_exeext'
71842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71843 (eval $ac_try) 2>&5
71844 ac_status=$?
71845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71846 (exit $ac_status); }; }; then
71847 glibcxx_cv_func___builtin_sinf_link=yes
71848 else
71849 echo "$as_me: failed program was:" >&5
71850 sed 's/^/| /' conftest.$ac_ext >&5
71851
71852 glibcxx_cv_func___builtin_sinf_link=no
71853 fi
71854 rm -f conftest.err conftest.$ac_objext \
71855 conftest$ac_exeext conftest.$ac_ext
71856
71857 fi
71858
71859 fi
71860 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71861 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71862
71863 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71864
71865 cat >>confdefs.h <<\_ACEOF
71866 #define HAVE___BUILTIN_SINF 1
71867 _ACEOF
71868
71869 fi
71870
71871 fi
71872
71873
71874 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71875 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71876 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71877 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71878 echo $ECHO_N "(cached) $ECHO_C" >&6
71879 else
71880
71881
71882
71883 ac_ext=cc
71884 ac_cpp='$CXXCPP $CPPFLAGS'
71885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71888
71889 cat >conftest.$ac_ext <<_ACEOF
71890 /* confdefs.h. */
71891 _ACEOF
71892 cat confdefs.h >>conftest.$ac_ext
71893 cat >>conftest.$ac_ext <<_ACEOF
71894 /* end confdefs.h. */
71895 #include <math.h>
71896 int
71897 main ()
71898 {
71899 __builtin_sin(0);
71900 ;
71901 return 0;
71902 }
71903 _ACEOF
71904 rm -f conftest.$ac_objext
71905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71906 (eval $ac_compile) 2>conftest.er1
71907 ac_status=$?
71908 grep -v '^ *+' conftest.er1 >conftest.err
71909 rm -f conftest.er1
71910 cat conftest.err >&5
71911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71912 (exit $ac_status); } &&
71913 { ac_try='test -z "$ac_cxx_werror_flag"
71914 || test ! -s conftest.err'
71915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71916 (eval $ac_try) 2>&5
71917 ac_status=$?
71918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71919 (exit $ac_status); }; } &&
71920 { ac_try='test -s conftest.$ac_objext'
71921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71922 (eval $ac_try) 2>&5
71923 ac_status=$?
71924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71925 (exit $ac_status); }; }; then
71926 glibcxx_cv_func___builtin_sin_use=yes
71927 else
71928 echo "$as_me: failed program was:" >&5
71929 sed 's/^/| /' conftest.$ac_ext >&5
71930
71931 glibcxx_cv_func___builtin_sin_use=no
71932 fi
71933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71934 ac_ext=c
71935 ac_cpp='$CPP $CPPFLAGS'
71936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71939
71940
71941 fi
71942
71943 fi
71944 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71945 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71946 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71947 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71948 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71949 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71950 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71951 echo $ECHO_N "(cached) $ECHO_C" >&6
71952 else
71953
71954 if test x$gcc_no_link = xyes; then
71955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71957 { (exit 1); exit 1; }; }
71958 fi
71959 cat >conftest.$ac_ext <<_ACEOF
71960 /* confdefs.h. */
71961 _ACEOF
71962 cat confdefs.h >>conftest.$ac_ext
71963 cat >>conftest.$ac_ext <<_ACEOF
71964 /* end confdefs.h. */
71965 #include <math.h>
71966 int
71967 main ()
71968 {
71969 __builtin_sin(0);
71970 ;
71971 return 0;
71972 }
71973 _ACEOF
71974 rm -f conftest.$ac_objext conftest$ac_exeext
71975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71976 (eval $ac_link) 2>conftest.er1
71977 ac_status=$?
71978 grep -v '^ *+' conftest.er1 >conftest.err
71979 rm -f conftest.er1
71980 cat conftest.err >&5
71981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71982 (exit $ac_status); } &&
71983 { ac_try='test -z "$ac_c_werror_flag"
71984 || test ! -s conftest.err'
71985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71986 (eval $ac_try) 2>&5
71987 ac_status=$?
71988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71989 (exit $ac_status); }; } &&
71990 { ac_try='test -s conftest$ac_exeext'
71991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71992 (eval $ac_try) 2>&5
71993 ac_status=$?
71994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71995 (exit $ac_status); }; }; then
71996 glibcxx_cv_func___builtin_sin_link=yes
71997 else
71998 echo "$as_me: failed program was:" >&5
71999 sed 's/^/| /' conftest.$ac_ext >&5
72000
72001 glibcxx_cv_func___builtin_sin_link=no
72002 fi
72003 rm -f conftest.err conftest.$ac_objext \
72004 conftest$ac_exeext conftest.$ac_ext
72005
72006 fi
72007
72008 fi
72009 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
72010 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
72011
72012 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
72013
72014 cat >>confdefs.h <<\_ACEOF
72015 #define HAVE___BUILTIN_SIN 1
72016 _ACEOF
72017
72018 fi
72019
72020 fi
72021
72022
72023 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72024 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72025 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72026 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72027 echo $ECHO_N "(cached) $ECHO_C" >&6
72028 else
72029
72030
72031
72032 ac_ext=cc
72033 ac_cpp='$CXXCPP $CPPFLAGS'
72034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72037
72038 cat >conftest.$ac_ext <<_ACEOF
72039 /* confdefs.h. */
72040 _ACEOF
72041 cat confdefs.h >>conftest.$ac_ext
72042 cat >>conftest.$ac_ext <<_ACEOF
72043 /* end confdefs.h. */
72044 #include <math.h>
72045 int
72046 main ()
72047 {
72048 __builtin_sinl(0);
72049 ;
72050 return 0;
72051 }
72052 _ACEOF
72053 rm -f conftest.$ac_objext
72054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72055 (eval $ac_compile) 2>conftest.er1
72056 ac_status=$?
72057 grep -v '^ *+' conftest.er1 >conftest.err
72058 rm -f conftest.er1
72059 cat conftest.err >&5
72060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72061 (exit $ac_status); } &&
72062 { ac_try='test -z "$ac_cxx_werror_flag"
72063 || test ! -s conftest.err'
72064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72065 (eval $ac_try) 2>&5
72066 ac_status=$?
72067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72068 (exit $ac_status); }; } &&
72069 { ac_try='test -s conftest.$ac_objext'
72070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72071 (eval $ac_try) 2>&5
72072 ac_status=$?
72073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72074 (exit $ac_status); }; }; then
72075 glibcxx_cv_func___builtin_sinl_use=yes
72076 else
72077 echo "$as_me: failed program was:" >&5
72078 sed 's/^/| /' conftest.$ac_ext >&5
72079
72080 glibcxx_cv_func___builtin_sinl_use=no
72081 fi
72082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72083 ac_ext=c
72084 ac_cpp='$CPP $CPPFLAGS'
72085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72088
72089
72090 fi
72091
72092 fi
72093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72095 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72096 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72097 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72098 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72099 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72100 echo $ECHO_N "(cached) $ECHO_C" >&6
72101 else
72102
72103 if test x$gcc_no_link = xyes; then
72104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72106 { (exit 1); exit 1; }; }
72107 fi
72108 cat >conftest.$ac_ext <<_ACEOF
72109 /* confdefs.h. */
72110 _ACEOF
72111 cat confdefs.h >>conftest.$ac_ext
72112 cat >>conftest.$ac_ext <<_ACEOF
72113 /* end confdefs.h. */
72114 #include <math.h>
72115 int
72116 main ()
72117 {
72118 __builtin_sinl(0);
72119 ;
72120 return 0;
72121 }
72122 _ACEOF
72123 rm -f conftest.$ac_objext conftest$ac_exeext
72124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72125 (eval $ac_link) 2>conftest.er1
72126 ac_status=$?
72127 grep -v '^ *+' conftest.er1 >conftest.err
72128 rm -f conftest.er1
72129 cat conftest.err >&5
72130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72131 (exit $ac_status); } &&
72132 { ac_try='test -z "$ac_c_werror_flag"
72133 || test ! -s conftest.err'
72134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72135 (eval $ac_try) 2>&5
72136 ac_status=$?
72137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72138 (exit $ac_status); }; } &&
72139 { ac_try='test -s conftest$ac_exeext'
72140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72141 (eval $ac_try) 2>&5
72142 ac_status=$?
72143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72144 (exit $ac_status); }; }; then
72145 glibcxx_cv_func___builtin_sinl_link=yes
72146 else
72147 echo "$as_me: failed program was:" >&5
72148 sed 's/^/| /' conftest.$ac_ext >&5
72149
72150 glibcxx_cv_func___builtin_sinl_link=no
72151 fi
72152 rm -f conftest.err conftest.$ac_objext \
72153 conftest$ac_exeext conftest.$ac_ext
72154
72155 fi
72156
72157 fi
72158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72160
72161 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72162
72163 cat >>confdefs.h <<\_ACEOF
72164 #define HAVE___BUILTIN_SINL 1
72165 _ACEOF
72166
72167 fi
72168
72169 fi
72170
72171
72172
72173 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72174 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72175 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72176 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72177 echo $ECHO_N "(cached) $ECHO_C" >&6
72178 else
72179
72180
72181
72182 ac_ext=cc
72183 ac_cpp='$CXXCPP $CPPFLAGS'
72184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72187
72188 cat >conftest.$ac_ext <<_ACEOF
72189 /* confdefs.h. */
72190 _ACEOF
72191 cat confdefs.h >>conftest.$ac_ext
72192 cat >>conftest.$ac_ext <<_ACEOF
72193 /* end confdefs.h. */
72194 #include <math.h>
72195 int
72196 main ()
72197 {
72198 __builtin_cosf(0);
72199 ;
72200 return 0;
72201 }
72202 _ACEOF
72203 rm -f conftest.$ac_objext
72204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72205 (eval $ac_compile) 2>conftest.er1
72206 ac_status=$?
72207 grep -v '^ *+' conftest.er1 >conftest.err
72208 rm -f conftest.er1
72209 cat conftest.err >&5
72210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72211 (exit $ac_status); } &&
72212 { ac_try='test -z "$ac_cxx_werror_flag"
72213 || test ! -s conftest.err'
72214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72215 (eval $ac_try) 2>&5
72216 ac_status=$?
72217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72218 (exit $ac_status); }; } &&
72219 { ac_try='test -s conftest.$ac_objext'
72220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72221 (eval $ac_try) 2>&5
72222 ac_status=$?
72223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72224 (exit $ac_status); }; }; then
72225 glibcxx_cv_func___builtin_cosf_use=yes
72226 else
72227 echo "$as_me: failed program was:" >&5
72228 sed 's/^/| /' conftest.$ac_ext >&5
72229
72230 glibcxx_cv_func___builtin_cosf_use=no
72231 fi
72232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72233 ac_ext=c
72234 ac_cpp='$CPP $CPPFLAGS'
72235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72238
72239
72240 fi
72241
72242 fi
72243 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72244 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72245 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72246 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72247 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72248 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72249 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72250 echo $ECHO_N "(cached) $ECHO_C" >&6
72251 else
72252
72253 if test x$gcc_no_link = xyes; then
72254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72256 { (exit 1); exit 1; }; }
72257 fi
72258 cat >conftest.$ac_ext <<_ACEOF
72259 /* confdefs.h. */
72260 _ACEOF
72261 cat confdefs.h >>conftest.$ac_ext
72262 cat >>conftest.$ac_ext <<_ACEOF
72263 /* end confdefs.h. */
72264 #include <math.h>
72265 int
72266 main ()
72267 {
72268 __builtin_cosf(0);
72269 ;
72270 return 0;
72271 }
72272 _ACEOF
72273 rm -f conftest.$ac_objext conftest$ac_exeext
72274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72275 (eval $ac_link) 2>conftest.er1
72276 ac_status=$?
72277 grep -v '^ *+' conftest.er1 >conftest.err
72278 rm -f conftest.er1
72279 cat conftest.err >&5
72280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72281 (exit $ac_status); } &&
72282 { ac_try='test -z "$ac_c_werror_flag"
72283 || test ! -s conftest.err'
72284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72285 (eval $ac_try) 2>&5
72286 ac_status=$?
72287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72288 (exit $ac_status); }; } &&
72289 { ac_try='test -s conftest$ac_exeext'
72290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72291 (eval $ac_try) 2>&5
72292 ac_status=$?
72293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72294 (exit $ac_status); }; }; then
72295 glibcxx_cv_func___builtin_cosf_link=yes
72296 else
72297 echo "$as_me: failed program was:" >&5
72298 sed 's/^/| /' conftest.$ac_ext >&5
72299
72300 glibcxx_cv_func___builtin_cosf_link=no
72301 fi
72302 rm -f conftest.err conftest.$ac_objext \
72303 conftest$ac_exeext conftest.$ac_ext
72304
72305 fi
72306
72307 fi
72308 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72309 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72310
72311 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72312
72313 cat >>confdefs.h <<\_ACEOF
72314 #define HAVE___BUILTIN_COSF 1
72315 _ACEOF
72316
72317 fi
72318
72319 fi
72320
72321
72322 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72323 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72324 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72325 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72326 echo $ECHO_N "(cached) $ECHO_C" >&6
72327 else
72328
72329
72330
72331 ac_ext=cc
72332 ac_cpp='$CXXCPP $CPPFLAGS'
72333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336
72337 cat >conftest.$ac_ext <<_ACEOF
72338 /* confdefs.h. */
72339 _ACEOF
72340 cat confdefs.h >>conftest.$ac_ext
72341 cat >>conftest.$ac_ext <<_ACEOF
72342 /* end confdefs.h. */
72343 #include <math.h>
72344 int
72345 main ()
72346 {
72347 __builtin_cos(0);
72348 ;
72349 return 0;
72350 }
72351 _ACEOF
72352 rm -f conftest.$ac_objext
72353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72354 (eval $ac_compile) 2>conftest.er1
72355 ac_status=$?
72356 grep -v '^ *+' conftest.er1 >conftest.err
72357 rm -f conftest.er1
72358 cat conftest.err >&5
72359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72360 (exit $ac_status); } &&
72361 { ac_try='test -z "$ac_cxx_werror_flag"
72362 || test ! -s conftest.err'
72363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72364 (eval $ac_try) 2>&5
72365 ac_status=$?
72366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72367 (exit $ac_status); }; } &&
72368 { ac_try='test -s conftest.$ac_objext'
72369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72370 (eval $ac_try) 2>&5
72371 ac_status=$?
72372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72373 (exit $ac_status); }; }; then
72374 glibcxx_cv_func___builtin_cos_use=yes
72375 else
72376 echo "$as_me: failed program was:" >&5
72377 sed 's/^/| /' conftest.$ac_ext >&5
72378
72379 glibcxx_cv_func___builtin_cos_use=no
72380 fi
72381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72382 ac_ext=c
72383 ac_cpp='$CPP $CPPFLAGS'
72384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72387
72388
72389 fi
72390
72391 fi
72392 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72393 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72394 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72395 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72396 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72397 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72398 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72399 echo $ECHO_N "(cached) $ECHO_C" >&6
72400 else
72401
72402 if test x$gcc_no_link = xyes; then
72403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72405 { (exit 1); exit 1; }; }
72406 fi
72407 cat >conftest.$ac_ext <<_ACEOF
72408 /* confdefs.h. */
72409 _ACEOF
72410 cat confdefs.h >>conftest.$ac_ext
72411 cat >>conftest.$ac_ext <<_ACEOF
72412 /* end confdefs.h. */
72413 #include <math.h>
72414 int
72415 main ()
72416 {
72417 __builtin_cos(0);
72418 ;
72419 return 0;
72420 }
72421 _ACEOF
72422 rm -f conftest.$ac_objext conftest$ac_exeext
72423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72424 (eval $ac_link) 2>conftest.er1
72425 ac_status=$?
72426 grep -v '^ *+' conftest.er1 >conftest.err
72427 rm -f conftest.er1
72428 cat conftest.err >&5
72429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72430 (exit $ac_status); } &&
72431 { ac_try='test -z "$ac_c_werror_flag"
72432 || test ! -s conftest.err'
72433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72434 (eval $ac_try) 2>&5
72435 ac_status=$?
72436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72437 (exit $ac_status); }; } &&
72438 { ac_try='test -s conftest$ac_exeext'
72439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72440 (eval $ac_try) 2>&5
72441 ac_status=$?
72442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72443 (exit $ac_status); }; }; then
72444 glibcxx_cv_func___builtin_cos_link=yes
72445 else
72446 echo "$as_me: failed program was:" >&5
72447 sed 's/^/| /' conftest.$ac_ext >&5
72448
72449 glibcxx_cv_func___builtin_cos_link=no
72450 fi
72451 rm -f conftest.err conftest.$ac_objext \
72452 conftest$ac_exeext conftest.$ac_ext
72453
72454 fi
72455
72456 fi
72457 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72458 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72459
72460 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72461
72462 cat >>confdefs.h <<\_ACEOF
72463 #define HAVE___BUILTIN_COS 1
72464 _ACEOF
72465
72466 fi
72467
72468 fi
72469
72470
72471 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72472 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72473 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72474 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72475 echo $ECHO_N "(cached) $ECHO_C" >&6
72476 else
72477
72478
72479
72480 ac_ext=cc
72481 ac_cpp='$CXXCPP $CPPFLAGS'
72482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72485
72486 cat >conftest.$ac_ext <<_ACEOF
72487 /* confdefs.h. */
72488 _ACEOF
72489 cat confdefs.h >>conftest.$ac_ext
72490 cat >>conftest.$ac_ext <<_ACEOF
72491 /* end confdefs.h. */
72492 #include <math.h>
72493 int
72494 main ()
72495 {
72496 __builtin_cosl(0);
72497 ;
72498 return 0;
72499 }
72500 _ACEOF
72501 rm -f conftest.$ac_objext
72502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72503 (eval $ac_compile) 2>conftest.er1
72504 ac_status=$?
72505 grep -v '^ *+' conftest.er1 >conftest.err
72506 rm -f conftest.er1
72507 cat conftest.err >&5
72508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72509 (exit $ac_status); } &&
72510 { ac_try='test -z "$ac_cxx_werror_flag"
72511 || test ! -s conftest.err'
72512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72513 (eval $ac_try) 2>&5
72514 ac_status=$?
72515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72516 (exit $ac_status); }; } &&
72517 { ac_try='test -s conftest.$ac_objext'
72518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72519 (eval $ac_try) 2>&5
72520 ac_status=$?
72521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72522 (exit $ac_status); }; }; then
72523 glibcxx_cv_func___builtin_cosl_use=yes
72524 else
72525 echo "$as_me: failed program was:" >&5
72526 sed 's/^/| /' conftest.$ac_ext >&5
72527
72528 glibcxx_cv_func___builtin_cosl_use=no
72529 fi
72530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72531 ac_ext=c
72532 ac_cpp='$CPP $CPPFLAGS'
72533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72536
72537
72538 fi
72539
72540 fi
72541 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72543 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72544 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72545 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72546 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72547 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72548 echo $ECHO_N "(cached) $ECHO_C" >&6
72549 else
72550
72551 if test x$gcc_no_link = xyes; then
72552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72554 { (exit 1); exit 1; }; }
72555 fi
72556 cat >conftest.$ac_ext <<_ACEOF
72557 /* confdefs.h. */
72558 _ACEOF
72559 cat confdefs.h >>conftest.$ac_ext
72560 cat >>conftest.$ac_ext <<_ACEOF
72561 /* end confdefs.h. */
72562 #include <math.h>
72563 int
72564 main ()
72565 {
72566 __builtin_cosl(0);
72567 ;
72568 return 0;
72569 }
72570 _ACEOF
72571 rm -f conftest.$ac_objext conftest$ac_exeext
72572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72573 (eval $ac_link) 2>conftest.er1
72574 ac_status=$?
72575 grep -v '^ *+' conftest.er1 >conftest.err
72576 rm -f conftest.er1
72577 cat conftest.err >&5
72578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72579 (exit $ac_status); } &&
72580 { ac_try='test -z "$ac_c_werror_flag"
72581 || test ! -s conftest.err'
72582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72583 (eval $ac_try) 2>&5
72584 ac_status=$?
72585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72586 (exit $ac_status); }; } &&
72587 { ac_try='test -s conftest$ac_exeext'
72588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72589 (eval $ac_try) 2>&5
72590 ac_status=$?
72591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72592 (exit $ac_status); }; }; then
72593 glibcxx_cv_func___builtin_cosl_link=yes
72594 else
72595 echo "$as_me: failed program was:" >&5
72596 sed 's/^/| /' conftest.$ac_ext >&5
72597
72598 glibcxx_cv_func___builtin_cosl_link=no
72599 fi
72600 rm -f conftest.err conftest.$ac_objext \
72601 conftest$ac_exeext conftest.$ac_ext
72602
72603 fi
72604
72605 fi
72606 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72608
72609 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72610
72611 cat >>confdefs.h <<\_ACEOF
72612 #define HAVE___BUILTIN_COSL 1
72613 _ACEOF
72614
72615 fi
72616
72617 fi
72618
72619
72620
72621
72622 echo "$as_me:$LINENO: checking for main in -lm" >&5
72623 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72624 if test "${ac_cv_lib_m_main+set}" = set; then
72625 echo $ECHO_N "(cached) $ECHO_C" >&6
72626 else
72627 ac_check_lib_save_LIBS=$LIBS
72628 LIBS="-lm $LIBS"
72629 if test x$gcc_no_link = xyes; then
72630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72632 { (exit 1); exit 1; }; }
72633 fi
72634 cat >conftest.$ac_ext <<_ACEOF
72635 /* confdefs.h. */
72636 _ACEOF
72637 cat confdefs.h >>conftest.$ac_ext
72638 cat >>conftest.$ac_ext <<_ACEOF
72639 /* end confdefs.h. */
72640
72641
72642 int
72643 main ()
72644 {
72645 main ();
72646 ;
72647 return 0;
72648 }
72649 _ACEOF
72650 rm -f conftest.$ac_objext conftest$ac_exeext
72651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72652 (eval $ac_link) 2>conftest.er1
72653 ac_status=$?
72654 grep -v '^ *+' conftest.er1 >conftest.err
72655 rm -f conftest.er1
72656 cat conftest.err >&5
72657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72658 (exit $ac_status); } &&
72659 { ac_try='test -z "$ac_c_werror_flag"
72660 || test ! -s conftest.err'
72661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72662 (eval $ac_try) 2>&5
72663 ac_status=$?
72664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72665 (exit $ac_status); }; } &&
72666 { ac_try='test -s conftest$ac_exeext'
72667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72668 (eval $ac_try) 2>&5
72669 ac_status=$?
72670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72671 (exit $ac_status); }; }; then
72672 ac_cv_lib_m_main=yes
72673 else
72674 echo "$as_me: failed program was:" >&5
72675 sed 's/^/| /' conftest.$ac_ext >&5
72676
72677 ac_cv_lib_m_main=no
72678 fi
72679 rm -f conftest.err conftest.$ac_objext \
72680 conftest$ac_exeext conftest.$ac_ext
72681 LIBS=$ac_check_lib_save_LIBS
72682 fi
72683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72684 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72685 if test $ac_cv_lib_m_main = yes; then
72686 cat >>confdefs.h <<_ACEOF
72687 #define HAVE_LIBM 1
72688 _ACEOF
72689
72690 LIBS="-lm $LIBS"
72691
72692 fi
72693
72694
72695 for ac_func in copysignf
72696 do
72697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72698 echo "$as_me:$LINENO: checking for $ac_func" >&5
72699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72700 if eval "test \"\${$as_ac_var+set}\" = set"; then
72701 echo $ECHO_N "(cached) $ECHO_C" >&6
72702 else
72703 if test x$gcc_no_link = xyes; then
72704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72706 { (exit 1); exit 1; }; }
72707 fi
72708 cat >conftest.$ac_ext <<_ACEOF
72709 /* confdefs.h. */
72710 _ACEOF
72711 cat confdefs.h >>conftest.$ac_ext
72712 cat >>conftest.$ac_ext <<_ACEOF
72713 /* end confdefs.h. */
72714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72716 #define $ac_func innocuous_$ac_func
72717
72718 /* System header to define __stub macros and hopefully few prototypes,
72719 which can conflict with char $ac_func (); below.
72720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72721 <limits.h> exists even on freestanding compilers. */
72722
72723 #ifdef __STDC__
72724 # include <limits.h>
72725 #else
72726 # include <assert.h>
72727 #endif
72728
72729 #undef $ac_func
72730
72731 /* Override any gcc2 internal prototype to avoid an error. */
72732 #ifdef __cplusplus
72733 extern "C"
72734 {
72735 #endif
72736 /* We use char because int might match the return type of a gcc2
72737 builtin and then its argument prototype would still apply. */
72738 char $ac_func ();
72739 /* The GNU C library defines this for functions which it implements
72740 to always fail with ENOSYS. Some functions are actually named
72741 something starting with __ and the normal name is an alias. */
72742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72743 choke me
72744 #else
72745 char (*f) () = $ac_func;
72746 #endif
72747 #ifdef __cplusplus
72748 }
72749 #endif
72750
72751 int
72752 main ()
72753 {
72754 return f != $ac_func;
72755 ;
72756 return 0;
72757 }
72758 _ACEOF
72759 rm -f conftest.$ac_objext conftest$ac_exeext
72760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72761 (eval $ac_link) 2>conftest.er1
72762 ac_status=$?
72763 grep -v '^ *+' conftest.er1 >conftest.err
72764 rm -f conftest.er1
72765 cat conftest.err >&5
72766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767 (exit $ac_status); } &&
72768 { ac_try='test -z "$ac_c_werror_flag"
72769 || test ! -s conftest.err'
72770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72771 (eval $ac_try) 2>&5
72772 ac_status=$?
72773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774 (exit $ac_status); }; } &&
72775 { ac_try='test -s conftest$ac_exeext'
72776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72777 (eval $ac_try) 2>&5
72778 ac_status=$?
72779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72780 (exit $ac_status); }; }; then
72781 eval "$as_ac_var=yes"
72782 else
72783 echo "$as_me: failed program was:" >&5
72784 sed 's/^/| /' conftest.$ac_ext >&5
72785
72786 eval "$as_ac_var=no"
72787 fi
72788 rm -f conftest.err conftest.$ac_objext \
72789 conftest$ac_exeext conftest.$ac_ext
72790 fi
72791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72793 if test `eval echo '${'$as_ac_var'}'` = yes; then
72794 cat >>confdefs.h <<_ACEOF
72795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72796 _ACEOF
72797
72798 else
72799 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72800 fi
72801 done
72802
72803
72804
72805 for ac_func in __signbit
72806 do
72807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72808 echo "$as_me:$LINENO: checking for $ac_func" >&5
72809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72810 if eval "test \"\${$as_ac_var+set}\" = set"; then
72811 echo $ECHO_N "(cached) $ECHO_C" >&6
72812 else
72813 if test x$gcc_no_link = xyes; then
72814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72816 { (exit 1); exit 1; }; }
72817 fi
72818 cat >conftest.$ac_ext <<_ACEOF
72819 /* confdefs.h. */
72820 _ACEOF
72821 cat confdefs.h >>conftest.$ac_ext
72822 cat >>conftest.$ac_ext <<_ACEOF
72823 /* end confdefs.h. */
72824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72826 #define $ac_func innocuous_$ac_func
72827
72828 /* System header to define __stub macros and hopefully few prototypes,
72829 which can conflict with char $ac_func (); below.
72830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72831 <limits.h> exists even on freestanding compilers. */
72832
72833 #ifdef __STDC__
72834 # include <limits.h>
72835 #else
72836 # include <assert.h>
72837 #endif
72838
72839 #undef $ac_func
72840
72841 /* Override any gcc2 internal prototype to avoid an error. */
72842 #ifdef __cplusplus
72843 extern "C"
72844 {
72845 #endif
72846 /* We use char because int might match the return type of a gcc2
72847 builtin and then its argument prototype would still apply. */
72848 char $ac_func ();
72849 /* The GNU C library defines this for functions which it implements
72850 to always fail with ENOSYS. Some functions are actually named
72851 something starting with __ and the normal name is an alias. */
72852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72853 choke me
72854 #else
72855 char (*f) () = $ac_func;
72856 #endif
72857 #ifdef __cplusplus
72858 }
72859 #endif
72860
72861 int
72862 main ()
72863 {
72864 return f != $ac_func;
72865 ;
72866 return 0;
72867 }
72868 _ACEOF
72869 rm -f conftest.$ac_objext conftest$ac_exeext
72870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72871 (eval $ac_link) 2>conftest.er1
72872 ac_status=$?
72873 grep -v '^ *+' conftest.er1 >conftest.err
72874 rm -f conftest.er1
72875 cat conftest.err >&5
72876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72877 (exit $ac_status); } &&
72878 { ac_try='test -z "$ac_c_werror_flag"
72879 || test ! -s conftest.err'
72880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72881 (eval $ac_try) 2>&5
72882 ac_status=$?
72883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72884 (exit $ac_status); }; } &&
72885 { ac_try='test -s conftest$ac_exeext'
72886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72887 (eval $ac_try) 2>&5
72888 ac_status=$?
72889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72890 (exit $ac_status); }; }; then
72891 eval "$as_ac_var=yes"
72892 else
72893 echo "$as_me: failed program was:" >&5
72894 sed 's/^/| /' conftest.$ac_ext >&5
72895
72896 eval "$as_ac_var=no"
72897 fi
72898 rm -f conftest.err conftest.$ac_objext \
72899 conftest$ac_exeext conftest.$ac_ext
72900 fi
72901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72903 if test `eval echo '${'$as_ac_var'}'` = yes; then
72904 cat >>confdefs.h <<_ACEOF
72905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72906 _ACEOF
72907
72908 else
72909 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72910 fi
72911 done
72912
72913
72914
72915 for ac_func in __signbitf
72916 do
72917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72918 echo "$as_me:$LINENO: checking for $ac_func" >&5
72919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72920 if eval "test \"\${$as_ac_var+set}\" = set"; then
72921 echo $ECHO_N "(cached) $ECHO_C" >&6
72922 else
72923 if test x$gcc_no_link = xyes; then
72924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72926 { (exit 1); exit 1; }; }
72927 fi
72928 cat >conftest.$ac_ext <<_ACEOF
72929 /* confdefs.h. */
72930 _ACEOF
72931 cat confdefs.h >>conftest.$ac_ext
72932 cat >>conftest.$ac_ext <<_ACEOF
72933 /* end confdefs.h. */
72934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72936 #define $ac_func innocuous_$ac_func
72937
72938 /* System header to define __stub macros and hopefully few prototypes,
72939 which can conflict with char $ac_func (); below.
72940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72941 <limits.h> exists even on freestanding compilers. */
72942
72943 #ifdef __STDC__
72944 # include <limits.h>
72945 #else
72946 # include <assert.h>
72947 #endif
72948
72949 #undef $ac_func
72950
72951 /* Override any gcc2 internal prototype to avoid an error. */
72952 #ifdef __cplusplus
72953 extern "C"
72954 {
72955 #endif
72956 /* We use char because int might match the return type of a gcc2
72957 builtin and then its argument prototype would still apply. */
72958 char $ac_func ();
72959 /* The GNU C library defines this for functions which it implements
72960 to always fail with ENOSYS. Some functions are actually named
72961 something starting with __ and the normal name is an alias. */
72962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72963 choke me
72964 #else
72965 char (*f) () = $ac_func;
72966 #endif
72967 #ifdef __cplusplus
72968 }
72969 #endif
72970
72971 int
72972 main ()
72973 {
72974 return f != $ac_func;
72975 ;
72976 return 0;
72977 }
72978 _ACEOF
72979 rm -f conftest.$ac_objext conftest$ac_exeext
72980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72981 (eval $ac_link) 2>conftest.er1
72982 ac_status=$?
72983 grep -v '^ *+' conftest.er1 >conftest.err
72984 rm -f conftest.er1
72985 cat conftest.err >&5
72986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72987 (exit $ac_status); } &&
72988 { ac_try='test -z "$ac_c_werror_flag"
72989 || test ! -s conftest.err'
72990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72991 (eval $ac_try) 2>&5
72992 ac_status=$?
72993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72994 (exit $ac_status); }; } &&
72995 { ac_try='test -s conftest$ac_exeext'
72996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72997 (eval $ac_try) 2>&5
72998 ac_status=$?
72999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73000 (exit $ac_status); }; }; then
73001 eval "$as_ac_var=yes"
73002 else
73003 echo "$as_me: failed program was:" >&5
73004 sed 's/^/| /' conftest.$ac_ext >&5
73005
73006 eval "$as_ac_var=no"
73007 fi
73008 rm -f conftest.err conftest.$ac_objext \
73009 conftest$ac_exeext conftest.$ac_ext
73010 fi
73011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73013 if test `eval echo '${'$as_ac_var'}'` = yes; then
73014 cat >>confdefs.h <<_ACEOF
73015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73016 _ACEOF
73017
73018 else
73019 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73020 fi
73021 done
73022
73023
73024 if test x$ac_cv_func_copysignl = x"yes"; then
73025
73026 for ac_func in __signbitl
73027 do
73028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73029 echo "$as_me:$LINENO: checking for $ac_func" >&5
73030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73031 if eval "test \"\${$as_ac_var+set}\" = set"; then
73032 echo $ECHO_N "(cached) $ECHO_C" >&6
73033 else
73034 if test x$gcc_no_link = xyes; then
73035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73037 { (exit 1); exit 1; }; }
73038 fi
73039 cat >conftest.$ac_ext <<_ACEOF
73040 /* confdefs.h. */
73041 _ACEOF
73042 cat confdefs.h >>conftest.$ac_ext
73043 cat >>conftest.$ac_ext <<_ACEOF
73044 /* end confdefs.h. */
73045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73047 #define $ac_func innocuous_$ac_func
73048
73049 /* System header to define __stub macros and hopefully few prototypes,
73050 which can conflict with char $ac_func (); below.
73051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73052 <limits.h> exists even on freestanding compilers. */
73053
73054 #ifdef __STDC__
73055 # include <limits.h>
73056 #else
73057 # include <assert.h>
73058 #endif
73059
73060 #undef $ac_func
73061
73062 /* Override any gcc2 internal prototype to avoid an error. */
73063 #ifdef __cplusplus
73064 extern "C"
73065 {
73066 #endif
73067 /* We use char because int might match the return type of a gcc2
73068 builtin and then its argument prototype would still apply. */
73069 char $ac_func ();
73070 /* The GNU C library defines this for functions which it implements
73071 to always fail with ENOSYS. Some functions are actually named
73072 something starting with __ and the normal name is an alias. */
73073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73074 choke me
73075 #else
73076 char (*f) () = $ac_func;
73077 #endif
73078 #ifdef __cplusplus
73079 }
73080 #endif
73081
73082 int
73083 main ()
73084 {
73085 return f != $ac_func;
73086 ;
73087 return 0;
73088 }
73089 _ACEOF
73090 rm -f conftest.$ac_objext conftest$ac_exeext
73091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73092 (eval $ac_link) 2>conftest.er1
73093 ac_status=$?
73094 grep -v '^ *+' conftest.er1 >conftest.err
73095 rm -f conftest.er1
73096 cat conftest.err >&5
73097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73098 (exit $ac_status); } &&
73099 { ac_try='test -z "$ac_c_werror_flag"
73100 || test ! -s conftest.err'
73101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73102 (eval $ac_try) 2>&5
73103 ac_status=$?
73104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73105 (exit $ac_status); }; } &&
73106 { ac_try='test -s conftest$ac_exeext'
73107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73108 (eval $ac_try) 2>&5
73109 ac_status=$?
73110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73111 (exit $ac_status); }; }; then
73112 eval "$as_ac_var=yes"
73113 else
73114 echo "$as_me: failed program was:" >&5
73115 sed 's/^/| /' conftest.$ac_ext >&5
73116
73117 eval "$as_ac_var=no"
73118 fi
73119 rm -f conftest.err conftest.$ac_objext \
73120 conftest$ac_exeext conftest.$ac_ext
73121 fi
73122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73124 if test `eval echo '${'$as_ac_var'}'` = yes; then
73125 cat >>confdefs.h <<_ACEOF
73126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73127 _ACEOF
73128
73129 else
73130 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73131 fi
73132 done
73133
73134 fi
73135
73136 # Used in libmath/Makefile.am.
73137 if test -n "$LIBMATHOBJS"; then
73138 need_libmath=yes
73139 fi
73140
73141
73142
73143
73144 enable_iconv=no
73145 # Only continue checking if the ISO C99 headers exist and support is on.
73146 if test x"$enable_wchar_t" = xyes; then
73147
73148 # Use iconv for wchar_t to char conversions. As such, check for
73149 # X/Open Portability Guide, version 2 features (XPG2).
73150 if test "${ac_cv_header_iconv_h+set}" = set; then
73151 echo "$as_me:$LINENO: checking for iconv.h" >&5
73152 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73153 if test "${ac_cv_header_iconv_h+set}" = set; then
73154 echo $ECHO_N "(cached) $ECHO_C" >&6
73155 fi
73156 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73157 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73158 else
73159 # Is the header compilable?
73160 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73161 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73162 cat >conftest.$ac_ext <<_ACEOF
73163 /* confdefs.h. */
73164 _ACEOF
73165 cat confdefs.h >>conftest.$ac_ext
73166 cat >>conftest.$ac_ext <<_ACEOF
73167 /* end confdefs.h. */
73168 $ac_includes_default
73169 #include <iconv.h>
73170 _ACEOF
73171 rm -f conftest.$ac_objext
73172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73173 (eval $ac_compile) 2>conftest.er1
73174 ac_status=$?
73175 grep -v '^ *+' conftest.er1 >conftest.err
73176 rm -f conftest.er1
73177 cat conftest.err >&5
73178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73179 (exit $ac_status); } &&
73180 { ac_try='test -z "$ac_c_werror_flag"
73181 || test ! -s conftest.err'
73182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73183 (eval $ac_try) 2>&5
73184 ac_status=$?
73185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73186 (exit $ac_status); }; } &&
73187 { ac_try='test -s conftest.$ac_objext'
73188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73189 (eval $ac_try) 2>&5
73190 ac_status=$?
73191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73192 (exit $ac_status); }; }; then
73193 ac_header_compiler=yes
73194 else
73195 echo "$as_me: failed program was:" >&5
73196 sed 's/^/| /' conftest.$ac_ext >&5
73197
73198 ac_header_compiler=no
73199 fi
73200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73202 echo "${ECHO_T}$ac_header_compiler" >&6
73203
73204 # Is the header present?
73205 echo "$as_me:$LINENO: checking iconv.h presence" >&5
73206 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
73207 cat >conftest.$ac_ext <<_ACEOF
73208 /* confdefs.h. */
73209 _ACEOF
73210 cat confdefs.h >>conftest.$ac_ext
73211 cat >>conftest.$ac_ext <<_ACEOF
73212 /* end confdefs.h. */
73213 #include <iconv.h>
73214 _ACEOF
73215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73217 ac_status=$?
73218 grep -v '^ *+' conftest.er1 >conftest.err
73219 rm -f conftest.er1
73220 cat conftest.err >&5
73221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73222 (exit $ac_status); } >/dev/null; then
73223 if test -s conftest.err; then
73224 ac_cpp_err=$ac_c_preproc_warn_flag
73225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73226 else
73227 ac_cpp_err=
73228 fi
73229 else
73230 ac_cpp_err=yes
73231 fi
73232 if test -z "$ac_cpp_err"; then
73233 ac_header_preproc=yes
73234 else
73235 echo "$as_me: failed program was:" >&5
73236 sed 's/^/| /' conftest.$ac_ext >&5
73237
73238 ac_header_preproc=no
73239 fi
73240 rm -f conftest.err conftest.$ac_ext
73241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73242 echo "${ECHO_T}$ac_header_preproc" >&6
73243
73244 # So? What about this header?
73245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73246 yes:no: )
73247 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
73248 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73249 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
73250 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
73251 ac_header_preproc=yes
73252 ;;
73253 no:yes:* )
73254 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
73255 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
73256 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
73257 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
73258 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
73259 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
73260 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
73261 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
73262 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
73263 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
73264 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
73265 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
73266 (
73267 cat <<\_ASBOX
73268 ## ----------------------------------------- ##
73269 ## Report this to the package-unused lists. ##
73270 ## ----------------------------------------- ##
73271 _ASBOX
73272 ) |
73273 sed "s/^/$as_me: WARNING: /" >&2
73274 ;;
73275 esac
73276 echo "$as_me:$LINENO: checking for iconv.h" >&5
73277 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73278 if test "${ac_cv_header_iconv_h+set}" = set; then
73279 echo $ECHO_N "(cached) $ECHO_C" >&6
73280 else
73281 ac_cv_header_iconv_h=$ac_header_preproc
73282 fi
73283 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73284 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73285
73286 fi
73287 if test $ac_cv_header_iconv_h = yes; then
73288 ac_has_iconv_h=yes
73289 else
73290 ac_has_iconv_h=no
73291 fi
73292
73293
73294 if test "${ac_cv_header_langinfo_h+set}" = set; then
73295 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73296 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73297 if test "${ac_cv_header_langinfo_h+set}" = set; then
73298 echo $ECHO_N "(cached) $ECHO_C" >&6
73299 fi
73300 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73301 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73302 else
73303 # Is the header compilable?
73304 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
73305 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
73306 cat >conftest.$ac_ext <<_ACEOF
73307 /* confdefs.h. */
73308 _ACEOF
73309 cat confdefs.h >>conftest.$ac_ext
73310 cat >>conftest.$ac_ext <<_ACEOF
73311 /* end confdefs.h. */
73312 $ac_includes_default
73313 #include <langinfo.h>
73314 _ACEOF
73315 rm -f conftest.$ac_objext
73316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73317 (eval $ac_compile) 2>conftest.er1
73318 ac_status=$?
73319 grep -v '^ *+' conftest.er1 >conftest.err
73320 rm -f conftest.er1
73321 cat conftest.err >&5
73322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73323 (exit $ac_status); } &&
73324 { ac_try='test -z "$ac_c_werror_flag"
73325 || test ! -s conftest.err'
73326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73327 (eval $ac_try) 2>&5
73328 ac_status=$?
73329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73330 (exit $ac_status); }; } &&
73331 { ac_try='test -s conftest.$ac_objext'
73332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73333 (eval $ac_try) 2>&5
73334 ac_status=$?
73335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73336 (exit $ac_status); }; }; then
73337 ac_header_compiler=yes
73338 else
73339 echo "$as_me: failed program was:" >&5
73340 sed 's/^/| /' conftest.$ac_ext >&5
73341
73342 ac_header_compiler=no
73343 fi
73344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73346 echo "${ECHO_T}$ac_header_compiler" >&6
73347
73348 # Is the header present?
73349 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
73350 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
73351 cat >conftest.$ac_ext <<_ACEOF
73352 /* confdefs.h. */
73353 _ACEOF
73354 cat confdefs.h >>conftest.$ac_ext
73355 cat >>conftest.$ac_ext <<_ACEOF
73356 /* end confdefs.h. */
73357 #include <langinfo.h>
73358 _ACEOF
73359 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73360 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73361 ac_status=$?
73362 grep -v '^ *+' conftest.er1 >conftest.err
73363 rm -f conftest.er1
73364 cat conftest.err >&5
73365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73366 (exit $ac_status); } >/dev/null; then
73367 if test -s conftest.err; then
73368 ac_cpp_err=$ac_c_preproc_warn_flag
73369 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73370 else
73371 ac_cpp_err=
73372 fi
73373 else
73374 ac_cpp_err=yes
73375 fi
73376 if test -z "$ac_cpp_err"; then
73377 ac_header_preproc=yes
73378 else
73379 echo "$as_me: failed program was:" >&5
73380 sed 's/^/| /' conftest.$ac_ext >&5
73381
73382 ac_header_preproc=no
73383 fi
73384 rm -f conftest.err conftest.$ac_ext
73385 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73386 echo "${ECHO_T}$ac_header_preproc" >&6
73387
73388 # So? What about this header?
73389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73390 yes:no: )
73391 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
73392 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
73393 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
73394 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
73395 ac_header_preproc=yes
73396 ;;
73397 no:yes:* )
73398 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
73399 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
73400 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
73401 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
73402 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
73403 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
73404 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
73405 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
73406 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
73407 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
73408 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
73409 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
73410 (
73411 cat <<\_ASBOX
73412 ## ----------------------------------------- ##
73413 ## Report this to the package-unused lists. ##
73414 ## ----------------------------------------- ##
73415 _ASBOX
73416 ) |
73417 sed "s/^/$as_me: WARNING: /" >&2
73418 ;;
73419 esac
73420 echo "$as_me:$LINENO: checking for langinfo.h" >&5
73421 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
73422 if test "${ac_cv_header_langinfo_h+set}" = set; then
73423 echo $ECHO_N "(cached) $ECHO_C" >&6
73424 else
73425 ac_cv_header_langinfo_h=$ac_header_preproc
73426 fi
73427 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
73428 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
73429
73430 fi
73431 if test $ac_cv_header_langinfo_h = yes; then
73432 ac_has_langinfo_h=yes
73433 else
73434 ac_has_langinfo_h=no
73435 fi
73436
73437
73438
73439 # Check for existence of libiconv.a providing XPG2 wchar_t support.
73440 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
73441 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
73442 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
73443 echo $ECHO_N "(cached) $ECHO_C" >&6
73444 else
73445 ac_check_lib_save_LIBS=$LIBS
73446 LIBS="-liconv $LIBS"
73447 if test x$gcc_no_link = xyes; then
73448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73450 { (exit 1); exit 1; }; }
73451 fi
73452 cat >conftest.$ac_ext <<_ACEOF
73453 /* confdefs.h. */
73454 _ACEOF
73455 cat confdefs.h >>conftest.$ac_ext
73456 cat >>conftest.$ac_ext <<_ACEOF
73457 /* end confdefs.h. */
73458
73459 /* Override any gcc2 internal prototype to avoid an error. */
73460 #ifdef __cplusplus
73461 extern "C"
73462 #endif
73463 /* We use char because int might match the return type of a gcc2
73464 builtin and then its argument prototype would still apply. */
73465 char iconv ();
73466 int
73467 main ()
73468 {
73469 iconv ();
73470 ;
73471 return 0;
73472 }
73473 _ACEOF
73474 rm -f conftest.$ac_objext conftest$ac_exeext
73475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73476 (eval $ac_link) 2>conftest.er1
73477 ac_status=$?
73478 grep -v '^ *+' conftest.er1 >conftest.err
73479 rm -f conftest.er1
73480 cat conftest.err >&5
73481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73482 (exit $ac_status); } &&
73483 { ac_try='test -z "$ac_c_werror_flag"
73484 || test ! -s conftest.err'
73485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73486 (eval $ac_try) 2>&5
73487 ac_status=$?
73488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73489 (exit $ac_status); }; } &&
73490 { ac_try='test -s conftest$ac_exeext'
73491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73492 (eval $ac_try) 2>&5
73493 ac_status=$?
73494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73495 (exit $ac_status); }; }; then
73496 ac_cv_lib_iconv_iconv=yes
73497 else
73498 echo "$as_me: failed program was:" >&5
73499 sed 's/^/| /' conftest.$ac_ext >&5
73500
73501 ac_cv_lib_iconv_iconv=no
73502 fi
73503 rm -f conftest.err conftest.$ac_objext \
73504 conftest$ac_exeext conftest.$ac_ext
73505 LIBS=$ac_check_lib_save_LIBS
73506 fi
73507 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
73508 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
73509 if test $ac_cv_lib_iconv_iconv = yes; then
73510 LIBICONV="-liconv"
73511 fi
73512
73513 ac_save_LIBS="$LIBS"
73514 LIBS="$LIBS $LIBICONV"
73515
73516
73517
73518
73519
73520
73521 for ac_func in iconv_open iconv_close iconv nl_langinfo
73522 do
73523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73524 echo "$as_me:$LINENO: checking for $ac_func" >&5
73525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73526 if eval "test \"\${$as_ac_var+set}\" = set"; then
73527 echo $ECHO_N "(cached) $ECHO_C" >&6
73528 else
73529 if test x$gcc_no_link = xyes; then
73530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73532 { (exit 1); exit 1; }; }
73533 fi
73534 cat >conftest.$ac_ext <<_ACEOF
73535 /* confdefs.h. */
73536 _ACEOF
73537 cat confdefs.h >>conftest.$ac_ext
73538 cat >>conftest.$ac_ext <<_ACEOF
73539 /* end confdefs.h. */
73540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73542 #define $ac_func innocuous_$ac_func
73543
73544 /* System header to define __stub macros and hopefully few prototypes,
73545 which can conflict with char $ac_func (); below.
73546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73547 <limits.h> exists even on freestanding compilers. */
73548
73549 #ifdef __STDC__
73550 # include <limits.h>
73551 #else
73552 # include <assert.h>
73553 #endif
73554
73555 #undef $ac_func
73556
73557 /* Override any gcc2 internal prototype to avoid an error. */
73558 #ifdef __cplusplus
73559 extern "C"
73560 {
73561 #endif
73562 /* We use char because int might match the return type of a gcc2
73563 builtin and then its argument prototype would still apply. */
73564 char $ac_func ();
73565 /* The GNU C library defines this for functions which it implements
73566 to always fail with ENOSYS. Some functions are actually named
73567 something starting with __ and the normal name is an alias. */
73568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73569 choke me
73570 #else
73571 char (*f) () = $ac_func;
73572 #endif
73573 #ifdef __cplusplus
73574 }
73575 #endif
73576
73577 int
73578 main ()
73579 {
73580 return f != $ac_func;
73581 ;
73582 return 0;
73583 }
73584 _ACEOF
73585 rm -f conftest.$ac_objext conftest$ac_exeext
73586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73587 (eval $ac_link) 2>conftest.er1
73588 ac_status=$?
73589 grep -v '^ *+' conftest.er1 >conftest.err
73590 rm -f conftest.er1
73591 cat conftest.err >&5
73592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73593 (exit $ac_status); } &&
73594 { ac_try='test -z "$ac_c_werror_flag"
73595 || test ! -s conftest.err'
73596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73597 (eval $ac_try) 2>&5
73598 ac_status=$?
73599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73600 (exit $ac_status); }; } &&
73601 { ac_try='test -s conftest$ac_exeext'
73602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73603 (eval $ac_try) 2>&5
73604 ac_status=$?
73605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73606 (exit $ac_status); }; }; then
73607 eval "$as_ac_var=yes"
73608 else
73609 echo "$as_me: failed program was:" >&5
73610 sed 's/^/| /' conftest.$ac_ext >&5
73611
73612 eval "$as_ac_var=no"
73613 fi
73614 rm -f conftest.err conftest.$ac_objext \
73615 conftest$ac_exeext conftest.$ac_ext
73616 fi
73617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73619 if test `eval echo '${'$as_ac_var'}'` = yes; then
73620 cat >>confdefs.h <<_ACEOF
73621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73622 _ACEOF
73623 ac_XPG2funcs=yes
73624 else
73625 ac_XPG2funcs=no
73626 fi
73627 done
73628
73629
73630 LIBS="$ac_save_LIBS"
73631
73632 if test x"$ac_has_iconv_h" = xyes &&
73633 test x"$ac_has_langinfo_h" = xyes &&
73634 test x"$ac_XPG2funcs" = xyes;
73635 then
73636
73637 cat >>confdefs.h <<\_ACEOF
73638 #define _GLIBCXX_USE_ICONV 1
73639 _ACEOF
73640
73641 enable_iconv=yes
73642 fi
73643 fi
73644 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
73645 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
73646 echo "$as_me:$LINENO: result: $enable_iconv" >&5
73647 echo "${ECHO_T}$enable_iconv" >&6
73648
73649
73650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
73651 ac_save_CXXFLAGS="$CXXFLAGS"
73652 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
73653
73654
73655 echo "$as_me:$LINENO: checking for strtold declaration" >&5
73656 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
73657 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
73658 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
73659 echo $ECHO_N "(cached) $ECHO_C" >&6
73660 else
73661
73662
73663
73664 ac_ext=cc
73665 ac_cpp='$CXXCPP $CPPFLAGS'
73666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73669
73670 cat >conftest.$ac_ext <<_ACEOF
73671 /* confdefs.h. */
73672 _ACEOF
73673 cat confdefs.h >>conftest.$ac_ext
73674 cat >>conftest.$ac_ext <<_ACEOF
73675 /* end confdefs.h. */
73676 #include <stdlib.h>
73677 int
73678 main ()
73679 {
73680 strtold(0, 0);
73681 ;
73682 return 0;
73683 }
73684 _ACEOF
73685 rm -f conftest.$ac_objext
73686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73687 (eval $ac_compile) 2>conftest.er1
73688 ac_status=$?
73689 grep -v '^ *+' conftest.er1 >conftest.err
73690 rm -f conftest.er1
73691 cat conftest.err >&5
73692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73693 (exit $ac_status); } &&
73694 { ac_try='test -z "$ac_cxx_werror_flag"
73695 || test ! -s conftest.err'
73696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73697 (eval $ac_try) 2>&5
73698 ac_status=$?
73699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73700 (exit $ac_status); }; } &&
73701 { ac_try='test -s conftest.$ac_objext'
73702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73703 (eval $ac_try) 2>&5
73704 ac_status=$?
73705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73706 (exit $ac_status); }; }; then
73707 glibcxx_cv_func_strtold_use=yes
73708 else
73709 echo "$as_me: failed program was:" >&5
73710 sed 's/^/| /' conftest.$ac_ext >&5
73711
73712 glibcxx_cv_func_strtold_use=no
73713 fi
73714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73715 ac_ext=c
73716 ac_cpp='$CPP $CPPFLAGS'
73717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73720
73721
73722 fi
73723
73724 fi
73725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
73726 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
73727 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
73728
73729 for ac_func in strtold
73730 do
73731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73732 echo "$as_me:$LINENO: checking for $ac_func" >&5
73733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73734 if eval "test \"\${$as_ac_var+set}\" = set"; then
73735 echo $ECHO_N "(cached) $ECHO_C" >&6
73736 else
73737 if test x$gcc_no_link = xyes; then
73738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73740 { (exit 1); exit 1; }; }
73741 fi
73742 cat >conftest.$ac_ext <<_ACEOF
73743 /* confdefs.h. */
73744 _ACEOF
73745 cat confdefs.h >>conftest.$ac_ext
73746 cat >>conftest.$ac_ext <<_ACEOF
73747 /* end confdefs.h. */
73748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73750 #define $ac_func innocuous_$ac_func
73751
73752 /* System header to define __stub macros and hopefully few prototypes,
73753 which can conflict with char $ac_func (); below.
73754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73755 <limits.h> exists even on freestanding compilers. */
73756
73757 #ifdef __STDC__
73758 # include <limits.h>
73759 #else
73760 # include <assert.h>
73761 #endif
73762
73763 #undef $ac_func
73764
73765 /* Override any gcc2 internal prototype to avoid an error. */
73766 #ifdef __cplusplus
73767 extern "C"
73768 {
73769 #endif
73770 /* We use char because int might match the return type of a gcc2
73771 builtin and then its argument prototype would still apply. */
73772 char $ac_func ();
73773 /* The GNU C library defines this for functions which it implements
73774 to always fail with ENOSYS. Some functions are actually named
73775 something starting with __ and the normal name is an alias. */
73776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73777 choke me
73778 #else
73779 char (*f) () = $ac_func;
73780 #endif
73781 #ifdef __cplusplus
73782 }
73783 #endif
73784
73785 int
73786 main ()
73787 {
73788 return f != $ac_func;
73789 ;
73790 return 0;
73791 }
73792 _ACEOF
73793 rm -f conftest.$ac_objext conftest$ac_exeext
73794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73795 (eval $ac_link) 2>conftest.er1
73796 ac_status=$?
73797 grep -v '^ *+' conftest.er1 >conftest.err
73798 rm -f conftest.er1
73799 cat conftest.err >&5
73800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73801 (exit $ac_status); } &&
73802 { ac_try='test -z "$ac_c_werror_flag"
73803 || test ! -s conftest.err'
73804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73805 (eval $ac_try) 2>&5
73806 ac_status=$?
73807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73808 (exit $ac_status); }; } &&
73809 { ac_try='test -s conftest$ac_exeext'
73810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73811 (eval $ac_try) 2>&5
73812 ac_status=$?
73813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73814 (exit $ac_status); }; }; then
73815 eval "$as_ac_var=yes"
73816 else
73817 echo "$as_me: failed program was:" >&5
73818 sed 's/^/| /' conftest.$ac_ext >&5
73819
73820 eval "$as_ac_var=no"
73821 fi
73822 rm -f conftest.err conftest.$ac_objext \
73823 conftest$ac_exeext conftest.$ac_ext
73824 fi
73825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73827 if test `eval echo '${'$as_ac_var'}'` = yes; then
73828 cat >>confdefs.h <<_ACEOF
73829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73830 _ACEOF
73831
73832 fi
73833 done
73834
73835 fi
73836
73837
73838
73839
73840
73841 echo "$as_me:$LINENO: checking for strtof declaration" >&5
73842 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
73843 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
73844 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
73845 echo $ECHO_N "(cached) $ECHO_C" >&6
73846 else
73847
73848
73849
73850 ac_ext=cc
73851 ac_cpp='$CXXCPP $CPPFLAGS'
73852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73855
73856 cat >conftest.$ac_ext <<_ACEOF
73857 /* confdefs.h. */
73858 _ACEOF
73859 cat confdefs.h >>conftest.$ac_ext
73860 cat >>conftest.$ac_ext <<_ACEOF
73861 /* end confdefs.h. */
73862 #include <stdlib.h>
73863 int
73864 main ()
73865 {
73866 strtof(0, 0);
73867 ;
73868 return 0;
73869 }
73870 _ACEOF
73871 rm -f conftest.$ac_objext
73872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73873 (eval $ac_compile) 2>conftest.er1
73874 ac_status=$?
73875 grep -v '^ *+' conftest.er1 >conftest.err
73876 rm -f conftest.er1
73877 cat conftest.err >&5
73878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73879 (exit $ac_status); } &&
73880 { ac_try='test -z "$ac_cxx_werror_flag"
73881 || test ! -s conftest.err'
73882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73883 (eval $ac_try) 2>&5
73884 ac_status=$?
73885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73886 (exit $ac_status); }; } &&
73887 { ac_try='test -s conftest.$ac_objext'
73888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73889 (eval $ac_try) 2>&5
73890 ac_status=$?
73891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73892 (exit $ac_status); }; }; then
73893 glibcxx_cv_func_strtof_use=yes
73894 else
73895 echo "$as_me: failed program was:" >&5
73896 sed 's/^/| /' conftest.$ac_ext >&5
73897
73898 glibcxx_cv_func_strtof_use=no
73899 fi
73900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73901 ac_ext=c
73902 ac_cpp='$CPP $CPPFLAGS'
73903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73906
73907
73908 fi
73909
73910 fi
73911 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
73912 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
73913 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
73914
73915 for ac_func in strtof
73916 do
73917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73918 echo "$as_me:$LINENO: checking for $ac_func" >&5
73919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73920 if eval "test \"\${$as_ac_var+set}\" = set"; then
73921 echo $ECHO_N "(cached) $ECHO_C" >&6
73922 else
73923 if test x$gcc_no_link = xyes; then
73924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73926 { (exit 1); exit 1; }; }
73927 fi
73928 cat >conftest.$ac_ext <<_ACEOF
73929 /* confdefs.h. */
73930 _ACEOF
73931 cat confdefs.h >>conftest.$ac_ext
73932 cat >>conftest.$ac_ext <<_ACEOF
73933 /* end confdefs.h. */
73934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73936 #define $ac_func innocuous_$ac_func
73937
73938 /* System header to define __stub macros and hopefully few prototypes,
73939 which can conflict with char $ac_func (); below.
73940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73941 <limits.h> exists even on freestanding compilers. */
73942
73943 #ifdef __STDC__
73944 # include <limits.h>
73945 #else
73946 # include <assert.h>
73947 #endif
73948
73949 #undef $ac_func
73950
73951 /* Override any gcc2 internal prototype to avoid an error. */
73952 #ifdef __cplusplus
73953 extern "C"
73954 {
73955 #endif
73956 /* We use char because int might match the return type of a gcc2
73957 builtin and then its argument prototype would still apply. */
73958 char $ac_func ();
73959 /* The GNU C library defines this for functions which it implements
73960 to always fail with ENOSYS. Some functions are actually named
73961 something starting with __ and the normal name is an alias. */
73962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73963 choke me
73964 #else
73965 char (*f) () = $ac_func;
73966 #endif
73967 #ifdef __cplusplus
73968 }
73969 #endif
73970
73971 int
73972 main ()
73973 {
73974 return f != $ac_func;
73975 ;
73976 return 0;
73977 }
73978 _ACEOF
73979 rm -f conftest.$ac_objext conftest$ac_exeext
73980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73981 (eval $ac_link) 2>conftest.er1
73982 ac_status=$?
73983 grep -v '^ *+' conftest.er1 >conftest.err
73984 rm -f conftest.er1
73985 cat conftest.err >&5
73986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73987 (exit $ac_status); } &&
73988 { ac_try='test -z "$ac_c_werror_flag"
73989 || test ! -s conftest.err'
73990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73991 (eval $ac_try) 2>&5
73992 ac_status=$?
73993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73994 (exit $ac_status); }; } &&
73995 { ac_try='test -s conftest$ac_exeext'
73996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73997 (eval $ac_try) 2>&5
73998 ac_status=$?
73999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74000 (exit $ac_status); }; }; then
74001 eval "$as_ac_var=yes"
74002 else
74003 echo "$as_me: failed program was:" >&5
74004 sed 's/^/| /' conftest.$ac_ext >&5
74005
74006 eval "$as_ac_var=no"
74007 fi
74008 rm -f conftest.err conftest.$ac_objext \
74009 conftest$ac_exeext conftest.$ac_ext
74010 fi
74011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74013 if test `eval echo '${'$as_ac_var'}'` = yes; then
74014 cat >>confdefs.h <<_ACEOF
74015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74016 _ACEOF
74017
74018 fi
74019 done
74020
74021 fi
74022
74023
74024
74025
74026
74027 CXXFLAGS="$ac_save_CXXFLAGS"
74028
74029
74030 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
74031 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
74032 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74033 echo $ECHO_N "(cached) $ECHO_C" >&6
74034 else
74035
74036 if test x$gcc_no_link = xyes; then
74037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74039 { (exit 1); exit 1; }; }
74040 fi
74041 cat >conftest.$ac_ext <<_ACEOF
74042 /* confdefs.h. */
74043 _ACEOF
74044 cat confdefs.h >>conftest.$ac_ext
74045 cat >>conftest.$ac_ext <<_ACEOF
74046 /* end confdefs.h. */
74047 #include <sys/stat.h>
74048 int
74049 main ()
74050 {
74051 struct stat buffer;
74052 fstat(0, &buffer);
74053 S_ISREG(buffer.st_mode);
74054 ;
74055 return 0;
74056 }
74057 _ACEOF
74058 rm -f conftest.$ac_objext conftest$ac_exeext
74059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74060 (eval $ac_link) 2>conftest.er1
74061 ac_status=$?
74062 grep -v '^ *+' conftest.er1 >conftest.err
74063 rm -f conftest.er1
74064 cat conftest.err >&5
74065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74066 (exit $ac_status); } &&
74067 { ac_try='test -z "$ac_c_werror_flag"
74068 || test ! -s conftest.err'
74069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74070 (eval $ac_try) 2>&5
74071 ac_status=$?
74072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74073 (exit $ac_status); }; } &&
74074 { ac_try='test -s conftest$ac_exeext'
74075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74076 (eval $ac_try) 2>&5
74077 ac_status=$?
74078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74079 (exit $ac_status); }; }; then
74080 glibcxx_cv_S_ISREG=yes
74081 else
74082 echo "$as_me: failed program was:" >&5
74083 sed 's/^/| /' conftest.$ac_ext >&5
74084
74085 glibcxx_cv_S_ISREG=no
74086 fi
74087 rm -f conftest.err conftest.$ac_objext \
74088 conftest$ac_exeext conftest.$ac_ext
74089
74090 fi
74091
74092 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74093 echo $ECHO_N "(cached) $ECHO_C" >&6
74094 else
74095
74096 if test x$gcc_no_link = xyes; then
74097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74099 { (exit 1); exit 1; }; }
74100 fi
74101 cat >conftest.$ac_ext <<_ACEOF
74102 /* confdefs.h. */
74103 _ACEOF
74104 cat confdefs.h >>conftest.$ac_ext
74105 cat >>conftest.$ac_ext <<_ACEOF
74106 /* end confdefs.h. */
74107 #include <sys/stat.h>
74108 int
74109 main ()
74110 {
74111 struct stat buffer;
74112 fstat(0, &buffer);
74113 S_IFREG & buffer.st_mode;
74114 ;
74115 return 0;
74116 }
74117 _ACEOF
74118 rm -f conftest.$ac_objext conftest$ac_exeext
74119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74120 (eval $ac_link) 2>conftest.er1
74121 ac_status=$?
74122 grep -v '^ *+' conftest.er1 >conftest.err
74123 rm -f conftest.er1
74124 cat conftest.err >&5
74125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74126 (exit $ac_status); } &&
74127 { ac_try='test -z "$ac_c_werror_flag"
74128 || test ! -s conftest.err'
74129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74130 (eval $ac_try) 2>&5
74131 ac_status=$?
74132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74133 (exit $ac_status); }; } &&
74134 { ac_try='test -s conftest$ac_exeext'
74135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74136 (eval $ac_try) 2>&5
74137 ac_status=$?
74138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74139 (exit $ac_status); }; }; then
74140 glibcxx_cv_S_IFREG=yes
74141 else
74142 echo "$as_me: failed program was:" >&5
74143 sed 's/^/| /' conftest.$ac_ext >&5
74144
74145 glibcxx_cv_S_IFREG=no
74146 fi
74147 rm -f conftest.err conftest.$ac_objext \
74148 conftest$ac_exeext conftest.$ac_ext
74149
74150 fi
74151
74152 res=no
74153 if test $glibcxx_cv_S_ISREG = yes; then
74154
74155 cat >>confdefs.h <<\_ACEOF
74156 #define HAVE_S_ISREG 1
74157 _ACEOF
74158
74159 res=S_ISREG
74160 elif test $glibcxx_cv_S_IFREG = yes; then
74161
74162 cat >>confdefs.h <<\_ACEOF
74163 #define HAVE_S_IFREG 1
74164 _ACEOF
74165
74166 res=S_IFREG
74167 fi
74168 echo "$as_me:$LINENO: result: $res" >&5
74169 echo "${ECHO_T}$res" >&6
74170
74171 cat >>confdefs.h <<\_ACEOF
74172 #define HAVE_WRITEV 1
74173 _ACEOF
74174
74175 ;;
74176
74177 *-freebsd*)
74178
74179
74180
74181
74182
74183
74184
74185
74186
74187
74188
74189
74190
74191
74192
74193
74194 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
74195 machine/endian.h machine/param.h sys/machine.h sys/types.h \
74196 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
74197 sys/time.h unistd.h
74198 do
74199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74201 echo "$as_me:$LINENO: checking for $ac_header" >&5
74202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74204 echo $ECHO_N "(cached) $ECHO_C" >&6
74205 fi
74206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74207 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74208 else
74209 # Is the header compilable?
74210 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74211 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74212 cat >conftest.$ac_ext <<_ACEOF
74213 /* confdefs.h. */
74214 _ACEOF
74215 cat confdefs.h >>conftest.$ac_ext
74216 cat >>conftest.$ac_ext <<_ACEOF
74217 /* end confdefs.h. */
74218 $ac_includes_default
74219 #include <$ac_header>
74220 _ACEOF
74221 rm -f conftest.$ac_objext
74222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74223 (eval $ac_compile) 2>conftest.er1
74224 ac_status=$?
74225 grep -v '^ *+' conftest.er1 >conftest.err
74226 rm -f conftest.er1
74227 cat conftest.err >&5
74228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74229 (exit $ac_status); } &&
74230 { ac_try='test -z "$ac_c_werror_flag"
74231 || test ! -s conftest.err'
74232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74233 (eval $ac_try) 2>&5
74234 ac_status=$?
74235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74236 (exit $ac_status); }; } &&
74237 { ac_try='test -s conftest.$ac_objext'
74238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74239 (eval $ac_try) 2>&5
74240 ac_status=$?
74241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74242 (exit $ac_status); }; }; then
74243 ac_header_compiler=yes
74244 else
74245 echo "$as_me: failed program was:" >&5
74246 sed 's/^/| /' conftest.$ac_ext >&5
74247
74248 ac_header_compiler=no
74249 fi
74250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74251 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74252 echo "${ECHO_T}$ac_header_compiler" >&6
74253
74254 # Is the header present?
74255 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74257 cat >conftest.$ac_ext <<_ACEOF
74258 /* confdefs.h. */
74259 _ACEOF
74260 cat confdefs.h >>conftest.$ac_ext
74261 cat >>conftest.$ac_ext <<_ACEOF
74262 /* end confdefs.h. */
74263 #include <$ac_header>
74264 _ACEOF
74265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74267 ac_status=$?
74268 grep -v '^ *+' conftest.er1 >conftest.err
74269 rm -f conftest.er1
74270 cat conftest.err >&5
74271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74272 (exit $ac_status); } >/dev/null; then
74273 if test -s conftest.err; then
74274 ac_cpp_err=$ac_c_preproc_warn_flag
74275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74276 else
74277 ac_cpp_err=
74278 fi
74279 else
74280 ac_cpp_err=yes
74281 fi
74282 if test -z "$ac_cpp_err"; then
74283 ac_header_preproc=yes
74284 else
74285 echo "$as_me: failed program was:" >&5
74286 sed 's/^/| /' conftest.$ac_ext >&5
74287
74288 ac_header_preproc=no
74289 fi
74290 rm -f conftest.err conftest.$ac_ext
74291 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74292 echo "${ECHO_T}$ac_header_preproc" >&6
74293
74294 # So? What about this header?
74295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74296 yes:no: )
74297 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74298 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74299 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74300 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74301 ac_header_preproc=yes
74302 ;;
74303 no:yes:* )
74304 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74305 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74306 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
74307 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
74308 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74309 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74310 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
74311 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
74312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74313 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74314 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74315 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74316 (
74317 cat <<\_ASBOX
74318 ## ----------------------------------------- ##
74319 ## Report this to the package-unused lists. ##
74320 ## ----------------------------------------- ##
74321 _ASBOX
74322 ) |
74323 sed "s/^/$as_me: WARNING: /" >&2
74324 ;;
74325 esac
74326 echo "$as_me:$LINENO: checking for $ac_header" >&5
74327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74329 echo $ECHO_N "(cached) $ECHO_C" >&6
74330 else
74331 eval "$as_ac_Header=\$ac_header_preproc"
74332 fi
74333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74334 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74335
74336 fi
74337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
74338 cat >>confdefs.h <<_ACEOF
74339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
74340 _ACEOF
74341
74342 fi
74343
74344 done
74345
74346 SECTION_FLAGS='-ffunction-sections -fdata-sections'
74347
74348
74349 # If we're not using GNU ld, then there's no point in even trying these
74350 # tests. Check for that first. We should have already tested for gld
74351 # by now (in libtool), but require it now just to be safe...
74352 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
74353 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
74354
74355
74356
74357 # The name set by libtool depends on the version of libtool. Shame on us
74358 # for depending on an impl detail, but c'est la vie. Older versions used
74359 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
74360 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
74361 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
74362 # set (hence we're using an older libtool), then set it.
74363 if test x${with_gnu_ld+set} != xset; then
74364 if test x${ac_cv_prog_gnu_ld+set} != xset; then
74365 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
74366 with_gnu_ld=no
74367 else
74368 with_gnu_ld=$ac_cv_prog_gnu_ld
74369 fi
74370 fi
74371
74372 # Start by getting the version number. I think the libtool test already
74373 # does some of this, but throws away the result.
74374
74375 ldver=`$LD --version 2>/dev/null | head -1 | \
74376 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
74377
74378 glibcxx_gnu_ld_version=`echo $ldver | \
74379 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
74380
74381 # Set --gc-sections.
74382 if test "$with_gnu_ld" = "notbroken"; then
74383 # GNU ld it is! Joy and bunny rabbits!
74384
74385 # All these tests are for C++; save the language and the compiler flags.
74386 # Need to do this so that g++ won't try to link in libstdc++
74387 ac_test_CFLAGS="${CFLAGS+set}"
74388 ac_save_CFLAGS="$CFLAGS"
74389 CFLAGS='-x c++ -Wl,--gc-sections'
74390
74391 # Check for -Wl,--gc-sections
74392 # XXX This test is broken at the moment, as symbols required for linking
74393 # are now in libsupc++ (not built yet). In addition, this test has
74394 # cored on solaris in the past. In addition, --gc-sections doesn't
74395 # really work at the moment (keeps on discarding used sections, first
74396 # .eh_frame and now some of the glibc sections for iconv).
74397 # Bzzzzt. Thanks for playing, maybe next time.
74398 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
74399 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
74400 if test "$cross_compiling" = yes; then
74401 ac_sectionLDflags=yes
74402 else
74403 cat >conftest.$ac_ext <<_ACEOF
74404 /* confdefs.h. */
74405 _ACEOF
74406 cat confdefs.h >>conftest.$ac_ext
74407 cat >>conftest.$ac_ext <<_ACEOF
74408 /* end confdefs.h. */
74409
74410 int main(void)
74411 {
74412 try { throw 1; }
74413 catch (...) { };
74414 return 0;
74415 }
74416
74417 _ACEOF
74418 rm -f conftest$ac_exeext
74419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74420 (eval $ac_link) 2>&5
74421 ac_status=$?
74422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
74424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74425 (eval $ac_try) 2>&5
74426 ac_status=$?
74427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74428 (exit $ac_status); }; }; then
74429 ac_sectionLDflags=yes
74430 else
74431 echo "$as_me: program exited with status $ac_status" >&5
74432 echo "$as_me: failed program was:" >&5
74433 sed 's/^/| /' conftest.$ac_ext >&5
74434
74435 ( exit $ac_status )
74436 ac_sectionLDflags=no
74437 fi
74438 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
74439 fi
74440 if test "$ac_test_CFLAGS" = set; then
74441 CFLAGS="$ac_save_CFLAGS"
74442 else
74443 # this is the suspicious part
74444 CFLAGS=''
74445 fi
74446 if test "$ac_sectionLDflags" = "yes"; then
74447 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
74448 fi
74449 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
74450 echo "${ECHO_T}$ac_sectionLDflags" >&6
74451 fi
74452
74453 # Set -z,relro.
74454 # Note this is only for shared objects
74455 ac_ld_relro=no
74456 if test x"$with_gnu_ld" = x"yes"; then
74457 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
74458 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
74459 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
74460 if test -n "$cxx_z_relo"; then
74461 OPT_LDFLAGS="-Wl,-z,relro"
74462 ac_ld_relro=yes
74463 fi
74464 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
74465 echo "${ECHO_T}$ac_ld_relro" >&6
74466 fi
74467
74468 # Set linker optimization flags.
74469 if test x"$with_gnu_ld" = x"yes"; then
74470 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
74471 fi
74472
74473
74474
74475
74476
74477
74478 echo "$as_me:$LINENO: checking for main in -lm" >&5
74479 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74480 if test "${ac_cv_lib_m_main+set}" = set; then
74481 echo $ECHO_N "(cached) $ECHO_C" >&6
74482 else
74483 ac_check_lib_save_LIBS=$LIBS
74484 LIBS="-lm $LIBS"
74485 if test x$gcc_no_link = xyes; then
74486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74488 { (exit 1); exit 1; }; }
74489 fi
74490 cat >conftest.$ac_ext <<_ACEOF
74491 /* confdefs.h. */
74492 _ACEOF
74493 cat confdefs.h >>conftest.$ac_ext
74494 cat >>conftest.$ac_ext <<_ACEOF
74495 /* end confdefs.h. */
74496
74497
74498 int
74499 main ()
74500 {
74501 main ();
74502 ;
74503 return 0;
74504 }
74505 _ACEOF
74506 rm -f conftest.$ac_objext conftest$ac_exeext
74507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74508 (eval $ac_link) 2>conftest.er1
74509 ac_status=$?
74510 grep -v '^ *+' conftest.er1 >conftest.err
74511 rm -f conftest.er1
74512 cat conftest.err >&5
74513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74514 (exit $ac_status); } &&
74515 { ac_try='test -z "$ac_c_werror_flag"
74516 || test ! -s conftest.err'
74517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74518 (eval $ac_try) 2>&5
74519 ac_status=$?
74520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521 (exit $ac_status); }; } &&
74522 { ac_try='test -s conftest$ac_exeext'
74523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74524 (eval $ac_try) 2>&5
74525 ac_status=$?
74526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74527 (exit $ac_status); }; }; then
74528 ac_cv_lib_m_main=yes
74529 else
74530 echo "$as_me: failed program was:" >&5
74531 sed 's/^/| /' conftest.$ac_ext >&5
74532
74533 ac_cv_lib_m_main=no
74534 fi
74535 rm -f conftest.err conftest.$ac_objext \
74536 conftest$ac_exeext conftest.$ac_ext
74537 LIBS=$ac_check_lib_save_LIBS
74538 fi
74539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74540 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74541 if test $ac_cv_lib_m_main = yes; then
74542 cat >>confdefs.h <<_ACEOF
74543 #define HAVE_LIBM 1
74544 _ACEOF
74545
74546 LIBS="-lm $LIBS"
74547
74548 fi
74549
74550
74551 for ac_func in copysignf
74552 do
74553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74554 echo "$as_me:$LINENO: checking for $ac_func" >&5
74555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74556 if eval "test \"\${$as_ac_var+set}\" = set"; then
74557 echo $ECHO_N "(cached) $ECHO_C" >&6
74558 else
74559 if test x$gcc_no_link = xyes; then
74560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74562 { (exit 1); exit 1; }; }
74563 fi
74564 cat >conftest.$ac_ext <<_ACEOF
74565 /* confdefs.h. */
74566 _ACEOF
74567 cat confdefs.h >>conftest.$ac_ext
74568 cat >>conftest.$ac_ext <<_ACEOF
74569 /* end confdefs.h. */
74570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74572 #define $ac_func innocuous_$ac_func
74573
74574 /* System header to define __stub macros and hopefully few prototypes,
74575 which can conflict with char $ac_func (); below.
74576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74577 <limits.h> exists even on freestanding compilers. */
74578
74579 #ifdef __STDC__
74580 # include <limits.h>
74581 #else
74582 # include <assert.h>
74583 #endif
74584
74585 #undef $ac_func
74586
74587 /* Override any gcc2 internal prototype to avoid an error. */
74588 #ifdef __cplusplus
74589 extern "C"
74590 {
74591 #endif
74592 /* We use char because int might match the return type of a gcc2
74593 builtin and then its argument prototype would still apply. */
74594 char $ac_func ();
74595 /* The GNU C library defines this for functions which it implements
74596 to always fail with ENOSYS. Some functions are actually named
74597 something starting with __ and the normal name is an alias. */
74598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74599 choke me
74600 #else
74601 char (*f) () = $ac_func;
74602 #endif
74603 #ifdef __cplusplus
74604 }
74605 #endif
74606
74607 int
74608 main ()
74609 {
74610 return f != $ac_func;
74611 ;
74612 return 0;
74613 }
74614 _ACEOF
74615 rm -f conftest.$ac_objext conftest$ac_exeext
74616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74617 (eval $ac_link) 2>conftest.er1
74618 ac_status=$?
74619 grep -v '^ *+' conftest.er1 >conftest.err
74620 rm -f conftest.er1
74621 cat conftest.err >&5
74622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74623 (exit $ac_status); } &&
74624 { ac_try='test -z "$ac_c_werror_flag"
74625 || test ! -s conftest.err'
74626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74627 (eval $ac_try) 2>&5
74628 ac_status=$?
74629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74630 (exit $ac_status); }; } &&
74631 { ac_try='test -s conftest$ac_exeext'
74632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74633 (eval $ac_try) 2>&5
74634 ac_status=$?
74635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74636 (exit $ac_status); }; }; then
74637 eval "$as_ac_var=yes"
74638 else
74639 echo "$as_me: failed program was:" >&5
74640 sed 's/^/| /' conftest.$ac_ext >&5
74641
74642 eval "$as_ac_var=no"
74643 fi
74644 rm -f conftest.err conftest.$ac_objext \
74645 conftest$ac_exeext conftest.$ac_ext
74646 fi
74647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74649 if test `eval echo '${'$as_ac_var'}'` = yes; then
74650 cat >>confdefs.h <<_ACEOF
74651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74652 _ACEOF
74653
74654 else
74655 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74656 fi
74657 done
74658
74659
74660
74661 for ac_func in __signbit
74662 do
74663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74664 echo "$as_me:$LINENO: checking for $ac_func" >&5
74665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74666 if eval "test \"\${$as_ac_var+set}\" = set"; then
74667 echo $ECHO_N "(cached) $ECHO_C" >&6
74668 else
74669 if test x$gcc_no_link = xyes; then
74670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74672 { (exit 1); exit 1; }; }
74673 fi
74674 cat >conftest.$ac_ext <<_ACEOF
74675 /* confdefs.h. */
74676 _ACEOF
74677 cat confdefs.h >>conftest.$ac_ext
74678 cat >>conftest.$ac_ext <<_ACEOF
74679 /* end confdefs.h. */
74680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74682 #define $ac_func innocuous_$ac_func
74683
74684 /* System header to define __stub macros and hopefully few prototypes,
74685 which can conflict with char $ac_func (); below.
74686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74687 <limits.h> exists even on freestanding compilers. */
74688
74689 #ifdef __STDC__
74690 # include <limits.h>
74691 #else
74692 # include <assert.h>
74693 #endif
74694
74695 #undef $ac_func
74696
74697 /* Override any gcc2 internal prototype to avoid an error. */
74698 #ifdef __cplusplus
74699 extern "C"
74700 {
74701 #endif
74702 /* We use char because int might match the return type of a gcc2
74703 builtin and then its argument prototype would still apply. */
74704 char $ac_func ();
74705 /* The GNU C library defines this for functions which it implements
74706 to always fail with ENOSYS. Some functions are actually named
74707 something starting with __ and the normal name is an alias. */
74708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74709 choke me
74710 #else
74711 char (*f) () = $ac_func;
74712 #endif
74713 #ifdef __cplusplus
74714 }
74715 #endif
74716
74717 int
74718 main ()
74719 {
74720 return f != $ac_func;
74721 ;
74722 return 0;
74723 }
74724 _ACEOF
74725 rm -f conftest.$ac_objext conftest$ac_exeext
74726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74727 (eval $ac_link) 2>conftest.er1
74728 ac_status=$?
74729 grep -v '^ *+' conftest.er1 >conftest.err
74730 rm -f conftest.er1
74731 cat conftest.err >&5
74732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74733 (exit $ac_status); } &&
74734 { ac_try='test -z "$ac_c_werror_flag"
74735 || test ! -s conftest.err'
74736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74737 (eval $ac_try) 2>&5
74738 ac_status=$?
74739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74740 (exit $ac_status); }; } &&
74741 { ac_try='test -s conftest$ac_exeext'
74742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74743 (eval $ac_try) 2>&5
74744 ac_status=$?
74745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74746 (exit $ac_status); }; }; then
74747 eval "$as_ac_var=yes"
74748 else
74749 echo "$as_me: failed program was:" >&5
74750 sed 's/^/| /' conftest.$ac_ext >&5
74751
74752 eval "$as_ac_var=no"
74753 fi
74754 rm -f conftest.err conftest.$ac_objext \
74755 conftest$ac_exeext conftest.$ac_ext
74756 fi
74757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74759 if test `eval echo '${'$as_ac_var'}'` = yes; then
74760 cat >>confdefs.h <<_ACEOF
74761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74762 _ACEOF
74763
74764 else
74765 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74766 fi
74767 done
74768
74769
74770
74771 for ac_func in __signbitf
74772 do
74773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74774 echo "$as_me:$LINENO: checking for $ac_func" >&5
74775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74776 if eval "test \"\${$as_ac_var+set}\" = set"; then
74777 echo $ECHO_N "(cached) $ECHO_C" >&6
74778 else
74779 if test x$gcc_no_link = xyes; then
74780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74782 { (exit 1); exit 1; }; }
74783 fi
74784 cat >conftest.$ac_ext <<_ACEOF
74785 /* confdefs.h. */
74786 _ACEOF
74787 cat confdefs.h >>conftest.$ac_ext
74788 cat >>conftest.$ac_ext <<_ACEOF
74789 /* end confdefs.h. */
74790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74792 #define $ac_func innocuous_$ac_func
74793
74794 /* System header to define __stub macros and hopefully few prototypes,
74795 which can conflict with char $ac_func (); below.
74796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74797 <limits.h> exists even on freestanding compilers. */
74798
74799 #ifdef __STDC__
74800 # include <limits.h>
74801 #else
74802 # include <assert.h>
74803 #endif
74804
74805 #undef $ac_func
74806
74807 /* Override any gcc2 internal prototype to avoid an error. */
74808 #ifdef __cplusplus
74809 extern "C"
74810 {
74811 #endif
74812 /* We use char because int might match the return type of a gcc2
74813 builtin and then its argument prototype would still apply. */
74814 char $ac_func ();
74815 /* The GNU C library defines this for functions which it implements
74816 to always fail with ENOSYS. Some functions are actually named
74817 something starting with __ and the normal name is an alias. */
74818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74819 choke me
74820 #else
74821 char (*f) () = $ac_func;
74822 #endif
74823 #ifdef __cplusplus
74824 }
74825 #endif
74826
74827 int
74828 main ()
74829 {
74830 return f != $ac_func;
74831 ;
74832 return 0;
74833 }
74834 _ACEOF
74835 rm -f conftest.$ac_objext conftest$ac_exeext
74836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74837 (eval $ac_link) 2>conftest.er1
74838 ac_status=$?
74839 grep -v '^ *+' conftest.er1 >conftest.err
74840 rm -f conftest.er1
74841 cat conftest.err >&5
74842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74843 (exit $ac_status); } &&
74844 { ac_try='test -z "$ac_c_werror_flag"
74845 || test ! -s conftest.err'
74846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74847 (eval $ac_try) 2>&5
74848 ac_status=$?
74849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74850 (exit $ac_status); }; } &&
74851 { ac_try='test -s conftest$ac_exeext'
74852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74853 (eval $ac_try) 2>&5
74854 ac_status=$?
74855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74856 (exit $ac_status); }; }; then
74857 eval "$as_ac_var=yes"
74858 else
74859 echo "$as_me: failed program was:" >&5
74860 sed 's/^/| /' conftest.$ac_ext >&5
74861
74862 eval "$as_ac_var=no"
74863 fi
74864 rm -f conftest.err conftest.$ac_objext \
74865 conftest$ac_exeext conftest.$ac_ext
74866 fi
74867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74869 if test `eval echo '${'$as_ac_var'}'` = yes; then
74870 cat >>confdefs.h <<_ACEOF
74871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74872 _ACEOF
74873
74874 else
74875 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74876 fi
74877 done
74878
74879
74880 if test x$ac_cv_func_copysignl = x"yes"; then
74881
74882 for ac_func in __signbitl
74883 do
74884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74885 echo "$as_me:$LINENO: checking for $ac_func" >&5
74886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74887 if eval "test \"\${$as_ac_var+set}\" = set"; then
74888 echo $ECHO_N "(cached) $ECHO_C" >&6
74889 else
74890 if test x$gcc_no_link = xyes; then
74891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74893 { (exit 1); exit 1; }; }
74894 fi
74895 cat >conftest.$ac_ext <<_ACEOF
74896 /* confdefs.h. */
74897 _ACEOF
74898 cat confdefs.h >>conftest.$ac_ext
74899 cat >>conftest.$ac_ext <<_ACEOF
74900 /* end confdefs.h. */
74901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74903 #define $ac_func innocuous_$ac_func
74904
74905 /* System header to define __stub macros and hopefully few prototypes,
74906 which can conflict with char $ac_func (); below.
74907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74908 <limits.h> exists even on freestanding compilers. */
74909
74910 #ifdef __STDC__
74911 # include <limits.h>
74912 #else
74913 # include <assert.h>
74914 #endif
74915
74916 #undef $ac_func
74917
74918 /* Override any gcc2 internal prototype to avoid an error. */
74919 #ifdef __cplusplus
74920 extern "C"
74921 {
74922 #endif
74923 /* We use char because int might match the return type of a gcc2
74924 builtin and then its argument prototype would still apply. */
74925 char $ac_func ();
74926 /* The GNU C library defines this for functions which it implements
74927 to always fail with ENOSYS. Some functions are actually named
74928 something starting with __ and the normal name is an alias. */
74929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74930 choke me
74931 #else
74932 char (*f) () = $ac_func;
74933 #endif
74934 #ifdef __cplusplus
74935 }
74936 #endif
74937
74938 int
74939 main ()
74940 {
74941 return f != $ac_func;
74942 ;
74943 return 0;
74944 }
74945 _ACEOF
74946 rm -f conftest.$ac_objext conftest$ac_exeext
74947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74948 (eval $ac_link) 2>conftest.er1
74949 ac_status=$?
74950 grep -v '^ *+' conftest.er1 >conftest.err
74951 rm -f conftest.er1
74952 cat conftest.err >&5
74953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74954 (exit $ac_status); } &&
74955 { ac_try='test -z "$ac_c_werror_flag"
74956 || test ! -s conftest.err'
74957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74958 (eval $ac_try) 2>&5
74959 ac_status=$?
74960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74961 (exit $ac_status); }; } &&
74962 { ac_try='test -s conftest$ac_exeext'
74963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74964 (eval $ac_try) 2>&5
74965 ac_status=$?
74966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967 (exit $ac_status); }; }; then
74968 eval "$as_ac_var=yes"
74969 else
74970 echo "$as_me: failed program was:" >&5
74971 sed 's/^/| /' conftest.$ac_ext >&5
74972
74973 eval "$as_ac_var=no"
74974 fi
74975 rm -f conftest.err conftest.$ac_objext \
74976 conftest$ac_exeext conftest.$ac_ext
74977 fi
74978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74980 if test `eval echo '${'$as_ac_var'}'` = yes; then
74981 cat >>confdefs.h <<_ACEOF
74982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74983 _ACEOF
74984
74985 else
74986 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74987 fi
74988 done
74989
74990 fi
74991
74992 # Used in libmath/Makefile.am.
74993 if test -n "$LIBMATHOBJS"; then
74994 need_libmath=yes
74995 fi
74996
74997
74998
74999
75000 enable_iconv=no
75001 # Only continue checking if the ISO C99 headers exist and support is on.
75002 if test x"$enable_wchar_t" = xyes; then
75003
75004 # Use iconv for wchar_t to char conversions. As such, check for
75005 # X/Open Portability Guide, version 2 features (XPG2).
75006 if test "${ac_cv_header_iconv_h+set}" = set; then
75007 echo "$as_me:$LINENO: checking for iconv.h" >&5
75008 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75009 if test "${ac_cv_header_iconv_h+set}" = set; then
75010 echo $ECHO_N "(cached) $ECHO_C" >&6
75011 fi
75012 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75013 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75014 else
75015 # Is the header compilable?
75016 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75017 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75018 cat >conftest.$ac_ext <<_ACEOF
75019 /* confdefs.h. */
75020 _ACEOF
75021 cat confdefs.h >>conftest.$ac_ext
75022 cat >>conftest.$ac_ext <<_ACEOF
75023 /* end confdefs.h. */
75024 $ac_includes_default
75025 #include <iconv.h>
75026 _ACEOF
75027 rm -f conftest.$ac_objext
75028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75029 (eval $ac_compile) 2>conftest.er1
75030 ac_status=$?
75031 grep -v '^ *+' conftest.er1 >conftest.err
75032 rm -f conftest.er1
75033 cat conftest.err >&5
75034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75035 (exit $ac_status); } &&
75036 { ac_try='test -z "$ac_c_werror_flag"
75037 || test ! -s conftest.err'
75038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75039 (eval $ac_try) 2>&5
75040 ac_status=$?
75041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75042 (exit $ac_status); }; } &&
75043 { ac_try='test -s conftest.$ac_objext'
75044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75045 (eval $ac_try) 2>&5
75046 ac_status=$?
75047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75048 (exit $ac_status); }; }; then
75049 ac_header_compiler=yes
75050 else
75051 echo "$as_me: failed program was:" >&5
75052 sed 's/^/| /' conftest.$ac_ext >&5
75053
75054 ac_header_compiler=no
75055 fi
75056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75058 echo "${ECHO_T}$ac_header_compiler" >&6
75059
75060 # Is the header present?
75061 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75062 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75063 cat >conftest.$ac_ext <<_ACEOF
75064 /* confdefs.h. */
75065 _ACEOF
75066 cat confdefs.h >>conftest.$ac_ext
75067 cat >>conftest.$ac_ext <<_ACEOF
75068 /* end confdefs.h. */
75069 #include <iconv.h>
75070 _ACEOF
75071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75073 ac_status=$?
75074 grep -v '^ *+' conftest.er1 >conftest.err
75075 rm -f conftest.er1
75076 cat conftest.err >&5
75077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75078 (exit $ac_status); } >/dev/null; then
75079 if test -s conftest.err; then
75080 ac_cpp_err=$ac_c_preproc_warn_flag
75081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75082 else
75083 ac_cpp_err=
75084 fi
75085 else
75086 ac_cpp_err=yes
75087 fi
75088 if test -z "$ac_cpp_err"; then
75089 ac_header_preproc=yes
75090 else
75091 echo "$as_me: failed program was:" >&5
75092 sed 's/^/| /' conftest.$ac_ext >&5
75093
75094 ac_header_preproc=no
75095 fi
75096 rm -f conftest.err conftest.$ac_ext
75097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75098 echo "${ECHO_T}$ac_header_preproc" >&6
75099
75100 # So? What about this header?
75101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75102 yes:no: )
75103 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75104 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75105 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75106 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75107 ac_header_preproc=yes
75108 ;;
75109 no:yes:* )
75110 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75111 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75112 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
75113 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
75114 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75115 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75116 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
75117 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
75118 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75119 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75120 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75121 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75122 (
75123 cat <<\_ASBOX
75124 ## ----------------------------------------- ##
75125 ## Report this to the package-unused lists. ##
75126 ## ----------------------------------------- ##
75127 _ASBOX
75128 ) |
75129 sed "s/^/$as_me: WARNING: /" >&2
75130 ;;
75131 esac
75132 echo "$as_me:$LINENO: checking for iconv.h" >&5
75133 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75134 if test "${ac_cv_header_iconv_h+set}" = set; then
75135 echo $ECHO_N "(cached) $ECHO_C" >&6
75136 else
75137 ac_cv_header_iconv_h=$ac_header_preproc
75138 fi
75139 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75140 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75141
75142 fi
75143 if test $ac_cv_header_iconv_h = yes; then
75144 ac_has_iconv_h=yes
75145 else
75146 ac_has_iconv_h=no
75147 fi
75148
75149
75150 if test "${ac_cv_header_langinfo_h+set}" = set; then
75151 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75152 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75153 if test "${ac_cv_header_langinfo_h+set}" = set; then
75154 echo $ECHO_N "(cached) $ECHO_C" >&6
75155 fi
75156 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75157 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75158 else
75159 # Is the header compilable?
75160 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75161 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75162 cat >conftest.$ac_ext <<_ACEOF
75163 /* confdefs.h. */
75164 _ACEOF
75165 cat confdefs.h >>conftest.$ac_ext
75166 cat >>conftest.$ac_ext <<_ACEOF
75167 /* end confdefs.h. */
75168 $ac_includes_default
75169 #include <langinfo.h>
75170 _ACEOF
75171 rm -f conftest.$ac_objext
75172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75173 (eval $ac_compile) 2>conftest.er1
75174 ac_status=$?
75175 grep -v '^ *+' conftest.er1 >conftest.err
75176 rm -f conftest.er1
75177 cat conftest.err >&5
75178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75179 (exit $ac_status); } &&
75180 { ac_try='test -z "$ac_c_werror_flag"
75181 || test ! -s conftest.err'
75182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75183 (eval $ac_try) 2>&5
75184 ac_status=$?
75185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75186 (exit $ac_status); }; } &&
75187 { ac_try='test -s conftest.$ac_objext'
75188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75189 (eval $ac_try) 2>&5
75190 ac_status=$?
75191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75192 (exit $ac_status); }; }; then
75193 ac_header_compiler=yes
75194 else
75195 echo "$as_me: failed program was:" >&5
75196 sed 's/^/| /' conftest.$ac_ext >&5
75197
75198 ac_header_compiler=no
75199 fi
75200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75202 echo "${ECHO_T}$ac_header_compiler" >&6
75203
75204 # Is the header present?
75205 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75206 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75207 cat >conftest.$ac_ext <<_ACEOF
75208 /* confdefs.h. */
75209 _ACEOF
75210 cat confdefs.h >>conftest.$ac_ext
75211 cat >>conftest.$ac_ext <<_ACEOF
75212 /* end confdefs.h. */
75213 #include <langinfo.h>
75214 _ACEOF
75215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75217 ac_status=$?
75218 grep -v '^ *+' conftest.er1 >conftest.err
75219 rm -f conftest.er1
75220 cat conftest.err >&5
75221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75222 (exit $ac_status); } >/dev/null; then
75223 if test -s conftest.err; then
75224 ac_cpp_err=$ac_c_preproc_warn_flag
75225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75226 else
75227 ac_cpp_err=
75228 fi
75229 else
75230 ac_cpp_err=yes
75231 fi
75232 if test -z "$ac_cpp_err"; then
75233 ac_header_preproc=yes
75234 else
75235 echo "$as_me: failed program was:" >&5
75236 sed 's/^/| /' conftest.$ac_ext >&5
75237
75238 ac_header_preproc=no
75239 fi
75240 rm -f conftest.err conftest.$ac_ext
75241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75242 echo "${ECHO_T}$ac_header_preproc" >&6
75243
75244 # So? What about this header?
75245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75246 yes:no: )
75247 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75248 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75249 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75250 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75251 ac_header_preproc=yes
75252 ;;
75253 no:yes:* )
75254 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75255 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75256 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
75257 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
75258 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75259 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75260 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
75261 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
75262 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75263 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75264 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75265 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75266 (
75267 cat <<\_ASBOX
75268 ## ----------------------------------------- ##
75269 ## Report this to the package-unused lists. ##
75270 ## ----------------------------------------- ##
75271 _ASBOX
75272 ) |
75273 sed "s/^/$as_me: WARNING: /" >&2
75274 ;;
75275 esac
75276 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75277 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75278 if test "${ac_cv_header_langinfo_h+set}" = set; then
75279 echo $ECHO_N "(cached) $ECHO_C" >&6
75280 else
75281 ac_cv_header_langinfo_h=$ac_header_preproc
75282 fi
75283 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75284 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75285
75286 fi
75287 if test $ac_cv_header_langinfo_h = yes; then
75288 ac_has_langinfo_h=yes
75289 else
75290 ac_has_langinfo_h=no
75291 fi
75292
75293
75294
75295 # Check for existence of libiconv.a providing XPG2 wchar_t support.
75296 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75297 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75298 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75299 echo $ECHO_N "(cached) $ECHO_C" >&6
75300 else
75301 ac_check_lib_save_LIBS=$LIBS
75302 LIBS="-liconv $LIBS"
75303 if test x$gcc_no_link = xyes; then
75304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75306 { (exit 1); exit 1; }; }
75307 fi
75308 cat >conftest.$ac_ext <<_ACEOF
75309 /* confdefs.h. */
75310 _ACEOF
75311 cat confdefs.h >>conftest.$ac_ext
75312 cat >>conftest.$ac_ext <<_ACEOF
75313 /* end confdefs.h. */
75314
75315 /* Override any gcc2 internal prototype to avoid an error. */
75316 #ifdef __cplusplus
75317 extern "C"
75318 #endif
75319 /* We use char because int might match the return type of a gcc2
75320 builtin and then its argument prototype would still apply. */
75321 char iconv ();
75322 int
75323 main ()
75324 {
75325 iconv ();
75326 ;
75327 return 0;
75328 }
75329 _ACEOF
75330 rm -f conftest.$ac_objext conftest$ac_exeext
75331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75332 (eval $ac_link) 2>conftest.er1
75333 ac_status=$?
75334 grep -v '^ *+' conftest.er1 >conftest.err
75335 rm -f conftest.er1
75336 cat conftest.err >&5
75337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75338 (exit $ac_status); } &&
75339 { ac_try='test -z "$ac_c_werror_flag"
75340 || test ! -s conftest.err'
75341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75342 (eval $ac_try) 2>&5
75343 ac_status=$?
75344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75345 (exit $ac_status); }; } &&
75346 { ac_try='test -s conftest$ac_exeext'
75347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75348 (eval $ac_try) 2>&5
75349 ac_status=$?
75350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75351 (exit $ac_status); }; }; then
75352 ac_cv_lib_iconv_iconv=yes
75353 else
75354 echo "$as_me: failed program was:" >&5
75355 sed 's/^/| /' conftest.$ac_ext >&5
75356
75357 ac_cv_lib_iconv_iconv=no
75358 fi
75359 rm -f conftest.err conftest.$ac_objext \
75360 conftest$ac_exeext conftest.$ac_ext
75361 LIBS=$ac_check_lib_save_LIBS
75362 fi
75363 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
75364 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
75365 if test $ac_cv_lib_iconv_iconv = yes; then
75366 LIBICONV="-liconv"
75367 fi
75368
75369 ac_save_LIBS="$LIBS"
75370 LIBS="$LIBS $LIBICONV"
75371
75372
75373
75374
75375
75376
75377 for ac_func in iconv_open iconv_close iconv nl_langinfo
75378 do
75379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75380 echo "$as_me:$LINENO: checking for $ac_func" >&5
75381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75382 if eval "test \"\${$as_ac_var+set}\" = set"; then
75383 echo $ECHO_N "(cached) $ECHO_C" >&6
75384 else
75385 if test x$gcc_no_link = xyes; then
75386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75388 { (exit 1); exit 1; }; }
75389 fi
75390 cat >conftest.$ac_ext <<_ACEOF
75391 /* confdefs.h. */
75392 _ACEOF
75393 cat confdefs.h >>conftest.$ac_ext
75394 cat >>conftest.$ac_ext <<_ACEOF
75395 /* end confdefs.h. */
75396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75398 #define $ac_func innocuous_$ac_func
75399
75400 /* System header to define __stub macros and hopefully few prototypes,
75401 which can conflict with char $ac_func (); below.
75402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75403 <limits.h> exists even on freestanding compilers. */
75404
75405 #ifdef __STDC__
75406 # include <limits.h>
75407 #else
75408 # include <assert.h>
75409 #endif
75410
75411 #undef $ac_func
75412
75413 /* Override any gcc2 internal prototype to avoid an error. */
75414 #ifdef __cplusplus
75415 extern "C"
75416 {
75417 #endif
75418 /* We use char because int might match the return type of a gcc2
75419 builtin and then its argument prototype would still apply. */
75420 char $ac_func ();
75421 /* The GNU C library defines this for functions which it implements
75422 to always fail with ENOSYS. Some functions are actually named
75423 something starting with __ and the normal name is an alias. */
75424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75425 choke me
75426 #else
75427 char (*f) () = $ac_func;
75428 #endif
75429 #ifdef __cplusplus
75430 }
75431 #endif
75432
75433 int
75434 main ()
75435 {
75436 return f != $ac_func;
75437 ;
75438 return 0;
75439 }
75440 _ACEOF
75441 rm -f conftest.$ac_objext conftest$ac_exeext
75442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75443 (eval $ac_link) 2>conftest.er1
75444 ac_status=$?
75445 grep -v '^ *+' conftest.er1 >conftest.err
75446 rm -f conftest.er1
75447 cat conftest.err >&5
75448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75449 (exit $ac_status); } &&
75450 { ac_try='test -z "$ac_c_werror_flag"
75451 || test ! -s conftest.err'
75452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75453 (eval $ac_try) 2>&5
75454 ac_status=$?
75455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75456 (exit $ac_status); }; } &&
75457 { ac_try='test -s conftest$ac_exeext'
75458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75459 (eval $ac_try) 2>&5
75460 ac_status=$?
75461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75462 (exit $ac_status); }; }; then
75463 eval "$as_ac_var=yes"
75464 else
75465 echo "$as_me: failed program was:" >&5
75466 sed 's/^/| /' conftest.$ac_ext >&5
75467
75468 eval "$as_ac_var=no"
75469 fi
75470 rm -f conftest.err conftest.$ac_objext \
75471 conftest$ac_exeext conftest.$ac_ext
75472 fi
75473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75475 if test `eval echo '${'$as_ac_var'}'` = yes; then
75476 cat >>confdefs.h <<_ACEOF
75477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75478 _ACEOF
75479 ac_XPG2funcs=yes
75480 else
75481 ac_XPG2funcs=no
75482 fi
75483 done
75484
75485
75486 LIBS="$ac_save_LIBS"
75487
75488 if test x"$ac_has_iconv_h" = xyes &&
75489 test x"$ac_has_langinfo_h" = xyes &&
75490 test x"$ac_XPG2funcs" = xyes;
75491 then
75492
75493 cat >>confdefs.h <<\_ACEOF
75494 #define _GLIBCXX_USE_ICONV 1
75495 _ACEOF
75496
75497 enable_iconv=yes
75498 fi
75499 fi
75500 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
75501 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
75502 echo "$as_me:$LINENO: result: $enable_iconv" >&5
75503 echo "${ECHO_T}$enable_iconv" >&6
75504
75505 cat >>confdefs.h <<\_ACEOF
75506 #define HAVE_LC_MESSAGES 1
75507 _ACEOF
75508
75509 cat >>confdefs.h <<\_ACEOF
75510 #define HAVE_GETPAGESIZE 1
75511 _ACEOF
75512
75513 cat >>confdefs.h <<\_ACEOF
75514 #define HAVE_SETENV 1
75515 _ACEOF
75516
75517 cat >>confdefs.h <<\_ACEOF
75518 #define HAVE_SIGSETJMP 1
75519 _ACEOF
75520
75521 cat >>confdefs.h <<\_ACEOF
75522 #define HAVE_COPYSIGN 1
75523 _ACEOF
75524
75525 cat >>confdefs.h <<\_ACEOF
75526 #define HAVE_COPYSIGNF 1
75527 _ACEOF
75528
75529 cat >>confdefs.h <<\_ACEOF
75530 #define HAVE_FINITEF 1
75531 _ACEOF
75532
75533 cat >>confdefs.h <<\_ACEOF
75534 #define HAVE_FINITE 1
75535 _ACEOF
75536
75537 cat >>confdefs.h <<\_ACEOF
75538 #define HAVE_FREXPF 1
75539 _ACEOF
75540
75541 cat >>confdefs.h <<\_ACEOF
75542 #define HAVE_HYPOT 1
75543 _ACEOF
75544
75545 cat >>confdefs.h <<\_ACEOF
75546 #define HAVE_HYPOTF 1
75547 _ACEOF
75548
75549 cat >>confdefs.h <<\_ACEOF
75550 #define HAVE_ISINF 1
75551 _ACEOF
75552
75553 cat >>confdefs.h <<\_ACEOF
75554 #define HAVE_ISNAN 1
75555 _ACEOF
75556
75557 cat >>confdefs.h <<\_ACEOF
75558 #define HAVE_ISNANF 1
75559 _ACEOF
75560
75561
75562 cat >>confdefs.h <<\_ACEOF
75563 #define HAVE_MMAP 1
75564 _ACEOF
75565
75566 cat >>confdefs.h <<\_ACEOF
75567 #define HAVE_ACOSF 1
75568 _ACEOF
75569
75570 cat >>confdefs.h <<\_ACEOF
75571 #define HAVE_ASINF 1
75572 _ACEOF
75573
75574 cat >>confdefs.h <<\_ACEOF
75575 #define HAVE_ATAN2F 1
75576 _ACEOF
75577
75578 cat >>confdefs.h <<\_ACEOF
75579 #define HAVE_ATANF 1
75580 _ACEOF
75581
75582 cat >>confdefs.h <<\_ACEOF
75583 #define HAVE_CEILF 1
75584 _ACEOF
75585
75586 cat >>confdefs.h <<\_ACEOF
75587 #define HAVE_COPYSIGN 1
75588 _ACEOF
75589
75590 cat >>confdefs.h <<\_ACEOF
75591 #define HAVE_COPYSIGNF 1
75592 _ACEOF
75593
75594 cat >>confdefs.h <<\_ACEOF
75595 #define HAVE_COSF 1
75596 _ACEOF
75597
75598 cat >>confdefs.h <<\_ACEOF
75599 #define HAVE_COSHF 1
75600 _ACEOF
75601
75602 cat >>confdefs.h <<\_ACEOF
75603 #define HAVE_EXPF 1
75604 _ACEOF
75605
75606 cat >>confdefs.h <<\_ACEOF
75607 #define HAVE_FABSF 1
75608 _ACEOF
75609
75610 cat >>confdefs.h <<\_ACEOF
75611 #define HAVE_FLOORF 1
75612 _ACEOF
75613
75614 cat >>confdefs.h <<\_ACEOF
75615 #define HAVE_FMODF 1
75616 _ACEOF
75617
75618 cat >>confdefs.h <<\_ACEOF
75619 #define HAVE_FREXPF 1
75620 _ACEOF
75621
75622 cat >>confdefs.h <<\_ACEOF
75623 #define HAVE_LDEXPF 1
75624 _ACEOF
75625
75626 cat >>confdefs.h <<\_ACEOF
75627 #define HAVE_LOG10F 1
75628 _ACEOF
75629
75630 cat >>confdefs.h <<\_ACEOF
75631 #define HAVE_LOGF 1
75632 _ACEOF
75633
75634 cat >>confdefs.h <<\_ACEOF
75635 #define HAVE_MODFF 1
75636 _ACEOF
75637
75638 cat >>confdefs.h <<\_ACEOF
75639 #define HAVE_POWF 1
75640 _ACEOF
75641
75642 cat >>confdefs.h <<\_ACEOF
75643 #define HAVE_SINF 1
75644 _ACEOF
75645
75646 cat >>confdefs.h <<\_ACEOF
75647 #define HAVE_SINHF 1
75648 _ACEOF
75649
75650 cat >>confdefs.h <<\_ACEOF
75651 #define HAVE_SQRTF 1
75652 _ACEOF
75653
75654 cat >>confdefs.h <<\_ACEOF
75655 #define HAVE_TANF 1
75656 _ACEOF
75657
75658 cat >>confdefs.h <<\_ACEOF
75659 #define HAVE_TANHF 1
75660 _ACEOF
75661
75662 if test x"long_double_math_on_this_cpu" = x"yes"; then
75663 cat >>confdefs.h <<\_ACEOF
75664 #define HAVE_FINITEL 1
75665 _ACEOF
75666
75667 cat >>confdefs.h <<\_ACEOF
75668 #define HAVE_ISINFL 1
75669 _ACEOF
75670
75671 cat >>confdefs.h <<\_ACEOF
75672 #define HAVE_ISNANL 1
75673 _ACEOF
75674
75675 fi
75676 ;;
75677 *-hpux*)
75678
75679
75680
75681
75682
75683
75684
75685
75686
75687
75688
75689
75690 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75691 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75692 fp.h locale.h float.h inttypes.h
75693 do
75694 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75695 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75696 echo "$as_me:$LINENO: checking for $ac_header" >&5
75697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75699 echo $ECHO_N "(cached) $ECHO_C" >&6
75700 fi
75701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75703 else
75704 # Is the header compilable?
75705 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75706 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75707 cat >conftest.$ac_ext <<_ACEOF
75708 /* confdefs.h. */
75709 _ACEOF
75710 cat confdefs.h >>conftest.$ac_ext
75711 cat >>conftest.$ac_ext <<_ACEOF
75712 /* end confdefs.h. */
75713 $ac_includes_default
75714 #include <$ac_header>
75715 _ACEOF
75716 rm -f conftest.$ac_objext
75717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75718 (eval $ac_compile) 2>conftest.er1
75719 ac_status=$?
75720 grep -v '^ *+' conftest.er1 >conftest.err
75721 rm -f conftest.er1
75722 cat conftest.err >&5
75723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75724 (exit $ac_status); } &&
75725 { ac_try='test -z "$ac_c_werror_flag"
75726 || test ! -s conftest.err'
75727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75728 (eval $ac_try) 2>&5
75729 ac_status=$?
75730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75731 (exit $ac_status); }; } &&
75732 { ac_try='test -s conftest.$ac_objext'
75733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75734 (eval $ac_try) 2>&5
75735 ac_status=$?
75736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75737 (exit $ac_status); }; }; then
75738 ac_header_compiler=yes
75739 else
75740 echo "$as_me: failed program was:" >&5
75741 sed 's/^/| /' conftest.$ac_ext >&5
75742
75743 ac_header_compiler=no
75744 fi
75745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75746 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75747 echo "${ECHO_T}$ac_header_compiler" >&6
75748
75749 # Is the header present?
75750 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75751 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75752 cat >conftest.$ac_ext <<_ACEOF
75753 /* confdefs.h. */
75754 _ACEOF
75755 cat confdefs.h >>conftest.$ac_ext
75756 cat >>conftest.$ac_ext <<_ACEOF
75757 /* end confdefs.h. */
75758 #include <$ac_header>
75759 _ACEOF
75760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75762 ac_status=$?
75763 grep -v '^ *+' conftest.er1 >conftest.err
75764 rm -f conftest.er1
75765 cat conftest.err >&5
75766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75767 (exit $ac_status); } >/dev/null; then
75768 if test -s conftest.err; then
75769 ac_cpp_err=$ac_c_preproc_warn_flag
75770 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75771 else
75772 ac_cpp_err=
75773 fi
75774 else
75775 ac_cpp_err=yes
75776 fi
75777 if test -z "$ac_cpp_err"; then
75778 ac_header_preproc=yes
75779 else
75780 echo "$as_me: failed program was:" >&5
75781 sed 's/^/| /' conftest.$ac_ext >&5
75782
75783 ac_header_preproc=no
75784 fi
75785 rm -f conftest.err conftest.$ac_ext
75786 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75787 echo "${ECHO_T}$ac_header_preproc" >&6
75788
75789 # So? What about this header?
75790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75791 yes:no: )
75792 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75793 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75795 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75796 ac_header_preproc=yes
75797 ;;
75798 no:yes:* )
75799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75803 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75804 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75805 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75806 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75808 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75809 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75810 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75811 (
75812 cat <<\_ASBOX
75813 ## ----------------------------------------- ##
75814 ## Report this to the package-unused lists. ##
75815 ## ----------------------------------------- ##
75816 _ASBOX
75817 ) |
75818 sed "s/^/$as_me: WARNING: /" >&2
75819 ;;
75820 esac
75821 echo "$as_me:$LINENO: checking for $ac_header" >&5
75822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75823 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75824 echo $ECHO_N "(cached) $ECHO_C" >&6
75825 else
75826 eval "$as_ac_Header=\$ac_header_preproc"
75827 fi
75828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75830
75831 fi
75832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75833 cat >>confdefs.h <<_ACEOF
75834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75835 _ACEOF
75836
75837 fi
75838
75839 done
75840
75841 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75842
75843
75844 # If we're not using GNU ld, then there's no point in even trying these
75845 # tests. Check for that first. We should have already tested for gld
75846 # by now (in libtool), but require it now just to be safe...
75847 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75848 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75849
75850
75851
75852 # The name set by libtool depends on the version of libtool. Shame on us
75853 # for depending on an impl detail, but c'est la vie. Older versions used
75854 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75855 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75856 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75857 # set (hence we're using an older libtool), then set it.
75858 if test x${with_gnu_ld+set} != xset; then
75859 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75860 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75861 with_gnu_ld=no
75862 else
75863 with_gnu_ld=$ac_cv_prog_gnu_ld
75864 fi
75865 fi
75866
75867 # Start by getting the version number. I think the libtool test already
75868 # does some of this, but throws away the result.
75869
75870 ldver=`$LD --version 2>/dev/null | head -1 | \
75871 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75872
75873 glibcxx_gnu_ld_version=`echo $ldver | \
75874 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75875
75876 # Set --gc-sections.
75877 if test "$with_gnu_ld" = "notbroken"; then
75878 # GNU ld it is! Joy and bunny rabbits!
75879
75880 # All these tests are for C++; save the language and the compiler flags.
75881 # Need to do this so that g++ won't try to link in libstdc++
75882 ac_test_CFLAGS="${CFLAGS+set}"
75883 ac_save_CFLAGS="$CFLAGS"
75884 CFLAGS='-x c++ -Wl,--gc-sections'
75885
75886 # Check for -Wl,--gc-sections
75887 # XXX This test is broken at the moment, as symbols required for linking
75888 # are now in libsupc++ (not built yet). In addition, this test has
75889 # cored on solaris in the past. In addition, --gc-sections doesn't
75890 # really work at the moment (keeps on discarding used sections, first
75891 # .eh_frame and now some of the glibc sections for iconv).
75892 # Bzzzzt. Thanks for playing, maybe next time.
75893 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75894 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75895 if test "$cross_compiling" = yes; then
75896 ac_sectionLDflags=yes
75897 else
75898 cat >conftest.$ac_ext <<_ACEOF
75899 /* confdefs.h. */
75900 _ACEOF
75901 cat confdefs.h >>conftest.$ac_ext
75902 cat >>conftest.$ac_ext <<_ACEOF
75903 /* end confdefs.h. */
75904
75905 int main(void)
75906 {
75907 try { throw 1; }
75908 catch (...) { };
75909 return 0;
75910 }
75911
75912 _ACEOF
75913 rm -f conftest$ac_exeext
75914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75915 (eval $ac_link) 2>&5
75916 ac_status=$?
75917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75920 (eval $ac_try) 2>&5
75921 ac_status=$?
75922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75923 (exit $ac_status); }; }; then
75924 ac_sectionLDflags=yes
75925 else
75926 echo "$as_me: program exited with status $ac_status" >&5
75927 echo "$as_me: failed program was:" >&5
75928 sed 's/^/| /' conftest.$ac_ext >&5
75929
75930 ( exit $ac_status )
75931 ac_sectionLDflags=no
75932 fi
75933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75934 fi
75935 if test "$ac_test_CFLAGS" = set; then
75936 CFLAGS="$ac_save_CFLAGS"
75937 else
75938 # this is the suspicious part
75939 CFLAGS=''
75940 fi
75941 if test "$ac_sectionLDflags" = "yes"; then
75942 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75943 fi
75944 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75945 echo "${ECHO_T}$ac_sectionLDflags" >&6
75946 fi
75947
75948 # Set -z,relro.
75949 # Note this is only for shared objects
75950 ac_ld_relro=no
75951 if test x"$with_gnu_ld" = x"yes"; then
75952 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
75953 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
75954 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
75955 if test -n "$cxx_z_relo"; then
75956 OPT_LDFLAGS="-Wl,-z,relro"
75957 ac_ld_relro=yes
75958 fi
75959 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
75960 echo "${ECHO_T}$ac_ld_relro" >&6
75961 fi
75962
75963 # Set linker optimization flags.
75964 if test x"$with_gnu_ld" = x"yes"; then
75965 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75966 fi
75967
75968
75969
75970
75971
75972
75973 echo "$as_me:$LINENO: checking for main in -lm" >&5
75974 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75975 if test "${ac_cv_lib_m_main+set}" = set; then
75976 echo $ECHO_N "(cached) $ECHO_C" >&6
75977 else
75978 ac_check_lib_save_LIBS=$LIBS
75979 LIBS="-lm $LIBS"
75980 if test x$gcc_no_link = xyes; then
75981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75983 { (exit 1); exit 1; }; }
75984 fi
75985 cat >conftest.$ac_ext <<_ACEOF
75986 /* confdefs.h. */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h. */
75991
75992
75993 int
75994 main ()
75995 {
75996 main ();
75997 ;
75998 return 0;
75999 }
76000 _ACEOF
76001 rm -f conftest.$ac_objext conftest$ac_exeext
76002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76003 (eval $ac_link) 2>conftest.er1
76004 ac_status=$?
76005 grep -v '^ *+' conftest.er1 >conftest.err
76006 rm -f conftest.er1
76007 cat conftest.err >&5
76008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76009 (exit $ac_status); } &&
76010 { ac_try='test -z "$ac_c_werror_flag"
76011 || test ! -s conftest.err'
76012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76013 (eval $ac_try) 2>&5
76014 ac_status=$?
76015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76016 (exit $ac_status); }; } &&
76017 { ac_try='test -s conftest$ac_exeext'
76018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76019 (eval $ac_try) 2>&5
76020 ac_status=$?
76021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76022 (exit $ac_status); }; }; then
76023 ac_cv_lib_m_main=yes
76024 else
76025 echo "$as_me: failed program was:" >&5
76026 sed 's/^/| /' conftest.$ac_ext >&5
76027
76028 ac_cv_lib_m_main=no
76029 fi
76030 rm -f conftest.err conftest.$ac_objext \
76031 conftest$ac_exeext conftest.$ac_ext
76032 LIBS=$ac_check_lib_save_LIBS
76033 fi
76034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
76035 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
76036 if test $ac_cv_lib_m_main = yes; then
76037 cat >>confdefs.h <<_ACEOF
76038 #define HAVE_LIBM 1
76039 _ACEOF
76040
76041 LIBS="-lm $LIBS"
76042
76043 fi
76044
76045
76046 for ac_func in copysignf
76047 do
76048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76049 echo "$as_me:$LINENO: checking for $ac_func" >&5
76050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76051 if eval "test \"\${$as_ac_var+set}\" = set"; then
76052 echo $ECHO_N "(cached) $ECHO_C" >&6
76053 else
76054 if test x$gcc_no_link = xyes; then
76055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76057 { (exit 1); exit 1; }; }
76058 fi
76059 cat >conftest.$ac_ext <<_ACEOF
76060 /* confdefs.h. */
76061 _ACEOF
76062 cat confdefs.h >>conftest.$ac_ext
76063 cat >>conftest.$ac_ext <<_ACEOF
76064 /* end confdefs.h. */
76065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76067 #define $ac_func innocuous_$ac_func
76068
76069 /* System header to define __stub macros and hopefully few prototypes,
76070 which can conflict with char $ac_func (); below.
76071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76072 <limits.h> exists even on freestanding compilers. */
76073
76074 #ifdef __STDC__
76075 # include <limits.h>
76076 #else
76077 # include <assert.h>
76078 #endif
76079
76080 #undef $ac_func
76081
76082 /* Override any gcc2 internal prototype to avoid an error. */
76083 #ifdef __cplusplus
76084 extern "C"
76085 {
76086 #endif
76087 /* We use char because int might match the return type of a gcc2
76088 builtin and then its argument prototype would still apply. */
76089 char $ac_func ();
76090 /* The GNU C library defines this for functions which it implements
76091 to always fail with ENOSYS. Some functions are actually named
76092 something starting with __ and the normal name is an alias. */
76093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76094 choke me
76095 #else
76096 char (*f) () = $ac_func;
76097 #endif
76098 #ifdef __cplusplus
76099 }
76100 #endif
76101
76102 int
76103 main ()
76104 {
76105 return f != $ac_func;
76106 ;
76107 return 0;
76108 }
76109 _ACEOF
76110 rm -f conftest.$ac_objext conftest$ac_exeext
76111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76112 (eval $ac_link) 2>conftest.er1
76113 ac_status=$?
76114 grep -v '^ *+' conftest.er1 >conftest.err
76115 rm -f conftest.er1
76116 cat conftest.err >&5
76117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76118 (exit $ac_status); } &&
76119 { ac_try='test -z "$ac_c_werror_flag"
76120 || test ! -s conftest.err'
76121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76122 (eval $ac_try) 2>&5
76123 ac_status=$?
76124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76125 (exit $ac_status); }; } &&
76126 { ac_try='test -s conftest$ac_exeext'
76127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76128 (eval $ac_try) 2>&5
76129 ac_status=$?
76130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76131 (exit $ac_status); }; }; then
76132 eval "$as_ac_var=yes"
76133 else
76134 echo "$as_me: failed program was:" >&5
76135 sed 's/^/| /' conftest.$ac_ext >&5
76136
76137 eval "$as_ac_var=no"
76138 fi
76139 rm -f conftest.err conftest.$ac_objext \
76140 conftest$ac_exeext conftest.$ac_ext
76141 fi
76142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76144 if test `eval echo '${'$as_ac_var'}'` = yes; then
76145 cat >>confdefs.h <<_ACEOF
76146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76147 _ACEOF
76148
76149 else
76150 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
76151 fi
76152 done
76153
76154
76155
76156 for ac_func in __signbit
76157 do
76158 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76159 echo "$as_me:$LINENO: checking for $ac_func" >&5
76160 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76161 if eval "test \"\${$as_ac_var+set}\" = set"; then
76162 echo $ECHO_N "(cached) $ECHO_C" >&6
76163 else
76164 if test x$gcc_no_link = xyes; then
76165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76167 { (exit 1); exit 1; }; }
76168 fi
76169 cat >conftest.$ac_ext <<_ACEOF
76170 /* confdefs.h. */
76171 _ACEOF
76172 cat confdefs.h >>conftest.$ac_ext
76173 cat >>conftest.$ac_ext <<_ACEOF
76174 /* end confdefs.h. */
76175 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76176 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76177 #define $ac_func innocuous_$ac_func
76178
76179 /* System header to define __stub macros and hopefully few prototypes,
76180 which can conflict with char $ac_func (); below.
76181 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76182 <limits.h> exists even on freestanding compilers. */
76183
76184 #ifdef __STDC__
76185 # include <limits.h>
76186 #else
76187 # include <assert.h>
76188 #endif
76189
76190 #undef $ac_func
76191
76192 /* Override any gcc2 internal prototype to avoid an error. */
76193 #ifdef __cplusplus
76194 extern "C"
76195 {
76196 #endif
76197 /* We use char because int might match the return type of a gcc2
76198 builtin and then its argument prototype would still apply. */
76199 char $ac_func ();
76200 /* The GNU C library defines this for functions which it implements
76201 to always fail with ENOSYS. Some functions are actually named
76202 something starting with __ and the normal name is an alias. */
76203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76204 choke me
76205 #else
76206 char (*f) () = $ac_func;
76207 #endif
76208 #ifdef __cplusplus
76209 }
76210 #endif
76211
76212 int
76213 main ()
76214 {
76215 return f != $ac_func;
76216 ;
76217 return 0;
76218 }
76219 _ACEOF
76220 rm -f conftest.$ac_objext conftest$ac_exeext
76221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76222 (eval $ac_link) 2>conftest.er1
76223 ac_status=$?
76224 grep -v '^ *+' conftest.er1 >conftest.err
76225 rm -f conftest.er1
76226 cat conftest.err >&5
76227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76228 (exit $ac_status); } &&
76229 { ac_try='test -z "$ac_c_werror_flag"
76230 || test ! -s conftest.err'
76231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76232 (eval $ac_try) 2>&5
76233 ac_status=$?
76234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76235 (exit $ac_status); }; } &&
76236 { ac_try='test -s conftest$ac_exeext'
76237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76238 (eval $ac_try) 2>&5
76239 ac_status=$?
76240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76241 (exit $ac_status); }; }; then
76242 eval "$as_ac_var=yes"
76243 else
76244 echo "$as_me: failed program was:" >&5
76245 sed 's/^/| /' conftest.$ac_ext >&5
76246
76247 eval "$as_ac_var=no"
76248 fi
76249 rm -f conftest.err conftest.$ac_objext \
76250 conftest$ac_exeext conftest.$ac_ext
76251 fi
76252 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76253 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76254 if test `eval echo '${'$as_ac_var'}'` = yes; then
76255 cat >>confdefs.h <<_ACEOF
76256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76257 _ACEOF
76258
76259 else
76260 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
76261 fi
76262 done
76263
76264
76265
76266 for ac_func in __signbitf
76267 do
76268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76269 echo "$as_me:$LINENO: checking for $ac_func" >&5
76270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76271 if eval "test \"\${$as_ac_var+set}\" = set"; then
76272 echo $ECHO_N "(cached) $ECHO_C" >&6
76273 else
76274 if test x$gcc_no_link = xyes; then
76275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76277 { (exit 1); exit 1; }; }
76278 fi
76279 cat >conftest.$ac_ext <<_ACEOF
76280 /* confdefs.h. */
76281 _ACEOF
76282 cat confdefs.h >>conftest.$ac_ext
76283 cat >>conftest.$ac_ext <<_ACEOF
76284 /* end confdefs.h. */
76285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76287 #define $ac_func innocuous_$ac_func
76288
76289 /* System header to define __stub macros and hopefully few prototypes,
76290 which can conflict with char $ac_func (); below.
76291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76292 <limits.h> exists even on freestanding compilers. */
76293
76294 #ifdef __STDC__
76295 # include <limits.h>
76296 #else
76297 # include <assert.h>
76298 #endif
76299
76300 #undef $ac_func
76301
76302 /* Override any gcc2 internal prototype to avoid an error. */
76303 #ifdef __cplusplus
76304 extern "C"
76305 {
76306 #endif
76307 /* We use char because int might match the return type of a gcc2
76308 builtin and then its argument prototype would still apply. */
76309 char $ac_func ();
76310 /* The GNU C library defines this for functions which it implements
76311 to always fail with ENOSYS. Some functions are actually named
76312 something starting with __ and the normal name is an alias. */
76313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76314 choke me
76315 #else
76316 char (*f) () = $ac_func;
76317 #endif
76318 #ifdef __cplusplus
76319 }
76320 #endif
76321
76322 int
76323 main ()
76324 {
76325 return f != $ac_func;
76326 ;
76327 return 0;
76328 }
76329 _ACEOF
76330 rm -f conftest.$ac_objext conftest$ac_exeext
76331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76332 (eval $ac_link) 2>conftest.er1
76333 ac_status=$?
76334 grep -v '^ *+' conftest.er1 >conftest.err
76335 rm -f conftest.er1
76336 cat conftest.err >&5
76337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76338 (exit $ac_status); } &&
76339 { ac_try='test -z "$ac_c_werror_flag"
76340 || test ! -s conftest.err'
76341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76342 (eval $ac_try) 2>&5
76343 ac_status=$?
76344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76345 (exit $ac_status); }; } &&
76346 { ac_try='test -s conftest$ac_exeext'
76347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76348 (eval $ac_try) 2>&5
76349 ac_status=$?
76350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76351 (exit $ac_status); }; }; then
76352 eval "$as_ac_var=yes"
76353 else
76354 echo "$as_me: failed program was:" >&5
76355 sed 's/^/| /' conftest.$ac_ext >&5
76356
76357 eval "$as_ac_var=no"
76358 fi
76359 rm -f conftest.err conftest.$ac_objext \
76360 conftest$ac_exeext conftest.$ac_ext
76361 fi
76362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76364 if test `eval echo '${'$as_ac_var'}'` = yes; then
76365 cat >>confdefs.h <<_ACEOF
76366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76367 _ACEOF
76368
76369 else
76370 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
76371 fi
76372 done
76373
76374
76375 if test x$ac_cv_func_copysignl = x"yes"; then
76376
76377 for ac_func in __signbitl
76378 do
76379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76380 echo "$as_me:$LINENO: checking for $ac_func" >&5
76381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76382 if eval "test \"\${$as_ac_var+set}\" = set"; then
76383 echo $ECHO_N "(cached) $ECHO_C" >&6
76384 else
76385 if test x$gcc_no_link = xyes; then
76386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76388 { (exit 1); exit 1; }; }
76389 fi
76390 cat >conftest.$ac_ext <<_ACEOF
76391 /* confdefs.h. */
76392 _ACEOF
76393 cat confdefs.h >>conftest.$ac_ext
76394 cat >>conftest.$ac_ext <<_ACEOF
76395 /* end confdefs.h. */
76396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76398 #define $ac_func innocuous_$ac_func
76399
76400 /* System header to define __stub macros and hopefully few prototypes,
76401 which can conflict with char $ac_func (); below.
76402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76403 <limits.h> exists even on freestanding compilers. */
76404
76405 #ifdef __STDC__
76406 # include <limits.h>
76407 #else
76408 # include <assert.h>
76409 #endif
76410
76411 #undef $ac_func
76412
76413 /* Override any gcc2 internal prototype to avoid an error. */
76414 #ifdef __cplusplus
76415 extern "C"
76416 {
76417 #endif
76418 /* We use char because int might match the return type of a gcc2
76419 builtin and then its argument prototype would still apply. */
76420 char $ac_func ();
76421 /* The GNU C library defines this for functions which it implements
76422 to always fail with ENOSYS. Some functions are actually named
76423 something starting with __ and the normal name is an alias. */
76424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76425 choke me
76426 #else
76427 char (*f) () = $ac_func;
76428 #endif
76429 #ifdef __cplusplus
76430 }
76431 #endif
76432
76433 int
76434 main ()
76435 {
76436 return f != $ac_func;
76437 ;
76438 return 0;
76439 }
76440 _ACEOF
76441 rm -f conftest.$ac_objext conftest$ac_exeext
76442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76443 (eval $ac_link) 2>conftest.er1
76444 ac_status=$?
76445 grep -v '^ *+' conftest.er1 >conftest.err
76446 rm -f conftest.er1
76447 cat conftest.err >&5
76448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76449 (exit $ac_status); } &&
76450 { ac_try='test -z "$ac_c_werror_flag"
76451 || test ! -s conftest.err'
76452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76453 (eval $ac_try) 2>&5
76454 ac_status=$?
76455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76456 (exit $ac_status); }; } &&
76457 { ac_try='test -s conftest$ac_exeext'
76458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76459 (eval $ac_try) 2>&5
76460 ac_status=$?
76461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462 (exit $ac_status); }; }; then
76463 eval "$as_ac_var=yes"
76464 else
76465 echo "$as_me: failed program was:" >&5
76466 sed 's/^/| /' conftest.$ac_ext >&5
76467
76468 eval "$as_ac_var=no"
76469 fi
76470 rm -f conftest.err conftest.$ac_objext \
76471 conftest$ac_exeext conftest.$ac_ext
76472 fi
76473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76475 if test `eval echo '${'$as_ac_var'}'` = yes; then
76476 cat >>confdefs.h <<_ACEOF
76477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76478 _ACEOF
76479
76480 else
76481 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
76482 fi
76483 done
76484
76485 fi
76486
76487 # Used in libmath/Makefile.am.
76488 if test -n "$LIBMATHOBJS"; then
76489 need_libmath=yes
76490 fi
76491
76492
76493
76494
76495 enable_iconv=no
76496 # Only continue checking if the ISO C99 headers exist and support is on.
76497 if test x"$enable_wchar_t" = xyes; then
76498
76499 # Use iconv for wchar_t to char conversions. As such, check for
76500 # X/Open Portability Guide, version 2 features (XPG2).
76501 if test "${ac_cv_header_iconv_h+set}" = set; then
76502 echo "$as_me:$LINENO: checking for iconv.h" >&5
76503 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76504 if test "${ac_cv_header_iconv_h+set}" = set; then
76505 echo $ECHO_N "(cached) $ECHO_C" >&6
76506 fi
76507 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76508 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76509 else
76510 # Is the header compilable?
76511 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76512 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76513 cat >conftest.$ac_ext <<_ACEOF
76514 /* confdefs.h. */
76515 _ACEOF
76516 cat confdefs.h >>conftest.$ac_ext
76517 cat >>conftest.$ac_ext <<_ACEOF
76518 /* end confdefs.h. */
76519 $ac_includes_default
76520 #include <iconv.h>
76521 _ACEOF
76522 rm -f conftest.$ac_objext
76523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76524 (eval $ac_compile) 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); } &&
76531 { ac_try='test -z "$ac_c_werror_flag"
76532 || test ! -s conftest.err'
76533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76534 (eval $ac_try) 2>&5
76535 ac_status=$?
76536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76537 (exit $ac_status); }; } &&
76538 { ac_try='test -s conftest.$ac_objext'
76539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76540 (eval $ac_try) 2>&5
76541 ac_status=$?
76542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76543 (exit $ac_status); }; }; then
76544 ac_header_compiler=yes
76545 else
76546 echo "$as_me: failed program was:" >&5
76547 sed 's/^/| /' conftest.$ac_ext >&5
76548
76549 ac_header_compiler=no
76550 fi
76551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76553 echo "${ECHO_T}$ac_header_compiler" >&6
76554
76555 # Is the header present?
76556 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76557 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76558 cat >conftest.$ac_ext <<_ACEOF
76559 /* confdefs.h. */
76560 _ACEOF
76561 cat confdefs.h >>conftest.$ac_ext
76562 cat >>conftest.$ac_ext <<_ACEOF
76563 /* end confdefs.h. */
76564 #include <iconv.h>
76565 _ACEOF
76566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76568 ac_status=$?
76569 grep -v '^ *+' conftest.er1 >conftest.err
76570 rm -f conftest.er1
76571 cat conftest.err >&5
76572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76573 (exit $ac_status); } >/dev/null; then
76574 if test -s conftest.err; then
76575 ac_cpp_err=$ac_c_preproc_warn_flag
76576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76577 else
76578 ac_cpp_err=
76579 fi
76580 else
76581 ac_cpp_err=yes
76582 fi
76583 if test -z "$ac_cpp_err"; then
76584 ac_header_preproc=yes
76585 else
76586 echo "$as_me: failed program was:" >&5
76587 sed 's/^/| /' conftest.$ac_ext >&5
76588
76589 ac_header_preproc=no
76590 fi
76591 rm -f conftest.err conftest.$ac_ext
76592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76593 echo "${ECHO_T}$ac_header_preproc" >&6
76594
76595 # So? What about this header?
76596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76597 yes:no: )
76598 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76599 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76600 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76601 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76602 ac_header_preproc=yes
76603 ;;
76604 no:yes:* )
76605 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76606 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76607 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76608 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76609 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76610 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76611 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76612 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76613 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76614 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76615 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76616 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76617 (
76618 cat <<\_ASBOX
76619 ## ----------------------------------------- ##
76620 ## Report this to the package-unused lists. ##
76621 ## ----------------------------------------- ##
76622 _ASBOX
76623 ) |
76624 sed "s/^/$as_me: WARNING: /" >&2
76625 ;;
76626 esac
76627 echo "$as_me:$LINENO: checking for iconv.h" >&5
76628 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76629 if test "${ac_cv_header_iconv_h+set}" = set; then
76630 echo $ECHO_N "(cached) $ECHO_C" >&6
76631 else
76632 ac_cv_header_iconv_h=$ac_header_preproc
76633 fi
76634 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76635 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76636
76637 fi
76638 if test $ac_cv_header_iconv_h = yes; then
76639 ac_has_iconv_h=yes
76640 else
76641 ac_has_iconv_h=no
76642 fi
76643
76644
76645 if test "${ac_cv_header_langinfo_h+set}" = set; then
76646 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76647 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76648 if test "${ac_cv_header_langinfo_h+set}" = set; then
76649 echo $ECHO_N "(cached) $ECHO_C" >&6
76650 fi
76651 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76652 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76653 else
76654 # Is the header compilable?
76655 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76656 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76657 cat >conftest.$ac_ext <<_ACEOF
76658 /* confdefs.h. */
76659 _ACEOF
76660 cat confdefs.h >>conftest.$ac_ext
76661 cat >>conftest.$ac_ext <<_ACEOF
76662 /* end confdefs.h. */
76663 $ac_includes_default
76664 #include <langinfo.h>
76665 _ACEOF
76666 rm -f conftest.$ac_objext
76667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76668 (eval $ac_compile) 2>conftest.er1
76669 ac_status=$?
76670 grep -v '^ *+' conftest.er1 >conftest.err
76671 rm -f conftest.er1
76672 cat conftest.err >&5
76673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76674 (exit $ac_status); } &&
76675 { ac_try='test -z "$ac_c_werror_flag"
76676 || test ! -s conftest.err'
76677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76678 (eval $ac_try) 2>&5
76679 ac_status=$?
76680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76681 (exit $ac_status); }; } &&
76682 { ac_try='test -s conftest.$ac_objext'
76683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76684 (eval $ac_try) 2>&5
76685 ac_status=$?
76686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76687 (exit $ac_status); }; }; then
76688 ac_header_compiler=yes
76689 else
76690 echo "$as_me: failed program was:" >&5
76691 sed 's/^/| /' conftest.$ac_ext >&5
76692
76693 ac_header_compiler=no
76694 fi
76695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76697 echo "${ECHO_T}$ac_header_compiler" >&6
76698
76699 # Is the header present?
76700 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76701 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76702 cat >conftest.$ac_ext <<_ACEOF
76703 /* confdefs.h. */
76704 _ACEOF
76705 cat confdefs.h >>conftest.$ac_ext
76706 cat >>conftest.$ac_ext <<_ACEOF
76707 /* end confdefs.h. */
76708 #include <langinfo.h>
76709 _ACEOF
76710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76712 ac_status=$?
76713 grep -v '^ *+' conftest.er1 >conftest.err
76714 rm -f conftest.er1
76715 cat conftest.err >&5
76716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76717 (exit $ac_status); } >/dev/null; then
76718 if test -s conftest.err; then
76719 ac_cpp_err=$ac_c_preproc_warn_flag
76720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76721 else
76722 ac_cpp_err=
76723 fi
76724 else
76725 ac_cpp_err=yes
76726 fi
76727 if test -z "$ac_cpp_err"; then
76728 ac_header_preproc=yes
76729 else
76730 echo "$as_me: failed program was:" >&5
76731 sed 's/^/| /' conftest.$ac_ext >&5
76732
76733 ac_header_preproc=no
76734 fi
76735 rm -f conftest.err conftest.$ac_ext
76736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76737 echo "${ECHO_T}$ac_header_preproc" >&6
76738
76739 # So? What about this header?
76740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76741 yes:no: )
76742 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76743 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76744 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76745 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76746 ac_header_preproc=yes
76747 ;;
76748 no:yes:* )
76749 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76750 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76751 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76752 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76753 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76754 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76755 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76756 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76757 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76758 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76759 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76760 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76761 (
76762 cat <<\_ASBOX
76763 ## ----------------------------------------- ##
76764 ## Report this to the package-unused lists. ##
76765 ## ----------------------------------------- ##
76766 _ASBOX
76767 ) |
76768 sed "s/^/$as_me: WARNING: /" >&2
76769 ;;
76770 esac
76771 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76772 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76773 if test "${ac_cv_header_langinfo_h+set}" = set; then
76774 echo $ECHO_N "(cached) $ECHO_C" >&6
76775 else
76776 ac_cv_header_langinfo_h=$ac_header_preproc
76777 fi
76778 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76779 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76780
76781 fi
76782 if test $ac_cv_header_langinfo_h = yes; then
76783 ac_has_langinfo_h=yes
76784 else
76785 ac_has_langinfo_h=no
76786 fi
76787
76788
76789
76790 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76791 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76792 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76793 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76794 echo $ECHO_N "(cached) $ECHO_C" >&6
76795 else
76796 ac_check_lib_save_LIBS=$LIBS
76797 LIBS="-liconv $LIBS"
76798 if test x$gcc_no_link = xyes; then
76799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76801 { (exit 1); exit 1; }; }
76802 fi
76803 cat >conftest.$ac_ext <<_ACEOF
76804 /* confdefs.h. */
76805 _ACEOF
76806 cat confdefs.h >>conftest.$ac_ext
76807 cat >>conftest.$ac_ext <<_ACEOF
76808 /* end confdefs.h. */
76809
76810 /* Override any gcc2 internal prototype to avoid an error. */
76811 #ifdef __cplusplus
76812 extern "C"
76813 #endif
76814 /* We use char because int might match the return type of a gcc2
76815 builtin and then its argument prototype would still apply. */
76816 char iconv ();
76817 int
76818 main ()
76819 {
76820 iconv ();
76821 ;
76822 return 0;
76823 }
76824 _ACEOF
76825 rm -f conftest.$ac_objext conftest$ac_exeext
76826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76827 (eval $ac_link) 2>conftest.er1
76828 ac_status=$?
76829 grep -v '^ *+' conftest.er1 >conftest.err
76830 rm -f conftest.er1
76831 cat conftest.err >&5
76832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76833 (exit $ac_status); } &&
76834 { ac_try='test -z "$ac_c_werror_flag"
76835 || test ! -s conftest.err'
76836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76837 (eval $ac_try) 2>&5
76838 ac_status=$?
76839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76840 (exit $ac_status); }; } &&
76841 { ac_try='test -s conftest$ac_exeext'
76842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76843 (eval $ac_try) 2>&5
76844 ac_status=$?
76845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76846 (exit $ac_status); }; }; then
76847 ac_cv_lib_iconv_iconv=yes
76848 else
76849 echo "$as_me: failed program was:" >&5
76850 sed 's/^/| /' conftest.$ac_ext >&5
76851
76852 ac_cv_lib_iconv_iconv=no
76853 fi
76854 rm -f conftest.err conftest.$ac_objext \
76855 conftest$ac_exeext conftest.$ac_ext
76856 LIBS=$ac_check_lib_save_LIBS
76857 fi
76858 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76859 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76860 if test $ac_cv_lib_iconv_iconv = yes; then
76861 LIBICONV="-liconv"
76862 fi
76863
76864 ac_save_LIBS="$LIBS"
76865 LIBS="$LIBS $LIBICONV"
76866
76867
76868
76869
76870
76871
76872 for ac_func in iconv_open iconv_close iconv nl_langinfo
76873 do
76874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76875 echo "$as_me:$LINENO: checking for $ac_func" >&5
76876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76877 if eval "test \"\${$as_ac_var+set}\" = set"; then
76878 echo $ECHO_N "(cached) $ECHO_C" >&6
76879 else
76880 if test x$gcc_no_link = xyes; then
76881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76883 { (exit 1); exit 1; }; }
76884 fi
76885 cat >conftest.$ac_ext <<_ACEOF
76886 /* confdefs.h. */
76887 _ACEOF
76888 cat confdefs.h >>conftest.$ac_ext
76889 cat >>conftest.$ac_ext <<_ACEOF
76890 /* end confdefs.h. */
76891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76893 #define $ac_func innocuous_$ac_func
76894
76895 /* System header to define __stub macros and hopefully few prototypes,
76896 which can conflict with char $ac_func (); below.
76897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76898 <limits.h> exists even on freestanding compilers. */
76899
76900 #ifdef __STDC__
76901 # include <limits.h>
76902 #else
76903 # include <assert.h>
76904 #endif
76905
76906 #undef $ac_func
76907
76908 /* Override any gcc2 internal prototype to avoid an error. */
76909 #ifdef __cplusplus
76910 extern "C"
76911 {
76912 #endif
76913 /* We use char because int might match the return type of a gcc2
76914 builtin and then its argument prototype would still apply. */
76915 char $ac_func ();
76916 /* The GNU C library defines this for functions which it implements
76917 to always fail with ENOSYS. Some functions are actually named
76918 something starting with __ and the normal name is an alias. */
76919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76920 choke me
76921 #else
76922 char (*f) () = $ac_func;
76923 #endif
76924 #ifdef __cplusplus
76925 }
76926 #endif
76927
76928 int
76929 main ()
76930 {
76931 return f != $ac_func;
76932 ;
76933 return 0;
76934 }
76935 _ACEOF
76936 rm -f conftest.$ac_objext conftest$ac_exeext
76937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76938 (eval $ac_link) 2>conftest.er1
76939 ac_status=$?
76940 grep -v '^ *+' conftest.er1 >conftest.err
76941 rm -f conftest.er1
76942 cat conftest.err >&5
76943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76944 (exit $ac_status); } &&
76945 { ac_try='test -z "$ac_c_werror_flag"
76946 || test ! -s conftest.err'
76947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76948 (eval $ac_try) 2>&5
76949 ac_status=$?
76950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76951 (exit $ac_status); }; } &&
76952 { ac_try='test -s conftest$ac_exeext'
76953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76954 (eval $ac_try) 2>&5
76955 ac_status=$?
76956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76957 (exit $ac_status); }; }; then
76958 eval "$as_ac_var=yes"
76959 else
76960 echo "$as_me: failed program was:" >&5
76961 sed 's/^/| /' conftest.$ac_ext >&5
76962
76963 eval "$as_ac_var=no"
76964 fi
76965 rm -f conftest.err conftest.$ac_objext \
76966 conftest$ac_exeext conftest.$ac_ext
76967 fi
76968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76970 if test `eval echo '${'$as_ac_var'}'` = yes; then
76971 cat >>confdefs.h <<_ACEOF
76972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76973 _ACEOF
76974 ac_XPG2funcs=yes
76975 else
76976 ac_XPG2funcs=no
76977 fi
76978 done
76979
76980
76981 LIBS="$ac_save_LIBS"
76982
76983 if test x"$ac_has_iconv_h" = xyes &&
76984 test x"$ac_has_langinfo_h" = xyes &&
76985 test x"$ac_XPG2funcs" = xyes;
76986 then
76987
76988 cat >>confdefs.h <<\_ACEOF
76989 #define _GLIBCXX_USE_ICONV 1
76990 _ACEOF
76991
76992 enable_iconv=yes
76993 fi
76994 fi
76995 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
76996 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
76997 echo "$as_me:$LINENO: result: $enable_iconv" >&5
76998 echo "${ECHO_T}$enable_iconv" >&6
76999
77000 cat >>confdefs.h <<\_ACEOF
77001 #define HAVE_COPYSIGN 1
77002 _ACEOF
77003
77004 cat >>confdefs.h <<\_ACEOF
77005 #define HAVE_COPYSIGNF 1
77006 _ACEOF
77007
77008 cat >>confdefs.h <<\_ACEOF
77009 #define HAVE_FREXPF 1
77010 _ACEOF
77011
77012 cat >>confdefs.h <<\_ACEOF
77013 #define HAVE_HYPOT 1
77014 _ACEOF
77015
77016 case "$target" in
77017 *-hpux10*)
77018 cat >>confdefs.h <<\_ACEOF
77019 #define HAVE_FINITE 1
77020 _ACEOF
77021
77022 cat >>confdefs.h <<\_ACEOF
77023 #define HAVE_FINITEF 1
77024 _ACEOF
77025
77026 cat >>confdefs.h <<\_ACEOF
77027 #define HAVE_ISINF 1
77028 _ACEOF
77029
77030 cat >>confdefs.h <<\_ACEOF
77031 #define HAVE_ISINFF 1
77032 _ACEOF
77033
77034 cat >>confdefs.h <<\_ACEOF
77035 #define HAVE_ISNAN 1
77036 _ACEOF
77037
77038 cat >>confdefs.h <<\_ACEOF
77039 #define HAVE_ISNANF 1
77040 _ACEOF
77041
77042 ;;
77043 esac
77044 ;;
77045 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77046
77047
77048
77049
77050
77051
77052
77053
77054
77055
77056
77057
77058
77059
77060
77061 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77062 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77063 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
77064 do
77065 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77067 echo "$as_me:$LINENO: checking for $ac_header" >&5
77068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77070 echo $ECHO_N "(cached) $ECHO_C" >&6
77071 fi
77072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77074 else
77075 # Is the header compilable?
77076 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77078 cat >conftest.$ac_ext <<_ACEOF
77079 /* confdefs.h. */
77080 _ACEOF
77081 cat confdefs.h >>conftest.$ac_ext
77082 cat >>conftest.$ac_ext <<_ACEOF
77083 /* end confdefs.h. */
77084 $ac_includes_default
77085 #include <$ac_header>
77086 _ACEOF
77087 rm -f conftest.$ac_objext
77088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77089 (eval $ac_compile) 2>conftest.er1
77090 ac_status=$?
77091 grep -v '^ *+' conftest.er1 >conftest.err
77092 rm -f conftest.er1
77093 cat conftest.err >&5
77094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77095 (exit $ac_status); } &&
77096 { ac_try='test -z "$ac_c_werror_flag"
77097 || test ! -s conftest.err'
77098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77099 (eval $ac_try) 2>&5
77100 ac_status=$?
77101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77102 (exit $ac_status); }; } &&
77103 { ac_try='test -s conftest.$ac_objext'
77104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77105 (eval $ac_try) 2>&5
77106 ac_status=$?
77107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77108 (exit $ac_status); }; }; then
77109 ac_header_compiler=yes
77110 else
77111 echo "$as_me: failed program was:" >&5
77112 sed 's/^/| /' conftest.$ac_ext >&5
77113
77114 ac_header_compiler=no
77115 fi
77116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77117 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77118 echo "${ECHO_T}$ac_header_compiler" >&6
77119
77120 # Is the header present?
77121 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77122 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77123 cat >conftest.$ac_ext <<_ACEOF
77124 /* confdefs.h. */
77125 _ACEOF
77126 cat confdefs.h >>conftest.$ac_ext
77127 cat >>conftest.$ac_ext <<_ACEOF
77128 /* end confdefs.h. */
77129 #include <$ac_header>
77130 _ACEOF
77131 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77132 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77133 ac_status=$?
77134 grep -v '^ *+' conftest.er1 >conftest.err
77135 rm -f conftest.er1
77136 cat conftest.err >&5
77137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77138 (exit $ac_status); } >/dev/null; then
77139 if test -s conftest.err; then
77140 ac_cpp_err=$ac_c_preproc_warn_flag
77141 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77142 else
77143 ac_cpp_err=
77144 fi
77145 else
77146 ac_cpp_err=yes
77147 fi
77148 if test -z "$ac_cpp_err"; then
77149 ac_header_preproc=yes
77150 else
77151 echo "$as_me: failed program was:" >&5
77152 sed 's/^/| /' conftest.$ac_ext >&5
77153
77154 ac_header_preproc=no
77155 fi
77156 rm -f conftest.err conftest.$ac_ext
77157 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77158 echo "${ECHO_T}$ac_header_preproc" >&6
77159
77160 # So? What about this header?
77161 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77162 yes:no: )
77163 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77164 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77166 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77167 ac_header_preproc=yes
77168 ;;
77169 no:yes:* )
77170 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77171 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77172 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77173 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77174 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77175 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77176 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77177 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77180 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77181 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77182 (
77183 cat <<\_ASBOX
77184 ## ----------------------------------------- ##
77185 ## Report this to the package-unused lists. ##
77186 ## ----------------------------------------- ##
77187 _ASBOX
77188 ) |
77189 sed "s/^/$as_me: WARNING: /" >&2
77190 ;;
77191 esac
77192 echo "$as_me:$LINENO: checking for $ac_header" >&5
77193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77194 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77195 echo $ECHO_N "(cached) $ECHO_C" >&6
77196 else
77197 eval "$as_ac_Header=\$ac_header_preproc"
77198 fi
77199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77201
77202 fi
77203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77204 cat >>confdefs.h <<_ACEOF
77205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77206 _ACEOF
77207
77208 fi
77209
77210 done
77211
77212 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77213
77214
77215 # If we're not using GNU ld, then there's no point in even trying these
77216 # tests. Check for that first. We should have already tested for gld
77217 # by now (in libtool), but require it now just to be safe...
77218 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77219 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77220
77221
77222
77223 # The name set by libtool depends on the version of libtool. Shame on us
77224 # for depending on an impl detail, but c'est la vie. Older versions used
77225 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77226 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77227 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77228 # set (hence we're using an older libtool), then set it.
77229 if test x${with_gnu_ld+set} != xset; then
77230 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77231 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77232 with_gnu_ld=no
77233 else
77234 with_gnu_ld=$ac_cv_prog_gnu_ld
77235 fi
77236 fi
77237
77238 # Start by getting the version number. I think the libtool test already
77239 # does some of this, but throws away the result.
77240
77241 ldver=`$LD --version 2>/dev/null | head -1 | \
77242 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77243
77244 glibcxx_gnu_ld_version=`echo $ldver | \
77245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77246
77247 # Set --gc-sections.
77248 if test "$with_gnu_ld" = "notbroken"; then
77249 # GNU ld it is! Joy and bunny rabbits!
77250
77251 # All these tests are for C++; save the language and the compiler flags.
77252 # Need to do this so that g++ won't try to link in libstdc++
77253 ac_test_CFLAGS="${CFLAGS+set}"
77254 ac_save_CFLAGS="$CFLAGS"
77255 CFLAGS='-x c++ -Wl,--gc-sections'
77256
77257 # Check for -Wl,--gc-sections
77258 # XXX This test is broken at the moment, as symbols required for linking
77259 # are now in libsupc++ (not built yet). In addition, this test has
77260 # cored on solaris in the past. In addition, --gc-sections doesn't
77261 # really work at the moment (keeps on discarding used sections, first
77262 # .eh_frame and now some of the glibc sections for iconv).
77263 # Bzzzzt. Thanks for playing, maybe next time.
77264 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77265 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77266 if test "$cross_compiling" = yes; then
77267 ac_sectionLDflags=yes
77268 else
77269 cat >conftest.$ac_ext <<_ACEOF
77270 /* confdefs.h. */
77271 _ACEOF
77272 cat confdefs.h >>conftest.$ac_ext
77273 cat >>conftest.$ac_ext <<_ACEOF
77274 /* end confdefs.h. */
77275
77276 int main(void)
77277 {
77278 try { throw 1; }
77279 catch (...) { };
77280 return 0;
77281 }
77282
77283 _ACEOF
77284 rm -f conftest$ac_exeext
77285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77286 (eval $ac_link) 2>&5
77287 ac_status=$?
77288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77291 (eval $ac_try) 2>&5
77292 ac_status=$?
77293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77294 (exit $ac_status); }; }; then
77295 ac_sectionLDflags=yes
77296 else
77297 echo "$as_me: program exited with status $ac_status" >&5
77298 echo "$as_me: failed program was:" >&5
77299 sed 's/^/| /' conftest.$ac_ext >&5
77300
77301 ( exit $ac_status )
77302 ac_sectionLDflags=no
77303 fi
77304 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77305 fi
77306 if test "$ac_test_CFLAGS" = set; then
77307 CFLAGS="$ac_save_CFLAGS"
77308 else
77309 # this is the suspicious part
77310 CFLAGS=''
77311 fi
77312 if test "$ac_sectionLDflags" = "yes"; then
77313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77314 fi
77315 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77316 echo "${ECHO_T}$ac_sectionLDflags" >&6
77317 fi
77318
77319 # Set -z,relro.
77320 # Note this is only for shared objects
77321 ac_ld_relro=no
77322 if test x"$with_gnu_ld" = x"yes"; then
77323 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77324 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77325 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77326 if test -n "$cxx_z_relo"; then
77327 OPT_LDFLAGS="-Wl,-z,relro"
77328 ac_ld_relro=yes
77329 fi
77330 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77331 echo "${ECHO_T}$ac_ld_relro" >&6
77332 fi
77333
77334 # Set linker optimization flags.
77335 if test x"$with_gnu_ld" = x"yes"; then
77336 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77337 fi
77338
77339
77340
77341
77342
77343
77344 echo "$as_me:$LINENO: checking for main in -lm" >&5
77345 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77346 if test "${ac_cv_lib_m_main+set}" = set; then
77347 echo $ECHO_N "(cached) $ECHO_C" >&6
77348 else
77349 ac_check_lib_save_LIBS=$LIBS
77350 LIBS="-lm $LIBS"
77351 if test x$gcc_no_link = xyes; then
77352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77354 { (exit 1); exit 1; }; }
77355 fi
77356 cat >conftest.$ac_ext <<_ACEOF
77357 /* confdefs.h. */
77358 _ACEOF
77359 cat confdefs.h >>conftest.$ac_ext
77360 cat >>conftest.$ac_ext <<_ACEOF
77361 /* end confdefs.h. */
77362
77363
77364 int
77365 main ()
77366 {
77367 main ();
77368 ;
77369 return 0;
77370 }
77371 _ACEOF
77372 rm -f conftest.$ac_objext conftest$ac_exeext
77373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77374 (eval $ac_link) 2>conftest.er1
77375 ac_status=$?
77376 grep -v '^ *+' conftest.er1 >conftest.err
77377 rm -f conftest.er1
77378 cat conftest.err >&5
77379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77380 (exit $ac_status); } &&
77381 { ac_try='test -z "$ac_c_werror_flag"
77382 || test ! -s conftest.err'
77383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77384 (eval $ac_try) 2>&5
77385 ac_status=$?
77386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387 (exit $ac_status); }; } &&
77388 { ac_try='test -s conftest$ac_exeext'
77389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77390 (eval $ac_try) 2>&5
77391 ac_status=$?
77392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77393 (exit $ac_status); }; }; then
77394 ac_cv_lib_m_main=yes
77395 else
77396 echo "$as_me: failed program was:" >&5
77397 sed 's/^/| /' conftest.$ac_ext >&5
77398
77399 ac_cv_lib_m_main=no
77400 fi
77401 rm -f conftest.err conftest.$ac_objext \
77402 conftest$ac_exeext conftest.$ac_ext
77403 LIBS=$ac_check_lib_save_LIBS
77404 fi
77405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77406 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77407 if test $ac_cv_lib_m_main = yes; then
77408 cat >>confdefs.h <<_ACEOF
77409 #define HAVE_LIBM 1
77410 _ACEOF
77411
77412 LIBS="-lm $LIBS"
77413
77414 fi
77415
77416
77417 for ac_func in copysignf
77418 do
77419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77420 echo "$as_me:$LINENO: checking for $ac_func" >&5
77421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77422 if eval "test \"\${$as_ac_var+set}\" = set"; then
77423 echo $ECHO_N "(cached) $ECHO_C" >&6
77424 else
77425 if test x$gcc_no_link = xyes; then
77426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77428 { (exit 1); exit 1; }; }
77429 fi
77430 cat >conftest.$ac_ext <<_ACEOF
77431 /* confdefs.h. */
77432 _ACEOF
77433 cat confdefs.h >>conftest.$ac_ext
77434 cat >>conftest.$ac_ext <<_ACEOF
77435 /* end confdefs.h. */
77436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77438 #define $ac_func innocuous_$ac_func
77439
77440 /* System header to define __stub macros and hopefully few prototypes,
77441 which can conflict with char $ac_func (); below.
77442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77443 <limits.h> exists even on freestanding compilers. */
77444
77445 #ifdef __STDC__
77446 # include <limits.h>
77447 #else
77448 # include <assert.h>
77449 #endif
77450
77451 #undef $ac_func
77452
77453 /* Override any gcc2 internal prototype to avoid an error. */
77454 #ifdef __cplusplus
77455 extern "C"
77456 {
77457 #endif
77458 /* We use char because int might match the return type of a gcc2
77459 builtin and then its argument prototype would still apply. */
77460 char $ac_func ();
77461 /* The GNU C library defines this for functions which it implements
77462 to always fail with ENOSYS. Some functions are actually named
77463 something starting with __ and the normal name is an alias. */
77464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77465 choke me
77466 #else
77467 char (*f) () = $ac_func;
77468 #endif
77469 #ifdef __cplusplus
77470 }
77471 #endif
77472
77473 int
77474 main ()
77475 {
77476 return f != $ac_func;
77477 ;
77478 return 0;
77479 }
77480 _ACEOF
77481 rm -f conftest.$ac_objext conftest$ac_exeext
77482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77483 (eval $ac_link) 2>conftest.er1
77484 ac_status=$?
77485 grep -v '^ *+' conftest.er1 >conftest.err
77486 rm -f conftest.er1
77487 cat conftest.err >&5
77488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77489 (exit $ac_status); } &&
77490 { ac_try='test -z "$ac_c_werror_flag"
77491 || test ! -s conftest.err'
77492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77493 (eval $ac_try) 2>&5
77494 ac_status=$?
77495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77496 (exit $ac_status); }; } &&
77497 { ac_try='test -s conftest$ac_exeext'
77498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77499 (eval $ac_try) 2>&5
77500 ac_status=$?
77501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77502 (exit $ac_status); }; }; then
77503 eval "$as_ac_var=yes"
77504 else
77505 echo "$as_me: failed program was:" >&5
77506 sed 's/^/| /' conftest.$ac_ext >&5
77507
77508 eval "$as_ac_var=no"
77509 fi
77510 rm -f conftest.err conftest.$ac_objext \
77511 conftest$ac_exeext conftest.$ac_ext
77512 fi
77513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77515 if test `eval echo '${'$as_ac_var'}'` = yes; then
77516 cat >>confdefs.h <<_ACEOF
77517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77518 _ACEOF
77519
77520 else
77521 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77522 fi
77523 done
77524
77525
77526
77527 for ac_func in __signbit
77528 do
77529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77530 echo "$as_me:$LINENO: checking for $ac_func" >&5
77531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77532 if eval "test \"\${$as_ac_var+set}\" = set"; then
77533 echo $ECHO_N "(cached) $ECHO_C" >&6
77534 else
77535 if test x$gcc_no_link = xyes; then
77536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77538 { (exit 1); exit 1; }; }
77539 fi
77540 cat >conftest.$ac_ext <<_ACEOF
77541 /* confdefs.h. */
77542 _ACEOF
77543 cat confdefs.h >>conftest.$ac_ext
77544 cat >>conftest.$ac_ext <<_ACEOF
77545 /* end confdefs.h. */
77546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77548 #define $ac_func innocuous_$ac_func
77549
77550 /* System header to define __stub macros and hopefully few prototypes,
77551 which can conflict with char $ac_func (); below.
77552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77553 <limits.h> exists even on freestanding compilers. */
77554
77555 #ifdef __STDC__
77556 # include <limits.h>
77557 #else
77558 # include <assert.h>
77559 #endif
77560
77561 #undef $ac_func
77562
77563 /* Override any gcc2 internal prototype to avoid an error. */
77564 #ifdef __cplusplus
77565 extern "C"
77566 {
77567 #endif
77568 /* We use char because int might match the return type of a gcc2
77569 builtin and then its argument prototype would still apply. */
77570 char $ac_func ();
77571 /* The GNU C library defines this for functions which it implements
77572 to always fail with ENOSYS. Some functions are actually named
77573 something starting with __ and the normal name is an alias. */
77574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77575 choke me
77576 #else
77577 char (*f) () = $ac_func;
77578 #endif
77579 #ifdef __cplusplus
77580 }
77581 #endif
77582
77583 int
77584 main ()
77585 {
77586 return f != $ac_func;
77587 ;
77588 return 0;
77589 }
77590 _ACEOF
77591 rm -f conftest.$ac_objext conftest$ac_exeext
77592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77593 (eval $ac_link) 2>conftest.er1
77594 ac_status=$?
77595 grep -v '^ *+' conftest.er1 >conftest.err
77596 rm -f conftest.er1
77597 cat conftest.err >&5
77598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77599 (exit $ac_status); } &&
77600 { ac_try='test -z "$ac_c_werror_flag"
77601 || test ! -s conftest.err'
77602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77603 (eval $ac_try) 2>&5
77604 ac_status=$?
77605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77606 (exit $ac_status); }; } &&
77607 { ac_try='test -s conftest$ac_exeext'
77608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77609 (eval $ac_try) 2>&5
77610 ac_status=$?
77611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77612 (exit $ac_status); }; }; then
77613 eval "$as_ac_var=yes"
77614 else
77615 echo "$as_me: failed program was:" >&5
77616 sed 's/^/| /' conftest.$ac_ext >&5
77617
77618 eval "$as_ac_var=no"
77619 fi
77620 rm -f conftest.err conftest.$ac_objext \
77621 conftest$ac_exeext conftest.$ac_ext
77622 fi
77623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77625 if test `eval echo '${'$as_ac_var'}'` = yes; then
77626 cat >>confdefs.h <<_ACEOF
77627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77628 _ACEOF
77629
77630 else
77631 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77632 fi
77633 done
77634
77635
77636
77637 for ac_func in __signbitf
77638 do
77639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77640 echo "$as_me:$LINENO: checking for $ac_func" >&5
77641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77642 if eval "test \"\${$as_ac_var+set}\" = set"; then
77643 echo $ECHO_N "(cached) $ECHO_C" >&6
77644 else
77645 if test x$gcc_no_link = xyes; then
77646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77648 { (exit 1); exit 1; }; }
77649 fi
77650 cat >conftest.$ac_ext <<_ACEOF
77651 /* confdefs.h. */
77652 _ACEOF
77653 cat confdefs.h >>conftest.$ac_ext
77654 cat >>conftest.$ac_ext <<_ACEOF
77655 /* end confdefs.h. */
77656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77658 #define $ac_func innocuous_$ac_func
77659
77660 /* System header to define __stub macros and hopefully few prototypes,
77661 which can conflict with char $ac_func (); below.
77662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77663 <limits.h> exists even on freestanding compilers. */
77664
77665 #ifdef __STDC__
77666 # include <limits.h>
77667 #else
77668 # include <assert.h>
77669 #endif
77670
77671 #undef $ac_func
77672
77673 /* Override any gcc2 internal prototype to avoid an error. */
77674 #ifdef __cplusplus
77675 extern "C"
77676 {
77677 #endif
77678 /* We use char because int might match the return type of a gcc2
77679 builtin and then its argument prototype would still apply. */
77680 char $ac_func ();
77681 /* The GNU C library defines this for functions which it implements
77682 to always fail with ENOSYS. Some functions are actually named
77683 something starting with __ and the normal name is an alias. */
77684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77685 choke me
77686 #else
77687 char (*f) () = $ac_func;
77688 #endif
77689 #ifdef __cplusplus
77690 }
77691 #endif
77692
77693 int
77694 main ()
77695 {
77696 return f != $ac_func;
77697 ;
77698 return 0;
77699 }
77700 _ACEOF
77701 rm -f conftest.$ac_objext conftest$ac_exeext
77702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77703 (eval $ac_link) 2>conftest.er1
77704 ac_status=$?
77705 grep -v '^ *+' conftest.er1 >conftest.err
77706 rm -f conftest.er1
77707 cat conftest.err >&5
77708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77709 (exit $ac_status); } &&
77710 { ac_try='test -z "$ac_c_werror_flag"
77711 || test ! -s conftest.err'
77712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77713 (eval $ac_try) 2>&5
77714 ac_status=$?
77715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77716 (exit $ac_status); }; } &&
77717 { ac_try='test -s conftest$ac_exeext'
77718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77719 (eval $ac_try) 2>&5
77720 ac_status=$?
77721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77722 (exit $ac_status); }; }; then
77723 eval "$as_ac_var=yes"
77724 else
77725 echo "$as_me: failed program was:" >&5
77726 sed 's/^/| /' conftest.$ac_ext >&5
77727
77728 eval "$as_ac_var=no"
77729 fi
77730 rm -f conftest.err conftest.$ac_objext \
77731 conftest$ac_exeext conftest.$ac_ext
77732 fi
77733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77735 if test `eval echo '${'$as_ac_var'}'` = yes; then
77736 cat >>confdefs.h <<_ACEOF
77737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77738 _ACEOF
77739
77740 else
77741 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77742 fi
77743 done
77744
77745
77746 if test x$ac_cv_func_copysignl = x"yes"; then
77747
77748 for ac_func in __signbitl
77749 do
77750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77751 echo "$as_me:$LINENO: checking for $ac_func" >&5
77752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77753 if eval "test \"\${$as_ac_var+set}\" = set"; then
77754 echo $ECHO_N "(cached) $ECHO_C" >&6
77755 else
77756 if test x$gcc_no_link = xyes; then
77757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77759 { (exit 1); exit 1; }; }
77760 fi
77761 cat >conftest.$ac_ext <<_ACEOF
77762 /* confdefs.h. */
77763 _ACEOF
77764 cat confdefs.h >>conftest.$ac_ext
77765 cat >>conftest.$ac_ext <<_ACEOF
77766 /* end confdefs.h. */
77767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77769 #define $ac_func innocuous_$ac_func
77770
77771 /* System header to define __stub macros and hopefully few prototypes,
77772 which can conflict with char $ac_func (); below.
77773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77774 <limits.h> exists even on freestanding compilers. */
77775
77776 #ifdef __STDC__
77777 # include <limits.h>
77778 #else
77779 # include <assert.h>
77780 #endif
77781
77782 #undef $ac_func
77783
77784 /* Override any gcc2 internal prototype to avoid an error. */
77785 #ifdef __cplusplus
77786 extern "C"
77787 {
77788 #endif
77789 /* We use char because int might match the return type of a gcc2
77790 builtin and then its argument prototype would still apply. */
77791 char $ac_func ();
77792 /* The GNU C library defines this for functions which it implements
77793 to always fail with ENOSYS. Some functions are actually named
77794 something starting with __ and the normal name is an alias. */
77795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77796 choke me
77797 #else
77798 char (*f) () = $ac_func;
77799 #endif
77800 #ifdef __cplusplus
77801 }
77802 #endif
77803
77804 int
77805 main ()
77806 {
77807 return f != $ac_func;
77808 ;
77809 return 0;
77810 }
77811 _ACEOF
77812 rm -f conftest.$ac_objext conftest$ac_exeext
77813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77814 (eval $ac_link) 2>conftest.er1
77815 ac_status=$?
77816 grep -v '^ *+' conftest.er1 >conftest.err
77817 rm -f conftest.er1
77818 cat conftest.err >&5
77819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77820 (exit $ac_status); } &&
77821 { ac_try='test -z "$ac_c_werror_flag"
77822 || test ! -s conftest.err'
77823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77824 (eval $ac_try) 2>&5
77825 ac_status=$?
77826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77827 (exit $ac_status); }; } &&
77828 { ac_try='test -s conftest$ac_exeext'
77829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77830 (eval $ac_try) 2>&5
77831 ac_status=$?
77832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77833 (exit $ac_status); }; }; then
77834 eval "$as_ac_var=yes"
77835 else
77836 echo "$as_me: failed program was:" >&5
77837 sed 's/^/| /' conftest.$ac_ext >&5
77838
77839 eval "$as_ac_var=no"
77840 fi
77841 rm -f conftest.err conftest.$ac_objext \
77842 conftest$ac_exeext conftest.$ac_ext
77843 fi
77844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77846 if test `eval echo '${'$as_ac_var'}'` = yes; then
77847 cat >>confdefs.h <<_ACEOF
77848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77849 _ACEOF
77850
77851 else
77852 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77853 fi
77854 done
77855
77856 fi
77857
77858 # Used in libmath/Makefile.am.
77859 if test -n "$LIBMATHOBJS"; then
77860 need_libmath=yes
77861 fi
77862
77863
77864
77865
77866 enable_iconv=no
77867 # Only continue checking if the ISO C99 headers exist and support is on.
77868 if test x"$enable_wchar_t" = xyes; then
77869
77870 # Use iconv for wchar_t to char conversions. As such, check for
77871 # X/Open Portability Guide, version 2 features (XPG2).
77872 if test "${ac_cv_header_iconv_h+set}" = set; then
77873 echo "$as_me:$LINENO: checking for iconv.h" >&5
77874 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
77875 if test "${ac_cv_header_iconv_h+set}" = set; then
77876 echo $ECHO_N "(cached) $ECHO_C" >&6
77877 fi
77878 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
77879 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
77880 else
77881 # Is the header compilable?
77882 echo "$as_me:$LINENO: checking iconv.h usability" >&5
77883 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
77884 cat >conftest.$ac_ext <<_ACEOF
77885 /* confdefs.h. */
77886 _ACEOF
77887 cat confdefs.h >>conftest.$ac_ext
77888 cat >>conftest.$ac_ext <<_ACEOF
77889 /* end confdefs.h. */
77890 $ac_includes_default
77891 #include <iconv.h>
77892 _ACEOF
77893 rm -f conftest.$ac_objext
77894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77895 (eval $ac_compile) 2>conftest.er1
77896 ac_status=$?
77897 grep -v '^ *+' conftest.er1 >conftest.err
77898 rm -f conftest.er1
77899 cat conftest.err >&5
77900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77901 (exit $ac_status); } &&
77902 { ac_try='test -z "$ac_c_werror_flag"
77903 || test ! -s conftest.err'
77904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77905 (eval $ac_try) 2>&5
77906 ac_status=$?
77907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77908 (exit $ac_status); }; } &&
77909 { ac_try='test -s conftest.$ac_objext'
77910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77911 (eval $ac_try) 2>&5
77912 ac_status=$?
77913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77914 (exit $ac_status); }; }; then
77915 ac_header_compiler=yes
77916 else
77917 echo "$as_me: failed program was:" >&5
77918 sed 's/^/| /' conftest.$ac_ext >&5
77919
77920 ac_header_compiler=no
77921 fi
77922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77924 echo "${ECHO_T}$ac_header_compiler" >&6
77925
77926 # Is the header present?
77927 echo "$as_me:$LINENO: checking iconv.h presence" >&5
77928 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
77929 cat >conftest.$ac_ext <<_ACEOF
77930 /* confdefs.h. */
77931 _ACEOF
77932 cat confdefs.h >>conftest.$ac_ext
77933 cat >>conftest.$ac_ext <<_ACEOF
77934 /* end confdefs.h. */
77935 #include <iconv.h>
77936 _ACEOF
77937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77939 ac_status=$?
77940 grep -v '^ *+' conftest.er1 >conftest.err
77941 rm -f conftest.er1
77942 cat conftest.err >&5
77943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77944 (exit $ac_status); } >/dev/null; then
77945 if test -s conftest.err; then
77946 ac_cpp_err=$ac_c_preproc_warn_flag
77947 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77948 else
77949 ac_cpp_err=
77950 fi
77951 else
77952 ac_cpp_err=yes
77953 fi
77954 if test -z "$ac_cpp_err"; then
77955 ac_header_preproc=yes
77956 else
77957 echo "$as_me: failed program was:" >&5
77958 sed 's/^/| /' conftest.$ac_ext >&5
77959
77960 ac_header_preproc=no
77961 fi
77962 rm -f conftest.err conftest.$ac_ext
77963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77964 echo "${ECHO_T}$ac_header_preproc" >&6
77965
77966 # So? What about this header?
77967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77968 yes:no: )
77969 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
77970 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
77971 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
77972 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
77973 ac_header_preproc=yes
77974 ;;
77975 no:yes:* )
77976 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
77977 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
77978 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
77979 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
77980 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
77981 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
77982 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
77983 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
77984 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
77985 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
77986 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
77987 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
77988 (
77989 cat <<\_ASBOX
77990 ## ----------------------------------------- ##
77991 ## Report this to the package-unused lists. ##
77992 ## ----------------------------------------- ##
77993 _ASBOX
77994 ) |
77995 sed "s/^/$as_me: WARNING: /" >&2
77996 ;;
77997 esac
77998 echo "$as_me:$LINENO: checking for iconv.h" >&5
77999 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78000 if test "${ac_cv_header_iconv_h+set}" = set; then
78001 echo $ECHO_N "(cached) $ECHO_C" >&6
78002 else
78003 ac_cv_header_iconv_h=$ac_header_preproc
78004 fi
78005 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78006 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78007
78008 fi
78009 if test $ac_cv_header_iconv_h = yes; then
78010 ac_has_iconv_h=yes
78011 else
78012 ac_has_iconv_h=no
78013 fi
78014
78015
78016 if test "${ac_cv_header_langinfo_h+set}" = set; then
78017 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78018 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78019 if test "${ac_cv_header_langinfo_h+set}" = set; then
78020 echo $ECHO_N "(cached) $ECHO_C" >&6
78021 fi
78022 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78023 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78024 else
78025 # Is the header compilable?
78026 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78027 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78028 cat >conftest.$ac_ext <<_ACEOF
78029 /* confdefs.h. */
78030 _ACEOF
78031 cat confdefs.h >>conftest.$ac_ext
78032 cat >>conftest.$ac_ext <<_ACEOF
78033 /* end confdefs.h. */
78034 $ac_includes_default
78035 #include <langinfo.h>
78036 _ACEOF
78037 rm -f conftest.$ac_objext
78038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78039 (eval $ac_compile) 2>conftest.er1
78040 ac_status=$?
78041 grep -v '^ *+' conftest.er1 >conftest.err
78042 rm -f conftest.er1
78043 cat conftest.err >&5
78044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78045 (exit $ac_status); } &&
78046 { ac_try='test -z "$ac_c_werror_flag"
78047 || test ! -s conftest.err'
78048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78049 (eval $ac_try) 2>&5
78050 ac_status=$?
78051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78052 (exit $ac_status); }; } &&
78053 { ac_try='test -s conftest.$ac_objext'
78054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055 (eval $ac_try) 2>&5
78056 ac_status=$?
78057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058 (exit $ac_status); }; }; then
78059 ac_header_compiler=yes
78060 else
78061 echo "$as_me: failed program was:" >&5
78062 sed 's/^/| /' conftest.$ac_ext >&5
78063
78064 ac_header_compiler=no
78065 fi
78066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78067 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78068 echo "${ECHO_T}$ac_header_compiler" >&6
78069
78070 # Is the header present?
78071 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78072 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78073 cat >conftest.$ac_ext <<_ACEOF
78074 /* confdefs.h. */
78075 _ACEOF
78076 cat confdefs.h >>conftest.$ac_ext
78077 cat >>conftest.$ac_ext <<_ACEOF
78078 /* end confdefs.h. */
78079 #include <langinfo.h>
78080 _ACEOF
78081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78083 ac_status=$?
78084 grep -v '^ *+' conftest.er1 >conftest.err
78085 rm -f conftest.er1
78086 cat conftest.err >&5
78087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78088 (exit $ac_status); } >/dev/null; then
78089 if test -s conftest.err; then
78090 ac_cpp_err=$ac_c_preproc_warn_flag
78091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78092 else
78093 ac_cpp_err=
78094 fi
78095 else
78096 ac_cpp_err=yes
78097 fi
78098 if test -z "$ac_cpp_err"; then
78099 ac_header_preproc=yes
78100 else
78101 echo "$as_me: failed program was:" >&5
78102 sed 's/^/| /' conftest.$ac_ext >&5
78103
78104 ac_header_preproc=no
78105 fi
78106 rm -f conftest.err conftest.$ac_ext
78107 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78108 echo "${ECHO_T}$ac_header_preproc" >&6
78109
78110 # So? What about this header?
78111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78112 yes:no: )
78113 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78114 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78115 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78116 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78117 ac_header_preproc=yes
78118 ;;
78119 no:yes:* )
78120 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78121 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78122 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
78123 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
78124 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78125 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78126 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
78127 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
78128 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78129 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78130 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78131 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78132 (
78133 cat <<\_ASBOX
78134 ## ----------------------------------------- ##
78135 ## Report this to the package-unused lists. ##
78136 ## ----------------------------------------- ##
78137 _ASBOX
78138 ) |
78139 sed "s/^/$as_me: WARNING: /" >&2
78140 ;;
78141 esac
78142 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78143 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78144 if test "${ac_cv_header_langinfo_h+set}" = set; then
78145 echo $ECHO_N "(cached) $ECHO_C" >&6
78146 else
78147 ac_cv_header_langinfo_h=$ac_header_preproc
78148 fi
78149 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78150 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78151
78152 fi
78153 if test $ac_cv_header_langinfo_h = yes; then
78154 ac_has_langinfo_h=yes
78155 else
78156 ac_has_langinfo_h=no
78157 fi
78158
78159
78160
78161 # Check for existence of libiconv.a providing XPG2 wchar_t support.
78162 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78163 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78164 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78165 echo $ECHO_N "(cached) $ECHO_C" >&6
78166 else
78167 ac_check_lib_save_LIBS=$LIBS
78168 LIBS="-liconv $LIBS"
78169 if test x$gcc_no_link = xyes; then
78170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78172 { (exit 1); exit 1; }; }
78173 fi
78174 cat >conftest.$ac_ext <<_ACEOF
78175 /* confdefs.h. */
78176 _ACEOF
78177 cat confdefs.h >>conftest.$ac_ext
78178 cat >>conftest.$ac_ext <<_ACEOF
78179 /* end confdefs.h. */
78180
78181 /* Override any gcc2 internal prototype to avoid an error. */
78182 #ifdef __cplusplus
78183 extern "C"
78184 #endif
78185 /* We use char because int might match the return type of a gcc2
78186 builtin and then its argument prototype would still apply. */
78187 char iconv ();
78188 int
78189 main ()
78190 {
78191 iconv ();
78192 ;
78193 return 0;
78194 }
78195 _ACEOF
78196 rm -f conftest.$ac_objext conftest$ac_exeext
78197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78198 (eval $ac_link) 2>conftest.er1
78199 ac_status=$?
78200 grep -v '^ *+' conftest.er1 >conftest.err
78201 rm -f conftest.er1
78202 cat conftest.err >&5
78203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78204 (exit $ac_status); } &&
78205 { ac_try='test -z "$ac_c_werror_flag"
78206 || test ! -s conftest.err'
78207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78208 (eval $ac_try) 2>&5
78209 ac_status=$?
78210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78211 (exit $ac_status); }; } &&
78212 { ac_try='test -s conftest$ac_exeext'
78213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78214 (eval $ac_try) 2>&5
78215 ac_status=$?
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); }; }; then
78218 ac_cv_lib_iconv_iconv=yes
78219 else
78220 echo "$as_me: failed program was:" >&5
78221 sed 's/^/| /' conftest.$ac_ext >&5
78222
78223 ac_cv_lib_iconv_iconv=no
78224 fi
78225 rm -f conftest.err conftest.$ac_objext \
78226 conftest$ac_exeext conftest.$ac_ext
78227 LIBS=$ac_check_lib_save_LIBS
78228 fi
78229 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78230 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78231 if test $ac_cv_lib_iconv_iconv = yes; then
78232 LIBICONV="-liconv"
78233 fi
78234
78235 ac_save_LIBS="$LIBS"
78236 LIBS="$LIBS $LIBICONV"
78237
78238
78239
78240
78241
78242
78243 for ac_func in iconv_open iconv_close iconv nl_langinfo
78244 do
78245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78246 echo "$as_me:$LINENO: checking for $ac_func" >&5
78247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78248 if eval "test \"\${$as_ac_var+set}\" = set"; then
78249 echo $ECHO_N "(cached) $ECHO_C" >&6
78250 else
78251 if test x$gcc_no_link = xyes; then
78252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78254 { (exit 1); exit 1; }; }
78255 fi
78256 cat >conftest.$ac_ext <<_ACEOF
78257 /* confdefs.h. */
78258 _ACEOF
78259 cat confdefs.h >>conftest.$ac_ext
78260 cat >>conftest.$ac_ext <<_ACEOF
78261 /* end confdefs.h. */
78262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78264 #define $ac_func innocuous_$ac_func
78265
78266 /* System header to define __stub macros and hopefully few prototypes,
78267 which can conflict with char $ac_func (); below.
78268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78269 <limits.h> exists even on freestanding compilers. */
78270
78271 #ifdef __STDC__
78272 # include <limits.h>
78273 #else
78274 # include <assert.h>
78275 #endif
78276
78277 #undef $ac_func
78278
78279 /* Override any gcc2 internal prototype to avoid an error. */
78280 #ifdef __cplusplus
78281 extern "C"
78282 {
78283 #endif
78284 /* We use char because int might match the return type of a gcc2
78285 builtin and then its argument prototype would still apply. */
78286 char $ac_func ();
78287 /* The GNU C library defines this for functions which it implements
78288 to always fail with ENOSYS. Some functions are actually named
78289 something starting with __ and the normal name is an alias. */
78290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78291 choke me
78292 #else
78293 char (*f) () = $ac_func;
78294 #endif
78295 #ifdef __cplusplus
78296 }
78297 #endif
78298
78299 int
78300 main ()
78301 {
78302 return f != $ac_func;
78303 ;
78304 return 0;
78305 }
78306 _ACEOF
78307 rm -f conftest.$ac_objext conftest$ac_exeext
78308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78309 (eval $ac_link) 2>conftest.er1
78310 ac_status=$?
78311 grep -v '^ *+' conftest.er1 >conftest.err
78312 rm -f conftest.er1
78313 cat conftest.err >&5
78314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78315 (exit $ac_status); } &&
78316 { ac_try='test -z "$ac_c_werror_flag"
78317 || test ! -s conftest.err'
78318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78319 (eval $ac_try) 2>&5
78320 ac_status=$?
78321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78322 (exit $ac_status); }; } &&
78323 { ac_try='test -s conftest$ac_exeext'
78324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78325 (eval $ac_try) 2>&5
78326 ac_status=$?
78327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78328 (exit $ac_status); }; }; then
78329 eval "$as_ac_var=yes"
78330 else
78331 echo "$as_me: failed program was:" >&5
78332 sed 's/^/| /' conftest.$ac_ext >&5
78333
78334 eval "$as_ac_var=no"
78335 fi
78336 rm -f conftest.err conftest.$ac_objext \
78337 conftest$ac_exeext conftest.$ac_ext
78338 fi
78339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78341 if test `eval echo '${'$as_ac_var'}'` = yes; then
78342 cat >>confdefs.h <<_ACEOF
78343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78344 _ACEOF
78345 ac_XPG2funcs=yes
78346 else
78347 ac_XPG2funcs=no
78348 fi
78349 done
78350
78351
78352 LIBS="$ac_save_LIBS"
78353
78354 if test x"$ac_has_iconv_h" = xyes &&
78355 test x"$ac_has_langinfo_h" = xyes &&
78356 test x"$ac_XPG2funcs" = xyes;
78357 then
78358
78359 cat >>confdefs.h <<\_ACEOF
78360 #define _GLIBCXX_USE_ICONV 1
78361 _ACEOF
78362
78363 enable_iconv=yes
78364 fi
78365 fi
78366 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
78367 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
78368 echo "$as_me:$LINENO: result: $enable_iconv" >&5
78369 echo "${ECHO_T}$enable_iconv" >&6
78370
78371
78372 # For LFS.
78373 cat >>confdefs.h <<\_ACEOF
78374 #define HAVE_INT64_T 1
78375 _ACEOF
78376
78377 case "$target" in
78378 *-uclinux*)
78379 # Don't enable LFS with uClibc
78380 ;;
78381 *)
78382 cat >>confdefs.h <<\_ACEOF
78383 #define _GLIBCXX_USE_LFS 1
78384 _ACEOF
78385
78386 esac
78387
78388 # For showmanyc_helper().
78389
78390
78391 for ac_header in sys/ioctl.h sys/filio.h
78392 do
78393 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78395 echo "$as_me:$LINENO: checking for $ac_header" >&5
78396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78398 echo $ECHO_N "(cached) $ECHO_C" >&6
78399 fi
78400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78401 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78402 else
78403 # Is the header compilable?
78404 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78405 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78406 cat >conftest.$ac_ext <<_ACEOF
78407 /* confdefs.h. */
78408 _ACEOF
78409 cat confdefs.h >>conftest.$ac_ext
78410 cat >>conftest.$ac_ext <<_ACEOF
78411 /* end confdefs.h. */
78412 $ac_includes_default
78413 #include <$ac_header>
78414 _ACEOF
78415 rm -f conftest.$ac_objext
78416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78417 (eval $ac_compile) 2>conftest.er1
78418 ac_status=$?
78419 grep -v '^ *+' conftest.er1 >conftest.err
78420 rm -f conftest.er1
78421 cat conftest.err >&5
78422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78423 (exit $ac_status); } &&
78424 { ac_try='test -z "$ac_c_werror_flag"
78425 || test ! -s conftest.err'
78426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78427 (eval $ac_try) 2>&5
78428 ac_status=$?
78429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78430 (exit $ac_status); }; } &&
78431 { ac_try='test -s conftest.$ac_objext'
78432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78433 (eval $ac_try) 2>&5
78434 ac_status=$?
78435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78436 (exit $ac_status); }; }; then
78437 ac_header_compiler=yes
78438 else
78439 echo "$as_me: failed program was:" >&5
78440 sed 's/^/| /' conftest.$ac_ext >&5
78441
78442 ac_header_compiler=no
78443 fi
78444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78445 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78446 echo "${ECHO_T}$ac_header_compiler" >&6
78447
78448 # Is the header present?
78449 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78450 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78451 cat >conftest.$ac_ext <<_ACEOF
78452 /* confdefs.h. */
78453 _ACEOF
78454 cat confdefs.h >>conftest.$ac_ext
78455 cat >>conftest.$ac_ext <<_ACEOF
78456 /* end confdefs.h. */
78457 #include <$ac_header>
78458 _ACEOF
78459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78460 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78461 ac_status=$?
78462 grep -v '^ *+' conftest.er1 >conftest.err
78463 rm -f conftest.er1
78464 cat conftest.err >&5
78465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78466 (exit $ac_status); } >/dev/null; then
78467 if test -s conftest.err; then
78468 ac_cpp_err=$ac_c_preproc_warn_flag
78469 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78470 else
78471 ac_cpp_err=
78472 fi
78473 else
78474 ac_cpp_err=yes
78475 fi
78476 if test -z "$ac_cpp_err"; then
78477 ac_header_preproc=yes
78478 else
78479 echo "$as_me: failed program was:" >&5
78480 sed 's/^/| /' conftest.$ac_ext >&5
78481
78482 ac_header_preproc=no
78483 fi
78484 rm -f conftest.err conftest.$ac_ext
78485 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78486 echo "${ECHO_T}$ac_header_preproc" >&6
78487
78488 # So? What about this header?
78489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78490 yes:no: )
78491 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78492 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78494 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78495 ac_header_preproc=yes
78496 ;;
78497 no:yes:* )
78498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78502 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78503 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78504 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78505 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78508 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78509 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78510 (
78511 cat <<\_ASBOX
78512 ## ----------------------------------------- ##
78513 ## Report this to the package-unused lists. ##
78514 ## ----------------------------------------- ##
78515 _ASBOX
78516 ) |
78517 sed "s/^/$as_me: WARNING: /" >&2
78518 ;;
78519 esac
78520 echo "$as_me:$LINENO: checking for $ac_header" >&5
78521 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78523 echo $ECHO_N "(cached) $ECHO_C" >&6
78524 else
78525 eval "$as_ac_Header=\$ac_header_preproc"
78526 fi
78527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78529
78530 fi
78531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78532 cat >>confdefs.h <<_ACEOF
78533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78534 _ACEOF
78535
78536 fi
78537
78538 done
78539
78540
78541 echo "$as_me:$LINENO: checking for poll" >&5
78542 echo $ECHO_N "checking for poll... $ECHO_C" >&6
78543 if test "${glibcxx_cv_POLL+set}" = set; then
78544 echo $ECHO_N "(cached) $ECHO_C" >&6
78545 else
78546
78547 if test x$gcc_no_link = xyes; then
78548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78550 { (exit 1); exit 1; }; }
78551 fi
78552 cat >conftest.$ac_ext <<_ACEOF
78553 /* confdefs.h. */
78554 _ACEOF
78555 cat confdefs.h >>conftest.$ac_ext
78556 cat >>conftest.$ac_ext <<_ACEOF
78557 /* end confdefs.h. */
78558 #include <poll.h>
78559 int
78560 main ()
78561 {
78562 struct pollfd pfd[1];
78563 pfd[0].events = POLLIN;
78564 poll(pfd, 1, 0);
78565 ;
78566 return 0;
78567 }
78568 _ACEOF
78569 rm -f conftest.$ac_objext conftest$ac_exeext
78570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78571 (eval $ac_link) 2>conftest.er1
78572 ac_status=$?
78573 grep -v '^ *+' conftest.er1 >conftest.err
78574 rm -f conftest.er1
78575 cat conftest.err >&5
78576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78577 (exit $ac_status); } &&
78578 { ac_try='test -z "$ac_c_werror_flag"
78579 || test ! -s conftest.err'
78580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78581 (eval $ac_try) 2>&5
78582 ac_status=$?
78583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584 (exit $ac_status); }; } &&
78585 { ac_try='test -s conftest$ac_exeext'
78586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78587 (eval $ac_try) 2>&5
78588 ac_status=$?
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); }; }; then
78591 glibcxx_cv_POLL=yes
78592 else
78593 echo "$as_me: failed program was:" >&5
78594 sed 's/^/| /' conftest.$ac_ext >&5
78595
78596 glibcxx_cv_POLL=no
78597 fi
78598 rm -f conftest.err conftest.$ac_objext \
78599 conftest$ac_exeext conftest.$ac_ext
78600
78601 fi
78602
78603 if test $glibcxx_cv_POLL = yes; then
78604
78605 cat >>confdefs.h <<\_ACEOF
78606 #define HAVE_POLL 1
78607 _ACEOF
78608
78609 fi
78610 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
78611 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
78612
78613
78614 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
78615 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
78616 if test "${glibcxx_cv_S_ISREG+set}" = set; then
78617 echo $ECHO_N "(cached) $ECHO_C" >&6
78618 else
78619
78620 if test x$gcc_no_link = xyes; then
78621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78623 { (exit 1); exit 1; }; }
78624 fi
78625 cat >conftest.$ac_ext <<_ACEOF
78626 /* confdefs.h. */
78627 _ACEOF
78628 cat confdefs.h >>conftest.$ac_ext
78629 cat >>conftest.$ac_ext <<_ACEOF
78630 /* end confdefs.h. */
78631 #include <sys/stat.h>
78632 int
78633 main ()
78634 {
78635 struct stat buffer;
78636 fstat(0, &buffer);
78637 S_ISREG(buffer.st_mode);
78638 ;
78639 return 0;
78640 }
78641 _ACEOF
78642 rm -f conftest.$ac_objext conftest$ac_exeext
78643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78644 (eval $ac_link) 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); } &&
78651 { ac_try='test -z "$ac_c_werror_flag"
78652 || test ! -s conftest.err'
78653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78654 (eval $ac_try) 2>&5
78655 ac_status=$?
78656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78657 (exit $ac_status); }; } &&
78658 { ac_try='test -s conftest$ac_exeext'
78659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78660 (eval $ac_try) 2>&5
78661 ac_status=$?
78662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78663 (exit $ac_status); }; }; then
78664 glibcxx_cv_S_ISREG=yes
78665 else
78666 echo "$as_me: failed program was:" >&5
78667 sed 's/^/| /' conftest.$ac_ext >&5
78668
78669 glibcxx_cv_S_ISREG=no
78670 fi
78671 rm -f conftest.err conftest.$ac_objext \
78672 conftest$ac_exeext conftest.$ac_ext
78673
78674 fi
78675
78676 if test "${glibcxx_cv_S_IFREG+set}" = set; then
78677 echo $ECHO_N "(cached) $ECHO_C" >&6
78678 else
78679
78680 if test x$gcc_no_link = xyes; then
78681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78683 { (exit 1); exit 1; }; }
78684 fi
78685 cat >conftest.$ac_ext <<_ACEOF
78686 /* confdefs.h. */
78687 _ACEOF
78688 cat confdefs.h >>conftest.$ac_ext
78689 cat >>conftest.$ac_ext <<_ACEOF
78690 /* end confdefs.h. */
78691 #include <sys/stat.h>
78692 int
78693 main ()
78694 {
78695 struct stat buffer;
78696 fstat(0, &buffer);
78697 S_IFREG & buffer.st_mode;
78698 ;
78699 return 0;
78700 }
78701 _ACEOF
78702 rm -f conftest.$ac_objext conftest$ac_exeext
78703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78704 (eval $ac_link) 2>conftest.er1
78705 ac_status=$?
78706 grep -v '^ *+' conftest.er1 >conftest.err
78707 rm -f conftest.er1
78708 cat conftest.err >&5
78709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78710 (exit $ac_status); } &&
78711 { ac_try='test -z "$ac_c_werror_flag"
78712 || test ! -s conftest.err'
78713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78714 (eval $ac_try) 2>&5
78715 ac_status=$?
78716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78717 (exit $ac_status); }; } &&
78718 { ac_try='test -s conftest$ac_exeext'
78719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78720 (eval $ac_try) 2>&5
78721 ac_status=$?
78722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78723 (exit $ac_status); }; }; then
78724 glibcxx_cv_S_IFREG=yes
78725 else
78726 echo "$as_me: failed program was:" >&5
78727 sed 's/^/| /' conftest.$ac_ext >&5
78728
78729 glibcxx_cv_S_IFREG=no
78730 fi
78731 rm -f conftest.err conftest.$ac_objext \
78732 conftest$ac_exeext conftest.$ac_ext
78733
78734 fi
78735
78736 res=no
78737 if test $glibcxx_cv_S_ISREG = yes; then
78738
78739 cat >>confdefs.h <<\_ACEOF
78740 #define HAVE_S_ISREG 1
78741 _ACEOF
78742
78743 res=S_ISREG
78744 elif test $glibcxx_cv_S_IFREG = yes; then
78745
78746 cat >>confdefs.h <<\_ACEOF
78747 #define HAVE_S_IFREG 1
78748 _ACEOF
78749
78750 res=S_IFREG
78751 fi
78752 echo "$as_me:$LINENO: result: $res" >&5
78753 echo "${ECHO_T}$res" >&6
78754
78755
78756 # For xsputn_2().
78757
78758 for ac_header in sys/uio.h
78759 do
78760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78762 echo "$as_me:$LINENO: checking for $ac_header" >&5
78763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78765 echo $ECHO_N "(cached) $ECHO_C" >&6
78766 fi
78767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78769 else
78770 # Is the header compilable?
78771 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78772 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78773 cat >conftest.$ac_ext <<_ACEOF
78774 /* confdefs.h. */
78775 _ACEOF
78776 cat confdefs.h >>conftest.$ac_ext
78777 cat >>conftest.$ac_ext <<_ACEOF
78778 /* end confdefs.h. */
78779 $ac_includes_default
78780 #include <$ac_header>
78781 _ACEOF
78782 rm -f conftest.$ac_objext
78783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78784 (eval $ac_compile) 2>conftest.er1
78785 ac_status=$?
78786 grep -v '^ *+' conftest.er1 >conftest.err
78787 rm -f conftest.er1
78788 cat conftest.err >&5
78789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78790 (exit $ac_status); } &&
78791 { ac_try='test -z "$ac_c_werror_flag"
78792 || test ! -s conftest.err'
78793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794 (eval $ac_try) 2>&5
78795 ac_status=$?
78796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797 (exit $ac_status); }; } &&
78798 { ac_try='test -s conftest.$ac_objext'
78799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78800 (eval $ac_try) 2>&5
78801 ac_status=$?
78802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78803 (exit $ac_status); }; }; then
78804 ac_header_compiler=yes
78805 else
78806 echo "$as_me: failed program was:" >&5
78807 sed 's/^/| /' conftest.$ac_ext >&5
78808
78809 ac_header_compiler=no
78810 fi
78811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78813 echo "${ECHO_T}$ac_header_compiler" >&6
78814
78815 # Is the header present?
78816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78818 cat >conftest.$ac_ext <<_ACEOF
78819 /* confdefs.h. */
78820 _ACEOF
78821 cat confdefs.h >>conftest.$ac_ext
78822 cat >>conftest.$ac_ext <<_ACEOF
78823 /* end confdefs.h. */
78824 #include <$ac_header>
78825 _ACEOF
78826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78828 ac_status=$?
78829 grep -v '^ *+' conftest.er1 >conftest.err
78830 rm -f conftest.er1
78831 cat conftest.err >&5
78832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78833 (exit $ac_status); } >/dev/null; then
78834 if test -s conftest.err; then
78835 ac_cpp_err=$ac_c_preproc_warn_flag
78836 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78837 else
78838 ac_cpp_err=
78839 fi
78840 else
78841 ac_cpp_err=yes
78842 fi
78843 if test -z "$ac_cpp_err"; then
78844 ac_header_preproc=yes
78845 else
78846 echo "$as_me: failed program was:" >&5
78847 sed 's/^/| /' conftest.$ac_ext >&5
78848
78849 ac_header_preproc=no
78850 fi
78851 rm -f conftest.err conftest.$ac_ext
78852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78853 echo "${ECHO_T}$ac_header_preproc" >&6
78854
78855 # So? What about this header?
78856 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78857 yes:no: )
78858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78861 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78862 ac_header_preproc=yes
78863 ;;
78864 no:yes:* )
78865 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78866 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78867 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78868 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78869 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78870 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78871 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78872 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78873 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78874 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78875 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78876 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78877 (
78878 cat <<\_ASBOX
78879 ## ----------------------------------------- ##
78880 ## Report this to the package-unused lists. ##
78881 ## ----------------------------------------- ##
78882 _ASBOX
78883 ) |
78884 sed "s/^/$as_me: WARNING: /" >&2
78885 ;;
78886 esac
78887 echo "$as_me:$LINENO: checking for $ac_header" >&5
78888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78890 echo $ECHO_N "(cached) $ECHO_C" >&6
78891 else
78892 eval "$as_ac_Header=\$ac_header_preproc"
78893 fi
78894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78896
78897 fi
78898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78899 cat >>confdefs.h <<_ACEOF
78900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78901 _ACEOF
78902
78903 fi
78904
78905 done
78906
78907
78908 echo "$as_me:$LINENO: checking for writev" >&5
78909 echo $ECHO_N "checking for writev... $ECHO_C" >&6
78910 if test "${glibcxx_cv_WRITEV+set}" = set; then
78911 echo $ECHO_N "(cached) $ECHO_C" >&6
78912 else
78913
78914 if test x$gcc_no_link = xyes; then
78915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78917 { (exit 1); exit 1; }; }
78918 fi
78919 cat >conftest.$ac_ext <<_ACEOF
78920 /* confdefs.h. */
78921 _ACEOF
78922 cat confdefs.h >>conftest.$ac_ext
78923 cat >>conftest.$ac_ext <<_ACEOF
78924 /* end confdefs.h. */
78925 #include <sys/uio.h>
78926 int
78927 main ()
78928 {
78929 struct iovec iov[2];
78930 writev(0, iov, 0);
78931 ;
78932 return 0;
78933 }
78934 _ACEOF
78935 rm -f conftest.$ac_objext conftest$ac_exeext
78936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78937 (eval $ac_link) 2>conftest.er1
78938 ac_status=$?
78939 grep -v '^ *+' conftest.er1 >conftest.err
78940 rm -f conftest.er1
78941 cat conftest.err >&5
78942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78943 (exit $ac_status); } &&
78944 { ac_try='test -z "$ac_c_werror_flag"
78945 || test ! -s conftest.err'
78946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78947 (eval $ac_try) 2>&5
78948 ac_status=$?
78949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78950 (exit $ac_status); }; } &&
78951 { ac_try='test -s conftest$ac_exeext'
78952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78953 (eval $ac_try) 2>&5
78954 ac_status=$?
78955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78956 (exit $ac_status); }; }; then
78957 glibcxx_cv_WRITEV=yes
78958 else
78959 echo "$as_me: failed program was:" >&5
78960 sed 's/^/| /' conftest.$ac_ext >&5
78961
78962 glibcxx_cv_WRITEV=no
78963 fi
78964 rm -f conftest.err conftest.$ac_objext \
78965 conftest$ac_exeext conftest.$ac_ext
78966
78967 fi
78968
78969 if test $glibcxx_cv_WRITEV = yes; then
78970
78971 cat >>confdefs.h <<\_ACEOF
78972 #define HAVE_WRITEV 1
78973 _ACEOF
78974
78975 fi
78976 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
78977 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
78978
78979
78980 cat >>confdefs.h <<\_ACEOF
78981 #define HAVE_ACOSF 1
78982 _ACEOF
78983
78984 cat >>confdefs.h <<\_ACEOF
78985 #define HAVE_ASINF 1
78986 _ACEOF
78987
78988 cat >>confdefs.h <<\_ACEOF
78989 #define HAVE_ATANF 1
78990 _ACEOF
78991
78992 cat >>confdefs.h <<\_ACEOF
78993 #define HAVE_ATAN2F 1
78994 _ACEOF
78995
78996 cat >>confdefs.h <<\_ACEOF
78997 #define HAVE_CEILF 1
78998 _ACEOF
78999
79000 cat >>confdefs.h <<\_ACEOF
79001 #define HAVE_COPYSIGN 1
79002 _ACEOF
79003
79004 cat >>confdefs.h <<\_ACEOF
79005 #define HAVE_COPYSIGNF 1
79006 _ACEOF
79007
79008 cat >>confdefs.h <<\_ACEOF
79009 #define HAVE_COSF 1
79010 _ACEOF
79011
79012 cat >>confdefs.h <<\_ACEOF
79013 #define HAVE_COSHF 1
79014 _ACEOF
79015
79016 cat >>confdefs.h <<\_ACEOF
79017 #define HAVE_EXPF 1
79018 _ACEOF
79019
79020 cat >>confdefs.h <<\_ACEOF
79021 #define HAVE_FABSF 1
79022 _ACEOF
79023
79024 cat >>confdefs.h <<\_ACEOF
79025 #define HAVE_FINITE 1
79026 _ACEOF
79027
79028 cat >>confdefs.h <<\_ACEOF
79029 #define HAVE_FINITEF 1
79030 _ACEOF
79031
79032 cat >>confdefs.h <<\_ACEOF
79033 #define HAVE_FLOORF 1
79034 _ACEOF
79035
79036 cat >>confdefs.h <<\_ACEOF
79037 #define HAVE_FMODF 1
79038 _ACEOF
79039
79040 cat >>confdefs.h <<\_ACEOF
79041 #define HAVE_FREXPF 1
79042 _ACEOF
79043
79044 cat >>confdefs.h <<\_ACEOF
79045 #define HAVE_HYPOT 1
79046 _ACEOF
79047
79048 cat >>confdefs.h <<\_ACEOF
79049 #define HAVE_HYPOTF 1
79050 _ACEOF
79051
79052 cat >>confdefs.h <<\_ACEOF
79053 #define HAVE_ISINF 1
79054 _ACEOF
79055
79056 cat >>confdefs.h <<\_ACEOF
79057 #define HAVE_ISINFF 1
79058 _ACEOF
79059
79060 cat >>confdefs.h <<\_ACEOF
79061 #define HAVE_ISNAN 1
79062 _ACEOF
79063
79064 cat >>confdefs.h <<\_ACEOF
79065 #define HAVE_ISNANF 1
79066 _ACEOF
79067
79068 cat >>confdefs.h <<\_ACEOF
79069 #define HAVE_LOGF 1
79070 _ACEOF
79071
79072 cat >>confdefs.h <<\_ACEOF
79073 #define HAVE_LOG10F 1
79074 _ACEOF
79075
79076 cat >>confdefs.h <<\_ACEOF
79077 #define HAVE_MODFF 1
79078 _ACEOF
79079
79080 cat >>confdefs.h <<\_ACEOF
79081 #define HAVE_SINF 1
79082 _ACEOF
79083
79084 cat >>confdefs.h <<\_ACEOF
79085 #define HAVE_SINHF 1
79086 _ACEOF
79087
79088 cat >>confdefs.h <<\_ACEOF
79089 #define HAVE_SINCOS 1
79090 _ACEOF
79091
79092 cat >>confdefs.h <<\_ACEOF
79093 #define HAVE_SINCOSF 1
79094 _ACEOF
79095
79096 cat >>confdefs.h <<\_ACEOF
79097 #define HAVE_SQRTF 1
79098 _ACEOF
79099
79100 cat >>confdefs.h <<\_ACEOF
79101 #define HAVE_TANF 1
79102 _ACEOF
79103
79104 cat >>confdefs.h <<\_ACEOF
79105 #define HAVE_TANHF 1
79106 _ACEOF
79107
79108 if test x"long_double_math_on_this_cpu" = x"yes"; then
79109 cat >>confdefs.h <<\_ACEOF
79110 #define HAVE_ACOSL 1
79111 _ACEOF
79112
79113 cat >>confdefs.h <<\_ACEOF
79114 #define HAVE_ASINL 1
79115 _ACEOF
79116
79117 cat >>confdefs.h <<\_ACEOF
79118 #define HAVE_ATANL 1
79119 _ACEOF
79120
79121 cat >>confdefs.h <<\_ACEOF
79122 #define HAVE_ATAN2L 1
79123 _ACEOF
79124
79125 cat >>confdefs.h <<\_ACEOF
79126 #define HAVE_CEILL 1
79127 _ACEOF
79128
79129 cat >>confdefs.h <<\_ACEOF
79130 #define HAVE_COPYSIGNL 1
79131 _ACEOF
79132
79133 cat >>confdefs.h <<\_ACEOF
79134 #define HAVE_COSL 1
79135 _ACEOF
79136
79137 cat >>confdefs.h <<\_ACEOF
79138 #define HAVE_COSHL 1
79139 _ACEOF
79140
79141 cat >>confdefs.h <<\_ACEOF
79142 #define HAVE_EXPL 1
79143 _ACEOF
79144
79145 cat >>confdefs.h <<\_ACEOF
79146 #define HAVE_FABSL 1
79147 _ACEOF
79148
79149 cat >>confdefs.h <<\_ACEOF
79150 #define HAVE_FINITEL 1
79151 _ACEOF
79152
79153 cat >>confdefs.h <<\_ACEOF
79154 #define HAVE_FLOORL 1
79155 _ACEOF
79156
79157 cat >>confdefs.h <<\_ACEOF
79158 #define HAVE_FMODL 1
79159 _ACEOF
79160
79161 cat >>confdefs.h <<\_ACEOF
79162 #define HAVE_FREXPL 1
79163 _ACEOF
79164
79165 cat >>confdefs.h <<\_ACEOF
79166 #define HAVE_HYPOTL 1
79167 _ACEOF
79168
79169 cat >>confdefs.h <<\_ACEOF
79170 #define HAVE_ISINFL 1
79171 _ACEOF
79172
79173 cat >>confdefs.h <<\_ACEOF
79174 #define HAVE_ISNANL 1
79175 _ACEOF
79176
79177 cat >>confdefs.h <<\_ACEOF
79178 #define HAVE_LOGL 1
79179 _ACEOF
79180
79181 cat >>confdefs.h <<\_ACEOF
79182 #define HAVE_LOG10L 1
79183 _ACEOF
79184
79185 cat >>confdefs.h <<\_ACEOF
79186 #define HAVE_MODFL 1
79187 _ACEOF
79188
79189 cat >>confdefs.h <<\_ACEOF
79190 #define HAVE_POWL 1
79191 _ACEOF
79192
79193 cat >>confdefs.h <<\_ACEOF
79194 #define HAVE_SINL 1
79195 _ACEOF
79196
79197 cat >>confdefs.h <<\_ACEOF
79198 #define HAVE_SINHL 1
79199 _ACEOF
79200
79201 cat >>confdefs.h <<\_ACEOF
79202 #define HAVE_SINCOSL 1
79203 _ACEOF
79204
79205 cat >>confdefs.h <<\_ACEOF
79206 #define HAVE_SQRTL 1
79207 _ACEOF
79208
79209 cat >>confdefs.h <<\_ACEOF
79210 #define HAVE_TANL 1
79211 _ACEOF
79212
79213 cat >>confdefs.h <<\_ACEOF
79214 #define HAVE_TANHL 1
79215 _ACEOF
79216
79217 fi
79218 ;;
79219 *-mingw32*)
79220
79221
79222
79223 for ac_header in sys/types.h locale.h float.h
79224 do
79225 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79227 echo "$as_me:$LINENO: checking for $ac_header" >&5
79228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79230 echo $ECHO_N "(cached) $ECHO_C" >&6
79231 fi
79232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79233 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79234 else
79235 # Is the header compilable?
79236 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79237 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79238 cat >conftest.$ac_ext <<_ACEOF
79239 /* confdefs.h. */
79240 _ACEOF
79241 cat confdefs.h >>conftest.$ac_ext
79242 cat >>conftest.$ac_ext <<_ACEOF
79243 /* end confdefs.h. */
79244 $ac_includes_default
79245 #include <$ac_header>
79246 _ACEOF
79247 rm -f conftest.$ac_objext
79248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79249 (eval $ac_compile) 2>conftest.er1
79250 ac_status=$?
79251 grep -v '^ *+' conftest.er1 >conftest.err
79252 rm -f conftest.er1
79253 cat conftest.err >&5
79254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79255 (exit $ac_status); } &&
79256 { ac_try='test -z "$ac_c_werror_flag"
79257 || test ! -s conftest.err'
79258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79259 (eval $ac_try) 2>&5
79260 ac_status=$?
79261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79262 (exit $ac_status); }; } &&
79263 { ac_try='test -s conftest.$ac_objext'
79264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79265 (eval $ac_try) 2>&5
79266 ac_status=$?
79267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79268 (exit $ac_status); }; }; then
79269 ac_header_compiler=yes
79270 else
79271 echo "$as_me: failed program was:" >&5
79272 sed 's/^/| /' conftest.$ac_ext >&5
79273
79274 ac_header_compiler=no
79275 fi
79276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79278 echo "${ECHO_T}$ac_header_compiler" >&6
79279
79280 # Is the header present?
79281 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79282 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79283 cat >conftest.$ac_ext <<_ACEOF
79284 /* confdefs.h. */
79285 _ACEOF
79286 cat confdefs.h >>conftest.$ac_ext
79287 cat >>conftest.$ac_ext <<_ACEOF
79288 /* end confdefs.h. */
79289 #include <$ac_header>
79290 _ACEOF
79291 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79292 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79293 ac_status=$?
79294 grep -v '^ *+' conftest.er1 >conftest.err
79295 rm -f conftest.er1
79296 cat conftest.err >&5
79297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79298 (exit $ac_status); } >/dev/null; then
79299 if test -s conftest.err; then
79300 ac_cpp_err=$ac_c_preproc_warn_flag
79301 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79302 else
79303 ac_cpp_err=
79304 fi
79305 else
79306 ac_cpp_err=yes
79307 fi
79308 if test -z "$ac_cpp_err"; then
79309 ac_header_preproc=yes
79310 else
79311 echo "$as_me: failed program was:" >&5
79312 sed 's/^/| /' conftest.$ac_ext >&5
79313
79314 ac_header_preproc=no
79315 fi
79316 rm -f conftest.err conftest.$ac_ext
79317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79318 echo "${ECHO_T}$ac_header_preproc" >&6
79319
79320 # So? What about this header?
79321 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79322 yes:no: )
79323 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79324 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79326 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79327 ac_header_preproc=yes
79328 ;;
79329 no:yes:* )
79330 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79331 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79332 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79333 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79334 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79335 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79336 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79337 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79339 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79340 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79341 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79342 (
79343 cat <<\_ASBOX
79344 ## ----------------------------------------- ##
79345 ## Report this to the package-unused lists. ##
79346 ## ----------------------------------------- ##
79347 _ASBOX
79348 ) |
79349 sed "s/^/$as_me: WARNING: /" >&2
79350 ;;
79351 esac
79352 echo "$as_me:$LINENO: checking for $ac_header" >&5
79353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79355 echo $ECHO_N "(cached) $ECHO_C" >&6
79356 else
79357 eval "$as_ac_Header=\$ac_header_preproc"
79358 fi
79359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79360 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79361
79362 fi
79363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79364 cat >>confdefs.h <<_ACEOF
79365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79366 _ACEOF
79367
79368 fi
79369
79370 done
79371
79372
79373 # If we're not using GNU ld, then there's no point in even trying these
79374 # tests. Check for that first. We should have already tested for gld
79375 # by now (in libtool), but require it now just to be safe...
79376 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79377 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79378
79379
79380
79381 # The name set by libtool depends on the version of libtool. Shame on us
79382 # for depending on an impl detail, but c'est la vie. Older versions used
79383 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79384 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79385 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79386 # set (hence we're using an older libtool), then set it.
79387 if test x${with_gnu_ld+set} != xset; then
79388 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79389 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79390 with_gnu_ld=no
79391 else
79392 with_gnu_ld=$ac_cv_prog_gnu_ld
79393 fi
79394 fi
79395
79396 # Start by getting the version number. I think the libtool test already
79397 # does some of this, but throws away the result.
79398
79399 ldver=`$LD --version 2>/dev/null | head -1 | \
79400 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79401
79402 glibcxx_gnu_ld_version=`echo $ldver | \
79403 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79404
79405 # Set --gc-sections.
79406 if test "$with_gnu_ld" = "notbroken"; then
79407 # GNU ld it is! Joy and bunny rabbits!
79408
79409 # All these tests are for C++; save the language and the compiler flags.
79410 # Need to do this so that g++ won't try to link in libstdc++
79411 ac_test_CFLAGS="${CFLAGS+set}"
79412 ac_save_CFLAGS="$CFLAGS"
79413 CFLAGS='-x c++ -Wl,--gc-sections'
79414
79415 # Check for -Wl,--gc-sections
79416 # XXX This test is broken at the moment, as symbols required for linking
79417 # are now in libsupc++ (not built yet). In addition, this test has
79418 # cored on solaris in the past. In addition, --gc-sections doesn't
79419 # really work at the moment (keeps on discarding used sections, first
79420 # .eh_frame and now some of the glibc sections for iconv).
79421 # Bzzzzt. Thanks for playing, maybe next time.
79422 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79423 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79424 if test "$cross_compiling" = yes; then
79425 ac_sectionLDflags=yes
79426 else
79427 cat >conftest.$ac_ext <<_ACEOF
79428 /* confdefs.h. */
79429 _ACEOF
79430 cat confdefs.h >>conftest.$ac_ext
79431 cat >>conftest.$ac_ext <<_ACEOF
79432 /* end confdefs.h. */
79433
79434 int main(void)
79435 {
79436 try { throw 1; }
79437 catch (...) { };
79438 return 0;
79439 }
79440
79441 _ACEOF
79442 rm -f conftest$ac_exeext
79443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79444 (eval $ac_link) 2>&5
79445 ac_status=$?
79446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79447 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79449 (eval $ac_try) 2>&5
79450 ac_status=$?
79451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79452 (exit $ac_status); }; }; then
79453 ac_sectionLDflags=yes
79454 else
79455 echo "$as_me: program exited with status $ac_status" >&5
79456 echo "$as_me: failed program was:" >&5
79457 sed 's/^/| /' conftest.$ac_ext >&5
79458
79459 ( exit $ac_status )
79460 ac_sectionLDflags=no
79461 fi
79462 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79463 fi
79464 if test "$ac_test_CFLAGS" = set; then
79465 CFLAGS="$ac_save_CFLAGS"
79466 else
79467 # this is the suspicious part
79468 CFLAGS=''
79469 fi
79470 if test "$ac_sectionLDflags" = "yes"; then
79471 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79472 fi
79473 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79474 echo "${ECHO_T}$ac_sectionLDflags" >&6
79475 fi
79476
79477 # Set -z,relro.
79478 # Note this is only for shared objects
79479 ac_ld_relro=no
79480 if test x"$with_gnu_ld" = x"yes"; then
79481 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
79482 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
79483 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
79484 if test -n "$cxx_z_relo"; then
79485 OPT_LDFLAGS="-Wl,-z,relro"
79486 ac_ld_relro=yes
79487 fi
79488 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
79489 echo "${ECHO_T}$ac_ld_relro" >&6
79490 fi
79491
79492 # Set linker optimization flags.
79493 if test x"$with_gnu_ld" = x"yes"; then
79494 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79495 fi
79496
79497
79498
79499
79500
79501
79502 echo "$as_me:$LINENO: checking for main in -lm" >&5
79503 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79504 if test "${ac_cv_lib_m_main+set}" = set; then
79505 echo $ECHO_N "(cached) $ECHO_C" >&6
79506 else
79507 ac_check_lib_save_LIBS=$LIBS
79508 LIBS="-lm $LIBS"
79509 if test x$gcc_no_link = xyes; then
79510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79512 { (exit 1); exit 1; }; }
79513 fi
79514 cat >conftest.$ac_ext <<_ACEOF
79515 /* confdefs.h. */
79516 _ACEOF
79517 cat confdefs.h >>conftest.$ac_ext
79518 cat >>conftest.$ac_ext <<_ACEOF
79519 /* end confdefs.h. */
79520
79521
79522 int
79523 main ()
79524 {
79525 main ();
79526 ;
79527 return 0;
79528 }
79529 _ACEOF
79530 rm -f conftest.$ac_objext conftest$ac_exeext
79531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79532 (eval $ac_link) 2>conftest.er1
79533 ac_status=$?
79534 grep -v '^ *+' conftest.er1 >conftest.err
79535 rm -f conftest.er1
79536 cat conftest.err >&5
79537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79538 (exit $ac_status); } &&
79539 { ac_try='test -z "$ac_c_werror_flag"
79540 || test ! -s conftest.err'
79541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79542 (eval $ac_try) 2>&5
79543 ac_status=$?
79544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79545 (exit $ac_status); }; } &&
79546 { ac_try='test -s conftest$ac_exeext'
79547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79548 (eval $ac_try) 2>&5
79549 ac_status=$?
79550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79551 (exit $ac_status); }; }; then
79552 ac_cv_lib_m_main=yes
79553 else
79554 echo "$as_me: failed program was:" >&5
79555 sed 's/^/| /' conftest.$ac_ext >&5
79556
79557 ac_cv_lib_m_main=no
79558 fi
79559 rm -f conftest.err conftest.$ac_objext \
79560 conftest$ac_exeext conftest.$ac_ext
79561 LIBS=$ac_check_lib_save_LIBS
79562 fi
79563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79564 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79565 if test $ac_cv_lib_m_main = yes; then
79566 cat >>confdefs.h <<_ACEOF
79567 #define HAVE_LIBM 1
79568 _ACEOF
79569
79570 LIBS="-lm $LIBS"
79571
79572 fi
79573
79574
79575 for ac_func in copysignf
79576 do
79577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79578 echo "$as_me:$LINENO: checking for $ac_func" >&5
79579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79580 if eval "test \"\${$as_ac_var+set}\" = set"; then
79581 echo $ECHO_N "(cached) $ECHO_C" >&6
79582 else
79583 if test x$gcc_no_link = xyes; then
79584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79586 { (exit 1); exit 1; }; }
79587 fi
79588 cat >conftest.$ac_ext <<_ACEOF
79589 /* confdefs.h. */
79590 _ACEOF
79591 cat confdefs.h >>conftest.$ac_ext
79592 cat >>conftest.$ac_ext <<_ACEOF
79593 /* end confdefs.h. */
79594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79596 #define $ac_func innocuous_$ac_func
79597
79598 /* System header to define __stub macros and hopefully few prototypes,
79599 which can conflict with char $ac_func (); below.
79600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79601 <limits.h> exists even on freestanding compilers. */
79602
79603 #ifdef __STDC__
79604 # include <limits.h>
79605 #else
79606 # include <assert.h>
79607 #endif
79608
79609 #undef $ac_func
79610
79611 /* Override any gcc2 internal prototype to avoid an error. */
79612 #ifdef __cplusplus
79613 extern "C"
79614 {
79615 #endif
79616 /* We use char because int might match the return type of a gcc2
79617 builtin and then its argument prototype would still apply. */
79618 char $ac_func ();
79619 /* The GNU C library defines this for functions which it implements
79620 to always fail with ENOSYS. Some functions are actually named
79621 something starting with __ and the normal name is an alias. */
79622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79623 choke me
79624 #else
79625 char (*f) () = $ac_func;
79626 #endif
79627 #ifdef __cplusplus
79628 }
79629 #endif
79630
79631 int
79632 main ()
79633 {
79634 return f != $ac_func;
79635 ;
79636 return 0;
79637 }
79638 _ACEOF
79639 rm -f conftest.$ac_objext conftest$ac_exeext
79640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79641 (eval $ac_link) 2>conftest.er1
79642 ac_status=$?
79643 grep -v '^ *+' conftest.er1 >conftest.err
79644 rm -f conftest.er1
79645 cat conftest.err >&5
79646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79647 (exit $ac_status); } &&
79648 { ac_try='test -z "$ac_c_werror_flag"
79649 || test ! -s conftest.err'
79650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79651 (eval $ac_try) 2>&5
79652 ac_status=$?
79653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79654 (exit $ac_status); }; } &&
79655 { ac_try='test -s conftest$ac_exeext'
79656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79657 (eval $ac_try) 2>&5
79658 ac_status=$?
79659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79660 (exit $ac_status); }; }; then
79661 eval "$as_ac_var=yes"
79662 else
79663 echo "$as_me: failed program was:" >&5
79664 sed 's/^/| /' conftest.$ac_ext >&5
79665
79666 eval "$as_ac_var=no"
79667 fi
79668 rm -f conftest.err conftest.$ac_objext \
79669 conftest$ac_exeext conftest.$ac_ext
79670 fi
79671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79673 if test `eval echo '${'$as_ac_var'}'` = yes; then
79674 cat >>confdefs.h <<_ACEOF
79675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79676 _ACEOF
79677
79678 else
79679 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79680 fi
79681 done
79682
79683
79684
79685 for ac_func in __signbit
79686 do
79687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79688 echo "$as_me:$LINENO: checking for $ac_func" >&5
79689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79690 if eval "test \"\${$as_ac_var+set}\" = set"; then
79691 echo $ECHO_N "(cached) $ECHO_C" >&6
79692 else
79693 if test x$gcc_no_link = xyes; then
79694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79696 { (exit 1); exit 1; }; }
79697 fi
79698 cat >conftest.$ac_ext <<_ACEOF
79699 /* confdefs.h. */
79700 _ACEOF
79701 cat confdefs.h >>conftest.$ac_ext
79702 cat >>conftest.$ac_ext <<_ACEOF
79703 /* end confdefs.h. */
79704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79706 #define $ac_func innocuous_$ac_func
79707
79708 /* System header to define __stub macros and hopefully few prototypes,
79709 which can conflict with char $ac_func (); below.
79710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79711 <limits.h> exists even on freestanding compilers. */
79712
79713 #ifdef __STDC__
79714 # include <limits.h>
79715 #else
79716 # include <assert.h>
79717 #endif
79718
79719 #undef $ac_func
79720
79721 /* Override any gcc2 internal prototype to avoid an error. */
79722 #ifdef __cplusplus
79723 extern "C"
79724 {
79725 #endif
79726 /* We use char because int might match the return type of a gcc2
79727 builtin and then its argument prototype would still apply. */
79728 char $ac_func ();
79729 /* The GNU C library defines this for functions which it implements
79730 to always fail with ENOSYS. Some functions are actually named
79731 something starting with __ and the normal name is an alias. */
79732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79733 choke me
79734 #else
79735 char (*f) () = $ac_func;
79736 #endif
79737 #ifdef __cplusplus
79738 }
79739 #endif
79740
79741 int
79742 main ()
79743 {
79744 return f != $ac_func;
79745 ;
79746 return 0;
79747 }
79748 _ACEOF
79749 rm -f conftest.$ac_objext conftest$ac_exeext
79750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79751 (eval $ac_link) 2>conftest.er1
79752 ac_status=$?
79753 grep -v '^ *+' conftest.er1 >conftest.err
79754 rm -f conftest.er1
79755 cat conftest.err >&5
79756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79757 (exit $ac_status); } &&
79758 { ac_try='test -z "$ac_c_werror_flag"
79759 || test ! -s conftest.err'
79760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79761 (eval $ac_try) 2>&5
79762 ac_status=$?
79763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79764 (exit $ac_status); }; } &&
79765 { ac_try='test -s conftest$ac_exeext'
79766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79767 (eval $ac_try) 2>&5
79768 ac_status=$?
79769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79770 (exit $ac_status); }; }; then
79771 eval "$as_ac_var=yes"
79772 else
79773 echo "$as_me: failed program was:" >&5
79774 sed 's/^/| /' conftest.$ac_ext >&5
79775
79776 eval "$as_ac_var=no"
79777 fi
79778 rm -f conftest.err conftest.$ac_objext \
79779 conftest$ac_exeext conftest.$ac_ext
79780 fi
79781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79783 if test `eval echo '${'$as_ac_var'}'` = yes; then
79784 cat >>confdefs.h <<_ACEOF
79785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79786 _ACEOF
79787
79788 else
79789 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79790 fi
79791 done
79792
79793
79794
79795 for ac_func in __signbitf
79796 do
79797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79798 echo "$as_me:$LINENO: checking for $ac_func" >&5
79799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79800 if eval "test \"\${$as_ac_var+set}\" = set"; then
79801 echo $ECHO_N "(cached) $ECHO_C" >&6
79802 else
79803 if test x$gcc_no_link = xyes; then
79804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79806 { (exit 1); exit 1; }; }
79807 fi
79808 cat >conftest.$ac_ext <<_ACEOF
79809 /* confdefs.h. */
79810 _ACEOF
79811 cat confdefs.h >>conftest.$ac_ext
79812 cat >>conftest.$ac_ext <<_ACEOF
79813 /* end confdefs.h. */
79814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79816 #define $ac_func innocuous_$ac_func
79817
79818 /* System header to define __stub macros and hopefully few prototypes,
79819 which can conflict with char $ac_func (); below.
79820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79821 <limits.h> exists even on freestanding compilers. */
79822
79823 #ifdef __STDC__
79824 # include <limits.h>
79825 #else
79826 # include <assert.h>
79827 #endif
79828
79829 #undef $ac_func
79830
79831 /* Override any gcc2 internal prototype to avoid an error. */
79832 #ifdef __cplusplus
79833 extern "C"
79834 {
79835 #endif
79836 /* We use char because int might match the return type of a gcc2
79837 builtin and then its argument prototype would still apply. */
79838 char $ac_func ();
79839 /* The GNU C library defines this for functions which it implements
79840 to always fail with ENOSYS. Some functions are actually named
79841 something starting with __ and the normal name is an alias. */
79842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79843 choke me
79844 #else
79845 char (*f) () = $ac_func;
79846 #endif
79847 #ifdef __cplusplus
79848 }
79849 #endif
79850
79851 int
79852 main ()
79853 {
79854 return f != $ac_func;
79855 ;
79856 return 0;
79857 }
79858 _ACEOF
79859 rm -f conftest.$ac_objext conftest$ac_exeext
79860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79861 (eval $ac_link) 2>conftest.er1
79862 ac_status=$?
79863 grep -v '^ *+' conftest.er1 >conftest.err
79864 rm -f conftest.er1
79865 cat conftest.err >&5
79866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79867 (exit $ac_status); } &&
79868 { ac_try='test -z "$ac_c_werror_flag"
79869 || test ! -s conftest.err'
79870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79871 (eval $ac_try) 2>&5
79872 ac_status=$?
79873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79874 (exit $ac_status); }; } &&
79875 { ac_try='test -s conftest$ac_exeext'
79876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79877 (eval $ac_try) 2>&5
79878 ac_status=$?
79879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79880 (exit $ac_status); }; }; then
79881 eval "$as_ac_var=yes"
79882 else
79883 echo "$as_me: failed program was:" >&5
79884 sed 's/^/| /' conftest.$ac_ext >&5
79885
79886 eval "$as_ac_var=no"
79887 fi
79888 rm -f conftest.err conftest.$ac_objext \
79889 conftest$ac_exeext conftest.$ac_ext
79890 fi
79891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79893 if test `eval echo '${'$as_ac_var'}'` = yes; then
79894 cat >>confdefs.h <<_ACEOF
79895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79896 _ACEOF
79897
79898 else
79899 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79900 fi
79901 done
79902
79903
79904 if test x$ac_cv_func_copysignl = x"yes"; then
79905
79906 for ac_func in __signbitl
79907 do
79908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79909 echo "$as_me:$LINENO: checking for $ac_func" >&5
79910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79911 if eval "test \"\${$as_ac_var+set}\" = set"; then
79912 echo $ECHO_N "(cached) $ECHO_C" >&6
79913 else
79914 if test x$gcc_no_link = xyes; then
79915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79917 { (exit 1); exit 1; }; }
79918 fi
79919 cat >conftest.$ac_ext <<_ACEOF
79920 /* confdefs.h. */
79921 _ACEOF
79922 cat confdefs.h >>conftest.$ac_ext
79923 cat >>conftest.$ac_ext <<_ACEOF
79924 /* end confdefs.h. */
79925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79927 #define $ac_func innocuous_$ac_func
79928
79929 /* System header to define __stub macros and hopefully few prototypes,
79930 which can conflict with char $ac_func (); below.
79931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79932 <limits.h> exists even on freestanding compilers. */
79933
79934 #ifdef __STDC__
79935 # include <limits.h>
79936 #else
79937 # include <assert.h>
79938 #endif
79939
79940 #undef $ac_func
79941
79942 /* Override any gcc2 internal prototype to avoid an error. */
79943 #ifdef __cplusplus
79944 extern "C"
79945 {
79946 #endif
79947 /* We use char because int might match the return type of a gcc2
79948 builtin and then its argument prototype would still apply. */
79949 char $ac_func ();
79950 /* The GNU C library defines this for functions which it implements
79951 to always fail with ENOSYS. Some functions are actually named
79952 something starting with __ and the normal name is an alias. */
79953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79954 choke me
79955 #else
79956 char (*f) () = $ac_func;
79957 #endif
79958 #ifdef __cplusplus
79959 }
79960 #endif
79961
79962 int
79963 main ()
79964 {
79965 return f != $ac_func;
79966 ;
79967 return 0;
79968 }
79969 _ACEOF
79970 rm -f conftest.$ac_objext conftest$ac_exeext
79971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79972 (eval $ac_link) 2>conftest.er1
79973 ac_status=$?
79974 grep -v '^ *+' conftest.er1 >conftest.err
79975 rm -f conftest.er1
79976 cat conftest.err >&5
79977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79978 (exit $ac_status); } &&
79979 { ac_try='test -z "$ac_c_werror_flag"
79980 || test ! -s conftest.err'
79981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79982 (eval $ac_try) 2>&5
79983 ac_status=$?
79984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79985 (exit $ac_status); }; } &&
79986 { ac_try='test -s conftest$ac_exeext'
79987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79988 (eval $ac_try) 2>&5
79989 ac_status=$?
79990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79991 (exit $ac_status); }; }; then
79992 eval "$as_ac_var=yes"
79993 else
79994 echo "$as_me: failed program was:" >&5
79995 sed 's/^/| /' conftest.$ac_ext >&5
79996
79997 eval "$as_ac_var=no"
79998 fi
79999 rm -f conftest.err conftest.$ac_objext \
80000 conftest$ac_exeext conftest.$ac_ext
80001 fi
80002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80004 if test `eval echo '${'$as_ac_var'}'` = yes; then
80005 cat >>confdefs.h <<_ACEOF
80006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80007 _ACEOF
80008
80009 else
80010 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80011 fi
80012 done
80013
80014 fi
80015
80016 # Used in libmath/Makefile.am.
80017 if test -n "$LIBMATHOBJS"; then
80018 need_libmath=yes
80019 fi
80020
80021
80022
80023
80024 enable_iconv=no
80025 # Only continue checking if the ISO C99 headers exist and support is on.
80026 if test x"$enable_wchar_t" = xyes; then
80027
80028 # Use iconv for wchar_t to char conversions. As such, check for
80029 # X/Open Portability Guide, version 2 features (XPG2).
80030 if test "${ac_cv_header_iconv_h+set}" = set; then
80031 echo "$as_me:$LINENO: checking for iconv.h" >&5
80032 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80033 if test "${ac_cv_header_iconv_h+set}" = set; then
80034 echo $ECHO_N "(cached) $ECHO_C" >&6
80035 fi
80036 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80037 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80038 else
80039 # Is the header compilable?
80040 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80041 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80042 cat >conftest.$ac_ext <<_ACEOF
80043 /* confdefs.h. */
80044 _ACEOF
80045 cat confdefs.h >>conftest.$ac_ext
80046 cat >>conftest.$ac_ext <<_ACEOF
80047 /* end confdefs.h. */
80048 $ac_includes_default
80049 #include <iconv.h>
80050 _ACEOF
80051 rm -f conftest.$ac_objext
80052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80053 (eval $ac_compile) 2>conftest.er1
80054 ac_status=$?
80055 grep -v '^ *+' conftest.er1 >conftest.err
80056 rm -f conftest.er1
80057 cat conftest.err >&5
80058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80059 (exit $ac_status); } &&
80060 { ac_try='test -z "$ac_c_werror_flag"
80061 || test ! -s conftest.err'
80062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80063 (eval $ac_try) 2>&5
80064 ac_status=$?
80065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80066 (exit $ac_status); }; } &&
80067 { ac_try='test -s conftest.$ac_objext'
80068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80069 (eval $ac_try) 2>&5
80070 ac_status=$?
80071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80072 (exit $ac_status); }; }; then
80073 ac_header_compiler=yes
80074 else
80075 echo "$as_me: failed program was:" >&5
80076 sed 's/^/| /' conftest.$ac_ext >&5
80077
80078 ac_header_compiler=no
80079 fi
80080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80082 echo "${ECHO_T}$ac_header_compiler" >&6
80083
80084 # Is the header present?
80085 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80086 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80087 cat >conftest.$ac_ext <<_ACEOF
80088 /* confdefs.h. */
80089 _ACEOF
80090 cat confdefs.h >>conftest.$ac_ext
80091 cat >>conftest.$ac_ext <<_ACEOF
80092 /* end confdefs.h. */
80093 #include <iconv.h>
80094 _ACEOF
80095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80097 ac_status=$?
80098 grep -v '^ *+' conftest.er1 >conftest.err
80099 rm -f conftest.er1
80100 cat conftest.err >&5
80101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80102 (exit $ac_status); } >/dev/null; then
80103 if test -s conftest.err; then
80104 ac_cpp_err=$ac_c_preproc_warn_flag
80105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80106 else
80107 ac_cpp_err=
80108 fi
80109 else
80110 ac_cpp_err=yes
80111 fi
80112 if test -z "$ac_cpp_err"; then
80113 ac_header_preproc=yes
80114 else
80115 echo "$as_me: failed program was:" >&5
80116 sed 's/^/| /' conftest.$ac_ext >&5
80117
80118 ac_header_preproc=no
80119 fi
80120 rm -f conftest.err conftest.$ac_ext
80121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80122 echo "${ECHO_T}$ac_header_preproc" >&6
80123
80124 # So? What about this header?
80125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80126 yes:no: )
80127 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80128 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80129 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80130 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80131 ac_header_preproc=yes
80132 ;;
80133 no:yes:* )
80134 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80135 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80136 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
80137 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
80138 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80139 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80140 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
80141 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
80142 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80143 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80144 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80145 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80146 (
80147 cat <<\_ASBOX
80148 ## ----------------------------------------- ##
80149 ## Report this to the package-unused lists. ##
80150 ## ----------------------------------------- ##
80151 _ASBOX
80152 ) |
80153 sed "s/^/$as_me: WARNING: /" >&2
80154 ;;
80155 esac
80156 echo "$as_me:$LINENO: checking for iconv.h" >&5
80157 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80158 if test "${ac_cv_header_iconv_h+set}" = set; then
80159 echo $ECHO_N "(cached) $ECHO_C" >&6
80160 else
80161 ac_cv_header_iconv_h=$ac_header_preproc
80162 fi
80163 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80164 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80165
80166 fi
80167 if test $ac_cv_header_iconv_h = yes; then
80168 ac_has_iconv_h=yes
80169 else
80170 ac_has_iconv_h=no
80171 fi
80172
80173
80174 if test "${ac_cv_header_langinfo_h+set}" = set; then
80175 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80176 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80177 if test "${ac_cv_header_langinfo_h+set}" = set; then
80178 echo $ECHO_N "(cached) $ECHO_C" >&6
80179 fi
80180 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80181 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80182 else
80183 # Is the header compilable?
80184 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80185 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80186 cat >conftest.$ac_ext <<_ACEOF
80187 /* confdefs.h. */
80188 _ACEOF
80189 cat confdefs.h >>conftest.$ac_ext
80190 cat >>conftest.$ac_ext <<_ACEOF
80191 /* end confdefs.h. */
80192 $ac_includes_default
80193 #include <langinfo.h>
80194 _ACEOF
80195 rm -f conftest.$ac_objext
80196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80197 (eval $ac_compile) 2>conftest.er1
80198 ac_status=$?
80199 grep -v '^ *+' conftest.er1 >conftest.err
80200 rm -f conftest.er1
80201 cat conftest.err >&5
80202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80203 (exit $ac_status); } &&
80204 { ac_try='test -z "$ac_c_werror_flag"
80205 || test ! -s conftest.err'
80206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80207 (eval $ac_try) 2>&5
80208 ac_status=$?
80209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80210 (exit $ac_status); }; } &&
80211 { ac_try='test -s conftest.$ac_objext'
80212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80213 (eval $ac_try) 2>&5
80214 ac_status=$?
80215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80216 (exit $ac_status); }; }; then
80217 ac_header_compiler=yes
80218 else
80219 echo "$as_me: failed program was:" >&5
80220 sed 's/^/| /' conftest.$ac_ext >&5
80221
80222 ac_header_compiler=no
80223 fi
80224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80225 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80226 echo "${ECHO_T}$ac_header_compiler" >&6
80227
80228 # Is the header present?
80229 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80230 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80231 cat >conftest.$ac_ext <<_ACEOF
80232 /* confdefs.h. */
80233 _ACEOF
80234 cat confdefs.h >>conftest.$ac_ext
80235 cat >>conftest.$ac_ext <<_ACEOF
80236 /* end confdefs.h. */
80237 #include <langinfo.h>
80238 _ACEOF
80239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80241 ac_status=$?
80242 grep -v '^ *+' conftest.er1 >conftest.err
80243 rm -f conftest.er1
80244 cat conftest.err >&5
80245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80246 (exit $ac_status); } >/dev/null; then
80247 if test -s conftest.err; then
80248 ac_cpp_err=$ac_c_preproc_warn_flag
80249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80250 else
80251 ac_cpp_err=
80252 fi
80253 else
80254 ac_cpp_err=yes
80255 fi
80256 if test -z "$ac_cpp_err"; then
80257 ac_header_preproc=yes
80258 else
80259 echo "$as_me: failed program was:" >&5
80260 sed 's/^/| /' conftest.$ac_ext >&5
80261
80262 ac_header_preproc=no
80263 fi
80264 rm -f conftest.err conftest.$ac_ext
80265 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80266 echo "${ECHO_T}$ac_header_preproc" >&6
80267
80268 # So? What about this header?
80269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80270 yes:no: )
80271 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
80272 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80273 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
80274 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
80275 ac_header_preproc=yes
80276 ;;
80277 no:yes:* )
80278 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
80279 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
80280 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
80281 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
80282 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
80283 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
80284 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
80285 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
80286 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
80287 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
80288 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
80289 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
80290 (
80291 cat <<\_ASBOX
80292 ## ----------------------------------------- ##
80293 ## Report this to the package-unused lists. ##
80294 ## ----------------------------------------- ##
80295 _ASBOX
80296 ) |
80297 sed "s/^/$as_me: WARNING: /" >&2
80298 ;;
80299 esac
80300 echo "$as_me:$LINENO: checking for langinfo.h" >&5
80301 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80302 if test "${ac_cv_header_langinfo_h+set}" = set; then
80303 echo $ECHO_N "(cached) $ECHO_C" >&6
80304 else
80305 ac_cv_header_langinfo_h=$ac_header_preproc
80306 fi
80307 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80308 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80309
80310 fi
80311 if test $ac_cv_header_langinfo_h = yes; then
80312 ac_has_langinfo_h=yes
80313 else
80314 ac_has_langinfo_h=no
80315 fi
80316
80317
80318
80319 # Check for existence of libiconv.a providing XPG2 wchar_t support.
80320 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
80321 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
80322 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
80323 echo $ECHO_N "(cached) $ECHO_C" >&6
80324 else
80325 ac_check_lib_save_LIBS=$LIBS
80326 LIBS="-liconv $LIBS"
80327 if test x$gcc_no_link = xyes; then
80328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80330 { (exit 1); exit 1; }; }
80331 fi
80332 cat >conftest.$ac_ext <<_ACEOF
80333 /* confdefs.h. */
80334 _ACEOF
80335 cat confdefs.h >>conftest.$ac_ext
80336 cat >>conftest.$ac_ext <<_ACEOF
80337 /* end confdefs.h. */
80338
80339 /* Override any gcc2 internal prototype to avoid an error. */
80340 #ifdef __cplusplus
80341 extern "C"
80342 #endif
80343 /* We use char because int might match the return type of a gcc2
80344 builtin and then its argument prototype would still apply. */
80345 char iconv ();
80346 int
80347 main ()
80348 {
80349 iconv ();
80350 ;
80351 return 0;
80352 }
80353 _ACEOF
80354 rm -f conftest.$ac_objext conftest$ac_exeext
80355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80356 (eval $ac_link) 2>conftest.er1
80357 ac_status=$?
80358 grep -v '^ *+' conftest.er1 >conftest.err
80359 rm -f conftest.er1
80360 cat conftest.err >&5
80361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80362 (exit $ac_status); } &&
80363 { ac_try='test -z "$ac_c_werror_flag"
80364 || test ! -s conftest.err'
80365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80366 (eval $ac_try) 2>&5
80367 ac_status=$?
80368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80369 (exit $ac_status); }; } &&
80370 { ac_try='test -s conftest$ac_exeext'
80371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80372 (eval $ac_try) 2>&5
80373 ac_status=$?
80374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80375 (exit $ac_status); }; }; then
80376 ac_cv_lib_iconv_iconv=yes
80377 else
80378 echo "$as_me: failed program was:" >&5
80379 sed 's/^/| /' conftest.$ac_ext >&5
80380
80381 ac_cv_lib_iconv_iconv=no
80382 fi
80383 rm -f conftest.err conftest.$ac_objext \
80384 conftest$ac_exeext conftest.$ac_ext
80385 LIBS=$ac_check_lib_save_LIBS
80386 fi
80387 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
80388 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
80389 if test $ac_cv_lib_iconv_iconv = yes; then
80390 LIBICONV="-liconv"
80391 fi
80392
80393 ac_save_LIBS="$LIBS"
80394 LIBS="$LIBS $LIBICONV"
80395
80396
80397
80398
80399
80400
80401 for ac_func in iconv_open iconv_close iconv nl_langinfo
80402 do
80403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80404 echo "$as_me:$LINENO: checking for $ac_func" >&5
80405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80406 if eval "test \"\${$as_ac_var+set}\" = set"; then
80407 echo $ECHO_N "(cached) $ECHO_C" >&6
80408 else
80409 if test x$gcc_no_link = xyes; then
80410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80412 { (exit 1); exit 1; }; }
80413 fi
80414 cat >conftest.$ac_ext <<_ACEOF
80415 /* confdefs.h. */
80416 _ACEOF
80417 cat confdefs.h >>conftest.$ac_ext
80418 cat >>conftest.$ac_ext <<_ACEOF
80419 /* end confdefs.h. */
80420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80422 #define $ac_func innocuous_$ac_func
80423
80424 /* System header to define __stub macros and hopefully few prototypes,
80425 which can conflict with char $ac_func (); below.
80426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80427 <limits.h> exists even on freestanding compilers. */
80428
80429 #ifdef __STDC__
80430 # include <limits.h>
80431 #else
80432 # include <assert.h>
80433 #endif
80434
80435 #undef $ac_func
80436
80437 /* Override any gcc2 internal prototype to avoid an error. */
80438 #ifdef __cplusplus
80439 extern "C"
80440 {
80441 #endif
80442 /* We use char because int might match the return type of a gcc2
80443 builtin and then its argument prototype would still apply. */
80444 char $ac_func ();
80445 /* The GNU C library defines this for functions which it implements
80446 to always fail with ENOSYS. Some functions are actually named
80447 something starting with __ and the normal name is an alias. */
80448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80449 choke me
80450 #else
80451 char (*f) () = $ac_func;
80452 #endif
80453 #ifdef __cplusplus
80454 }
80455 #endif
80456
80457 int
80458 main ()
80459 {
80460 return f != $ac_func;
80461 ;
80462 return 0;
80463 }
80464 _ACEOF
80465 rm -f conftest.$ac_objext conftest$ac_exeext
80466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80467 (eval $ac_link) 2>conftest.er1
80468 ac_status=$?
80469 grep -v '^ *+' conftest.er1 >conftest.err
80470 rm -f conftest.er1
80471 cat conftest.err >&5
80472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80473 (exit $ac_status); } &&
80474 { ac_try='test -z "$ac_c_werror_flag"
80475 || test ! -s conftest.err'
80476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80477 (eval $ac_try) 2>&5
80478 ac_status=$?
80479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80480 (exit $ac_status); }; } &&
80481 { ac_try='test -s conftest$ac_exeext'
80482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80483 (eval $ac_try) 2>&5
80484 ac_status=$?
80485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80486 (exit $ac_status); }; }; then
80487 eval "$as_ac_var=yes"
80488 else
80489 echo "$as_me: failed program was:" >&5
80490 sed 's/^/| /' conftest.$ac_ext >&5
80491
80492 eval "$as_ac_var=no"
80493 fi
80494 rm -f conftest.err conftest.$ac_objext \
80495 conftest$ac_exeext conftest.$ac_ext
80496 fi
80497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80499 if test `eval echo '${'$as_ac_var'}'` = yes; then
80500 cat >>confdefs.h <<_ACEOF
80501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80502 _ACEOF
80503 ac_XPG2funcs=yes
80504 else
80505 ac_XPG2funcs=no
80506 fi
80507 done
80508
80509
80510 LIBS="$ac_save_LIBS"
80511
80512 if test x"$ac_has_iconv_h" = xyes &&
80513 test x"$ac_has_langinfo_h" = xyes &&
80514 test x"$ac_XPG2funcs" = xyes;
80515 then
80516
80517 cat >>confdefs.h <<\_ACEOF
80518 #define _GLIBCXX_USE_ICONV 1
80519 _ACEOF
80520
80521 enable_iconv=yes
80522 fi
80523 fi
80524 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
80525 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
80526 echo "$as_me:$LINENO: result: $enable_iconv" >&5
80527 echo "${ECHO_T}$enable_iconv" >&6
80528
80529 ;;
80530 *-netbsd*)
80531
80532
80533
80534
80535
80536
80537
80538
80539
80540
80541
80542
80543 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
80544 machine/endian.h machine/param.h sys/machine.h sys/types.h \
80545 fp.h locale.h float.h inttypes.h
80546 do
80547 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80549 echo "$as_me:$LINENO: checking for $ac_header" >&5
80550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80552 echo $ECHO_N "(cached) $ECHO_C" >&6
80553 fi
80554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80556 else
80557 # Is the header compilable?
80558 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80559 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80560 cat >conftest.$ac_ext <<_ACEOF
80561 /* confdefs.h. */
80562 _ACEOF
80563 cat confdefs.h >>conftest.$ac_ext
80564 cat >>conftest.$ac_ext <<_ACEOF
80565 /* end confdefs.h. */
80566 $ac_includes_default
80567 #include <$ac_header>
80568 _ACEOF
80569 rm -f conftest.$ac_objext
80570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80571 (eval $ac_compile) 2>conftest.er1
80572 ac_status=$?
80573 grep -v '^ *+' conftest.er1 >conftest.err
80574 rm -f conftest.er1
80575 cat conftest.err >&5
80576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80577 (exit $ac_status); } &&
80578 { ac_try='test -z "$ac_c_werror_flag"
80579 || test ! -s conftest.err'
80580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80581 (eval $ac_try) 2>&5
80582 ac_status=$?
80583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80584 (exit $ac_status); }; } &&
80585 { ac_try='test -s conftest.$ac_objext'
80586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80587 (eval $ac_try) 2>&5
80588 ac_status=$?
80589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80590 (exit $ac_status); }; }; then
80591 ac_header_compiler=yes
80592 else
80593 echo "$as_me: failed program was:" >&5
80594 sed 's/^/| /' conftest.$ac_ext >&5
80595
80596 ac_header_compiler=no
80597 fi
80598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80599 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80600 echo "${ECHO_T}$ac_header_compiler" >&6
80601
80602 # Is the header present?
80603 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80604 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80605 cat >conftest.$ac_ext <<_ACEOF
80606 /* confdefs.h. */
80607 _ACEOF
80608 cat confdefs.h >>conftest.$ac_ext
80609 cat >>conftest.$ac_ext <<_ACEOF
80610 /* end confdefs.h. */
80611 #include <$ac_header>
80612 _ACEOF
80613 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80614 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80615 ac_status=$?
80616 grep -v '^ *+' conftest.er1 >conftest.err
80617 rm -f conftest.er1
80618 cat conftest.err >&5
80619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80620 (exit $ac_status); } >/dev/null; then
80621 if test -s conftest.err; then
80622 ac_cpp_err=$ac_c_preproc_warn_flag
80623 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80624 else
80625 ac_cpp_err=
80626 fi
80627 else
80628 ac_cpp_err=yes
80629 fi
80630 if test -z "$ac_cpp_err"; then
80631 ac_header_preproc=yes
80632 else
80633 echo "$as_me: failed program was:" >&5
80634 sed 's/^/| /' conftest.$ac_ext >&5
80635
80636 ac_header_preproc=no
80637 fi
80638 rm -f conftest.err conftest.$ac_ext
80639 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80640 echo "${ECHO_T}$ac_header_preproc" >&6
80641
80642 # So? What about this header?
80643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80644 yes:no: )
80645 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80646 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80647 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80648 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80649 ac_header_preproc=yes
80650 ;;
80651 no:yes:* )
80652 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80653 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80654 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80655 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80656 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80657 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80658 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80659 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80661 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80662 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80663 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80664 (
80665 cat <<\_ASBOX
80666 ## ----------------------------------------- ##
80667 ## Report this to the package-unused lists. ##
80668 ## ----------------------------------------- ##
80669 _ASBOX
80670 ) |
80671 sed "s/^/$as_me: WARNING: /" >&2
80672 ;;
80673 esac
80674 echo "$as_me:$LINENO: checking for $ac_header" >&5
80675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80677 echo $ECHO_N "(cached) $ECHO_C" >&6
80678 else
80679 eval "$as_ac_Header=\$ac_header_preproc"
80680 fi
80681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80683
80684 fi
80685 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80686 cat >>confdefs.h <<_ACEOF
80687 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80688 _ACEOF
80689
80690 fi
80691
80692 done
80693
80694 SECTION_FLAGS='-ffunction-sections -fdata-sections'
80695
80696
80697 # If we're not using GNU ld, then there's no point in even trying these
80698 # tests. Check for that first. We should have already tested for gld
80699 # by now (in libtool), but require it now just to be safe...
80700 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
80701 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
80702
80703
80704
80705 # The name set by libtool depends on the version of libtool. Shame on us
80706 # for depending on an impl detail, but c'est la vie. Older versions used
80707 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
80708 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
80709 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
80710 # set (hence we're using an older libtool), then set it.
80711 if test x${with_gnu_ld+set} != xset; then
80712 if test x${ac_cv_prog_gnu_ld+set} != xset; then
80713 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
80714 with_gnu_ld=no
80715 else
80716 with_gnu_ld=$ac_cv_prog_gnu_ld
80717 fi
80718 fi
80719
80720 # Start by getting the version number. I think the libtool test already
80721 # does some of this, but throws away the result.
80722
80723 ldver=`$LD --version 2>/dev/null | head -1 | \
80724 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
80725
80726 glibcxx_gnu_ld_version=`echo $ldver | \
80727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
80728
80729 # Set --gc-sections.
80730 if test "$with_gnu_ld" = "notbroken"; then
80731 # GNU ld it is! Joy and bunny rabbits!
80732
80733 # All these tests are for C++; save the language and the compiler flags.
80734 # Need to do this so that g++ won't try to link in libstdc++
80735 ac_test_CFLAGS="${CFLAGS+set}"
80736 ac_save_CFLAGS="$CFLAGS"
80737 CFLAGS='-x c++ -Wl,--gc-sections'
80738
80739 # Check for -Wl,--gc-sections
80740 # XXX This test is broken at the moment, as symbols required for linking
80741 # are now in libsupc++ (not built yet). In addition, this test has
80742 # cored on solaris in the past. In addition, --gc-sections doesn't
80743 # really work at the moment (keeps on discarding used sections, first
80744 # .eh_frame and now some of the glibc sections for iconv).
80745 # Bzzzzt. Thanks for playing, maybe next time.
80746 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
80747 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
80748 if test "$cross_compiling" = yes; then
80749 ac_sectionLDflags=yes
80750 else
80751 cat >conftest.$ac_ext <<_ACEOF
80752 /* confdefs.h. */
80753 _ACEOF
80754 cat confdefs.h >>conftest.$ac_ext
80755 cat >>conftest.$ac_ext <<_ACEOF
80756 /* end confdefs.h. */
80757
80758 int main(void)
80759 {
80760 try { throw 1; }
80761 catch (...) { };
80762 return 0;
80763 }
80764
80765 _ACEOF
80766 rm -f conftest$ac_exeext
80767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80768 (eval $ac_link) 2>&5
80769 ac_status=$?
80770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
80772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80773 (eval $ac_try) 2>&5
80774 ac_status=$?
80775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80776 (exit $ac_status); }; }; then
80777 ac_sectionLDflags=yes
80778 else
80779 echo "$as_me: program exited with status $ac_status" >&5
80780 echo "$as_me: failed program was:" >&5
80781 sed 's/^/| /' conftest.$ac_ext >&5
80782
80783 ( exit $ac_status )
80784 ac_sectionLDflags=no
80785 fi
80786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
80787 fi
80788 if test "$ac_test_CFLAGS" = set; then
80789 CFLAGS="$ac_save_CFLAGS"
80790 else
80791 # this is the suspicious part
80792 CFLAGS=''
80793 fi
80794 if test "$ac_sectionLDflags" = "yes"; then
80795 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
80796 fi
80797 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
80798 echo "${ECHO_T}$ac_sectionLDflags" >&6
80799 fi
80800
80801 # Set -z,relro.
80802 # Note this is only for shared objects
80803 ac_ld_relro=no
80804 if test x"$with_gnu_ld" = x"yes"; then
80805 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
80806 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
80807 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
80808 if test -n "$cxx_z_relo"; then
80809 OPT_LDFLAGS="-Wl,-z,relro"
80810 ac_ld_relro=yes
80811 fi
80812 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
80813 echo "${ECHO_T}$ac_ld_relro" >&6
80814 fi
80815
80816 # Set linker optimization flags.
80817 if test x"$with_gnu_ld" = x"yes"; then
80818 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
80819 fi
80820
80821
80822
80823
80824
80825
80826 echo "$as_me:$LINENO: checking for main in -lm" >&5
80827 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
80828 if test "${ac_cv_lib_m_main+set}" = set; then
80829 echo $ECHO_N "(cached) $ECHO_C" >&6
80830 else
80831 ac_check_lib_save_LIBS=$LIBS
80832 LIBS="-lm $LIBS"
80833 if test x$gcc_no_link = xyes; then
80834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80836 { (exit 1); exit 1; }; }
80837 fi
80838 cat >conftest.$ac_ext <<_ACEOF
80839 /* confdefs.h. */
80840 _ACEOF
80841 cat confdefs.h >>conftest.$ac_ext
80842 cat >>conftest.$ac_ext <<_ACEOF
80843 /* end confdefs.h. */
80844
80845
80846 int
80847 main ()
80848 {
80849 main ();
80850 ;
80851 return 0;
80852 }
80853 _ACEOF
80854 rm -f conftest.$ac_objext conftest$ac_exeext
80855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80856 (eval $ac_link) 2>conftest.er1
80857 ac_status=$?
80858 grep -v '^ *+' conftest.er1 >conftest.err
80859 rm -f conftest.er1
80860 cat conftest.err >&5
80861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80862 (exit $ac_status); } &&
80863 { ac_try='test -z "$ac_c_werror_flag"
80864 || test ! -s conftest.err'
80865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80866 (eval $ac_try) 2>&5
80867 ac_status=$?
80868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80869 (exit $ac_status); }; } &&
80870 { ac_try='test -s conftest$ac_exeext'
80871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80872 (eval $ac_try) 2>&5
80873 ac_status=$?
80874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80875 (exit $ac_status); }; }; then
80876 ac_cv_lib_m_main=yes
80877 else
80878 echo "$as_me: failed program was:" >&5
80879 sed 's/^/| /' conftest.$ac_ext >&5
80880
80881 ac_cv_lib_m_main=no
80882 fi
80883 rm -f conftest.err conftest.$ac_objext \
80884 conftest$ac_exeext conftest.$ac_ext
80885 LIBS=$ac_check_lib_save_LIBS
80886 fi
80887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
80888 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
80889 if test $ac_cv_lib_m_main = yes; then
80890 cat >>confdefs.h <<_ACEOF
80891 #define HAVE_LIBM 1
80892 _ACEOF
80893
80894 LIBS="-lm $LIBS"
80895
80896 fi
80897
80898
80899 for ac_func in copysignf
80900 do
80901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80902 echo "$as_me:$LINENO: checking for $ac_func" >&5
80903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80904 if eval "test \"\${$as_ac_var+set}\" = set"; then
80905 echo $ECHO_N "(cached) $ECHO_C" >&6
80906 else
80907 if test x$gcc_no_link = xyes; then
80908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80910 { (exit 1); exit 1; }; }
80911 fi
80912 cat >conftest.$ac_ext <<_ACEOF
80913 /* confdefs.h. */
80914 _ACEOF
80915 cat confdefs.h >>conftest.$ac_ext
80916 cat >>conftest.$ac_ext <<_ACEOF
80917 /* end confdefs.h. */
80918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80920 #define $ac_func innocuous_$ac_func
80921
80922 /* System header to define __stub macros and hopefully few prototypes,
80923 which can conflict with char $ac_func (); below.
80924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80925 <limits.h> exists even on freestanding compilers. */
80926
80927 #ifdef __STDC__
80928 # include <limits.h>
80929 #else
80930 # include <assert.h>
80931 #endif
80932
80933 #undef $ac_func
80934
80935 /* Override any gcc2 internal prototype to avoid an error. */
80936 #ifdef __cplusplus
80937 extern "C"
80938 {
80939 #endif
80940 /* We use char because int might match the return type of a gcc2
80941 builtin and then its argument prototype would still apply. */
80942 char $ac_func ();
80943 /* The GNU C library defines this for functions which it implements
80944 to always fail with ENOSYS. Some functions are actually named
80945 something starting with __ and the normal name is an alias. */
80946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80947 choke me
80948 #else
80949 char (*f) () = $ac_func;
80950 #endif
80951 #ifdef __cplusplus
80952 }
80953 #endif
80954
80955 int
80956 main ()
80957 {
80958 return f != $ac_func;
80959 ;
80960 return 0;
80961 }
80962 _ACEOF
80963 rm -f conftest.$ac_objext conftest$ac_exeext
80964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80965 (eval $ac_link) 2>conftest.er1
80966 ac_status=$?
80967 grep -v '^ *+' conftest.er1 >conftest.err
80968 rm -f conftest.er1
80969 cat conftest.err >&5
80970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80971 (exit $ac_status); } &&
80972 { ac_try='test -z "$ac_c_werror_flag"
80973 || test ! -s conftest.err'
80974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80975 (eval $ac_try) 2>&5
80976 ac_status=$?
80977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80978 (exit $ac_status); }; } &&
80979 { ac_try='test -s conftest$ac_exeext'
80980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80981 (eval $ac_try) 2>&5
80982 ac_status=$?
80983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80984 (exit $ac_status); }; }; then
80985 eval "$as_ac_var=yes"
80986 else
80987 echo "$as_me: failed program was:" >&5
80988 sed 's/^/| /' conftest.$ac_ext >&5
80989
80990 eval "$as_ac_var=no"
80991 fi
80992 rm -f conftest.err conftest.$ac_objext \
80993 conftest$ac_exeext conftest.$ac_ext
80994 fi
80995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80997 if test `eval echo '${'$as_ac_var'}'` = yes; then
80998 cat >>confdefs.h <<_ACEOF
80999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81000 _ACEOF
81001
81002 else
81003 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81004 fi
81005 done
81006
81007
81008
81009 for ac_func in __signbit
81010 do
81011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81012 echo "$as_me:$LINENO: checking for $ac_func" >&5
81013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81014 if eval "test \"\${$as_ac_var+set}\" = set"; then
81015 echo $ECHO_N "(cached) $ECHO_C" >&6
81016 else
81017 if test x$gcc_no_link = xyes; then
81018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81020 { (exit 1); exit 1; }; }
81021 fi
81022 cat >conftest.$ac_ext <<_ACEOF
81023 /* confdefs.h. */
81024 _ACEOF
81025 cat confdefs.h >>conftest.$ac_ext
81026 cat >>conftest.$ac_ext <<_ACEOF
81027 /* end confdefs.h. */
81028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81030 #define $ac_func innocuous_$ac_func
81031
81032 /* System header to define __stub macros and hopefully few prototypes,
81033 which can conflict with char $ac_func (); below.
81034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81035 <limits.h> exists even on freestanding compilers. */
81036
81037 #ifdef __STDC__
81038 # include <limits.h>
81039 #else
81040 # include <assert.h>
81041 #endif
81042
81043 #undef $ac_func
81044
81045 /* Override any gcc2 internal prototype to avoid an error. */
81046 #ifdef __cplusplus
81047 extern "C"
81048 {
81049 #endif
81050 /* We use char because int might match the return type of a gcc2
81051 builtin and then its argument prototype would still apply. */
81052 char $ac_func ();
81053 /* The GNU C library defines this for functions which it implements
81054 to always fail with ENOSYS. Some functions are actually named
81055 something starting with __ and the normal name is an alias. */
81056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81057 choke me
81058 #else
81059 char (*f) () = $ac_func;
81060 #endif
81061 #ifdef __cplusplus
81062 }
81063 #endif
81064
81065 int
81066 main ()
81067 {
81068 return f != $ac_func;
81069 ;
81070 return 0;
81071 }
81072 _ACEOF
81073 rm -f conftest.$ac_objext conftest$ac_exeext
81074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81075 (eval $ac_link) 2>conftest.er1
81076 ac_status=$?
81077 grep -v '^ *+' conftest.er1 >conftest.err
81078 rm -f conftest.er1
81079 cat conftest.err >&5
81080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81081 (exit $ac_status); } &&
81082 { ac_try='test -z "$ac_c_werror_flag"
81083 || test ! -s conftest.err'
81084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81085 (eval $ac_try) 2>&5
81086 ac_status=$?
81087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81088 (exit $ac_status); }; } &&
81089 { ac_try='test -s conftest$ac_exeext'
81090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81091 (eval $ac_try) 2>&5
81092 ac_status=$?
81093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81094 (exit $ac_status); }; }; then
81095 eval "$as_ac_var=yes"
81096 else
81097 echo "$as_me: failed program was:" >&5
81098 sed 's/^/| /' conftest.$ac_ext >&5
81099
81100 eval "$as_ac_var=no"
81101 fi
81102 rm -f conftest.err conftest.$ac_objext \
81103 conftest$ac_exeext conftest.$ac_ext
81104 fi
81105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81107 if test `eval echo '${'$as_ac_var'}'` = yes; then
81108 cat >>confdefs.h <<_ACEOF
81109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81110 _ACEOF
81111
81112 else
81113 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81114 fi
81115 done
81116
81117
81118
81119 for ac_func in __signbitf
81120 do
81121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81122 echo "$as_me:$LINENO: checking for $ac_func" >&5
81123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81124 if eval "test \"\${$as_ac_var+set}\" = set"; then
81125 echo $ECHO_N "(cached) $ECHO_C" >&6
81126 else
81127 if test x$gcc_no_link = xyes; then
81128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81130 { (exit 1); exit 1; }; }
81131 fi
81132 cat >conftest.$ac_ext <<_ACEOF
81133 /* confdefs.h. */
81134 _ACEOF
81135 cat confdefs.h >>conftest.$ac_ext
81136 cat >>conftest.$ac_ext <<_ACEOF
81137 /* end confdefs.h. */
81138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81140 #define $ac_func innocuous_$ac_func
81141
81142 /* System header to define __stub macros and hopefully few prototypes,
81143 which can conflict with char $ac_func (); below.
81144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81145 <limits.h> exists even on freestanding compilers. */
81146
81147 #ifdef __STDC__
81148 # include <limits.h>
81149 #else
81150 # include <assert.h>
81151 #endif
81152
81153 #undef $ac_func
81154
81155 /* Override any gcc2 internal prototype to avoid an error. */
81156 #ifdef __cplusplus
81157 extern "C"
81158 {
81159 #endif
81160 /* We use char because int might match the return type of a gcc2
81161 builtin and then its argument prototype would still apply. */
81162 char $ac_func ();
81163 /* The GNU C library defines this for functions which it implements
81164 to always fail with ENOSYS. Some functions are actually named
81165 something starting with __ and the normal name is an alias. */
81166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81167 choke me
81168 #else
81169 char (*f) () = $ac_func;
81170 #endif
81171 #ifdef __cplusplus
81172 }
81173 #endif
81174
81175 int
81176 main ()
81177 {
81178 return f != $ac_func;
81179 ;
81180 return 0;
81181 }
81182 _ACEOF
81183 rm -f conftest.$ac_objext conftest$ac_exeext
81184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81185 (eval $ac_link) 2>conftest.er1
81186 ac_status=$?
81187 grep -v '^ *+' conftest.er1 >conftest.err
81188 rm -f conftest.er1
81189 cat conftest.err >&5
81190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81191 (exit $ac_status); } &&
81192 { ac_try='test -z "$ac_c_werror_flag"
81193 || test ! -s conftest.err'
81194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81195 (eval $ac_try) 2>&5
81196 ac_status=$?
81197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81198 (exit $ac_status); }; } &&
81199 { ac_try='test -s conftest$ac_exeext'
81200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81201 (eval $ac_try) 2>&5
81202 ac_status=$?
81203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81204 (exit $ac_status); }; }; then
81205 eval "$as_ac_var=yes"
81206 else
81207 echo "$as_me: failed program was:" >&5
81208 sed 's/^/| /' conftest.$ac_ext >&5
81209
81210 eval "$as_ac_var=no"
81211 fi
81212 rm -f conftest.err conftest.$ac_objext \
81213 conftest$ac_exeext conftest.$ac_ext
81214 fi
81215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81217 if test `eval echo '${'$as_ac_var'}'` = yes; then
81218 cat >>confdefs.h <<_ACEOF
81219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81220 _ACEOF
81221
81222 else
81223 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
81224 fi
81225 done
81226
81227
81228 if test x$ac_cv_func_copysignl = x"yes"; then
81229
81230 for ac_func in __signbitl
81231 do
81232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81233 echo "$as_me:$LINENO: checking for $ac_func" >&5
81234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81235 if eval "test \"\${$as_ac_var+set}\" = set"; then
81236 echo $ECHO_N "(cached) $ECHO_C" >&6
81237 else
81238 if test x$gcc_no_link = xyes; then
81239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81241 { (exit 1); exit 1; }; }
81242 fi
81243 cat >conftest.$ac_ext <<_ACEOF
81244 /* confdefs.h. */
81245 _ACEOF
81246 cat confdefs.h >>conftest.$ac_ext
81247 cat >>conftest.$ac_ext <<_ACEOF
81248 /* end confdefs.h. */
81249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81251 #define $ac_func innocuous_$ac_func
81252
81253 /* System header to define __stub macros and hopefully few prototypes,
81254 which can conflict with char $ac_func (); below.
81255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81256 <limits.h> exists even on freestanding compilers. */
81257
81258 #ifdef __STDC__
81259 # include <limits.h>
81260 #else
81261 # include <assert.h>
81262 #endif
81263
81264 #undef $ac_func
81265
81266 /* Override any gcc2 internal prototype to avoid an error. */
81267 #ifdef __cplusplus
81268 extern "C"
81269 {
81270 #endif
81271 /* We use char because int might match the return type of a gcc2
81272 builtin and then its argument prototype would still apply. */
81273 char $ac_func ();
81274 /* The GNU C library defines this for functions which it implements
81275 to always fail with ENOSYS. Some functions are actually named
81276 something starting with __ and the normal name is an alias. */
81277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81278 choke me
81279 #else
81280 char (*f) () = $ac_func;
81281 #endif
81282 #ifdef __cplusplus
81283 }
81284 #endif
81285
81286 int
81287 main ()
81288 {
81289 return f != $ac_func;
81290 ;
81291 return 0;
81292 }
81293 _ACEOF
81294 rm -f conftest.$ac_objext conftest$ac_exeext
81295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81296 (eval $ac_link) 2>conftest.er1
81297 ac_status=$?
81298 grep -v '^ *+' conftest.er1 >conftest.err
81299 rm -f conftest.er1
81300 cat conftest.err >&5
81301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81302 (exit $ac_status); } &&
81303 { ac_try='test -z "$ac_c_werror_flag"
81304 || test ! -s conftest.err'
81305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81306 (eval $ac_try) 2>&5
81307 ac_status=$?
81308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81309 (exit $ac_status); }; } &&
81310 { ac_try='test -s conftest$ac_exeext'
81311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81312 (eval $ac_try) 2>&5
81313 ac_status=$?
81314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81315 (exit $ac_status); }; }; then
81316 eval "$as_ac_var=yes"
81317 else
81318 echo "$as_me: failed program was:" >&5
81319 sed 's/^/| /' conftest.$ac_ext >&5
81320
81321 eval "$as_ac_var=no"
81322 fi
81323 rm -f conftest.err conftest.$ac_objext \
81324 conftest$ac_exeext conftest.$ac_ext
81325 fi
81326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81328 if test `eval echo '${'$as_ac_var'}'` = yes; then
81329 cat >>confdefs.h <<_ACEOF
81330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81331 _ACEOF
81332
81333 else
81334 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
81335 fi
81336 done
81337
81338 fi
81339
81340 # Used in libmath/Makefile.am.
81341 if test -n "$LIBMATHOBJS"; then
81342 need_libmath=yes
81343 fi
81344
81345
81346
81347
81348 enable_iconv=no
81349 # Only continue checking if the ISO C99 headers exist and support is on.
81350 if test x"$enable_wchar_t" = xyes; then
81351
81352 # Use iconv for wchar_t to char conversions. As such, check for
81353 # X/Open Portability Guide, version 2 features (XPG2).
81354 if test "${ac_cv_header_iconv_h+set}" = set; then
81355 echo "$as_me:$LINENO: checking for iconv.h" >&5
81356 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81357 if test "${ac_cv_header_iconv_h+set}" = set; then
81358 echo $ECHO_N "(cached) $ECHO_C" >&6
81359 fi
81360 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81361 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81362 else
81363 # Is the header compilable?
81364 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81365 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81366 cat >conftest.$ac_ext <<_ACEOF
81367 /* confdefs.h. */
81368 _ACEOF
81369 cat confdefs.h >>conftest.$ac_ext
81370 cat >>conftest.$ac_ext <<_ACEOF
81371 /* end confdefs.h. */
81372 $ac_includes_default
81373 #include <iconv.h>
81374 _ACEOF
81375 rm -f conftest.$ac_objext
81376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81377 (eval $ac_compile) 2>conftest.er1
81378 ac_status=$?
81379 grep -v '^ *+' conftest.er1 >conftest.err
81380 rm -f conftest.er1
81381 cat conftest.err >&5
81382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81383 (exit $ac_status); } &&
81384 { ac_try='test -z "$ac_c_werror_flag"
81385 || test ! -s conftest.err'
81386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81387 (eval $ac_try) 2>&5
81388 ac_status=$?
81389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81390 (exit $ac_status); }; } &&
81391 { ac_try='test -s conftest.$ac_objext'
81392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81393 (eval $ac_try) 2>&5
81394 ac_status=$?
81395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81396 (exit $ac_status); }; }; then
81397 ac_header_compiler=yes
81398 else
81399 echo "$as_me: failed program was:" >&5
81400 sed 's/^/| /' conftest.$ac_ext >&5
81401
81402 ac_header_compiler=no
81403 fi
81404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81406 echo "${ECHO_T}$ac_header_compiler" >&6
81407
81408 # Is the header present?
81409 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81410 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81411 cat >conftest.$ac_ext <<_ACEOF
81412 /* confdefs.h. */
81413 _ACEOF
81414 cat confdefs.h >>conftest.$ac_ext
81415 cat >>conftest.$ac_ext <<_ACEOF
81416 /* end confdefs.h. */
81417 #include <iconv.h>
81418 _ACEOF
81419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81421 ac_status=$?
81422 grep -v '^ *+' conftest.er1 >conftest.err
81423 rm -f conftest.er1
81424 cat conftest.err >&5
81425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81426 (exit $ac_status); } >/dev/null; then
81427 if test -s conftest.err; then
81428 ac_cpp_err=$ac_c_preproc_warn_flag
81429 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81430 else
81431 ac_cpp_err=
81432 fi
81433 else
81434 ac_cpp_err=yes
81435 fi
81436 if test -z "$ac_cpp_err"; then
81437 ac_header_preproc=yes
81438 else
81439 echo "$as_me: failed program was:" >&5
81440 sed 's/^/| /' conftest.$ac_ext >&5
81441
81442 ac_header_preproc=no
81443 fi
81444 rm -f conftest.err conftest.$ac_ext
81445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81446 echo "${ECHO_T}$ac_header_preproc" >&6
81447
81448 # So? What about this header?
81449 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81450 yes:no: )
81451 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81452 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81453 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81454 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81455 ac_header_preproc=yes
81456 ;;
81457 no:yes:* )
81458 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81459 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81460 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81461 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81462 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81463 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81464 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81465 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81466 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81467 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81468 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81469 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81470 (
81471 cat <<\_ASBOX
81472 ## ----------------------------------------- ##
81473 ## Report this to the package-unused lists. ##
81474 ## ----------------------------------------- ##
81475 _ASBOX
81476 ) |
81477 sed "s/^/$as_me: WARNING: /" >&2
81478 ;;
81479 esac
81480 echo "$as_me:$LINENO: checking for iconv.h" >&5
81481 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81482 if test "${ac_cv_header_iconv_h+set}" = set; then
81483 echo $ECHO_N "(cached) $ECHO_C" >&6
81484 else
81485 ac_cv_header_iconv_h=$ac_header_preproc
81486 fi
81487 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81488 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81489
81490 fi
81491 if test $ac_cv_header_iconv_h = yes; then
81492 ac_has_iconv_h=yes
81493 else
81494 ac_has_iconv_h=no
81495 fi
81496
81497
81498 if test "${ac_cv_header_langinfo_h+set}" = set; then
81499 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81500 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81501 if test "${ac_cv_header_langinfo_h+set}" = set; then
81502 echo $ECHO_N "(cached) $ECHO_C" >&6
81503 fi
81504 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81505 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81506 else
81507 # Is the header compilable?
81508 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81509 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81510 cat >conftest.$ac_ext <<_ACEOF
81511 /* confdefs.h. */
81512 _ACEOF
81513 cat confdefs.h >>conftest.$ac_ext
81514 cat >>conftest.$ac_ext <<_ACEOF
81515 /* end confdefs.h. */
81516 $ac_includes_default
81517 #include <langinfo.h>
81518 _ACEOF
81519 rm -f conftest.$ac_objext
81520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81521 (eval $ac_compile) 2>conftest.er1
81522 ac_status=$?
81523 grep -v '^ *+' conftest.er1 >conftest.err
81524 rm -f conftest.er1
81525 cat conftest.err >&5
81526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81527 (exit $ac_status); } &&
81528 { ac_try='test -z "$ac_c_werror_flag"
81529 || test ! -s conftest.err'
81530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81531 (eval $ac_try) 2>&5
81532 ac_status=$?
81533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81534 (exit $ac_status); }; } &&
81535 { ac_try='test -s conftest.$ac_objext'
81536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81537 (eval $ac_try) 2>&5
81538 ac_status=$?
81539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81540 (exit $ac_status); }; }; then
81541 ac_header_compiler=yes
81542 else
81543 echo "$as_me: failed program was:" >&5
81544 sed 's/^/| /' conftest.$ac_ext >&5
81545
81546 ac_header_compiler=no
81547 fi
81548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81549 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81550 echo "${ECHO_T}$ac_header_compiler" >&6
81551
81552 # Is the header present?
81553 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81554 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81555 cat >conftest.$ac_ext <<_ACEOF
81556 /* confdefs.h. */
81557 _ACEOF
81558 cat confdefs.h >>conftest.$ac_ext
81559 cat >>conftest.$ac_ext <<_ACEOF
81560 /* end confdefs.h. */
81561 #include <langinfo.h>
81562 _ACEOF
81563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81564 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81565 ac_status=$?
81566 grep -v '^ *+' conftest.er1 >conftest.err
81567 rm -f conftest.er1
81568 cat conftest.err >&5
81569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81570 (exit $ac_status); } >/dev/null; then
81571 if test -s conftest.err; then
81572 ac_cpp_err=$ac_c_preproc_warn_flag
81573 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81574 else
81575 ac_cpp_err=
81576 fi
81577 else
81578 ac_cpp_err=yes
81579 fi
81580 if test -z "$ac_cpp_err"; then
81581 ac_header_preproc=yes
81582 else
81583 echo "$as_me: failed program was:" >&5
81584 sed 's/^/| /' conftest.$ac_ext >&5
81585
81586 ac_header_preproc=no
81587 fi
81588 rm -f conftest.err conftest.$ac_ext
81589 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81590 echo "${ECHO_T}$ac_header_preproc" >&6
81591
81592 # So? What about this header?
81593 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81594 yes:no: )
81595 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81596 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81597 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81598 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81599 ac_header_preproc=yes
81600 ;;
81601 no:yes:* )
81602 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81603 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81604 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81605 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81606 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81607 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81608 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81609 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81610 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81611 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81612 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81613 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81614 (
81615 cat <<\_ASBOX
81616 ## ----------------------------------------- ##
81617 ## Report this to the package-unused lists. ##
81618 ## ----------------------------------------- ##
81619 _ASBOX
81620 ) |
81621 sed "s/^/$as_me: WARNING: /" >&2
81622 ;;
81623 esac
81624 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81625 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81626 if test "${ac_cv_header_langinfo_h+set}" = set; then
81627 echo $ECHO_N "(cached) $ECHO_C" >&6
81628 else
81629 ac_cv_header_langinfo_h=$ac_header_preproc
81630 fi
81631 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81632 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81633
81634 fi
81635 if test $ac_cv_header_langinfo_h = yes; then
81636 ac_has_langinfo_h=yes
81637 else
81638 ac_has_langinfo_h=no
81639 fi
81640
81641
81642
81643 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81644 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81645 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81646 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81647 echo $ECHO_N "(cached) $ECHO_C" >&6
81648 else
81649 ac_check_lib_save_LIBS=$LIBS
81650 LIBS="-liconv $LIBS"
81651 if test x$gcc_no_link = xyes; then
81652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81654 { (exit 1); exit 1; }; }
81655 fi
81656 cat >conftest.$ac_ext <<_ACEOF
81657 /* confdefs.h. */
81658 _ACEOF
81659 cat confdefs.h >>conftest.$ac_ext
81660 cat >>conftest.$ac_ext <<_ACEOF
81661 /* end confdefs.h. */
81662
81663 /* Override any gcc2 internal prototype to avoid an error. */
81664 #ifdef __cplusplus
81665 extern "C"
81666 #endif
81667 /* We use char because int might match the return type of a gcc2
81668 builtin and then its argument prototype would still apply. */
81669 char iconv ();
81670 int
81671 main ()
81672 {
81673 iconv ();
81674 ;
81675 return 0;
81676 }
81677 _ACEOF
81678 rm -f conftest.$ac_objext conftest$ac_exeext
81679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81680 (eval $ac_link) 2>conftest.er1
81681 ac_status=$?
81682 grep -v '^ *+' conftest.er1 >conftest.err
81683 rm -f conftest.er1
81684 cat conftest.err >&5
81685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81686 (exit $ac_status); } &&
81687 { ac_try='test -z "$ac_c_werror_flag"
81688 || test ! -s conftest.err'
81689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81690 (eval $ac_try) 2>&5
81691 ac_status=$?
81692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81693 (exit $ac_status); }; } &&
81694 { ac_try='test -s conftest$ac_exeext'
81695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81696 (eval $ac_try) 2>&5
81697 ac_status=$?
81698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81699 (exit $ac_status); }; }; then
81700 ac_cv_lib_iconv_iconv=yes
81701 else
81702 echo "$as_me: failed program was:" >&5
81703 sed 's/^/| /' conftest.$ac_ext >&5
81704
81705 ac_cv_lib_iconv_iconv=no
81706 fi
81707 rm -f conftest.err conftest.$ac_objext \
81708 conftest$ac_exeext conftest.$ac_ext
81709 LIBS=$ac_check_lib_save_LIBS
81710 fi
81711 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81712 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81713 if test $ac_cv_lib_iconv_iconv = yes; then
81714 LIBICONV="-liconv"
81715 fi
81716
81717 ac_save_LIBS="$LIBS"
81718 LIBS="$LIBS $LIBICONV"
81719
81720
81721
81722
81723
81724
81725 for ac_func in iconv_open iconv_close iconv nl_langinfo
81726 do
81727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81728 echo "$as_me:$LINENO: checking for $ac_func" >&5
81729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81730 if eval "test \"\${$as_ac_var+set}\" = set"; then
81731 echo $ECHO_N "(cached) $ECHO_C" >&6
81732 else
81733 if test x$gcc_no_link = xyes; then
81734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81736 { (exit 1); exit 1; }; }
81737 fi
81738 cat >conftest.$ac_ext <<_ACEOF
81739 /* confdefs.h. */
81740 _ACEOF
81741 cat confdefs.h >>conftest.$ac_ext
81742 cat >>conftest.$ac_ext <<_ACEOF
81743 /* end confdefs.h. */
81744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81746 #define $ac_func innocuous_$ac_func
81747
81748 /* System header to define __stub macros and hopefully few prototypes,
81749 which can conflict with char $ac_func (); below.
81750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81751 <limits.h> exists even on freestanding compilers. */
81752
81753 #ifdef __STDC__
81754 # include <limits.h>
81755 #else
81756 # include <assert.h>
81757 #endif
81758
81759 #undef $ac_func
81760
81761 /* Override any gcc2 internal prototype to avoid an error. */
81762 #ifdef __cplusplus
81763 extern "C"
81764 {
81765 #endif
81766 /* We use char because int might match the return type of a gcc2
81767 builtin and then its argument prototype would still apply. */
81768 char $ac_func ();
81769 /* The GNU C library defines this for functions which it implements
81770 to always fail with ENOSYS. Some functions are actually named
81771 something starting with __ and the normal name is an alias. */
81772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81773 choke me
81774 #else
81775 char (*f) () = $ac_func;
81776 #endif
81777 #ifdef __cplusplus
81778 }
81779 #endif
81780
81781 int
81782 main ()
81783 {
81784 return f != $ac_func;
81785 ;
81786 return 0;
81787 }
81788 _ACEOF
81789 rm -f conftest.$ac_objext conftest$ac_exeext
81790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81791 (eval $ac_link) 2>conftest.er1
81792 ac_status=$?
81793 grep -v '^ *+' conftest.er1 >conftest.err
81794 rm -f conftest.er1
81795 cat conftest.err >&5
81796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81797 (exit $ac_status); } &&
81798 { ac_try='test -z "$ac_c_werror_flag"
81799 || test ! -s conftest.err'
81800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81801 (eval $ac_try) 2>&5
81802 ac_status=$?
81803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81804 (exit $ac_status); }; } &&
81805 { ac_try='test -s conftest$ac_exeext'
81806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81807 (eval $ac_try) 2>&5
81808 ac_status=$?
81809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81810 (exit $ac_status); }; }; then
81811 eval "$as_ac_var=yes"
81812 else
81813 echo "$as_me: failed program was:" >&5
81814 sed 's/^/| /' conftest.$ac_ext >&5
81815
81816 eval "$as_ac_var=no"
81817 fi
81818 rm -f conftest.err conftest.$ac_objext \
81819 conftest$ac_exeext conftest.$ac_ext
81820 fi
81821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81823 if test `eval echo '${'$as_ac_var'}'` = yes; then
81824 cat >>confdefs.h <<_ACEOF
81825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81826 _ACEOF
81827 ac_XPG2funcs=yes
81828 else
81829 ac_XPG2funcs=no
81830 fi
81831 done
81832
81833
81834 LIBS="$ac_save_LIBS"
81835
81836 if test x"$ac_has_iconv_h" = xyes &&
81837 test x"$ac_has_langinfo_h" = xyes &&
81838 test x"$ac_XPG2funcs" = xyes;
81839 then
81840
81841 cat >>confdefs.h <<\_ACEOF
81842 #define _GLIBCXX_USE_ICONV 1
81843 _ACEOF
81844
81845 enable_iconv=yes
81846 fi
81847 fi
81848 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
81849 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
81850 echo "$as_me:$LINENO: result: $enable_iconv" >&5
81851 echo "${ECHO_T}$enable_iconv" >&6
81852
81853 cat >>confdefs.h <<\_ACEOF
81854 #define HAVE_COPYSIGN 1
81855 _ACEOF
81856
81857 cat >>confdefs.h <<\_ACEOF
81858 #define HAVE_COPYSIGNF 1
81859 _ACEOF
81860
81861 cat >>confdefs.h <<\_ACEOF
81862 #define HAVE_FINITEF 1
81863 _ACEOF
81864
81865 cat >>confdefs.h <<\_ACEOF
81866 #define HAVE_FINITE 1
81867 _ACEOF
81868
81869 cat >>confdefs.h <<\_ACEOF
81870 #define HAVE_FREXPF 1
81871 _ACEOF
81872
81873 cat >>confdefs.h <<\_ACEOF
81874 #define HAVE_HYPOTF 1
81875 _ACEOF
81876
81877 cat >>confdefs.h <<\_ACEOF
81878 #define HAVE_ISINF 1
81879 _ACEOF
81880
81881 cat >>confdefs.h <<\_ACEOF
81882 #define HAVE_ISINFF 1
81883 _ACEOF
81884
81885 cat >>confdefs.h <<\_ACEOF
81886 #define HAVE_ISNAN 1
81887 _ACEOF
81888
81889 cat >>confdefs.h <<\_ACEOF
81890 #define HAVE_ISNANF 1
81891 _ACEOF
81892
81893 if test x"long_double_math_on_this_cpu" = x"yes"; then
81894 cat >>confdefs.h <<\_ACEOF
81895 #define HAVE_FINITEL 1
81896 _ACEOF
81897
81898 cat >>confdefs.h <<\_ACEOF
81899 #define HAVE_ISINFL 1
81900 _ACEOF
81901
81902 cat >>confdefs.h <<\_ACEOF
81903 #define HAVE_ISNANL 1
81904 _ACEOF
81905
81906 fi
81907 ;;
81908 *-netware)
81909
81910
81911
81912
81913
81914
81915
81916
81917 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
81918 sys/types.h locale.h float.h inttypes.h
81919 do
81920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81922 echo "$as_me:$LINENO: checking for $ac_header" >&5
81923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81925 echo $ECHO_N "(cached) $ECHO_C" >&6
81926 fi
81927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81929 else
81930 # Is the header compilable?
81931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81933 cat >conftest.$ac_ext <<_ACEOF
81934 /* confdefs.h. */
81935 _ACEOF
81936 cat confdefs.h >>conftest.$ac_ext
81937 cat >>conftest.$ac_ext <<_ACEOF
81938 /* end confdefs.h. */
81939 $ac_includes_default
81940 #include <$ac_header>
81941 _ACEOF
81942 rm -f conftest.$ac_objext
81943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81944 (eval $ac_compile) 2>conftest.er1
81945 ac_status=$?
81946 grep -v '^ *+' conftest.er1 >conftest.err
81947 rm -f conftest.er1
81948 cat conftest.err >&5
81949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81950 (exit $ac_status); } &&
81951 { ac_try='test -z "$ac_c_werror_flag"
81952 || test ! -s conftest.err'
81953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81954 (eval $ac_try) 2>&5
81955 ac_status=$?
81956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81957 (exit $ac_status); }; } &&
81958 { ac_try='test -s conftest.$ac_objext'
81959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81960 (eval $ac_try) 2>&5
81961 ac_status=$?
81962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81963 (exit $ac_status); }; }; then
81964 ac_header_compiler=yes
81965 else
81966 echo "$as_me: failed program was:" >&5
81967 sed 's/^/| /' conftest.$ac_ext >&5
81968
81969 ac_header_compiler=no
81970 fi
81971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81973 echo "${ECHO_T}$ac_header_compiler" >&6
81974
81975 # Is the header present?
81976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81978 cat >conftest.$ac_ext <<_ACEOF
81979 /* confdefs.h. */
81980 _ACEOF
81981 cat confdefs.h >>conftest.$ac_ext
81982 cat >>conftest.$ac_ext <<_ACEOF
81983 /* end confdefs.h. */
81984 #include <$ac_header>
81985 _ACEOF
81986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81988 ac_status=$?
81989 grep -v '^ *+' conftest.er1 >conftest.err
81990 rm -f conftest.er1
81991 cat conftest.err >&5
81992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81993 (exit $ac_status); } >/dev/null; then
81994 if test -s conftest.err; then
81995 ac_cpp_err=$ac_c_preproc_warn_flag
81996 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81997 else
81998 ac_cpp_err=
81999 fi
82000 else
82001 ac_cpp_err=yes
82002 fi
82003 if test -z "$ac_cpp_err"; then
82004 ac_header_preproc=yes
82005 else
82006 echo "$as_me: failed program was:" >&5
82007 sed 's/^/| /' conftest.$ac_ext >&5
82008
82009 ac_header_preproc=no
82010 fi
82011 rm -f conftest.err conftest.$ac_ext
82012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82013 echo "${ECHO_T}$ac_header_preproc" >&6
82014
82015 # So? What about this header?
82016 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82017 yes:no: )
82018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82021 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82022 ac_header_preproc=yes
82023 ;;
82024 no:yes:* )
82025 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82026 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82027 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82028 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82029 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82030 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82031 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82032 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82034 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82035 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82036 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82037 (
82038 cat <<\_ASBOX
82039 ## ----------------------------------------- ##
82040 ## Report this to the package-unused lists. ##
82041 ## ----------------------------------------- ##
82042 _ASBOX
82043 ) |
82044 sed "s/^/$as_me: WARNING: /" >&2
82045 ;;
82046 esac
82047 echo "$as_me:$LINENO: checking for $ac_header" >&5
82048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82050 echo $ECHO_N "(cached) $ECHO_C" >&6
82051 else
82052 eval "$as_ac_Header=\$ac_header_preproc"
82053 fi
82054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82055 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82056
82057 fi
82058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82059 cat >>confdefs.h <<_ACEOF
82060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82061 _ACEOF
82062
82063 fi
82064
82065 done
82066
82067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
82068
82069
82070 # If we're not using GNU ld, then there's no point in even trying these
82071 # tests. Check for that first. We should have already tested for gld
82072 # by now (in libtool), but require it now just to be safe...
82073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82075
82076
82077
82078 # The name set by libtool depends on the version of libtool. Shame on us
82079 # for depending on an impl detail, but c'est la vie. Older versions used
82080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82083 # set (hence we're using an older libtool), then set it.
82084 if test x${with_gnu_ld+set} != xset; then
82085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82087 with_gnu_ld=no
82088 else
82089 with_gnu_ld=$ac_cv_prog_gnu_ld
82090 fi
82091 fi
82092
82093 # Start by getting the version number. I think the libtool test already
82094 # does some of this, but throws away the result.
82095
82096 ldver=`$LD --version 2>/dev/null | head -1 | \
82097 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82098
82099 glibcxx_gnu_ld_version=`echo $ldver | \
82100 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82101
82102 # Set --gc-sections.
82103 if test "$with_gnu_ld" = "notbroken"; then
82104 # GNU ld it is! Joy and bunny rabbits!
82105
82106 # All these tests are for C++; save the language and the compiler flags.
82107 # Need to do this so that g++ won't try to link in libstdc++
82108 ac_test_CFLAGS="${CFLAGS+set}"
82109 ac_save_CFLAGS="$CFLAGS"
82110 CFLAGS='-x c++ -Wl,--gc-sections'
82111
82112 # Check for -Wl,--gc-sections
82113 # XXX This test is broken at the moment, as symbols required for linking
82114 # are now in libsupc++ (not built yet). In addition, this test has
82115 # cored on solaris in the past. In addition, --gc-sections doesn't
82116 # really work at the moment (keeps on discarding used sections, first
82117 # .eh_frame and now some of the glibc sections for iconv).
82118 # Bzzzzt. Thanks for playing, maybe next time.
82119 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82120 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82121 if test "$cross_compiling" = yes; then
82122 ac_sectionLDflags=yes
82123 else
82124 cat >conftest.$ac_ext <<_ACEOF
82125 /* confdefs.h. */
82126 _ACEOF
82127 cat confdefs.h >>conftest.$ac_ext
82128 cat >>conftest.$ac_ext <<_ACEOF
82129 /* end confdefs.h. */
82130
82131 int main(void)
82132 {
82133 try { throw 1; }
82134 catch (...) { };
82135 return 0;
82136 }
82137
82138 _ACEOF
82139 rm -f conftest$ac_exeext
82140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82141 (eval $ac_link) 2>&5
82142 ac_status=$?
82143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82144 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82146 (eval $ac_try) 2>&5
82147 ac_status=$?
82148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82149 (exit $ac_status); }; }; then
82150 ac_sectionLDflags=yes
82151 else
82152 echo "$as_me: program exited with status $ac_status" >&5
82153 echo "$as_me: failed program was:" >&5
82154 sed 's/^/| /' conftest.$ac_ext >&5
82155
82156 ( exit $ac_status )
82157 ac_sectionLDflags=no
82158 fi
82159 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82160 fi
82161 if test "$ac_test_CFLAGS" = set; then
82162 CFLAGS="$ac_save_CFLAGS"
82163 else
82164 # this is the suspicious part
82165 CFLAGS=''
82166 fi
82167 if test "$ac_sectionLDflags" = "yes"; then
82168 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82169 fi
82170 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82171 echo "${ECHO_T}$ac_sectionLDflags" >&6
82172 fi
82173
82174 # Set -z,relro.
82175 # Note this is only for shared objects
82176 ac_ld_relro=no
82177 if test x"$with_gnu_ld" = x"yes"; then
82178 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
82179 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
82180 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
82181 if test -n "$cxx_z_relo"; then
82182 OPT_LDFLAGS="-Wl,-z,relro"
82183 ac_ld_relro=yes
82184 fi
82185 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
82186 echo "${ECHO_T}$ac_ld_relro" >&6
82187 fi
82188
82189 # Set linker optimization flags.
82190 if test x"$with_gnu_ld" = x"yes"; then
82191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82192 fi
82193
82194
82195
82196
82197
82198
82199 echo "$as_me:$LINENO: checking for main in -lm" >&5
82200 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82201 if test "${ac_cv_lib_m_main+set}" = set; then
82202 echo $ECHO_N "(cached) $ECHO_C" >&6
82203 else
82204 ac_check_lib_save_LIBS=$LIBS
82205 LIBS="-lm $LIBS"
82206 if test x$gcc_no_link = xyes; then
82207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82209 { (exit 1); exit 1; }; }
82210 fi
82211 cat >conftest.$ac_ext <<_ACEOF
82212 /* confdefs.h. */
82213 _ACEOF
82214 cat confdefs.h >>conftest.$ac_ext
82215 cat >>conftest.$ac_ext <<_ACEOF
82216 /* end confdefs.h. */
82217
82218
82219 int
82220 main ()
82221 {
82222 main ();
82223 ;
82224 return 0;
82225 }
82226 _ACEOF
82227 rm -f conftest.$ac_objext conftest$ac_exeext
82228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82229 (eval $ac_link) 2>conftest.er1
82230 ac_status=$?
82231 grep -v '^ *+' conftest.er1 >conftest.err
82232 rm -f conftest.er1
82233 cat conftest.err >&5
82234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82235 (exit $ac_status); } &&
82236 { ac_try='test -z "$ac_c_werror_flag"
82237 || test ! -s conftest.err'
82238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82239 (eval $ac_try) 2>&5
82240 ac_status=$?
82241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82242 (exit $ac_status); }; } &&
82243 { ac_try='test -s conftest$ac_exeext'
82244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82245 (eval $ac_try) 2>&5
82246 ac_status=$?
82247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82248 (exit $ac_status); }; }; then
82249 ac_cv_lib_m_main=yes
82250 else
82251 echo "$as_me: failed program was:" >&5
82252 sed 's/^/| /' conftest.$ac_ext >&5
82253
82254 ac_cv_lib_m_main=no
82255 fi
82256 rm -f conftest.err conftest.$ac_objext \
82257 conftest$ac_exeext conftest.$ac_ext
82258 LIBS=$ac_check_lib_save_LIBS
82259 fi
82260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82261 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82262 if test $ac_cv_lib_m_main = yes; then
82263 cat >>confdefs.h <<_ACEOF
82264 #define HAVE_LIBM 1
82265 _ACEOF
82266
82267 LIBS="-lm $LIBS"
82268
82269 fi
82270
82271
82272 for ac_func in copysignf
82273 do
82274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82275 echo "$as_me:$LINENO: checking for $ac_func" >&5
82276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82277 if eval "test \"\${$as_ac_var+set}\" = set"; then
82278 echo $ECHO_N "(cached) $ECHO_C" >&6
82279 else
82280 if test x$gcc_no_link = xyes; then
82281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82283 { (exit 1); exit 1; }; }
82284 fi
82285 cat >conftest.$ac_ext <<_ACEOF
82286 /* confdefs.h. */
82287 _ACEOF
82288 cat confdefs.h >>conftest.$ac_ext
82289 cat >>conftest.$ac_ext <<_ACEOF
82290 /* end confdefs.h. */
82291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82293 #define $ac_func innocuous_$ac_func
82294
82295 /* System header to define __stub macros and hopefully few prototypes,
82296 which can conflict with char $ac_func (); below.
82297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82298 <limits.h> exists even on freestanding compilers. */
82299
82300 #ifdef __STDC__
82301 # include <limits.h>
82302 #else
82303 # include <assert.h>
82304 #endif
82305
82306 #undef $ac_func
82307
82308 /* Override any gcc2 internal prototype to avoid an error. */
82309 #ifdef __cplusplus
82310 extern "C"
82311 {
82312 #endif
82313 /* We use char because int might match the return type of a gcc2
82314 builtin and then its argument prototype would still apply. */
82315 char $ac_func ();
82316 /* The GNU C library defines this for functions which it implements
82317 to always fail with ENOSYS. Some functions are actually named
82318 something starting with __ and the normal name is an alias. */
82319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82320 choke me
82321 #else
82322 char (*f) () = $ac_func;
82323 #endif
82324 #ifdef __cplusplus
82325 }
82326 #endif
82327
82328 int
82329 main ()
82330 {
82331 return f != $ac_func;
82332 ;
82333 return 0;
82334 }
82335 _ACEOF
82336 rm -f conftest.$ac_objext conftest$ac_exeext
82337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82338 (eval $ac_link) 2>conftest.er1
82339 ac_status=$?
82340 grep -v '^ *+' conftest.er1 >conftest.err
82341 rm -f conftest.er1
82342 cat conftest.err >&5
82343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82344 (exit $ac_status); } &&
82345 { ac_try='test -z "$ac_c_werror_flag"
82346 || test ! -s conftest.err'
82347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82348 (eval $ac_try) 2>&5
82349 ac_status=$?
82350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82351 (exit $ac_status); }; } &&
82352 { ac_try='test -s conftest$ac_exeext'
82353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82354 (eval $ac_try) 2>&5
82355 ac_status=$?
82356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82357 (exit $ac_status); }; }; then
82358 eval "$as_ac_var=yes"
82359 else
82360 echo "$as_me: failed program was:" >&5
82361 sed 's/^/| /' conftest.$ac_ext >&5
82362
82363 eval "$as_ac_var=no"
82364 fi
82365 rm -f conftest.err conftest.$ac_objext \
82366 conftest$ac_exeext conftest.$ac_ext
82367 fi
82368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82370 if test `eval echo '${'$as_ac_var'}'` = yes; then
82371 cat >>confdefs.h <<_ACEOF
82372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82373 _ACEOF
82374
82375 else
82376 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82377 fi
82378 done
82379
82380
82381
82382 for ac_func in __signbit
82383 do
82384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82385 echo "$as_me:$LINENO: checking for $ac_func" >&5
82386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82387 if eval "test \"\${$as_ac_var+set}\" = set"; then
82388 echo $ECHO_N "(cached) $ECHO_C" >&6
82389 else
82390 if test x$gcc_no_link = xyes; then
82391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82393 { (exit 1); exit 1; }; }
82394 fi
82395 cat >conftest.$ac_ext <<_ACEOF
82396 /* confdefs.h. */
82397 _ACEOF
82398 cat confdefs.h >>conftest.$ac_ext
82399 cat >>conftest.$ac_ext <<_ACEOF
82400 /* end confdefs.h. */
82401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82403 #define $ac_func innocuous_$ac_func
82404
82405 /* System header to define __stub macros and hopefully few prototypes,
82406 which can conflict with char $ac_func (); below.
82407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82408 <limits.h> exists even on freestanding compilers. */
82409
82410 #ifdef __STDC__
82411 # include <limits.h>
82412 #else
82413 # include <assert.h>
82414 #endif
82415
82416 #undef $ac_func
82417
82418 /* Override any gcc2 internal prototype to avoid an error. */
82419 #ifdef __cplusplus
82420 extern "C"
82421 {
82422 #endif
82423 /* We use char because int might match the return type of a gcc2
82424 builtin and then its argument prototype would still apply. */
82425 char $ac_func ();
82426 /* The GNU C library defines this for functions which it implements
82427 to always fail with ENOSYS. Some functions are actually named
82428 something starting with __ and the normal name is an alias. */
82429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82430 choke me
82431 #else
82432 char (*f) () = $ac_func;
82433 #endif
82434 #ifdef __cplusplus
82435 }
82436 #endif
82437
82438 int
82439 main ()
82440 {
82441 return f != $ac_func;
82442 ;
82443 return 0;
82444 }
82445 _ACEOF
82446 rm -f conftest.$ac_objext conftest$ac_exeext
82447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82448 (eval $ac_link) 2>conftest.er1
82449 ac_status=$?
82450 grep -v '^ *+' conftest.er1 >conftest.err
82451 rm -f conftest.er1
82452 cat conftest.err >&5
82453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82454 (exit $ac_status); } &&
82455 { ac_try='test -z "$ac_c_werror_flag"
82456 || test ! -s conftest.err'
82457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82458 (eval $ac_try) 2>&5
82459 ac_status=$?
82460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82461 (exit $ac_status); }; } &&
82462 { ac_try='test -s conftest$ac_exeext'
82463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82464 (eval $ac_try) 2>&5
82465 ac_status=$?
82466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82467 (exit $ac_status); }; }; then
82468 eval "$as_ac_var=yes"
82469 else
82470 echo "$as_me: failed program was:" >&5
82471 sed 's/^/| /' conftest.$ac_ext >&5
82472
82473 eval "$as_ac_var=no"
82474 fi
82475 rm -f conftest.err conftest.$ac_objext \
82476 conftest$ac_exeext conftest.$ac_ext
82477 fi
82478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82480 if test `eval echo '${'$as_ac_var'}'` = yes; then
82481 cat >>confdefs.h <<_ACEOF
82482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82483 _ACEOF
82484
82485 else
82486 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82487 fi
82488 done
82489
82490
82491
82492 for ac_func in __signbitf
82493 do
82494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82495 echo "$as_me:$LINENO: checking for $ac_func" >&5
82496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82497 if eval "test \"\${$as_ac_var+set}\" = set"; then
82498 echo $ECHO_N "(cached) $ECHO_C" >&6
82499 else
82500 if test x$gcc_no_link = xyes; then
82501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82503 { (exit 1); exit 1; }; }
82504 fi
82505 cat >conftest.$ac_ext <<_ACEOF
82506 /* confdefs.h. */
82507 _ACEOF
82508 cat confdefs.h >>conftest.$ac_ext
82509 cat >>conftest.$ac_ext <<_ACEOF
82510 /* end confdefs.h. */
82511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82513 #define $ac_func innocuous_$ac_func
82514
82515 /* System header to define __stub macros and hopefully few prototypes,
82516 which can conflict with char $ac_func (); below.
82517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82518 <limits.h> exists even on freestanding compilers. */
82519
82520 #ifdef __STDC__
82521 # include <limits.h>
82522 #else
82523 # include <assert.h>
82524 #endif
82525
82526 #undef $ac_func
82527
82528 /* Override any gcc2 internal prototype to avoid an error. */
82529 #ifdef __cplusplus
82530 extern "C"
82531 {
82532 #endif
82533 /* We use char because int might match the return type of a gcc2
82534 builtin and then its argument prototype would still apply. */
82535 char $ac_func ();
82536 /* The GNU C library defines this for functions which it implements
82537 to always fail with ENOSYS. Some functions are actually named
82538 something starting with __ and the normal name is an alias. */
82539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82540 choke me
82541 #else
82542 char (*f) () = $ac_func;
82543 #endif
82544 #ifdef __cplusplus
82545 }
82546 #endif
82547
82548 int
82549 main ()
82550 {
82551 return f != $ac_func;
82552 ;
82553 return 0;
82554 }
82555 _ACEOF
82556 rm -f conftest.$ac_objext conftest$ac_exeext
82557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82558 (eval $ac_link) 2>conftest.er1
82559 ac_status=$?
82560 grep -v '^ *+' conftest.er1 >conftest.err
82561 rm -f conftest.er1
82562 cat conftest.err >&5
82563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82564 (exit $ac_status); } &&
82565 { ac_try='test -z "$ac_c_werror_flag"
82566 || test ! -s conftest.err'
82567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82568 (eval $ac_try) 2>&5
82569 ac_status=$?
82570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82571 (exit $ac_status); }; } &&
82572 { ac_try='test -s conftest$ac_exeext'
82573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82574 (eval $ac_try) 2>&5
82575 ac_status=$?
82576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82577 (exit $ac_status); }; }; then
82578 eval "$as_ac_var=yes"
82579 else
82580 echo "$as_me: failed program was:" >&5
82581 sed 's/^/| /' conftest.$ac_ext >&5
82582
82583 eval "$as_ac_var=no"
82584 fi
82585 rm -f conftest.err conftest.$ac_objext \
82586 conftest$ac_exeext conftest.$ac_ext
82587 fi
82588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82590 if test `eval echo '${'$as_ac_var'}'` = yes; then
82591 cat >>confdefs.h <<_ACEOF
82592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82593 _ACEOF
82594
82595 else
82596 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82597 fi
82598 done
82599
82600
82601 if test x$ac_cv_func_copysignl = x"yes"; then
82602
82603 for ac_func in __signbitl
82604 do
82605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82606 echo "$as_me:$LINENO: checking for $ac_func" >&5
82607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82608 if eval "test \"\${$as_ac_var+set}\" = set"; then
82609 echo $ECHO_N "(cached) $ECHO_C" >&6
82610 else
82611 if test x$gcc_no_link = xyes; then
82612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82614 { (exit 1); exit 1; }; }
82615 fi
82616 cat >conftest.$ac_ext <<_ACEOF
82617 /* confdefs.h. */
82618 _ACEOF
82619 cat confdefs.h >>conftest.$ac_ext
82620 cat >>conftest.$ac_ext <<_ACEOF
82621 /* end confdefs.h. */
82622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82624 #define $ac_func innocuous_$ac_func
82625
82626 /* System header to define __stub macros and hopefully few prototypes,
82627 which can conflict with char $ac_func (); below.
82628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82629 <limits.h> exists even on freestanding compilers. */
82630
82631 #ifdef __STDC__
82632 # include <limits.h>
82633 #else
82634 # include <assert.h>
82635 #endif
82636
82637 #undef $ac_func
82638
82639 /* Override any gcc2 internal prototype to avoid an error. */
82640 #ifdef __cplusplus
82641 extern "C"
82642 {
82643 #endif
82644 /* We use char because int might match the return type of a gcc2
82645 builtin and then its argument prototype would still apply. */
82646 char $ac_func ();
82647 /* The GNU C library defines this for functions which it implements
82648 to always fail with ENOSYS. Some functions are actually named
82649 something starting with __ and the normal name is an alias. */
82650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82651 choke me
82652 #else
82653 char (*f) () = $ac_func;
82654 #endif
82655 #ifdef __cplusplus
82656 }
82657 #endif
82658
82659 int
82660 main ()
82661 {
82662 return f != $ac_func;
82663 ;
82664 return 0;
82665 }
82666 _ACEOF
82667 rm -f conftest.$ac_objext conftest$ac_exeext
82668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82669 (eval $ac_link) 2>conftest.er1
82670 ac_status=$?
82671 grep -v '^ *+' conftest.er1 >conftest.err
82672 rm -f conftest.er1
82673 cat conftest.err >&5
82674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82675 (exit $ac_status); } &&
82676 { ac_try='test -z "$ac_c_werror_flag"
82677 || test ! -s conftest.err'
82678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82679 (eval $ac_try) 2>&5
82680 ac_status=$?
82681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82682 (exit $ac_status); }; } &&
82683 { ac_try='test -s conftest$ac_exeext'
82684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82685 (eval $ac_try) 2>&5
82686 ac_status=$?
82687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82688 (exit $ac_status); }; }; then
82689 eval "$as_ac_var=yes"
82690 else
82691 echo "$as_me: failed program was:" >&5
82692 sed 's/^/| /' conftest.$ac_ext >&5
82693
82694 eval "$as_ac_var=no"
82695 fi
82696 rm -f conftest.err conftest.$ac_objext \
82697 conftest$ac_exeext conftest.$ac_ext
82698 fi
82699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82700 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82701 if test `eval echo '${'$as_ac_var'}'` = yes; then
82702 cat >>confdefs.h <<_ACEOF
82703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82704 _ACEOF
82705
82706 else
82707 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82708 fi
82709 done
82710
82711 fi
82712
82713 # Used in libmath/Makefile.am.
82714 if test -n "$LIBMATHOBJS"; then
82715 need_libmath=yes
82716 fi
82717
82718
82719
82720
82721 enable_iconv=no
82722 # Only continue checking if the ISO C99 headers exist and support is on.
82723 if test x"$enable_wchar_t" = xyes; then
82724
82725 # Use iconv for wchar_t to char conversions. As such, check for
82726 # X/Open Portability Guide, version 2 features (XPG2).
82727 if test "${ac_cv_header_iconv_h+set}" = set; then
82728 echo "$as_me:$LINENO: checking for iconv.h" >&5
82729 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82730 if test "${ac_cv_header_iconv_h+set}" = set; then
82731 echo $ECHO_N "(cached) $ECHO_C" >&6
82732 fi
82733 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82734 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82735 else
82736 # Is the header compilable?
82737 echo "$as_me:$LINENO: checking iconv.h usability" >&5
82738 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
82739 cat >conftest.$ac_ext <<_ACEOF
82740 /* confdefs.h. */
82741 _ACEOF
82742 cat confdefs.h >>conftest.$ac_ext
82743 cat >>conftest.$ac_ext <<_ACEOF
82744 /* end confdefs.h. */
82745 $ac_includes_default
82746 #include <iconv.h>
82747 _ACEOF
82748 rm -f conftest.$ac_objext
82749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82750 (eval $ac_compile) 2>conftest.er1
82751 ac_status=$?
82752 grep -v '^ *+' conftest.er1 >conftest.err
82753 rm -f conftest.er1
82754 cat conftest.err >&5
82755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82756 (exit $ac_status); } &&
82757 { ac_try='test -z "$ac_c_werror_flag"
82758 || test ! -s conftest.err'
82759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82760 (eval $ac_try) 2>&5
82761 ac_status=$?
82762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82763 (exit $ac_status); }; } &&
82764 { ac_try='test -s conftest.$ac_objext'
82765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82766 (eval $ac_try) 2>&5
82767 ac_status=$?
82768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82769 (exit $ac_status); }; }; then
82770 ac_header_compiler=yes
82771 else
82772 echo "$as_me: failed program was:" >&5
82773 sed 's/^/| /' conftest.$ac_ext >&5
82774
82775 ac_header_compiler=no
82776 fi
82777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82779 echo "${ECHO_T}$ac_header_compiler" >&6
82780
82781 # Is the header present?
82782 echo "$as_me:$LINENO: checking iconv.h presence" >&5
82783 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
82784 cat >conftest.$ac_ext <<_ACEOF
82785 /* confdefs.h. */
82786 _ACEOF
82787 cat confdefs.h >>conftest.$ac_ext
82788 cat >>conftest.$ac_ext <<_ACEOF
82789 /* end confdefs.h. */
82790 #include <iconv.h>
82791 _ACEOF
82792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82794 ac_status=$?
82795 grep -v '^ *+' conftest.er1 >conftest.err
82796 rm -f conftest.er1
82797 cat conftest.err >&5
82798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82799 (exit $ac_status); } >/dev/null; then
82800 if test -s conftest.err; then
82801 ac_cpp_err=$ac_c_preproc_warn_flag
82802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82803 else
82804 ac_cpp_err=
82805 fi
82806 else
82807 ac_cpp_err=yes
82808 fi
82809 if test -z "$ac_cpp_err"; then
82810 ac_header_preproc=yes
82811 else
82812 echo "$as_me: failed program was:" >&5
82813 sed 's/^/| /' conftest.$ac_ext >&5
82814
82815 ac_header_preproc=no
82816 fi
82817 rm -f conftest.err conftest.$ac_ext
82818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82819 echo "${ECHO_T}$ac_header_preproc" >&6
82820
82821 # So? What about this header?
82822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82823 yes:no: )
82824 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
82825 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82826 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
82827 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
82828 ac_header_preproc=yes
82829 ;;
82830 no:yes:* )
82831 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
82832 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
82833 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
82834 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
82835 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
82836 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
82837 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
82838 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
82839 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
82840 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
82841 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
82842 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
82843 (
82844 cat <<\_ASBOX
82845 ## ----------------------------------------- ##
82846 ## Report this to the package-unused lists. ##
82847 ## ----------------------------------------- ##
82848 _ASBOX
82849 ) |
82850 sed "s/^/$as_me: WARNING: /" >&2
82851 ;;
82852 esac
82853 echo "$as_me:$LINENO: checking for iconv.h" >&5
82854 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
82855 if test "${ac_cv_header_iconv_h+set}" = set; then
82856 echo $ECHO_N "(cached) $ECHO_C" >&6
82857 else
82858 ac_cv_header_iconv_h=$ac_header_preproc
82859 fi
82860 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
82861 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
82862
82863 fi
82864 if test $ac_cv_header_iconv_h = yes; then
82865 ac_has_iconv_h=yes
82866 else
82867 ac_has_iconv_h=no
82868 fi
82869
82870
82871 if test "${ac_cv_header_langinfo_h+set}" = set; then
82872 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82873 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82874 if test "${ac_cv_header_langinfo_h+set}" = set; then
82875 echo $ECHO_N "(cached) $ECHO_C" >&6
82876 fi
82877 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
82878 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
82879 else
82880 # Is the header compilable?
82881 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
82882 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
82883 cat >conftest.$ac_ext <<_ACEOF
82884 /* confdefs.h. */
82885 _ACEOF
82886 cat confdefs.h >>conftest.$ac_ext
82887 cat >>conftest.$ac_ext <<_ACEOF
82888 /* end confdefs.h. */
82889 $ac_includes_default
82890 #include <langinfo.h>
82891 _ACEOF
82892 rm -f conftest.$ac_objext
82893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82894 (eval $ac_compile) 2>conftest.er1
82895 ac_status=$?
82896 grep -v '^ *+' conftest.er1 >conftest.err
82897 rm -f conftest.er1
82898 cat conftest.err >&5
82899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82900 (exit $ac_status); } &&
82901 { ac_try='test -z "$ac_c_werror_flag"
82902 || test ! -s conftest.err'
82903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82904 (eval $ac_try) 2>&5
82905 ac_status=$?
82906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82907 (exit $ac_status); }; } &&
82908 { ac_try='test -s conftest.$ac_objext'
82909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82910 (eval $ac_try) 2>&5
82911 ac_status=$?
82912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82913 (exit $ac_status); }; }; then
82914 ac_header_compiler=yes
82915 else
82916 echo "$as_me: failed program was:" >&5
82917 sed 's/^/| /' conftest.$ac_ext >&5
82918
82919 ac_header_compiler=no
82920 fi
82921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82923 echo "${ECHO_T}$ac_header_compiler" >&6
82924
82925 # Is the header present?
82926 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
82927 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
82928 cat >conftest.$ac_ext <<_ACEOF
82929 /* confdefs.h. */
82930 _ACEOF
82931 cat confdefs.h >>conftest.$ac_ext
82932 cat >>conftest.$ac_ext <<_ACEOF
82933 /* end confdefs.h. */
82934 #include <langinfo.h>
82935 _ACEOF
82936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82938 ac_status=$?
82939 grep -v '^ *+' conftest.er1 >conftest.err
82940 rm -f conftest.er1
82941 cat conftest.err >&5
82942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82943 (exit $ac_status); } >/dev/null; then
82944 if test -s conftest.err; then
82945 ac_cpp_err=$ac_c_preproc_warn_flag
82946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82947 else
82948 ac_cpp_err=
82949 fi
82950 else
82951 ac_cpp_err=yes
82952 fi
82953 if test -z "$ac_cpp_err"; then
82954 ac_header_preproc=yes
82955 else
82956 echo "$as_me: failed program was:" >&5
82957 sed 's/^/| /' conftest.$ac_ext >&5
82958
82959 ac_header_preproc=no
82960 fi
82961 rm -f conftest.err conftest.$ac_ext
82962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82963 echo "${ECHO_T}$ac_header_preproc" >&6
82964
82965 # So? What about this header?
82966 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82967 yes:no: )
82968 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
82969 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
82970 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
82971 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
82972 ac_header_preproc=yes
82973 ;;
82974 no:yes:* )
82975 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
82976 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
82977 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
82978 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
82979 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
82980 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
82981 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
82982 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
82983 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
82984 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
82985 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
82986 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
82987 (
82988 cat <<\_ASBOX
82989 ## ----------------------------------------- ##
82990 ## Report this to the package-unused lists. ##
82991 ## ----------------------------------------- ##
82992 _ASBOX
82993 ) |
82994 sed "s/^/$as_me: WARNING: /" >&2
82995 ;;
82996 esac
82997 echo "$as_me:$LINENO: checking for langinfo.h" >&5
82998 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
82999 if test "${ac_cv_header_langinfo_h+set}" = set; then
83000 echo $ECHO_N "(cached) $ECHO_C" >&6
83001 else
83002 ac_cv_header_langinfo_h=$ac_header_preproc
83003 fi
83004 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83005 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83006
83007 fi
83008 if test $ac_cv_header_langinfo_h = yes; then
83009 ac_has_langinfo_h=yes
83010 else
83011 ac_has_langinfo_h=no
83012 fi
83013
83014
83015
83016 # Check for existence of libiconv.a providing XPG2 wchar_t support.
83017 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83018 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83019 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83020 echo $ECHO_N "(cached) $ECHO_C" >&6
83021 else
83022 ac_check_lib_save_LIBS=$LIBS
83023 LIBS="-liconv $LIBS"
83024 if test x$gcc_no_link = xyes; then
83025 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83027 { (exit 1); exit 1; }; }
83028 fi
83029 cat >conftest.$ac_ext <<_ACEOF
83030 /* confdefs.h. */
83031 _ACEOF
83032 cat confdefs.h >>conftest.$ac_ext
83033 cat >>conftest.$ac_ext <<_ACEOF
83034 /* end confdefs.h. */
83035
83036 /* Override any gcc2 internal prototype to avoid an error. */
83037 #ifdef __cplusplus
83038 extern "C"
83039 #endif
83040 /* We use char because int might match the return type of a gcc2
83041 builtin and then its argument prototype would still apply. */
83042 char iconv ();
83043 int
83044 main ()
83045 {
83046 iconv ();
83047 ;
83048 return 0;
83049 }
83050 _ACEOF
83051 rm -f conftest.$ac_objext conftest$ac_exeext
83052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83053 (eval $ac_link) 2>conftest.er1
83054 ac_status=$?
83055 grep -v '^ *+' conftest.er1 >conftest.err
83056 rm -f conftest.er1
83057 cat conftest.err >&5
83058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83059 (exit $ac_status); } &&
83060 { ac_try='test -z "$ac_c_werror_flag"
83061 || test ! -s conftest.err'
83062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83063 (eval $ac_try) 2>&5
83064 ac_status=$?
83065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83066 (exit $ac_status); }; } &&
83067 { ac_try='test -s conftest$ac_exeext'
83068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83069 (eval $ac_try) 2>&5
83070 ac_status=$?
83071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83072 (exit $ac_status); }; }; then
83073 ac_cv_lib_iconv_iconv=yes
83074 else
83075 echo "$as_me: failed program was:" >&5
83076 sed 's/^/| /' conftest.$ac_ext >&5
83077
83078 ac_cv_lib_iconv_iconv=no
83079 fi
83080 rm -f conftest.err conftest.$ac_objext \
83081 conftest$ac_exeext conftest.$ac_ext
83082 LIBS=$ac_check_lib_save_LIBS
83083 fi
83084 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83085 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83086 if test $ac_cv_lib_iconv_iconv = yes; then
83087 LIBICONV="-liconv"
83088 fi
83089
83090 ac_save_LIBS="$LIBS"
83091 LIBS="$LIBS $LIBICONV"
83092
83093
83094
83095
83096
83097
83098 for ac_func in iconv_open iconv_close iconv nl_langinfo
83099 do
83100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83101 echo "$as_me:$LINENO: checking for $ac_func" >&5
83102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83103 if eval "test \"\${$as_ac_var+set}\" = set"; then
83104 echo $ECHO_N "(cached) $ECHO_C" >&6
83105 else
83106 if test x$gcc_no_link = xyes; then
83107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83109 { (exit 1); exit 1; }; }
83110 fi
83111 cat >conftest.$ac_ext <<_ACEOF
83112 /* confdefs.h. */
83113 _ACEOF
83114 cat confdefs.h >>conftest.$ac_ext
83115 cat >>conftest.$ac_ext <<_ACEOF
83116 /* end confdefs.h. */
83117 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83118 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83119 #define $ac_func innocuous_$ac_func
83120
83121 /* System header to define __stub macros and hopefully few prototypes,
83122 which can conflict with char $ac_func (); below.
83123 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83124 <limits.h> exists even on freestanding compilers. */
83125
83126 #ifdef __STDC__
83127 # include <limits.h>
83128 #else
83129 # include <assert.h>
83130 #endif
83131
83132 #undef $ac_func
83133
83134 /* Override any gcc2 internal prototype to avoid an error. */
83135 #ifdef __cplusplus
83136 extern "C"
83137 {
83138 #endif
83139 /* We use char because int might match the return type of a gcc2
83140 builtin and then its argument prototype would still apply. */
83141 char $ac_func ();
83142 /* The GNU C library defines this for functions which it implements
83143 to always fail with ENOSYS. Some functions are actually named
83144 something starting with __ and the normal name is an alias. */
83145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83146 choke me
83147 #else
83148 char (*f) () = $ac_func;
83149 #endif
83150 #ifdef __cplusplus
83151 }
83152 #endif
83153
83154 int
83155 main ()
83156 {
83157 return f != $ac_func;
83158 ;
83159 return 0;
83160 }
83161 _ACEOF
83162 rm -f conftest.$ac_objext conftest$ac_exeext
83163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83164 (eval $ac_link) 2>conftest.er1
83165 ac_status=$?
83166 grep -v '^ *+' conftest.er1 >conftest.err
83167 rm -f conftest.er1
83168 cat conftest.err >&5
83169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83170 (exit $ac_status); } &&
83171 { ac_try='test -z "$ac_c_werror_flag"
83172 || test ! -s conftest.err'
83173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83174 (eval $ac_try) 2>&5
83175 ac_status=$?
83176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83177 (exit $ac_status); }; } &&
83178 { ac_try='test -s conftest$ac_exeext'
83179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83180 (eval $ac_try) 2>&5
83181 ac_status=$?
83182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83183 (exit $ac_status); }; }; then
83184 eval "$as_ac_var=yes"
83185 else
83186 echo "$as_me: failed program was:" >&5
83187 sed 's/^/| /' conftest.$ac_ext >&5
83188
83189 eval "$as_ac_var=no"
83190 fi
83191 rm -f conftest.err conftest.$ac_objext \
83192 conftest$ac_exeext conftest.$ac_ext
83193 fi
83194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83195 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83196 if test `eval echo '${'$as_ac_var'}'` = yes; then
83197 cat >>confdefs.h <<_ACEOF
83198 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83199 _ACEOF
83200 ac_XPG2funcs=yes
83201 else
83202 ac_XPG2funcs=no
83203 fi
83204 done
83205
83206
83207 LIBS="$ac_save_LIBS"
83208
83209 if test x"$ac_has_iconv_h" = xyes &&
83210 test x"$ac_has_langinfo_h" = xyes &&
83211 test x"$ac_XPG2funcs" = xyes;
83212 then
83213
83214 cat >>confdefs.h <<\_ACEOF
83215 #define _GLIBCXX_USE_ICONV 1
83216 _ACEOF
83217
83218 enable_iconv=yes
83219 fi
83220 fi
83221 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
83222 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
83223 echo "$as_me:$LINENO: result: $enable_iconv" >&5
83224 echo "${ECHO_T}$enable_iconv" >&6
83225
83226
83227 # For showmanyc_helper().
83228
83229
83230 for ac_header in sys/ioctl.h sys/filio.h
83231 do
83232 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83233 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83234 echo "$as_me:$LINENO: checking for $ac_header" >&5
83235 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83236 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83237 echo $ECHO_N "(cached) $ECHO_C" >&6
83238 fi
83239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83241 else
83242 # Is the header compilable?
83243 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83244 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83245 cat >conftest.$ac_ext <<_ACEOF
83246 /* confdefs.h. */
83247 _ACEOF
83248 cat confdefs.h >>conftest.$ac_ext
83249 cat >>conftest.$ac_ext <<_ACEOF
83250 /* end confdefs.h. */
83251 $ac_includes_default
83252 #include <$ac_header>
83253 _ACEOF
83254 rm -f conftest.$ac_objext
83255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83256 (eval $ac_compile) 2>conftest.er1
83257 ac_status=$?
83258 grep -v '^ *+' conftest.er1 >conftest.err
83259 rm -f conftest.er1
83260 cat conftest.err >&5
83261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83262 (exit $ac_status); } &&
83263 { ac_try='test -z "$ac_c_werror_flag"
83264 || test ! -s conftest.err'
83265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83266 (eval $ac_try) 2>&5
83267 ac_status=$?
83268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83269 (exit $ac_status); }; } &&
83270 { ac_try='test -s conftest.$ac_objext'
83271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83272 (eval $ac_try) 2>&5
83273 ac_status=$?
83274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83275 (exit $ac_status); }; }; then
83276 ac_header_compiler=yes
83277 else
83278 echo "$as_me: failed program was:" >&5
83279 sed 's/^/| /' conftest.$ac_ext >&5
83280
83281 ac_header_compiler=no
83282 fi
83283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83284 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83285 echo "${ECHO_T}$ac_header_compiler" >&6
83286
83287 # Is the header present?
83288 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83289 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83290 cat >conftest.$ac_ext <<_ACEOF
83291 /* confdefs.h. */
83292 _ACEOF
83293 cat confdefs.h >>conftest.$ac_ext
83294 cat >>conftest.$ac_ext <<_ACEOF
83295 /* end confdefs.h. */
83296 #include <$ac_header>
83297 _ACEOF
83298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83300 ac_status=$?
83301 grep -v '^ *+' conftest.er1 >conftest.err
83302 rm -f conftest.er1
83303 cat conftest.err >&5
83304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83305 (exit $ac_status); } >/dev/null; then
83306 if test -s conftest.err; then
83307 ac_cpp_err=$ac_c_preproc_warn_flag
83308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83309 else
83310 ac_cpp_err=
83311 fi
83312 else
83313 ac_cpp_err=yes
83314 fi
83315 if test -z "$ac_cpp_err"; then
83316 ac_header_preproc=yes
83317 else
83318 echo "$as_me: failed program was:" >&5
83319 sed 's/^/| /' conftest.$ac_ext >&5
83320
83321 ac_header_preproc=no
83322 fi
83323 rm -f conftest.err conftest.$ac_ext
83324 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83325 echo "${ECHO_T}$ac_header_preproc" >&6
83326
83327 # So? What about this header?
83328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83329 yes:no: )
83330 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83331 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83333 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83334 ac_header_preproc=yes
83335 ;;
83336 no:yes:* )
83337 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83338 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83339 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83340 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83341 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83342 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83343 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83344 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83346 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83347 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83348 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83349 (
83350 cat <<\_ASBOX
83351 ## ----------------------------------------- ##
83352 ## Report this to the package-unused lists. ##
83353 ## ----------------------------------------- ##
83354 _ASBOX
83355 ) |
83356 sed "s/^/$as_me: WARNING: /" >&2
83357 ;;
83358 esac
83359 echo "$as_me:$LINENO: checking for $ac_header" >&5
83360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83362 echo $ECHO_N "(cached) $ECHO_C" >&6
83363 else
83364 eval "$as_ac_Header=\$ac_header_preproc"
83365 fi
83366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83368
83369 fi
83370 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83371 cat >>confdefs.h <<_ACEOF
83372 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83373 _ACEOF
83374
83375 fi
83376
83377 done
83378
83379
83380 echo "$as_me:$LINENO: checking for poll" >&5
83381 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83382 if test "${glibcxx_cv_POLL+set}" = set; then
83383 echo $ECHO_N "(cached) $ECHO_C" >&6
83384 else
83385
83386 if test x$gcc_no_link = xyes; then
83387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83389 { (exit 1); exit 1; }; }
83390 fi
83391 cat >conftest.$ac_ext <<_ACEOF
83392 /* confdefs.h. */
83393 _ACEOF
83394 cat confdefs.h >>conftest.$ac_ext
83395 cat >>conftest.$ac_ext <<_ACEOF
83396 /* end confdefs.h. */
83397 #include <poll.h>
83398 int
83399 main ()
83400 {
83401 struct pollfd pfd[1];
83402 pfd[0].events = POLLIN;
83403 poll(pfd, 1, 0);
83404 ;
83405 return 0;
83406 }
83407 _ACEOF
83408 rm -f conftest.$ac_objext conftest$ac_exeext
83409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83410 (eval $ac_link) 2>conftest.er1
83411 ac_status=$?
83412 grep -v '^ *+' conftest.er1 >conftest.err
83413 rm -f conftest.er1
83414 cat conftest.err >&5
83415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83416 (exit $ac_status); } &&
83417 { ac_try='test -z "$ac_c_werror_flag"
83418 || test ! -s conftest.err'
83419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83420 (eval $ac_try) 2>&5
83421 ac_status=$?
83422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83423 (exit $ac_status); }; } &&
83424 { ac_try='test -s conftest$ac_exeext'
83425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83426 (eval $ac_try) 2>&5
83427 ac_status=$?
83428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83429 (exit $ac_status); }; }; then
83430 glibcxx_cv_POLL=yes
83431 else
83432 echo "$as_me: failed program was:" >&5
83433 sed 's/^/| /' conftest.$ac_ext >&5
83434
83435 glibcxx_cv_POLL=no
83436 fi
83437 rm -f conftest.err conftest.$ac_objext \
83438 conftest$ac_exeext conftest.$ac_ext
83439
83440 fi
83441
83442 if test $glibcxx_cv_POLL = yes; then
83443
83444 cat >>confdefs.h <<\_ACEOF
83445 #define HAVE_POLL 1
83446 _ACEOF
83447
83448 fi
83449 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83450 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83451
83452
83453 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83454 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83455 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83456 echo $ECHO_N "(cached) $ECHO_C" >&6
83457 else
83458
83459 if test x$gcc_no_link = xyes; then
83460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83462 { (exit 1); exit 1; }; }
83463 fi
83464 cat >conftest.$ac_ext <<_ACEOF
83465 /* confdefs.h. */
83466 _ACEOF
83467 cat confdefs.h >>conftest.$ac_ext
83468 cat >>conftest.$ac_ext <<_ACEOF
83469 /* end confdefs.h. */
83470 #include <sys/stat.h>
83471 int
83472 main ()
83473 {
83474 struct stat buffer;
83475 fstat(0, &buffer);
83476 S_ISREG(buffer.st_mode);
83477 ;
83478 return 0;
83479 }
83480 _ACEOF
83481 rm -f conftest.$ac_objext conftest$ac_exeext
83482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83483 (eval $ac_link) 2>conftest.er1
83484 ac_status=$?
83485 grep -v '^ *+' conftest.er1 >conftest.err
83486 rm -f conftest.er1
83487 cat conftest.err >&5
83488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83489 (exit $ac_status); } &&
83490 { ac_try='test -z "$ac_c_werror_flag"
83491 || test ! -s conftest.err'
83492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83493 (eval $ac_try) 2>&5
83494 ac_status=$?
83495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83496 (exit $ac_status); }; } &&
83497 { ac_try='test -s conftest$ac_exeext'
83498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83499 (eval $ac_try) 2>&5
83500 ac_status=$?
83501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83502 (exit $ac_status); }; }; then
83503 glibcxx_cv_S_ISREG=yes
83504 else
83505 echo "$as_me: failed program was:" >&5
83506 sed 's/^/| /' conftest.$ac_ext >&5
83507
83508 glibcxx_cv_S_ISREG=no
83509 fi
83510 rm -f conftest.err conftest.$ac_objext \
83511 conftest$ac_exeext conftest.$ac_ext
83512
83513 fi
83514
83515 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83516 echo $ECHO_N "(cached) $ECHO_C" >&6
83517 else
83518
83519 if test x$gcc_no_link = xyes; then
83520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83522 { (exit 1); exit 1; }; }
83523 fi
83524 cat >conftest.$ac_ext <<_ACEOF
83525 /* confdefs.h. */
83526 _ACEOF
83527 cat confdefs.h >>conftest.$ac_ext
83528 cat >>conftest.$ac_ext <<_ACEOF
83529 /* end confdefs.h. */
83530 #include <sys/stat.h>
83531 int
83532 main ()
83533 {
83534 struct stat buffer;
83535 fstat(0, &buffer);
83536 S_IFREG & buffer.st_mode;
83537 ;
83538 return 0;
83539 }
83540 _ACEOF
83541 rm -f conftest.$ac_objext conftest$ac_exeext
83542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83543 (eval $ac_link) 2>conftest.er1
83544 ac_status=$?
83545 grep -v '^ *+' conftest.er1 >conftest.err
83546 rm -f conftest.er1
83547 cat conftest.err >&5
83548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83549 (exit $ac_status); } &&
83550 { ac_try='test -z "$ac_c_werror_flag"
83551 || test ! -s conftest.err'
83552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83553 (eval $ac_try) 2>&5
83554 ac_status=$?
83555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83556 (exit $ac_status); }; } &&
83557 { ac_try='test -s conftest$ac_exeext'
83558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83559 (eval $ac_try) 2>&5
83560 ac_status=$?
83561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83562 (exit $ac_status); }; }; then
83563 glibcxx_cv_S_IFREG=yes
83564 else
83565 echo "$as_me: failed program was:" >&5
83566 sed 's/^/| /' conftest.$ac_ext >&5
83567
83568 glibcxx_cv_S_IFREG=no
83569 fi
83570 rm -f conftest.err conftest.$ac_objext \
83571 conftest$ac_exeext conftest.$ac_ext
83572
83573 fi
83574
83575 res=no
83576 if test $glibcxx_cv_S_ISREG = yes; then
83577
83578 cat >>confdefs.h <<\_ACEOF
83579 #define HAVE_S_ISREG 1
83580 _ACEOF
83581
83582 res=S_ISREG
83583 elif test $glibcxx_cv_S_IFREG = yes; then
83584
83585 cat >>confdefs.h <<\_ACEOF
83586 #define HAVE_S_IFREG 1
83587 _ACEOF
83588
83589 res=S_IFREG
83590 fi
83591 echo "$as_me:$LINENO: result: $res" >&5
83592 echo "${ECHO_T}$res" >&6
83593
83594
83595 # For xsputn_2().
83596
83597 for ac_header in sys/uio.h
83598 do
83599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83601 echo "$as_me:$LINENO: checking for $ac_header" >&5
83602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83604 echo $ECHO_N "(cached) $ECHO_C" >&6
83605 fi
83606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83608 else
83609 # Is the header compilable?
83610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83612 cat >conftest.$ac_ext <<_ACEOF
83613 /* confdefs.h. */
83614 _ACEOF
83615 cat confdefs.h >>conftest.$ac_ext
83616 cat >>conftest.$ac_ext <<_ACEOF
83617 /* end confdefs.h. */
83618 $ac_includes_default
83619 #include <$ac_header>
83620 _ACEOF
83621 rm -f conftest.$ac_objext
83622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83623 (eval $ac_compile) 2>conftest.er1
83624 ac_status=$?
83625 grep -v '^ *+' conftest.er1 >conftest.err
83626 rm -f conftest.er1
83627 cat conftest.err >&5
83628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83629 (exit $ac_status); } &&
83630 { ac_try='test -z "$ac_c_werror_flag"
83631 || test ! -s conftest.err'
83632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83633 (eval $ac_try) 2>&5
83634 ac_status=$?
83635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83636 (exit $ac_status); }; } &&
83637 { ac_try='test -s conftest.$ac_objext'
83638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83639 (eval $ac_try) 2>&5
83640 ac_status=$?
83641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83642 (exit $ac_status); }; }; then
83643 ac_header_compiler=yes
83644 else
83645 echo "$as_me: failed program was:" >&5
83646 sed 's/^/| /' conftest.$ac_ext >&5
83647
83648 ac_header_compiler=no
83649 fi
83650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83652 echo "${ECHO_T}$ac_header_compiler" >&6
83653
83654 # Is the header present?
83655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83657 cat >conftest.$ac_ext <<_ACEOF
83658 /* confdefs.h. */
83659 _ACEOF
83660 cat confdefs.h >>conftest.$ac_ext
83661 cat >>conftest.$ac_ext <<_ACEOF
83662 /* end confdefs.h. */
83663 #include <$ac_header>
83664 _ACEOF
83665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83666 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83667 ac_status=$?
83668 grep -v '^ *+' conftest.er1 >conftest.err
83669 rm -f conftest.er1
83670 cat conftest.err >&5
83671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83672 (exit $ac_status); } >/dev/null; then
83673 if test -s conftest.err; then
83674 ac_cpp_err=$ac_c_preproc_warn_flag
83675 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83676 else
83677 ac_cpp_err=
83678 fi
83679 else
83680 ac_cpp_err=yes
83681 fi
83682 if test -z "$ac_cpp_err"; then
83683 ac_header_preproc=yes
83684 else
83685 echo "$as_me: failed program was:" >&5
83686 sed 's/^/| /' conftest.$ac_ext >&5
83687
83688 ac_header_preproc=no
83689 fi
83690 rm -f conftest.err conftest.$ac_ext
83691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83692 echo "${ECHO_T}$ac_header_preproc" >&6
83693
83694 # So? What about this header?
83695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83696 yes:no: )
83697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83701 ac_header_preproc=yes
83702 ;;
83703 no:yes:* )
83704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83716 (
83717 cat <<\_ASBOX
83718 ## ----------------------------------------- ##
83719 ## Report this to the package-unused lists. ##
83720 ## ----------------------------------------- ##
83721 _ASBOX
83722 ) |
83723 sed "s/^/$as_me: WARNING: /" >&2
83724 ;;
83725 esac
83726 echo "$as_me:$LINENO: checking for $ac_header" >&5
83727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83729 echo $ECHO_N "(cached) $ECHO_C" >&6
83730 else
83731 eval "$as_ac_Header=\$ac_header_preproc"
83732 fi
83733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83735
83736 fi
83737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83738 cat >>confdefs.h <<_ACEOF
83739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83740 _ACEOF
83741
83742 fi
83743
83744 done
83745
83746
83747 echo "$as_me:$LINENO: checking for writev" >&5
83748 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83749 if test "${glibcxx_cv_WRITEV+set}" = set; then
83750 echo $ECHO_N "(cached) $ECHO_C" >&6
83751 else
83752
83753 if test x$gcc_no_link = xyes; then
83754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83756 { (exit 1); exit 1; }; }
83757 fi
83758 cat >conftest.$ac_ext <<_ACEOF
83759 /* confdefs.h. */
83760 _ACEOF
83761 cat confdefs.h >>conftest.$ac_ext
83762 cat >>conftest.$ac_ext <<_ACEOF
83763 /* end confdefs.h. */
83764 #include <sys/uio.h>
83765 int
83766 main ()
83767 {
83768 struct iovec iov[2];
83769 writev(0, iov, 0);
83770 ;
83771 return 0;
83772 }
83773 _ACEOF
83774 rm -f conftest.$ac_objext conftest$ac_exeext
83775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83776 (eval $ac_link) 2>conftest.er1
83777 ac_status=$?
83778 grep -v '^ *+' conftest.er1 >conftest.err
83779 rm -f conftest.er1
83780 cat conftest.err >&5
83781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83782 (exit $ac_status); } &&
83783 { ac_try='test -z "$ac_c_werror_flag"
83784 || test ! -s conftest.err'
83785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83786 (eval $ac_try) 2>&5
83787 ac_status=$?
83788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83789 (exit $ac_status); }; } &&
83790 { ac_try='test -s conftest$ac_exeext'
83791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83792 (eval $ac_try) 2>&5
83793 ac_status=$?
83794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83795 (exit $ac_status); }; }; then
83796 glibcxx_cv_WRITEV=yes
83797 else
83798 echo "$as_me: failed program was:" >&5
83799 sed 's/^/| /' conftest.$ac_ext >&5
83800
83801 glibcxx_cv_WRITEV=no
83802 fi
83803 rm -f conftest.err conftest.$ac_objext \
83804 conftest$ac_exeext conftest.$ac_ext
83805
83806 fi
83807
83808 if test $glibcxx_cv_WRITEV = yes; then
83809
83810 cat >>confdefs.h <<\_ACEOF
83811 #define HAVE_WRITEV 1
83812 _ACEOF
83813
83814 fi
83815 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
83816 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
83817
83818 ;;
83819 *-qnx6.1* | *-qnx6.2*)
83820 SECTION_FLAGS='-ffunction-sections -fdata-sections'
83821
83822
83823 # If we're not using GNU ld, then there's no point in even trying these
83824 # tests. Check for that first. We should have already tested for gld
83825 # by now (in libtool), but require it now just to be safe...
83826 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
83827 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
83828
83829
83830
83831 # The name set by libtool depends on the version of libtool. Shame on us
83832 # for depending on an impl detail, but c'est la vie. Older versions used
83833 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
83834 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
83835 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
83836 # set (hence we're using an older libtool), then set it.
83837 if test x${with_gnu_ld+set} != xset; then
83838 if test x${ac_cv_prog_gnu_ld+set} != xset; then
83839 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
83840 with_gnu_ld=no
83841 else
83842 with_gnu_ld=$ac_cv_prog_gnu_ld
83843 fi
83844 fi
83845
83846 # Start by getting the version number. I think the libtool test already
83847 # does some of this, but throws away the result.
83848
83849 ldver=`$LD --version 2>/dev/null | head -1 | \
83850 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
83851
83852 glibcxx_gnu_ld_version=`echo $ldver | \
83853 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
83854
83855 # Set --gc-sections.
83856 if test "$with_gnu_ld" = "notbroken"; then
83857 # GNU ld it is! Joy and bunny rabbits!
83858
83859 # All these tests are for C++; save the language and the compiler flags.
83860 # Need to do this so that g++ won't try to link in libstdc++
83861 ac_test_CFLAGS="${CFLAGS+set}"
83862 ac_save_CFLAGS="$CFLAGS"
83863 CFLAGS='-x c++ -Wl,--gc-sections'
83864
83865 # Check for -Wl,--gc-sections
83866 # XXX This test is broken at the moment, as symbols required for linking
83867 # are now in libsupc++ (not built yet). In addition, this test has
83868 # cored on solaris in the past. In addition, --gc-sections doesn't
83869 # really work at the moment (keeps on discarding used sections, first
83870 # .eh_frame and now some of the glibc sections for iconv).
83871 # Bzzzzt. Thanks for playing, maybe next time.
83872 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
83873 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
83874 if test "$cross_compiling" = yes; then
83875 ac_sectionLDflags=yes
83876 else
83877 cat >conftest.$ac_ext <<_ACEOF
83878 /* confdefs.h. */
83879 _ACEOF
83880 cat confdefs.h >>conftest.$ac_ext
83881 cat >>conftest.$ac_ext <<_ACEOF
83882 /* end confdefs.h. */
83883
83884 int main(void)
83885 {
83886 try { throw 1; }
83887 catch (...) { };
83888 return 0;
83889 }
83890
83891 _ACEOF
83892 rm -f conftest$ac_exeext
83893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83894 (eval $ac_link) 2>&5
83895 ac_status=$?
83896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
83898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83899 (eval $ac_try) 2>&5
83900 ac_status=$?
83901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83902 (exit $ac_status); }; }; then
83903 ac_sectionLDflags=yes
83904 else
83905 echo "$as_me: program exited with status $ac_status" >&5
83906 echo "$as_me: failed program was:" >&5
83907 sed 's/^/| /' conftest.$ac_ext >&5
83908
83909 ( exit $ac_status )
83910 ac_sectionLDflags=no
83911 fi
83912 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
83913 fi
83914 if test "$ac_test_CFLAGS" = set; then
83915 CFLAGS="$ac_save_CFLAGS"
83916 else
83917 # this is the suspicious part
83918 CFLAGS=''
83919 fi
83920 if test "$ac_sectionLDflags" = "yes"; then
83921 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
83922 fi
83923 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
83924 echo "${ECHO_T}$ac_sectionLDflags" >&6
83925 fi
83926
83927 # Set -z,relro.
83928 # Note this is only for shared objects
83929 ac_ld_relro=no
83930 if test x"$with_gnu_ld" = x"yes"; then
83931 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
83932 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
83933 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
83934 if test -n "$cxx_z_relo"; then
83935 OPT_LDFLAGS="-Wl,-z,relro"
83936 ac_ld_relro=yes
83937 fi
83938 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
83939 echo "${ECHO_T}$ac_ld_relro" >&6
83940 fi
83941
83942 # Set linker optimization flags.
83943 if test x"$with_gnu_ld" = x"yes"; then
83944 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
83945 fi
83946
83947
83948
83949
83950
83951
83952 echo "$as_me:$LINENO: checking for main in -lm" >&5
83953 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83954 if test "${ac_cv_lib_m_main+set}" = set; then
83955 echo $ECHO_N "(cached) $ECHO_C" >&6
83956 else
83957 ac_check_lib_save_LIBS=$LIBS
83958 LIBS="-lm $LIBS"
83959 if test x$gcc_no_link = xyes; then
83960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83962 { (exit 1); exit 1; }; }
83963 fi
83964 cat >conftest.$ac_ext <<_ACEOF
83965 /* confdefs.h. */
83966 _ACEOF
83967 cat confdefs.h >>conftest.$ac_ext
83968 cat >>conftest.$ac_ext <<_ACEOF
83969 /* end confdefs.h. */
83970
83971
83972 int
83973 main ()
83974 {
83975 main ();
83976 ;
83977 return 0;
83978 }
83979 _ACEOF
83980 rm -f conftest.$ac_objext conftest$ac_exeext
83981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83982 (eval $ac_link) 2>conftest.er1
83983 ac_status=$?
83984 grep -v '^ *+' conftest.er1 >conftest.err
83985 rm -f conftest.er1
83986 cat conftest.err >&5
83987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83988 (exit $ac_status); } &&
83989 { ac_try='test -z "$ac_c_werror_flag"
83990 || test ! -s conftest.err'
83991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83992 (eval $ac_try) 2>&5
83993 ac_status=$?
83994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83995 (exit $ac_status); }; } &&
83996 { ac_try='test -s conftest$ac_exeext'
83997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83998 (eval $ac_try) 2>&5
83999 ac_status=$?
84000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84001 (exit $ac_status); }; }; then
84002 ac_cv_lib_m_main=yes
84003 else
84004 echo "$as_me: failed program was:" >&5
84005 sed 's/^/| /' conftest.$ac_ext >&5
84006
84007 ac_cv_lib_m_main=no
84008 fi
84009 rm -f conftest.err conftest.$ac_objext \
84010 conftest$ac_exeext conftest.$ac_ext
84011 LIBS=$ac_check_lib_save_LIBS
84012 fi
84013 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84014 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84015 if test $ac_cv_lib_m_main = yes; then
84016 cat >>confdefs.h <<_ACEOF
84017 #define HAVE_LIBM 1
84018 _ACEOF
84019
84020 LIBS="-lm $LIBS"
84021
84022 fi
84023
84024
84025 for ac_func in copysignf
84026 do
84027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84028 echo "$as_me:$LINENO: checking for $ac_func" >&5
84029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84030 if eval "test \"\${$as_ac_var+set}\" = set"; then
84031 echo $ECHO_N "(cached) $ECHO_C" >&6
84032 else
84033 if test x$gcc_no_link = xyes; then
84034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84036 { (exit 1); exit 1; }; }
84037 fi
84038 cat >conftest.$ac_ext <<_ACEOF
84039 /* confdefs.h. */
84040 _ACEOF
84041 cat confdefs.h >>conftest.$ac_ext
84042 cat >>conftest.$ac_ext <<_ACEOF
84043 /* end confdefs.h. */
84044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84046 #define $ac_func innocuous_$ac_func
84047
84048 /* System header to define __stub macros and hopefully few prototypes,
84049 which can conflict with char $ac_func (); below.
84050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84051 <limits.h> exists even on freestanding compilers. */
84052
84053 #ifdef __STDC__
84054 # include <limits.h>
84055 #else
84056 # include <assert.h>
84057 #endif
84058
84059 #undef $ac_func
84060
84061 /* Override any gcc2 internal prototype to avoid an error. */
84062 #ifdef __cplusplus
84063 extern "C"
84064 {
84065 #endif
84066 /* We use char because int might match the return type of a gcc2
84067 builtin and then its argument prototype would still apply. */
84068 char $ac_func ();
84069 /* The GNU C library defines this for functions which it implements
84070 to always fail with ENOSYS. Some functions are actually named
84071 something starting with __ and the normal name is an alias. */
84072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84073 choke me
84074 #else
84075 char (*f) () = $ac_func;
84076 #endif
84077 #ifdef __cplusplus
84078 }
84079 #endif
84080
84081 int
84082 main ()
84083 {
84084 return f != $ac_func;
84085 ;
84086 return 0;
84087 }
84088 _ACEOF
84089 rm -f conftest.$ac_objext conftest$ac_exeext
84090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84091 (eval $ac_link) 2>conftest.er1
84092 ac_status=$?
84093 grep -v '^ *+' conftest.er1 >conftest.err
84094 rm -f conftest.er1
84095 cat conftest.err >&5
84096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84097 (exit $ac_status); } &&
84098 { ac_try='test -z "$ac_c_werror_flag"
84099 || test ! -s conftest.err'
84100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84101 (eval $ac_try) 2>&5
84102 ac_status=$?
84103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84104 (exit $ac_status); }; } &&
84105 { ac_try='test -s conftest$ac_exeext'
84106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84107 (eval $ac_try) 2>&5
84108 ac_status=$?
84109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84110 (exit $ac_status); }; }; then
84111 eval "$as_ac_var=yes"
84112 else
84113 echo "$as_me: failed program was:" >&5
84114 sed 's/^/| /' conftest.$ac_ext >&5
84115
84116 eval "$as_ac_var=no"
84117 fi
84118 rm -f conftest.err conftest.$ac_objext \
84119 conftest$ac_exeext conftest.$ac_ext
84120 fi
84121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84123 if test `eval echo '${'$as_ac_var'}'` = yes; then
84124 cat >>confdefs.h <<_ACEOF
84125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84126 _ACEOF
84127
84128 else
84129 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84130 fi
84131 done
84132
84133
84134
84135 for ac_func in __signbit
84136 do
84137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84138 echo "$as_me:$LINENO: checking for $ac_func" >&5
84139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84140 if eval "test \"\${$as_ac_var+set}\" = set"; then
84141 echo $ECHO_N "(cached) $ECHO_C" >&6
84142 else
84143 if test x$gcc_no_link = xyes; then
84144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84146 { (exit 1); exit 1; }; }
84147 fi
84148 cat >conftest.$ac_ext <<_ACEOF
84149 /* confdefs.h. */
84150 _ACEOF
84151 cat confdefs.h >>conftest.$ac_ext
84152 cat >>conftest.$ac_ext <<_ACEOF
84153 /* end confdefs.h. */
84154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84156 #define $ac_func innocuous_$ac_func
84157
84158 /* System header to define __stub macros and hopefully few prototypes,
84159 which can conflict with char $ac_func (); below.
84160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84161 <limits.h> exists even on freestanding compilers. */
84162
84163 #ifdef __STDC__
84164 # include <limits.h>
84165 #else
84166 # include <assert.h>
84167 #endif
84168
84169 #undef $ac_func
84170
84171 /* Override any gcc2 internal prototype to avoid an error. */
84172 #ifdef __cplusplus
84173 extern "C"
84174 {
84175 #endif
84176 /* We use char because int might match the return type of a gcc2
84177 builtin and then its argument prototype would still apply. */
84178 char $ac_func ();
84179 /* The GNU C library defines this for functions which it implements
84180 to always fail with ENOSYS. Some functions are actually named
84181 something starting with __ and the normal name is an alias. */
84182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84183 choke me
84184 #else
84185 char (*f) () = $ac_func;
84186 #endif
84187 #ifdef __cplusplus
84188 }
84189 #endif
84190
84191 int
84192 main ()
84193 {
84194 return f != $ac_func;
84195 ;
84196 return 0;
84197 }
84198 _ACEOF
84199 rm -f conftest.$ac_objext conftest$ac_exeext
84200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84201 (eval $ac_link) 2>conftest.er1
84202 ac_status=$?
84203 grep -v '^ *+' conftest.er1 >conftest.err
84204 rm -f conftest.er1
84205 cat conftest.err >&5
84206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84207 (exit $ac_status); } &&
84208 { ac_try='test -z "$ac_c_werror_flag"
84209 || test ! -s conftest.err'
84210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84211 (eval $ac_try) 2>&5
84212 ac_status=$?
84213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84214 (exit $ac_status); }; } &&
84215 { ac_try='test -s conftest$ac_exeext'
84216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84217 (eval $ac_try) 2>&5
84218 ac_status=$?
84219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84220 (exit $ac_status); }; }; then
84221 eval "$as_ac_var=yes"
84222 else
84223 echo "$as_me: failed program was:" >&5
84224 sed 's/^/| /' conftest.$ac_ext >&5
84225
84226 eval "$as_ac_var=no"
84227 fi
84228 rm -f conftest.err conftest.$ac_objext \
84229 conftest$ac_exeext conftest.$ac_ext
84230 fi
84231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84233 if test `eval echo '${'$as_ac_var'}'` = yes; then
84234 cat >>confdefs.h <<_ACEOF
84235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84236 _ACEOF
84237
84238 else
84239 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84240 fi
84241 done
84242
84243
84244
84245 for ac_func in __signbitf
84246 do
84247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84248 echo "$as_me:$LINENO: checking for $ac_func" >&5
84249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84250 if eval "test \"\${$as_ac_var+set}\" = set"; then
84251 echo $ECHO_N "(cached) $ECHO_C" >&6
84252 else
84253 if test x$gcc_no_link = xyes; then
84254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84256 { (exit 1); exit 1; }; }
84257 fi
84258 cat >conftest.$ac_ext <<_ACEOF
84259 /* confdefs.h. */
84260 _ACEOF
84261 cat confdefs.h >>conftest.$ac_ext
84262 cat >>conftest.$ac_ext <<_ACEOF
84263 /* end confdefs.h. */
84264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84266 #define $ac_func innocuous_$ac_func
84267
84268 /* System header to define __stub macros and hopefully few prototypes,
84269 which can conflict with char $ac_func (); below.
84270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84271 <limits.h> exists even on freestanding compilers. */
84272
84273 #ifdef __STDC__
84274 # include <limits.h>
84275 #else
84276 # include <assert.h>
84277 #endif
84278
84279 #undef $ac_func
84280
84281 /* Override any gcc2 internal prototype to avoid an error. */
84282 #ifdef __cplusplus
84283 extern "C"
84284 {
84285 #endif
84286 /* We use char because int might match the return type of a gcc2
84287 builtin and then its argument prototype would still apply. */
84288 char $ac_func ();
84289 /* The GNU C library defines this for functions which it implements
84290 to always fail with ENOSYS. Some functions are actually named
84291 something starting with __ and the normal name is an alias. */
84292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84293 choke me
84294 #else
84295 char (*f) () = $ac_func;
84296 #endif
84297 #ifdef __cplusplus
84298 }
84299 #endif
84300
84301 int
84302 main ()
84303 {
84304 return f != $ac_func;
84305 ;
84306 return 0;
84307 }
84308 _ACEOF
84309 rm -f conftest.$ac_objext conftest$ac_exeext
84310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84311 (eval $ac_link) 2>conftest.er1
84312 ac_status=$?
84313 grep -v '^ *+' conftest.er1 >conftest.err
84314 rm -f conftest.er1
84315 cat conftest.err >&5
84316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84317 (exit $ac_status); } &&
84318 { ac_try='test -z "$ac_c_werror_flag"
84319 || test ! -s conftest.err'
84320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84321 (eval $ac_try) 2>&5
84322 ac_status=$?
84323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84324 (exit $ac_status); }; } &&
84325 { ac_try='test -s conftest$ac_exeext'
84326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84327 (eval $ac_try) 2>&5
84328 ac_status=$?
84329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84330 (exit $ac_status); }; }; then
84331 eval "$as_ac_var=yes"
84332 else
84333 echo "$as_me: failed program was:" >&5
84334 sed 's/^/| /' conftest.$ac_ext >&5
84335
84336 eval "$as_ac_var=no"
84337 fi
84338 rm -f conftest.err conftest.$ac_objext \
84339 conftest$ac_exeext conftest.$ac_ext
84340 fi
84341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84343 if test `eval echo '${'$as_ac_var'}'` = yes; then
84344 cat >>confdefs.h <<_ACEOF
84345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84346 _ACEOF
84347
84348 else
84349 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84350 fi
84351 done
84352
84353
84354 if test x$ac_cv_func_copysignl = x"yes"; then
84355
84356 for ac_func in __signbitl
84357 do
84358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84359 echo "$as_me:$LINENO: checking for $ac_func" >&5
84360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84361 if eval "test \"\${$as_ac_var+set}\" = set"; then
84362 echo $ECHO_N "(cached) $ECHO_C" >&6
84363 else
84364 if test x$gcc_no_link = xyes; then
84365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84367 { (exit 1); exit 1; }; }
84368 fi
84369 cat >conftest.$ac_ext <<_ACEOF
84370 /* confdefs.h. */
84371 _ACEOF
84372 cat confdefs.h >>conftest.$ac_ext
84373 cat >>conftest.$ac_ext <<_ACEOF
84374 /* end confdefs.h. */
84375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84377 #define $ac_func innocuous_$ac_func
84378
84379 /* System header to define __stub macros and hopefully few prototypes,
84380 which can conflict with char $ac_func (); below.
84381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84382 <limits.h> exists even on freestanding compilers. */
84383
84384 #ifdef __STDC__
84385 # include <limits.h>
84386 #else
84387 # include <assert.h>
84388 #endif
84389
84390 #undef $ac_func
84391
84392 /* Override any gcc2 internal prototype to avoid an error. */
84393 #ifdef __cplusplus
84394 extern "C"
84395 {
84396 #endif
84397 /* We use char because int might match the return type of a gcc2
84398 builtin and then its argument prototype would still apply. */
84399 char $ac_func ();
84400 /* The GNU C library defines this for functions which it implements
84401 to always fail with ENOSYS. Some functions are actually named
84402 something starting with __ and the normal name is an alias. */
84403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84404 choke me
84405 #else
84406 char (*f) () = $ac_func;
84407 #endif
84408 #ifdef __cplusplus
84409 }
84410 #endif
84411
84412 int
84413 main ()
84414 {
84415 return f != $ac_func;
84416 ;
84417 return 0;
84418 }
84419 _ACEOF
84420 rm -f conftest.$ac_objext conftest$ac_exeext
84421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84422 (eval $ac_link) 2>conftest.er1
84423 ac_status=$?
84424 grep -v '^ *+' conftest.er1 >conftest.err
84425 rm -f conftest.er1
84426 cat conftest.err >&5
84427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84428 (exit $ac_status); } &&
84429 { ac_try='test -z "$ac_c_werror_flag"
84430 || test ! -s conftest.err'
84431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84432 (eval $ac_try) 2>&5
84433 ac_status=$?
84434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84435 (exit $ac_status); }; } &&
84436 { ac_try='test -s conftest$ac_exeext'
84437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84438 (eval $ac_try) 2>&5
84439 ac_status=$?
84440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84441 (exit $ac_status); }; }; then
84442 eval "$as_ac_var=yes"
84443 else
84444 echo "$as_me: failed program was:" >&5
84445 sed 's/^/| /' conftest.$ac_ext >&5
84446
84447 eval "$as_ac_var=no"
84448 fi
84449 rm -f conftest.err conftest.$ac_objext \
84450 conftest$ac_exeext conftest.$ac_ext
84451 fi
84452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84454 if test `eval echo '${'$as_ac_var'}'` = yes; then
84455 cat >>confdefs.h <<_ACEOF
84456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84457 _ACEOF
84458
84459 else
84460 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84461 fi
84462 done
84463
84464 fi
84465
84466 # Used in libmath/Makefile.am.
84467 if test -n "$LIBMATHOBJS"; then
84468 need_libmath=yes
84469 fi
84470
84471
84472
84473
84474 enable_iconv=no
84475 # Only continue checking if the ISO C99 headers exist and support is on.
84476 if test x"$enable_wchar_t" = xyes; then
84477
84478 # Use iconv for wchar_t to char conversions. As such, check for
84479 # X/Open Portability Guide, version 2 features (XPG2).
84480 if test "${ac_cv_header_iconv_h+set}" = set; then
84481 echo "$as_me:$LINENO: checking for iconv.h" >&5
84482 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84483 if test "${ac_cv_header_iconv_h+set}" = set; then
84484 echo $ECHO_N "(cached) $ECHO_C" >&6
84485 fi
84486 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84487 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84488 else
84489 # Is the header compilable?
84490 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84491 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84492 cat >conftest.$ac_ext <<_ACEOF
84493 /* confdefs.h. */
84494 _ACEOF
84495 cat confdefs.h >>conftest.$ac_ext
84496 cat >>conftest.$ac_ext <<_ACEOF
84497 /* end confdefs.h. */
84498 $ac_includes_default
84499 #include <iconv.h>
84500 _ACEOF
84501 rm -f conftest.$ac_objext
84502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84503 (eval $ac_compile) 2>conftest.er1
84504 ac_status=$?
84505 grep -v '^ *+' conftest.er1 >conftest.err
84506 rm -f conftest.er1
84507 cat conftest.err >&5
84508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84509 (exit $ac_status); } &&
84510 { ac_try='test -z "$ac_c_werror_flag"
84511 || test ! -s conftest.err'
84512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84513 (eval $ac_try) 2>&5
84514 ac_status=$?
84515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84516 (exit $ac_status); }; } &&
84517 { ac_try='test -s conftest.$ac_objext'
84518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84519 (eval $ac_try) 2>&5
84520 ac_status=$?
84521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84522 (exit $ac_status); }; }; then
84523 ac_header_compiler=yes
84524 else
84525 echo "$as_me: failed program was:" >&5
84526 sed 's/^/| /' conftest.$ac_ext >&5
84527
84528 ac_header_compiler=no
84529 fi
84530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84532 echo "${ECHO_T}$ac_header_compiler" >&6
84533
84534 # Is the header present?
84535 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84536 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84537 cat >conftest.$ac_ext <<_ACEOF
84538 /* confdefs.h. */
84539 _ACEOF
84540 cat confdefs.h >>conftest.$ac_ext
84541 cat >>conftest.$ac_ext <<_ACEOF
84542 /* end confdefs.h. */
84543 #include <iconv.h>
84544 _ACEOF
84545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84546 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84547 ac_status=$?
84548 grep -v '^ *+' conftest.er1 >conftest.err
84549 rm -f conftest.er1
84550 cat conftest.err >&5
84551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84552 (exit $ac_status); } >/dev/null; then
84553 if test -s conftest.err; then
84554 ac_cpp_err=$ac_c_preproc_warn_flag
84555 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84556 else
84557 ac_cpp_err=
84558 fi
84559 else
84560 ac_cpp_err=yes
84561 fi
84562 if test -z "$ac_cpp_err"; then
84563 ac_header_preproc=yes
84564 else
84565 echo "$as_me: failed program was:" >&5
84566 sed 's/^/| /' conftest.$ac_ext >&5
84567
84568 ac_header_preproc=no
84569 fi
84570 rm -f conftest.err conftest.$ac_ext
84571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84572 echo "${ECHO_T}$ac_header_preproc" >&6
84573
84574 # So? What about this header?
84575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84576 yes:no: )
84577 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84578 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84579 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84580 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84581 ac_header_preproc=yes
84582 ;;
84583 no:yes:* )
84584 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84585 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84586 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84587 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84588 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84589 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84590 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84591 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84592 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84593 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84594 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84595 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84596 (
84597 cat <<\_ASBOX
84598 ## ----------------------------------------- ##
84599 ## Report this to the package-unused lists. ##
84600 ## ----------------------------------------- ##
84601 _ASBOX
84602 ) |
84603 sed "s/^/$as_me: WARNING: /" >&2
84604 ;;
84605 esac
84606 echo "$as_me:$LINENO: checking for iconv.h" >&5
84607 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84608 if test "${ac_cv_header_iconv_h+set}" = set; then
84609 echo $ECHO_N "(cached) $ECHO_C" >&6
84610 else
84611 ac_cv_header_iconv_h=$ac_header_preproc
84612 fi
84613 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84614 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84615
84616 fi
84617 if test $ac_cv_header_iconv_h = yes; then
84618 ac_has_iconv_h=yes
84619 else
84620 ac_has_iconv_h=no
84621 fi
84622
84623
84624 if test "${ac_cv_header_langinfo_h+set}" = set; then
84625 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84626 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84627 if test "${ac_cv_header_langinfo_h+set}" = set; then
84628 echo $ECHO_N "(cached) $ECHO_C" >&6
84629 fi
84630 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84631 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84632 else
84633 # Is the header compilable?
84634 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84635 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84636 cat >conftest.$ac_ext <<_ACEOF
84637 /* confdefs.h. */
84638 _ACEOF
84639 cat confdefs.h >>conftest.$ac_ext
84640 cat >>conftest.$ac_ext <<_ACEOF
84641 /* end confdefs.h. */
84642 $ac_includes_default
84643 #include <langinfo.h>
84644 _ACEOF
84645 rm -f conftest.$ac_objext
84646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84647 (eval $ac_compile) 2>conftest.er1
84648 ac_status=$?
84649 grep -v '^ *+' conftest.er1 >conftest.err
84650 rm -f conftest.er1
84651 cat conftest.err >&5
84652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84653 (exit $ac_status); } &&
84654 { ac_try='test -z "$ac_c_werror_flag"
84655 || test ! -s conftest.err'
84656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84657 (eval $ac_try) 2>&5
84658 ac_status=$?
84659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84660 (exit $ac_status); }; } &&
84661 { ac_try='test -s conftest.$ac_objext'
84662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84663 (eval $ac_try) 2>&5
84664 ac_status=$?
84665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84666 (exit $ac_status); }; }; then
84667 ac_header_compiler=yes
84668 else
84669 echo "$as_me: failed program was:" >&5
84670 sed 's/^/| /' conftest.$ac_ext >&5
84671
84672 ac_header_compiler=no
84673 fi
84674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84675 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84676 echo "${ECHO_T}$ac_header_compiler" >&6
84677
84678 # Is the header present?
84679 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84680 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84681 cat >conftest.$ac_ext <<_ACEOF
84682 /* confdefs.h. */
84683 _ACEOF
84684 cat confdefs.h >>conftest.$ac_ext
84685 cat >>conftest.$ac_ext <<_ACEOF
84686 /* end confdefs.h. */
84687 #include <langinfo.h>
84688 _ACEOF
84689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84691 ac_status=$?
84692 grep -v '^ *+' conftest.er1 >conftest.err
84693 rm -f conftest.er1
84694 cat conftest.err >&5
84695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84696 (exit $ac_status); } >/dev/null; then
84697 if test -s conftest.err; then
84698 ac_cpp_err=$ac_c_preproc_warn_flag
84699 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84700 else
84701 ac_cpp_err=
84702 fi
84703 else
84704 ac_cpp_err=yes
84705 fi
84706 if test -z "$ac_cpp_err"; then
84707 ac_header_preproc=yes
84708 else
84709 echo "$as_me: failed program was:" >&5
84710 sed 's/^/| /' conftest.$ac_ext >&5
84711
84712 ac_header_preproc=no
84713 fi
84714 rm -f conftest.err conftest.$ac_ext
84715 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84716 echo "${ECHO_T}$ac_header_preproc" >&6
84717
84718 # So? What about this header?
84719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84720 yes:no: )
84721 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84722 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84723 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84724 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84725 ac_header_preproc=yes
84726 ;;
84727 no:yes:* )
84728 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84729 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84730 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84731 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84732 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84733 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84734 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84735 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84736 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84737 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84738 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84739 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84740 (
84741 cat <<\_ASBOX
84742 ## ----------------------------------------- ##
84743 ## Report this to the package-unused lists. ##
84744 ## ----------------------------------------- ##
84745 _ASBOX
84746 ) |
84747 sed "s/^/$as_me: WARNING: /" >&2
84748 ;;
84749 esac
84750 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84751 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84752 if test "${ac_cv_header_langinfo_h+set}" = set; then
84753 echo $ECHO_N "(cached) $ECHO_C" >&6
84754 else
84755 ac_cv_header_langinfo_h=$ac_header_preproc
84756 fi
84757 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84758 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84759
84760 fi
84761 if test $ac_cv_header_langinfo_h = yes; then
84762 ac_has_langinfo_h=yes
84763 else
84764 ac_has_langinfo_h=no
84765 fi
84766
84767
84768
84769 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84770 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84771 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84772 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84773 echo $ECHO_N "(cached) $ECHO_C" >&6
84774 else
84775 ac_check_lib_save_LIBS=$LIBS
84776 LIBS="-liconv $LIBS"
84777 if test x$gcc_no_link = xyes; then
84778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84780 { (exit 1); exit 1; }; }
84781 fi
84782 cat >conftest.$ac_ext <<_ACEOF
84783 /* confdefs.h. */
84784 _ACEOF
84785 cat confdefs.h >>conftest.$ac_ext
84786 cat >>conftest.$ac_ext <<_ACEOF
84787 /* end confdefs.h. */
84788
84789 /* Override any gcc2 internal prototype to avoid an error. */
84790 #ifdef __cplusplus
84791 extern "C"
84792 #endif
84793 /* We use char because int might match the return type of a gcc2
84794 builtin and then its argument prototype would still apply. */
84795 char iconv ();
84796 int
84797 main ()
84798 {
84799 iconv ();
84800 ;
84801 return 0;
84802 }
84803 _ACEOF
84804 rm -f conftest.$ac_objext conftest$ac_exeext
84805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84806 (eval $ac_link) 2>conftest.er1
84807 ac_status=$?
84808 grep -v '^ *+' conftest.er1 >conftest.err
84809 rm -f conftest.er1
84810 cat conftest.err >&5
84811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84812 (exit $ac_status); } &&
84813 { ac_try='test -z "$ac_c_werror_flag"
84814 || test ! -s conftest.err'
84815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84816 (eval $ac_try) 2>&5
84817 ac_status=$?
84818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84819 (exit $ac_status); }; } &&
84820 { ac_try='test -s conftest$ac_exeext'
84821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84822 (eval $ac_try) 2>&5
84823 ac_status=$?
84824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84825 (exit $ac_status); }; }; then
84826 ac_cv_lib_iconv_iconv=yes
84827 else
84828 echo "$as_me: failed program was:" >&5
84829 sed 's/^/| /' conftest.$ac_ext >&5
84830
84831 ac_cv_lib_iconv_iconv=no
84832 fi
84833 rm -f conftest.err conftest.$ac_objext \
84834 conftest$ac_exeext conftest.$ac_ext
84835 LIBS=$ac_check_lib_save_LIBS
84836 fi
84837 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84838 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84839 if test $ac_cv_lib_iconv_iconv = yes; then
84840 LIBICONV="-liconv"
84841 fi
84842
84843 ac_save_LIBS="$LIBS"
84844 LIBS="$LIBS $LIBICONV"
84845
84846
84847
84848
84849
84850
84851 for ac_func in iconv_open iconv_close iconv nl_langinfo
84852 do
84853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84854 echo "$as_me:$LINENO: checking for $ac_func" >&5
84855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84856 if eval "test \"\${$as_ac_var+set}\" = set"; then
84857 echo $ECHO_N "(cached) $ECHO_C" >&6
84858 else
84859 if test x$gcc_no_link = xyes; then
84860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84862 { (exit 1); exit 1; }; }
84863 fi
84864 cat >conftest.$ac_ext <<_ACEOF
84865 /* confdefs.h. */
84866 _ACEOF
84867 cat confdefs.h >>conftest.$ac_ext
84868 cat >>conftest.$ac_ext <<_ACEOF
84869 /* end confdefs.h. */
84870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84872 #define $ac_func innocuous_$ac_func
84873
84874 /* System header to define __stub macros and hopefully few prototypes,
84875 which can conflict with char $ac_func (); below.
84876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84877 <limits.h> exists even on freestanding compilers. */
84878
84879 #ifdef __STDC__
84880 # include <limits.h>
84881 #else
84882 # include <assert.h>
84883 #endif
84884
84885 #undef $ac_func
84886
84887 /* Override any gcc2 internal prototype to avoid an error. */
84888 #ifdef __cplusplus
84889 extern "C"
84890 {
84891 #endif
84892 /* We use char because int might match the return type of a gcc2
84893 builtin and then its argument prototype would still apply. */
84894 char $ac_func ();
84895 /* The GNU C library defines this for functions which it implements
84896 to always fail with ENOSYS. Some functions are actually named
84897 something starting with __ and the normal name is an alias. */
84898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84899 choke me
84900 #else
84901 char (*f) () = $ac_func;
84902 #endif
84903 #ifdef __cplusplus
84904 }
84905 #endif
84906
84907 int
84908 main ()
84909 {
84910 return f != $ac_func;
84911 ;
84912 return 0;
84913 }
84914 _ACEOF
84915 rm -f conftest.$ac_objext conftest$ac_exeext
84916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84917 (eval $ac_link) 2>conftest.er1
84918 ac_status=$?
84919 grep -v '^ *+' conftest.er1 >conftest.err
84920 rm -f conftest.er1
84921 cat conftest.err >&5
84922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84923 (exit $ac_status); } &&
84924 { ac_try='test -z "$ac_c_werror_flag"
84925 || test ! -s conftest.err'
84926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84927 (eval $ac_try) 2>&5
84928 ac_status=$?
84929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84930 (exit $ac_status); }; } &&
84931 { ac_try='test -s conftest$ac_exeext'
84932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84933 (eval $ac_try) 2>&5
84934 ac_status=$?
84935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84936 (exit $ac_status); }; }; then
84937 eval "$as_ac_var=yes"
84938 else
84939 echo "$as_me: failed program was:" >&5
84940 sed 's/^/| /' conftest.$ac_ext >&5
84941
84942 eval "$as_ac_var=no"
84943 fi
84944 rm -f conftest.err conftest.$ac_objext \
84945 conftest$ac_exeext conftest.$ac_ext
84946 fi
84947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84949 if test `eval echo '${'$as_ac_var'}'` = yes; then
84950 cat >>confdefs.h <<_ACEOF
84951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84952 _ACEOF
84953 ac_XPG2funcs=yes
84954 else
84955 ac_XPG2funcs=no
84956 fi
84957 done
84958
84959
84960 LIBS="$ac_save_LIBS"
84961
84962 if test x"$ac_has_iconv_h" = xyes &&
84963 test x"$ac_has_langinfo_h" = xyes &&
84964 test x"$ac_XPG2funcs" = xyes;
84965 then
84966
84967 cat >>confdefs.h <<\_ACEOF
84968 #define _GLIBCXX_USE_ICONV 1
84969 _ACEOF
84970
84971 enable_iconv=yes
84972 fi
84973 fi
84974 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
84975 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
84976 echo "$as_me:$LINENO: result: $enable_iconv" >&5
84977 echo "${ECHO_T}$enable_iconv" >&6
84978
84979 cat >>confdefs.h <<\_ACEOF
84980 #define HAVE_COSF 1
84981 _ACEOF
84982
84983 cat >>confdefs.h <<\_ACEOF
84984 #define HAVE_COSL 1
84985 _ACEOF
84986
84987 cat >>confdefs.h <<\_ACEOF
84988 #define HAVE_COSHF 1
84989 _ACEOF
84990
84991 cat >>confdefs.h <<\_ACEOF
84992 #define HAVE_COSHL 1
84993 _ACEOF
84994
84995 cat >>confdefs.h <<\_ACEOF
84996 #define HAVE_LOGF 1
84997 _ACEOF
84998
84999 cat >>confdefs.h <<\_ACEOF
85000 #define HAVE_LOGL 1
85001 _ACEOF
85002
85003 cat >>confdefs.h <<\_ACEOF
85004 #define HAVE_LOG10F 1
85005 _ACEOF
85006
85007 cat >>confdefs.h <<\_ACEOF
85008 #define HAVE_LOG10L 1
85009 _ACEOF
85010
85011 cat >>confdefs.h <<\_ACEOF
85012 #define HAVE_SINF 1
85013 _ACEOF
85014
85015 cat >>confdefs.h <<\_ACEOF
85016 #define HAVE_SINL 1
85017 _ACEOF
85018
85019 cat >>confdefs.h <<\_ACEOF
85020 #define HAVE_SINHF 1
85021 _ACEOF
85022
85023 cat >>confdefs.h <<\_ACEOF
85024 #define HAVE_SINHL 1
85025 _ACEOF
85026
85027 ;;
85028 *-solaris*)
85029 case "$target" in
85030 # *-solaris2.5)
85031 # os_include_dir="os/solaris/solaris2.5"
85032 # ;;
85033 # *-solaris2.6)
85034 # os_include_dir="os/solaris/solaris2.6"
85035 # ;;
85036 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
85037 cat >>confdefs.h <<\_ACEOF
85038 #define HAVE_GETPAGESIZE 1
85039 _ACEOF
85040
85041 cat >>confdefs.h <<\_ACEOF
85042 #define HAVE_SIGSETJMP 1
85043 _ACEOF
85044
85045 cat >>confdefs.h <<\_ACEOF
85046 #define HAVE_MBSTATE_T 1
85047 _ACEOF
85048
85049 cat >>confdefs.h <<\_ACEOF
85050 #define HAVE_POLL 1
85051 _ACEOF
85052
85053 cat >>confdefs.h <<\_ACEOF
85054 #define HAVE_S_ISREG 1
85055 _ACEOF
85056
85057 cat >>confdefs.h <<\_ACEOF
85058 #define HAVE_LC_MESSAGES 1
85059 _ACEOF
85060
85061 cat >>confdefs.h <<\_ACEOF
85062 #define HAVE_FINITE 1
85063 _ACEOF
85064
85065 cat >>confdefs.h <<\_ACEOF
85066 #define HAVE_FPCLASS 1
85067 _ACEOF
85068
85069 cat >>confdefs.h <<\_ACEOF
85070 #define HAVE_GETPAGESIZE 1
85071 _ACEOF
85072
85073 cat >>confdefs.h <<\_ACEOF
85074 #define HAVE_NL_LANGINFO 1
85075 _ACEOF
85076
85077 cat >>confdefs.h <<\_ACEOF
85078 #define HAVE_ICONV 1
85079 _ACEOF
85080
85081 cat >>confdefs.h <<\_ACEOF
85082 #define HAVE_ICONV_CLOSE 1
85083 _ACEOF
85084
85085 cat >>confdefs.h <<\_ACEOF
85086 #define HAVE_ICONV_OPEN 1
85087 _ACEOF
85088
85089 # Look for the pieces required for wchar_t support in order to
85090 # get all the right HAVE_* macros defined.
85091
85092
85093 enable_iconv=no
85094 # Only continue checking if the ISO C99 headers exist and support is on.
85095 if test x"$enable_wchar_t" = xyes; then
85096
85097 # Use iconv for wchar_t to char conversions. As such, check for
85098 # X/Open Portability Guide, version 2 features (XPG2).
85099 if test "${ac_cv_header_iconv_h+set}" = set; then
85100 echo "$as_me:$LINENO: checking for iconv.h" >&5
85101 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85102 if test "${ac_cv_header_iconv_h+set}" = set; then
85103 echo $ECHO_N "(cached) $ECHO_C" >&6
85104 fi
85105 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85106 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85107 else
85108 # Is the header compilable?
85109 echo "$as_me:$LINENO: checking iconv.h usability" >&5
85110 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
85111 cat >conftest.$ac_ext <<_ACEOF
85112 /* confdefs.h. */
85113 _ACEOF
85114 cat confdefs.h >>conftest.$ac_ext
85115 cat >>conftest.$ac_ext <<_ACEOF
85116 /* end confdefs.h. */
85117 $ac_includes_default
85118 #include <iconv.h>
85119 _ACEOF
85120 rm -f conftest.$ac_objext
85121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85122 (eval $ac_compile) 2>conftest.er1
85123 ac_status=$?
85124 grep -v '^ *+' conftest.er1 >conftest.err
85125 rm -f conftest.er1
85126 cat conftest.err >&5
85127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85128 (exit $ac_status); } &&
85129 { ac_try='test -z "$ac_c_werror_flag"
85130 || test ! -s conftest.err'
85131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85132 (eval $ac_try) 2>&5
85133 ac_status=$?
85134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135 (exit $ac_status); }; } &&
85136 { ac_try='test -s conftest.$ac_objext'
85137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85138 (eval $ac_try) 2>&5
85139 ac_status=$?
85140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85141 (exit $ac_status); }; }; then
85142 ac_header_compiler=yes
85143 else
85144 echo "$as_me: failed program was:" >&5
85145 sed 's/^/| /' conftest.$ac_ext >&5
85146
85147 ac_header_compiler=no
85148 fi
85149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85151 echo "${ECHO_T}$ac_header_compiler" >&6
85152
85153 # Is the header present?
85154 echo "$as_me:$LINENO: checking iconv.h presence" >&5
85155 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
85156 cat >conftest.$ac_ext <<_ACEOF
85157 /* confdefs.h. */
85158 _ACEOF
85159 cat confdefs.h >>conftest.$ac_ext
85160 cat >>conftest.$ac_ext <<_ACEOF
85161 /* end confdefs.h. */
85162 #include <iconv.h>
85163 _ACEOF
85164 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85165 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85166 ac_status=$?
85167 grep -v '^ *+' conftest.er1 >conftest.err
85168 rm -f conftest.er1
85169 cat conftest.err >&5
85170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85171 (exit $ac_status); } >/dev/null; then
85172 if test -s conftest.err; then
85173 ac_cpp_err=$ac_c_preproc_warn_flag
85174 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85175 else
85176 ac_cpp_err=
85177 fi
85178 else
85179 ac_cpp_err=yes
85180 fi
85181 if test -z "$ac_cpp_err"; then
85182 ac_header_preproc=yes
85183 else
85184 echo "$as_me: failed program was:" >&5
85185 sed 's/^/| /' conftest.$ac_ext >&5
85186
85187 ac_header_preproc=no
85188 fi
85189 rm -f conftest.err conftest.$ac_ext
85190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85191 echo "${ECHO_T}$ac_header_preproc" >&6
85192
85193 # So? What about this header?
85194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85195 yes:no: )
85196 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
85197 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85198 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
85199 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
85200 ac_header_preproc=yes
85201 ;;
85202 no:yes:* )
85203 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
85204 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
85205 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
85206 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
85207 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
85208 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
85209 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
85210 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
85211 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
85212 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
85213 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
85214 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
85215 (
85216 cat <<\_ASBOX
85217 ## ----------------------------------------- ##
85218 ## Report this to the package-unused lists. ##
85219 ## ----------------------------------------- ##
85220 _ASBOX
85221 ) |
85222 sed "s/^/$as_me: WARNING: /" >&2
85223 ;;
85224 esac
85225 echo "$as_me:$LINENO: checking for iconv.h" >&5
85226 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
85227 if test "${ac_cv_header_iconv_h+set}" = set; then
85228 echo $ECHO_N "(cached) $ECHO_C" >&6
85229 else
85230 ac_cv_header_iconv_h=$ac_header_preproc
85231 fi
85232 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
85233 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
85234
85235 fi
85236 if test $ac_cv_header_iconv_h = yes; then
85237 ac_has_iconv_h=yes
85238 else
85239 ac_has_iconv_h=no
85240 fi
85241
85242
85243 if test "${ac_cv_header_langinfo_h+set}" = set; then
85244 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85245 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85246 if test "${ac_cv_header_langinfo_h+set}" = set; then
85247 echo $ECHO_N "(cached) $ECHO_C" >&6
85248 fi
85249 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85250 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85251 else
85252 # Is the header compilable?
85253 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
85254 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
85255 cat >conftest.$ac_ext <<_ACEOF
85256 /* confdefs.h. */
85257 _ACEOF
85258 cat confdefs.h >>conftest.$ac_ext
85259 cat >>conftest.$ac_ext <<_ACEOF
85260 /* end confdefs.h. */
85261 $ac_includes_default
85262 #include <langinfo.h>
85263 _ACEOF
85264 rm -f conftest.$ac_objext
85265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85266 (eval $ac_compile) 2>conftest.er1
85267 ac_status=$?
85268 grep -v '^ *+' conftest.er1 >conftest.err
85269 rm -f conftest.er1
85270 cat conftest.err >&5
85271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85272 (exit $ac_status); } &&
85273 { ac_try='test -z "$ac_c_werror_flag"
85274 || test ! -s conftest.err'
85275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85276 (eval $ac_try) 2>&5
85277 ac_status=$?
85278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85279 (exit $ac_status); }; } &&
85280 { ac_try='test -s conftest.$ac_objext'
85281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85282 (eval $ac_try) 2>&5
85283 ac_status=$?
85284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85285 (exit $ac_status); }; }; then
85286 ac_header_compiler=yes
85287 else
85288 echo "$as_me: failed program was:" >&5
85289 sed 's/^/| /' conftest.$ac_ext >&5
85290
85291 ac_header_compiler=no
85292 fi
85293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85295 echo "${ECHO_T}$ac_header_compiler" >&6
85296
85297 # Is the header present?
85298 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
85299 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
85300 cat >conftest.$ac_ext <<_ACEOF
85301 /* confdefs.h. */
85302 _ACEOF
85303 cat confdefs.h >>conftest.$ac_ext
85304 cat >>conftest.$ac_ext <<_ACEOF
85305 /* end confdefs.h. */
85306 #include <langinfo.h>
85307 _ACEOF
85308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85310 ac_status=$?
85311 grep -v '^ *+' conftest.er1 >conftest.err
85312 rm -f conftest.er1
85313 cat conftest.err >&5
85314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85315 (exit $ac_status); } >/dev/null; then
85316 if test -s conftest.err; then
85317 ac_cpp_err=$ac_c_preproc_warn_flag
85318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85319 else
85320 ac_cpp_err=
85321 fi
85322 else
85323 ac_cpp_err=yes
85324 fi
85325 if test -z "$ac_cpp_err"; then
85326 ac_header_preproc=yes
85327 else
85328 echo "$as_me: failed program was:" >&5
85329 sed 's/^/| /' conftest.$ac_ext >&5
85330
85331 ac_header_preproc=no
85332 fi
85333 rm -f conftest.err conftest.$ac_ext
85334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85335 echo "${ECHO_T}$ac_header_preproc" >&6
85336
85337 # So? What about this header?
85338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85339 yes:no: )
85340 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
85341 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
85342 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
85343 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
85344 ac_header_preproc=yes
85345 ;;
85346 no:yes:* )
85347 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
85348 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
85349 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
85350 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
85351 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
85352 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
85353 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
85354 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
85355 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
85356 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
85357 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
85358 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
85359 (
85360 cat <<\_ASBOX
85361 ## ----------------------------------------- ##
85362 ## Report this to the package-unused lists. ##
85363 ## ----------------------------------------- ##
85364 _ASBOX
85365 ) |
85366 sed "s/^/$as_me: WARNING: /" >&2
85367 ;;
85368 esac
85369 echo "$as_me:$LINENO: checking for langinfo.h" >&5
85370 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
85371 if test "${ac_cv_header_langinfo_h+set}" = set; then
85372 echo $ECHO_N "(cached) $ECHO_C" >&6
85373 else
85374 ac_cv_header_langinfo_h=$ac_header_preproc
85375 fi
85376 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
85377 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
85378
85379 fi
85380 if test $ac_cv_header_langinfo_h = yes; then
85381 ac_has_langinfo_h=yes
85382 else
85383 ac_has_langinfo_h=no
85384 fi
85385
85386
85387
85388 # Check for existence of libiconv.a providing XPG2 wchar_t support.
85389 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
85390 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
85391 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
85392 echo $ECHO_N "(cached) $ECHO_C" >&6
85393 else
85394 ac_check_lib_save_LIBS=$LIBS
85395 LIBS="-liconv $LIBS"
85396 if test x$gcc_no_link = xyes; then
85397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85399 { (exit 1); exit 1; }; }
85400 fi
85401 cat >conftest.$ac_ext <<_ACEOF
85402 /* confdefs.h. */
85403 _ACEOF
85404 cat confdefs.h >>conftest.$ac_ext
85405 cat >>conftest.$ac_ext <<_ACEOF
85406 /* end confdefs.h. */
85407
85408 /* Override any gcc2 internal prototype to avoid an error. */
85409 #ifdef __cplusplus
85410 extern "C"
85411 #endif
85412 /* We use char because int might match the return type of a gcc2
85413 builtin and then its argument prototype would still apply. */
85414 char iconv ();
85415 int
85416 main ()
85417 {
85418 iconv ();
85419 ;
85420 return 0;
85421 }
85422 _ACEOF
85423 rm -f conftest.$ac_objext conftest$ac_exeext
85424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85425 (eval $ac_link) 2>conftest.er1
85426 ac_status=$?
85427 grep -v '^ *+' conftest.er1 >conftest.err
85428 rm -f conftest.er1
85429 cat conftest.err >&5
85430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85431 (exit $ac_status); } &&
85432 { ac_try='test -z "$ac_c_werror_flag"
85433 || test ! -s conftest.err'
85434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85435 (eval $ac_try) 2>&5
85436 ac_status=$?
85437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85438 (exit $ac_status); }; } &&
85439 { ac_try='test -s conftest$ac_exeext'
85440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85441 (eval $ac_try) 2>&5
85442 ac_status=$?
85443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85444 (exit $ac_status); }; }; then
85445 ac_cv_lib_iconv_iconv=yes
85446 else
85447 echo "$as_me: failed program was:" >&5
85448 sed 's/^/| /' conftest.$ac_ext >&5
85449
85450 ac_cv_lib_iconv_iconv=no
85451 fi
85452 rm -f conftest.err conftest.$ac_objext \
85453 conftest$ac_exeext conftest.$ac_ext
85454 LIBS=$ac_check_lib_save_LIBS
85455 fi
85456 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
85457 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
85458 if test $ac_cv_lib_iconv_iconv = yes; then
85459 LIBICONV="-liconv"
85460 fi
85461
85462 ac_save_LIBS="$LIBS"
85463 LIBS="$LIBS $LIBICONV"
85464
85465
85466
85467
85468
85469
85470 for ac_func in iconv_open iconv_close iconv nl_langinfo
85471 do
85472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85473 echo "$as_me:$LINENO: checking for $ac_func" >&5
85474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85475 if eval "test \"\${$as_ac_var+set}\" = set"; then
85476 echo $ECHO_N "(cached) $ECHO_C" >&6
85477 else
85478 if test x$gcc_no_link = xyes; then
85479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85481 { (exit 1); exit 1; }; }
85482 fi
85483 cat >conftest.$ac_ext <<_ACEOF
85484 /* confdefs.h. */
85485 _ACEOF
85486 cat confdefs.h >>conftest.$ac_ext
85487 cat >>conftest.$ac_ext <<_ACEOF
85488 /* end confdefs.h. */
85489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85491 #define $ac_func innocuous_$ac_func
85492
85493 /* System header to define __stub macros and hopefully few prototypes,
85494 which can conflict with char $ac_func (); below.
85495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85496 <limits.h> exists even on freestanding compilers. */
85497
85498 #ifdef __STDC__
85499 # include <limits.h>
85500 #else
85501 # include <assert.h>
85502 #endif
85503
85504 #undef $ac_func
85505
85506 /* Override any gcc2 internal prototype to avoid an error. */
85507 #ifdef __cplusplus
85508 extern "C"
85509 {
85510 #endif
85511 /* We use char because int might match the return type of a gcc2
85512 builtin and then its argument prototype would still apply. */
85513 char $ac_func ();
85514 /* The GNU C library defines this for functions which it implements
85515 to always fail with ENOSYS. Some functions are actually named
85516 something starting with __ and the normal name is an alias. */
85517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85518 choke me
85519 #else
85520 char (*f) () = $ac_func;
85521 #endif
85522 #ifdef __cplusplus
85523 }
85524 #endif
85525
85526 int
85527 main ()
85528 {
85529 return f != $ac_func;
85530 ;
85531 return 0;
85532 }
85533 _ACEOF
85534 rm -f conftest.$ac_objext conftest$ac_exeext
85535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85536 (eval $ac_link) 2>conftest.er1
85537 ac_status=$?
85538 grep -v '^ *+' conftest.er1 >conftest.err
85539 rm -f conftest.er1
85540 cat conftest.err >&5
85541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85542 (exit $ac_status); } &&
85543 { ac_try='test -z "$ac_c_werror_flag"
85544 || test ! -s conftest.err'
85545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85546 (eval $ac_try) 2>&5
85547 ac_status=$?
85548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85549 (exit $ac_status); }; } &&
85550 { ac_try='test -s conftest$ac_exeext'
85551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85552 (eval $ac_try) 2>&5
85553 ac_status=$?
85554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85555 (exit $ac_status); }; }; then
85556 eval "$as_ac_var=yes"
85557 else
85558 echo "$as_me: failed program was:" >&5
85559 sed 's/^/| /' conftest.$ac_ext >&5
85560
85561 eval "$as_ac_var=no"
85562 fi
85563 rm -f conftest.err conftest.$ac_objext \
85564 conftest$ac_exeext conftest.$ac_ext
85565 fi
85566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85568 if test `eval echo '${'$as_ac_var'}'` = yes; then
85569 cat >>confdefs.h <<_ACEOF
85570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85571 _ACEOF
85572 ac_XPG2funcs=yes
85573 else
85574 ac_XPG2funcs=no
85575 fi
85576 done
85577
85578
85579 LIBS="$ac_save_LIBS"
85580
85581 if test x"$ac_has_iconv_h" = xyes &&
85582 test x"$ac_has_langinfo_h" = xyes &&
85583 test x"$ac_XPG2funcs" = xyes;
85584 then
85585
85586 cat >>confdefs.h <<\_ACEOF
85587 #define _GLIBCXX_USE_ICONV 1
85588 _ACEOF
85589
85590 enable_iconv=yes
85591 fi
85592 fi
85593 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
85594 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
85595 echo "$as_me:$LINENO: result: $enable_iconv" >&5
85596 echo "${ECHO_T}$enable_iconv" >&6
85597
85598 # All of the dependencies for wide character support are here, so
85599 # turn it on. This requires some syncronization with the
85600 # GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
85601 cat >>confdefs.h <<\_ACEOF
85602 #define _GLIBCXX_USE_WCHAR_T 1
85603 _ACEOF
85604
85605 # Are these tested for even when cross?
85606 cat >>confdefs.h <<\_ACEOF
85607 #define HAVE_FLOAT_H 1
85608 _ACEOF
85609
85610 cat >>confdefs.h <<\_ACEOF
85611 #define HAVE_IEEEFP_H 1
85612 _ACEOF
85613
85614 cat >>confdefs.h <<\_ACEOF
85615 #define HAVE_INTTYPES_H 1
85616 _ACEOF
85617
85618 cat >>confdefs.h <<\_ACEOF
85619 #define HAVE_LOCALE_H 1
85620 _ACEOF
85621
85622 cat >>confdefs.h <<\_ACEOF
85623 #define HAVE_NAN_H 1
85624 _ACEOF
85625
85626 cat >>confdefs.h <<\_ACEOF
85627 #define HAVE_SYS_FILIO_H 1
85628 _ACEOF
85629
85630 cat >>confdefs.h <<\_ACEOF
85631 #define HAVE_SYS_IOCTL_H 1
85632 _ACEOF
85633
85634 cat >>confdefs.h <<\_ACEOF
85635 #define HAVE_SYS_ISA_DEFS_H 1
85636 _ACEOF
85637
85638 cat >>confdefs.h <<\_ACEOF
85639 #define HAVE_SYS_RESOURCE_H 1
85640 _ACEOF
85641
85642 cat >>confdefs.h <<\_ACEOF
85643 #define HAVE_SYS_TIME_H 1
85644 _ACEOF
85645
85646 cat >>confdefs.h <<\_ACEOF
85647 #define HAVE_SYS_TYPES_H 1
85648 _ACEOF
85649
85650 cat >>confdefs.h <<\_ACEOF
85651 #define HAVE_UNISTD_H 1
85652 _ACEOF
85653
85654 cat >>confdefs.h <<\_ACEOF
85655 #define HAVE_WCHAR_H 1
85656 _ACEOF
85657
85658 cat >>confdefs.h <<\_ACEOF
85659 #define HAVE_WCTYPE_H 1
85660 _ACEOF
85661
85662 cat >>confdefs.h <<\_ACEOF
85663 #define HAVE_LIBM 1
85664 _ACEOF
85665
85666 ;;
85667 esac
85668 case "$target" in
85669 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
85670 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
85671 cat >>confdefs.h <<\_ACEOF
85672 #define HAVE___BUILTIN_ABS 1
85673 _ACEOF
85674
85675 cat >>confdefs.h <<\_ACEOF
85676 #define HAVE___BUILTIN_LABS 1
85677 _ACEOF
85678
85679 cat >>confdefs.h <<\_ACEOF
85680 #define HAVE___BUILTIN_FABS 1
85681 _ACEOF
85682
85683 cat >>confdefs.h <<\_ACEOF
85684 #define HAVE___BUILTIN_FABSF 1
85685 _ACEOF
85686
85687 cat >>confdefs.h <<\_ACEOF
85688 #define HAVE___BUILTIN_FABSL 1
85689 _ACEOF
85690
85691 cat >>confdefs.h <<\_ACEOF
85692 #define HAVE___BUILTIN_COS 1
85693 _ACEOF
85694
85695 cat >>confdefs.h <<\_ACEOF
85696 #define HAVE___BUILTIN_COSF 1
85697 _ACEOF
85698
85699 cat >>confdefs.h <<\_ACEOF
85700 #define HAVE___BUILTIN_SIN 1
85701 _ACEOF
85702
85703 cat >>confdefs.h <<\_ACEOF
85704 #define HAVE___BUILTIN_SINF 1
85705 _ACEOF
85706
85707 ;;
85708 esac
85709 case "$target" in
85710 *-*-solaris2.10)
85711 # These two C99 functions are present only in Solaris >= 10
85712 cat >>confdefs.h <<\_ACEOF
85713 #define HAVE_STRTOF 1
85714 _ACEOF
85715
85716 cat >>confdefs.h <<\_ACEOF
85717 #define HAVE_STRTOLD 1
85718 _ACEOF
85719
85720 ;;
85721 esac
85722 cat >>confdefs.h <<\_ACEOF
85723 #define HAVE_MMAP 1
85724 _ACEOF
85725
85726 cat >>confdefs.h <<\_ACEOF
85727 #define HAVE_COPYSIGN 1
85728 _ACEOF
85729
85730 cat >>confdefs.h <<\_ACEOF
85731 #define HAVE_ISNAN 1
85732 _ACEOF
85733
85734 cat >>confdefs.h <<\_ACEOF
85735 #define HAVE_ISNANF 1
85736 _ACEOF
85737
85738 cat >>confdefs.h <<\_ACEOF
85739 #define HAVE_MODFF 1
85740 _ACEOF
85741
85742 cat >>confdefs.h <<\_ACEOF
85743 #define HAVE_HYPOT 1
85744 _ACEOF
85745
85746 ;;
85747 *-tpf)
85748
85749
85750
85751
85752
85753
85754
85755
85756 for ac_header in nan.h endian.h machine/endian.h \
85757 sys/param.h sys/types.h locale.h float.h inttypes.h
85758 do
85759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85761 echo "$as_me:$LINENO: checking for $ac_header" >&5
85762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85764 echo $ECHO_N "(cached) $ECHO_C" >&6
85765 fi
85766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85768 else
85769 # Is the header compilable?
85770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85772 cat >conftest.$ac_ext <<_ACEOF
85773 /* confdefs.h. */
85774 _ACEOF
85775 cat confdefs.h >>conftest.$ac_ext
85776 cat >>conftest.$ac_ext <<_ACEOF
85777 /* end confdefs.h. */
85778 $ac_includes_default
85779 #include <$ac_header>
85780 _ACEOF
85781 rm -f conftest.$ac_objext
85782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85783 (eval $ac_compile) 2>conftest.er1
85784 ac_status=$?
85785 grep -v '^ *+' conftest.er1 >conftest.err
85786 rm -f conftest.er1
85787 cat conftest.err >&5
85788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85789 (exit $ac_status); } &&
85790 { ac_try='test -z "$ac_c_werror_flag"
85791 || test ! -s conftest.err'
85792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85793 (eval $ac_try) 2>&5
85794 ac_status=$?
85795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85796 (exit $ac_status); }; } &&
85797 { ac_try='test -s conftest.$ac_objext'
85798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85799 (eval $ac_try) 2>&5
85800 ac_status=$?
85801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85802 (exit $ac_status); }; }; then
85803 ac_header_compiler=yes
85804 else
85805 echo "$as_me: failed program was:" >&5
85806 sed 's/^/| /' conftest.$ac_ext >&5
85807
85808 ac_header_compiler=no
85809 fi
85810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85812 echo "${ECHO_T}$ac_header_compiler" >&6
85813
85814 # Is the header present?
85815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85817 cat >conftest.$ac_ext <<_ACEOF
85818 /* confdefs.h. */
85819 _ACEOF
85820 cat confdefs.h >>conftest.$ac_ext
85821 cat >>conftest.$ac_ext <<_ACEOF
85822 /* end confdefs.h. */
85823 #include <$ac_header>
85824 _ACEOF
85825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85827 ac_status=$?
85828 grep -v '^ *+' conftest.er1 >conftest.err
85829 rm -f conftest.er1
85830 cat conftest.err >&5
85831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85832 (exit $ac_status); } >/dev/null; then
85833 if test -s conftest.err; then
85834 ac_cpp_err=$ac_c_preproc_warn_flag
85835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85836 else
85837 ac_cpp_err=
85838 fi
85839 else
85840 ac_cpp_err=yes
85841 fi
85842 if test -z "$ac_cpp_err"; then
85843 ac_header_preproc=yes
85844 else
85845 echo "$as_me: failed program was:" >&5
85846 sed 's/^/| /' conftest.$ac_ext >&5
85847
85848 ac_header_preproc=no
85849 fi
85850 rm -f conftest.err conftest.$ac_ext
85851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85852 echo "${ECHO_T}$ac_header_preproc" >&6
85853
85854 # So? What about this header?
85855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85856 yes:no: )
85857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85861 ac_header_preproc=yes
85862 ;;
85863 no:yes:* )
85864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85876 (
85877 cat <<\_ASBOX
85878 ## ----------------------------------------- ##
85879 ## Report this to the package-unused lists. ##
85880 ## ----------------------------------------- ##
85881 _ASBOX
85882 ) |
85883 sed "s/^/$as_me: WARNING: /" >&2
85884 ;;
85885 esac
85886 echo "$as_me:$LINENO: checking for $ac_header" >&5
85887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85889 echo $ECHO_N "(cached) $ECHO_C" >&6
85890 else
85891 eval "$as_ac_Header=\$ac_header_preproc"
85892 fi
85893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85895
85896 fi
85897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85898 cat >>confdefs.h <<_ACEOF
85899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85900 _ACEOF
85901
85902 fi
85903
85904 done
85905
85906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85907
85908
85909 # If we're not using GNU ld, then there's no point in even trying these
85910 # tests. Check for that first. We should have already tested for gld
85911 # by now (in libtool), but require it now just to be safe...
85912 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85913 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85914
85915
85916
85917 # The name set by libtool depends on the version of libtool. Shame on us
85918 # for depending on an impl detail, but c'est la vie. Older versions used
85919 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85920 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85921 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85922 # set (hence we're using an older libtool), then set it.
85923 if test x${with_gnu_ld+set} != xset; then
85924 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85925 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85926 with_gnu_ld=no
85927 else
85928 with_gnu_ld=$ac_cv_prog_gnu_ld
85929 fi
85930 fi
85931
85932 # Start by getting the version number. I think the libtool test already
85933 # does some of this, but throws away the result.
85934
85935 ldver=`$LD --version 2>/dev/null | head -1 | \
85936 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85937
85938 glibcxx_gnu_ld_version=`echo $ldver | \
85939 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85940
85941 # Set --gc-sections.
85942 if test "$with_gnu_ld" = "notbroken"; then
85943 # GNU ld it is! Joy and bunny rabbits!
85944
85945 # All these tests are for C++; save the language and the compiler flags.
85946 # Need to do this so that g++ won't try to link in libstdc++
85947 ac_test_CFLAGS="${CFLAGS+set}"
85948 ac_save_CFLAGS="$CFLAGS"
85949 CFLAGS='-x c++ -Wl,--gc-sections'
85950
85951 # Check for -Wl,--gc-sections
85952 # XXX This test is broken at the moment, as symbols required for linking
85953 # are now in libsupc++ (not built yet). In addition, this test has
85954 # cored on solaris in the past. In addition, --gc-sections doesn't
85955 # really work at the moment (keeps on discarding used sections, first
85956 # .eh_frame and now some of the glibc sections for iconv).
85957 # Bzzzzt. Thanks for playing, maybe next time.
85958 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85959 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85960 if test "$cross_compiling" = yes; then
85961 ac_sectionLDflags=yes
85962 else
85963 cat >conftest.$ac_ext <<_ACEOF
85964 /* confdefs.h. */
85965 _ACEOF
85966 cat confdefs.h >>conftest.$ac_ext
85967 cat >>conftest.$ac_ext <<_ACEOF
85968 /* end confdefs.h. */
85969
85970 int main(void)
85971 {
85972 try { throw 1; }
85973 catch (...) { };
85974 return 0;
85975 }
85976
85977 _ACEOF
85978 rm -f conftest$ac_exeext
85979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85980 (eval $ac_link) 2>&5
85981 ac_status=$?
85982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85985 (eval $ac_try) 2>&5
85986 ac_status=$?
85987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988 (exit $ac_status); }; }; then
85989 ac_sectionLDflags=yes
85990 else
85991 echo "$as_me: program exited with status $ac_status" >&5
85992 echo "$as_me: failed program was:" >&5
85993 sed 's/^/| /' conftest.$ac_ext >&5
85994
85995 ( exit $ac_status )
85996 ac_sectionLDflags=no
85997 fi
85998 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85999 fi
86000 if test "$ac_test_CFLAGS" = set; then
86001 CFLAGS="$ac_save_CFLAGS"
86002 else
86003 # this is the suspicious part
86004 CFLAGS=''
86005 fi
86006 if test "$ac_sectionLDflags" = "yes"; then
86007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86008 fi
86009 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
86010 echo "${ECHO_T}$ac_sectionLDflags" >&6
86011 fi
86012
86013 # Set -z,relro.
86014 # Note this is only for shared objects
86015 ac_ld_relro=no
86016 if test x"$with_gnu_ld" = x"yes"; then
86017 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86018 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86019 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86020 if test -n "$cxx_z_relo"; then
86021 OPT_LDFLAGS="-Wl,-z,relro"
86022 ac_ld_relro=yes
86023 fi
86024 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86025 echo "${ECHO_T}$ac_ld_relro" >&6
86026 fi
86027
86028 # Set linker optimization flags.
86029 if test x"$with_gnu_ld" = x"yes"; then
86030 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86031 fi
86032
86033
86034
86035
86036
86037
86038 echo "$as_me:$LINENO: checking for main in -lm" >&5
86039 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86040 if test "${ac_cv_lib_m_main+set}" = set; then
86041 echo $ECHO_N "(cached) $ECHO_C" >&6
86042 else
86043 ac_check_lib_save_LIBS=$LIBS
86044 LIBS="-lm $LIBS"
86045 if test x$gcc_no_link = xyes; then
86046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86048 { (exit 1); exit 1; }; }
86049 fi
86050 cat >conftest.$ac_ext <<_ACEOF
86051 /* confdefs.h. */
86052 _ACEOF
86053 cat confdefs.h >>conftest.$ac_ext
86054 cat >>conftest.$ac_ext <<_ACEOF
86055 /* end confdefs.h. */
86056
86057
86058 int
86059 main ()
86060 {
86061 main ();
86062 ;
86063 return 0;
86064 }
86065 _ACEOF
86066 rm -f conftest.$ac_objext conftest$ac_exeext
86067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86068 (eval $ac_link) 2>conftest.er1
86069 ac_status=$?
86070 grep -v '^ *+' conftest.er1 >conftest.err
86071 rm -f conftest.er1
86072 cat conftest.err >&5
86073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86074 (exit $ac_status); } &&
86075 { ac_try='test -z "$ac_c_werror_flag"
86076 || test ! -s conftest.err'
86077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86078 (eval $ac_try) 2>&5
86079 ac_status=$?
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); }; } &&
86082 { ac_try='test -s conftest$ac_exeext'
86083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86084 (eval $ac_try) 2>&5
86085 ac_status=$?
86086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86087 (exit $ac_status); }; }; then
86088 ac_cv_lib_m_main=yes
86089 else
86090 echo "$as_me: failed program was:" >&5
86091 sed 's/^/| /' conftest.$ac_ext >&5
86092
86093 ac_cv_lib_m_main=no
86094 fi
86095 rm -f conftest.err conftest.$ac_objext \
86096 conftest$ac_exeext conftest.$ac_ext
86097 LIBS=$ac_check_lib_save_LIBS
86098 fi
86099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86100 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86101 if test $ac_cv_lib_m_main = yes; then
86102 cat >>confdefs.h <<_ACEOF
86103 #define HAVE_LIBM 1
86104 _ACEOF
86105
86106 LIBS="-lm $LIBS"
86107
86108 fi
86109
86110
86111 for ac_func in copysignf
86112 do
86113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86114 echo "$as_me:$LINENO: checking for $ac_func" >&5
86115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86116 if eval "test \"\${$as_ac_var+set}\" = set"; then
86117 echo $ECHO_N "(cached) $ECHO_C" >&6
86118 else
86119 if test x$gcc_no_link = xyes; then
86120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86122 { (exit 1); exit 1; }; }
86123 fi
86124 cat >conftest.$ac_ext <<_ACEOF
86125 /* confdefs.h. */
86126 _ACEOF
86127 cat confdefs.h >>conftest.$ac_ext
86128 cat >>conftest.$ac_ext <<_ACEOF
86129 /* end confdefs.h. */
86130 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86132 #define $ac_func innocuous_$ac_func
86133
86134 /* System header to define __stub macros and hopefully few prototypes,
86135 which can conflict with char $ac_func (); below.
86136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86137 <limits.h> exists even on freestanding compilers. */
86138
86139 #ifdef __STDC__
86140 # include <limits.h>
86141 #else
86142 # include <assert.h>
86143 #endif
86144
86145 #undef $ac_func
86146
86147 /* Override any gcc2 internal prototype to avoid an error. */
86148 #ifdef __cplusplus
86149 extern "C"
86150 {
86151 #endif
86152 /* We use char because int might match the return type of a gcc2
86153 builtin and then its argument prototype would still apply. */
86154 char $ac_func ();
86155 /* The GNU C library defines this for functions which it implements
86156 to always fail with ENOSYS. Some functions are actually named
86157 something starting with __ and the normal name is an alias. */
86158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86159 choke me
86160 #else
86161 char (*f) () = $ac_func;
86162 #endif
86163 #ifdef __cplusplus
86164 }
86165 #endif
86166
86167 int
86168 main ()
86169 {
86170 return f != $ac_func;
86171 ;
86172 return 0;
86173 }
86174 _ACEOF
86175 rm -f conftest.$ac_objext conftest$ac_exeext
86176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86177 (eval $ac_link) 2>conftest.er1
86178 ac_status=$?
86179 grep -v '^ *+' conftest.er1 >conftest.err
86180 rm -f conftest.er1
86181 cat conftest.err >&5
86182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86183 (exit $ac_status); } &&
86184 { ac_try='test -z "$ac_c_werror_flag"
86185 || test ! -s conftest.err'
86186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86187 (eval $ac_try) 2>&5
86188 ac_status=$?
86189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86190 (exit $ac_status); }; } &&
86191 { ac_try='test -s conftest$ac_exeext'
86192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86193 (eval $ac_try) 2>&5
86194 ac_status=$?
86195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86196 (exit $ac_status); }; }; then
86197 eval "$as_ac_var=yes"
86198 else
86199 echo "$as_me: failed program was:" >&5
86200 sed 's/^/| /' conftest.$ac_ext >&5
86201
86202 eval "$as_ac_var=no"
86203 fi
86204 rm -f conftest.err conftest.$ac_objext \
86205 conftest$ac_exeext conftest.$ac_ext
86206 fi
86207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86209 if test `eval echo '${'$as_ac_var'}'` = yes; then
86210 cat >>confdefs.h <<_ACEOF
86211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86212 _ACEOF
86213
86214 else
86215 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86216 fi
86217 done
86218
86219
86220
86221 for ac_func in __signbit
86222 do
86223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86224 echo "$as_me:$LINENO: checking for $ac_func" >&5
86225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86226 if eval "test \"\${$as_ac_var+set}\" = set"; then
86227 echo $ECHO_N "(cached) $ECHO_C" >&6
86228 else
86229 if test x$gcc_no_link = xyes; then
86230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86232 { (exit 1); exit 1; }; }
86233 fi
86234 cat >conftest.$ac_ext <<_ACEOF
86235 /* confdefs.h. */
86236 _ACEOF
86237 cat confdefs.h >>conftest.$ac_ext
86238 cat >>conftest.$ac_ext <<_ACEOF
86239 /* end confdefs.h. */
86240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86242 #define $ac_func innocuous_$ac_func
86243
86244 /* System header to define __stub macros and hopefully few prototypes,
86245 which can conflict with char $ac_func (); below.
86246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86247 <limits.h> exists even on freestanding compilers. */
86248
86249 #ifdef __STDC__
86250 # include <limits.h>
86251 #else
86252 # include <assert.h>
86253 #endif
86254
86255 #undef $ac_func
86256
86257 /* Override any gcc2 internal prototype to avoid an error. */
86258 #ifdef __cplusplus
86259 extern "C"
86260 {
86261 #endif
86262 /* We use char because int might match the return type of a gcc2
86263 builtin and then its argument prototype would still apply. */
86264 char $ac_func ();
86265 /* The GNU C library defines this for functions which it implements
86266 to always fail with ENOSYS. Some functions are actually named
86267 something starting with __ and the normal name is an alias. */
86268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86269 choke me
86270 #else
86271 char (*f) () = $ac_func;
86272 #endif
86273 #ifdef __cplusplus
86274 }
86275 #endif
86276
86277 int
86278 main ()
86279 {
86280 return f != $ac_func;
86281 ;
86282 return 0;
86283 }
86284 _ACEOF
86285 rm -f conftest.$ac_objext conftest$ac_exeext
86286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86287 (eval $ac_link) 2>conftest.er1
86288 ac_status=$?
86289 grep -v '^ *+' conftest.er1 >conftest.err
86290 rm -f conftest.er1
86291 cat conftest.err >&5
86292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86293 (exit $ac_status); } &&
86294 { ac_try='test -z "$ac_c_werror_flag"
86295 || test ! -s conftest.err'
86296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86297 (eval $ac_try) 2>&5
86298 ac_status=$?
86299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86300 (exit $ac_status); }; } &&
86301 { ac_try='test -s conftest$ac_exeext'
86302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86303 (eval $ac_try) 2>&5
86304 ac_status=$?
86305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86306 (exit $ac_status); }; }; then
86307 eval "$as_ac_var=yes"
86308 else
86309 echo "$as_me: failed program was:" >&5
86310 sed 's/^/| /' conftest.$ac_ext >&5
86311
86312 eval "$as_ac_var=no"
86313 fi
86314 rm -f conftest.err conftest.$ac_objext \
86315 conftest$ac_exeext conftest.$ac_ext
86316 fi
86317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86319 if test `eval echo '${'$as_ac_var'}'` = yes; then
86320 cat >>confdefs.h <<_ACEOF
86321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86322 _ACEOF
86323
86324 else
86325 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86326 fi
86327 done
86328
86329
86330
86331 for ac_func in __signbitf
86332 do
86333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86334 echo "$as_me:$LINENO: checking for $ac_func" >&5
86335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86336 if eval "test \"\${$as_ac_var+set}\" = set"; then
86337 echo $ECHO_N "(cached) $ECHO_C" >&6
86338 else
86339 if test x$gcc_no_link = xyes; then
86340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86342 { (exit 1); exit 1; }; }
86343 fi
86344 cat >conftest.$ac_ext <<_ACEOF
86345 /* confdefs.h. */
86346 _ACEOF
86347 cat confdefs.h >>conftest.$ac_ext
86348 cat >>conftest.$ac_ext <<_ACEOF
86349 /* end confdefs.h. */
86350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86352 #define $ac_func innocuous_$ac_func
86353
86354 /* System header to define __stub macros and hopefully few prototypes,
86355 which can conflict with char $ac_func (); below.
86356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86357 <limits.h> exists even on freestanding compilers. */
86358
86359 #ifdef __STDC__
86360 # include <limits.h>
86361 #else
86362 # include <assert.h>
86363 #endif
86364
86365 #undef $ac_func
86366
86367 /* Override any gcc2 internal prototype to avoid an error. */
86368 #ifdef __cplusplus
86369 extern "C"
86370 {
86371 #endif
86372 /* We use char because int might match the return type of a gcc2
86373 builtin and then its argument prototype would still apply. */
86374 char $ac_func ();
86375 /* The GNU C library defines this for functions which it implements
86376 to always fail with ENOSYS. Some functions are actually named
86377 something starting with __ and the normal name is an alias. */
86378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86379 choke me
86380 #else
86381 char (*f) () = $ac_func;
86382 #endif
86383 #ifdef __cplusplus
86384 }
86385 #endif
86386
86387 int
86388 main ()
86389 {
86390 return f != $ac_func;
86391 ;
86392 return 0;
86393 }
86394 _ACEOF
86395 rm -f conftest.$ac_objext conftest$ac_exeext
86396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86397 (eval $ac_link) 2>conftest.er1
86398 ac_status=$?
86399 grep -v '^ *+' conftest.er1 >conftest.err
86400 rm -f conftest.er1
86401 cat conftest.err >&5
86402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86403 (exit $ac_status); } &&
86404 { ac_try='test -z "$ac_c_werror_flag"
86405 || test ! -s conftest.err'
86406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86407 (eval $ac_try) 2>&5
86408 ac_status=$?
86409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86410 (exit $ac_status); }; } &&
86411 { ac_try='test -s conftest$ac_exeext'
86412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86413 (eval $ac_try) 2>&5
86414 ac_status=$?
86415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86416 (exit $ac_status); }; }; then
86417 eval "$as_ac_var=yes"
86418 else
86419 echo "$as_me: failed program was:" >&5
86420 sed 's/^/| /' conftest.$ac_ext >&5
86421
86422 eval "$as_ac_var=no"
86423 fi
86424 rm -f conftest.err conftest.$ac_objext \
86425 conftest$ac_exeext conftest.$ac_ext
86426 fi
86427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86429 if test `eval echo '${'$as_ac_var'}'` = yes; then
86430 cat >>confdefs.h <<_ACEOF
86431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86432 _ACEOF
86433
86434 else
86435 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86436 fi
86437 done
86438
86439
86440 if test x$ac_cv_func_copysignl = x"yes"; then
86441
86442 for ac_func in __signbitl
86443 do
86444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86445 echo "$as_me:$LINENO: checking for $ac_func" >&5
86446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86447 if eval "test \"\${$as_ac_var+set}\" = set"; then
86448 echo $ECHO_N "(cached) $ECHO_C" >&6
86449 else
86450 if test x$gcc_no_link = xyes; then
86451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86453 { (exit 1); exit 1; }; }
86454 fi
86455 cat >conftest.$ac_ext <<_ACEOF
86456 /* confdefs.h. */
86457 _ACEOF
86458 cat confdefs.h >>conftest.$ac_ext
86459 cat >>conftest.$ac_ext <<_ACEOF
86460 /* end confdefs.h. */
86461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86463 #define $ac_func innocuous_$ac_func
86464
86465 /* System header to define __stub macros and hopefully few prototypes,
86466 which can conflict with char $ac_func (); below.
86467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86468 <limits.h> exists even on freestanding compilers. */
86469
86470 #ifdef __STDC__
86471 # include <limits.h>
86472 #else
86473 # include <assert.h>
86474 #endif
86475
86476 #undef $ac_func
86477
86478 /* Override any gcc2 internal prototype to avoid an error. */
86479 #ifdef __cplusplus
86480 extern "C"
86481 {
86482 #endif
86483 /* We use char because int might match the return type of a gcc2
86484 builtin and then its argument prototype would still apply. */
86485 char $ac_func ();
86486 /* The GNU C library defines this for functions which it implements
86487 to always fail with ENOSYS. Some functions are actually named
86488 something starting with __ and the normal name is an alias. */
86489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86490 choke me
86491 #else
86492 char (*f) () = $ac_func;
86493 #endif
86494 #ifdef __cplusplus
86495 }
86496 #endif
86497
86498 int
86499 main ()
86500 {
86501 return f != $ac_func;
86502 ;
86503 return 0;
86504 }
86505 _ACEOF
86506 rm -f conftest.$ac_objext conftest$ac_exeext
86507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86508 (eval $ac_link) 2>conftest.er1
86509 ac_status=$?
86510 grep -v '^ *+' conftest.er1 >conftest.err
86511 rm -f conftest.er1
86512 cat conftest.err >&5
86513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86514 (exit $ac_status); } &&
86515 { ac_try='test -z "$ac_c_werror_flag"
86516 || test ! -s conftest.err'
86517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86518 (eval $ac_try) 2>&5
86519 ac_status=$?
86520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86521 (exit $ac_status); }; } &&
86522 { ac_try='test -s conftest$ac_exeext'
86523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86524 (eval $ac_try) 2>&5
86525 ac_status=$?
86526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86527 (exit $ac_status); }; }; then
86528 eval "$as_ac_var=yes"
86529 else
86530 echo "$as_me: failed program was:" >&5
86531 sed 's/^/| /' conftest.$ac_ext >&5
86532
86533 eval "$as_ac_var=no"
86534 fi
86535 rm -f conftest.err conftest.$ac_objext \
86536 conftest$ac_exeext conftest.$ac_ext
86537 fi
86538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86540 if test `eval echo '${'$as_ac_var'}'` = yes; then
86541 cat >>confdefs.h <<_ACEOF
86542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86543 _ACEOF
86544
86545 else
86546 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86547 fi
86548 done
86549
86550 fi
86551
86552 # Used in libmath/Makefile.am.
86553 if test -n "$LIBMATHOBJS"; then
86554 need_libmath=yes
86555 fi
86556
86557
86558
86559
86560 enable_iconv=no
86561 # Only continue checking if the ISO C99 headers exist and support is on.
86562 if test x"$enable_wchar_t" = xyes; then
86563
86564 # Use iconv for wchar_t to char conversions. As such, check for
86565 # X/Open Portability Guide, version 2 features (XPG2).
86566 if test "${ac_cv_header_iconv_h+set}" = set; then
86567 echo "$as_me:$LINENO: checking for iconv.h" >&5
86568 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86569 if test "${ac_cv_header_iconv_h+set}" = set; then
86570 echo $ECHO_N "(cached) $ECHO_C" >&6
86571 fi
86572 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86573 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86574 else
86575 # Is the header compilable?
86576 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86577 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86578 cat >conftest.$ac_ext <<_ACEOF
86579 /* confdefs.h. */
86580 _ACEOF
86581 cat confdefs.h >>conftest.$ac_ext
86582 cat >>conftest.$ac_ext <<_ACEOF
86583 /* end confdefs.h. */
86584 $ac_includes_default
86585 #include <iconv.h>
86586 _ACEOF
86587 rm -f conftest.$ac_objext
86588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86589 (eval $ac_compile) 2>conftest.er1
86590 ac_status=$?
86591 grep -v '^ *+' conftest.er1 >conftest.err
86592 rm -f conftest.er1
86593 cat conftest.err >&5
86594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86595 (exit $ac_status); } &&
86596 { ac_try='test -z "$ac_c_werror_flag"
86597 || test ! -s conftest.err'
86598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86599 (eval $ac_try) 2>&5
86600 ac_status=$?
86601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86602 (exit $ac_status); }; } &&
86603 { ac_try='test -s conftest.$ac_objext'
86604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86605 (eval $ac_try) 2>&5
86606 ac_status=$?
86607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86608 (exit $ac_status); }; }; then
86609 ac_header_compiler=yes
86610 else
86611 echo "$as_me: failed program was:" >&5
86612 sed 's/^/| /' conftest.$ac_ext >&5
86613
86614 ac_header_compiler=no
86615 fi
86616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86618 echo "${ECHO_T}$ac_header_compiler" >&6
86619
86620 # Is the header present?
86621 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86622 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86623 cat >conftest.$ac_ext <<_ACEOF
86624 /* confdefs.h. */
86625 _ACEOF
86626 cat confdefs.h >>conftest.$ac_ext
86627 cat >>conftest.$ac_ext <<_ACEOF
86628 /* end confdefs.h. */
86629 #include <iconv.h>
86630 _ACEOF
86631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86632 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86633 ac_status=$?
86634 grep -v '^ *+' conftest.er1 >conftest.err
86635 rm -f conftest.er1
86636 cat conftest.err >&5
86637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86638 (exit $ac_status); } >/dev/null; then
86639 if test -s conftest.err; then
86640 ac_cpp_err=$ac_c_preproc_warn_flag
86641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86642 else
86643 ac_cpp_err=
86644 fi
86645 else
86646 ac_cpp_err=yes
86647 fi
86648 if test -z "$ac_cpp_err"; then
86649 ac_header_preproc=yes
86650 else
86651 echo "$as_me: failed program was:" >&5
86652 sed 's/^/| /' conftest.$ac_ext >&5
86653
86654 ac_header_preproc=no
86655 fi
86656 rm -f conftest.err conftest.$ac_ext
86657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86658 echo "${ECHO_T}$ac_header_preproc" >&6
86659
86660 # So? What about this header?
86661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86662 yes:no: )
86663 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86664 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86665 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86666 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86667 ac_header_preproc=yes
86668 ;;
86669 no:yes:* )
86670 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86671 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86672 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86673 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86674 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86675 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86676 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86677 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86678 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86679 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86680 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86681 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86682 (
86683 cat <<\_ASBOX
86684 ## ----------------------------------------- ##
86685 ## Report this to the package-unused lists. ##
86686 ## ----------------------------------------- ##
86687 _ASBOX
86688 ) |
86689 sed "s/^/$as_me: WARNING: /" >&2
86690 ;;
86691 esac
86692 echo "$as_me:$LINENO: checking for iconv.h" >&5
86693 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86694 if test "${ac_cv_header_iconv_h+set}" = set; then
86695 echo $ECHO_N "(cached) $ECHO_C" >&6
86696 else
86697 ac_cv_header_iconv_h=$ac_header_preproc
86698 fi
86699 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86700 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86701
86702 fi
86703 if test $ac_cv_header_iconv_h = yes; then
86704 ac_has_iconv_h=yes
86705 else
86706 ac_has_iconv_h=no
86707 fi
86708
86709
86710 if test "${ac_cv_header_langinfo_h+set}" = set; then
86711 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86712 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86713 if test "${ac_cv_header_langinfo_h+set}" = set; then
86714 echo $ECHO_N "(cached) $ECHO_C" >&6
86715 fi
86716 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86717 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86718 else
86719 # Is the header compilable?
86720 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86721 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86722 cat >conftest.$ac_ext <<_ACEOF
86723 /* confdefs.h. */
86724 _ACEOF
86725 cat confdefs.h >>conftest.$ac_ext
86726 cat >>conftest.$ac_ext <<_ACEOF
86727 /* end confdefs.h. */
86728 $ac_includes_default
86729 #include <langinfo.h>
86730 _ACEOF
86731 rm -f conftest.$ac_objext
86732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86733 (eval $ac_compile) 2>conftest.er1
86734 ac_status=$?
86735 grep -v '^ *+' conftest.er1 >conftest.err
86736 rm -f conftest.er1
86737 cat conftest.err >&5
86738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86739 (exit $ac_status); } &&
86740 { ac_try='test -z "$ac_c_werror_flag"
86741 || test ! -s conftest.err'
86742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86743 (eval $ac_try) 2>&5
86744 ac_status=$?
86745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86746 (exit $ac_status); }; } &&
86747 { ac_try='test -s conftest.$ac_objext'
86748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86749 (eval $ac_try) 2>&5
86750 ac_status=$?
86751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86752 (exit $ac_status); }; }; then
86753 ac_header_compiler=yes
86754 else
86755 echo "$as_me: failed program was:" >&5
86756 sed 's/^/| /' conftest.$ac_ext >&5
86757
86758 ac_header_compiler=no
86759 fi
86760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86761 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86762 echo "${ECHO_T}$ac_header_compiler" >&6
86763
86764 # Is the header present?
86765 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86766 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86767 cat >conftest.$ac_ext <<_ACEOF
86768 /* confdefs.h. */
86769 _ACEOF
86770 cat confdefs.h >>conftest.$ac_ext
86771 cat >>conftest.$ac_ext <<_ACEOF
86772 /* end confdefs.h. */
86773 #include <langinfo.h>
86774 _ACEOF
86775 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86776 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86777 ac_status=$?
86778 grep -v '^ *+' conftest.er1 >conftest.err
86779 rm -f conftest.er1
86780 cat conftest.err >&5
86781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86782 (exit $ac_status); } >/dev/null; then
86783 if test -s conftest.err; then
86784 ac_cpp_err=$ac_c_preproc_warn_flag
86785 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86786 else
86787 ac_cpp_err=
86788 fi
86789 else
86790 ac_cpp_err=yes
86791 fi
86792 if test -z "$ac_cpp_err"; then
86793 ac_header_preproc=yes
86794 else
86795 echo "$as_me: failed program was:" >&5
86796 sed 's/^/| /' conftest.$ac_ext >&5
86797
86798 ac_header_preproc=no
86799 fi
86800 rm -f conftest.err conftest.$ac_ext
86801 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86802 echo "${ECHO_T}$ac_header_preproc" >&6
86803
86804 # So? What about this header?
86805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86806 yes:no: )
86807 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86808 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86809 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86810 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86811 ac_header_preproc=yes
86812 ;;
86813 no:yes:* )
86814 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86815 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86816 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86817 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86818 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86819 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86820 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86821 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86822 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86823 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86824 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86825 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86826 (
86827 cat <<\_ASBOX
86828 ## ----------------------------------------- ##
86829 ## Report this to the package-unused lists. ##
86830 ## ----------------------------------------- ##
86831 _ASBOX
86832 ) |
86833 sed "s/^/$as_me: WARNING: /" >&2
86834 ;;
86835 esac
86836 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86837 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86838 if test "${ac_cv_header_langinfo_h+set}" = set; then
86839 echo $ECHO_N "(cached) $ECHO_C" >&6
86840 else
86841 ac_cv_header_langinfo_h=$ac_header_preproc
86842 fi
86843 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86844 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86845
86846 fi
86847 if test $ac_cv_header_langinfo_h = yes; then
86848 ac_has_langinfo_h=yes
86849 else
86850 ac_has_langinfo_h=no
86851 fi
86852
86853
86854
86855 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86856 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86857 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86858 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86859 echo $ECHO_N "(cached) $ECHO_C" >&6
86860 else
86861 ac_check_lib_save_LIBS=$LIBS
86862 LIBS="-liconv $LIBS"
86863 if test x$gcc_no_link = xyes; then
86864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86866 { (exit 1); exit 1; }; }
86867 fi
86868 cat >conftest.$ac_ext <<_ACEOF
86869 /* confdefs.h. */
86870 _ACEOF
86871 cat confdefs.h >>conftest.$ac_ext
86872 cat >>conftest.$ac_ext <<_ACEOF
86873 /* end confdefs.h. */
86874
86875 /* Override any gcc2 internal prototype to avoid an error. */
86876 #ifdef __cplusplus
86877 extern "C"
86878 #endif
86879 /* We use char because int might match the return type of a gcc2
86880 builtin and then its argument prototype would still apply. */
86881 char iconv ();
86882 int
86883 main ()
86884 {
86885 iconv ();
86886 ;
86887 return 0;
86888 }
86889 _ACEOF
86890 rm -f conftest.$ac_objext conftest$ac_exeext
86891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86892 (eval $ac_link) 2>conftest.er1
86893 ac_status=$?
86894 grep -v '^ *+' conftest.er1 >conftest.err
86895 rm -f conftest.er1
86896 cat conftest.err >&5
86897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86898 (exit $ac_status); } &&
86899 { ac_try='test -z "$ac_c_werror_flag"
86900 || test ! -s conftest.err'
86901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86902 (eval $ac_try) 2>&5
86903 ac_status=$?
86904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86905 (exit $ac_status); }; } &&
86906 { ac_try='test -s conftest$ac_exeext'
86907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86908 (eval $ac_try) 2>&5
86909 ac_status=$?
86910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86911 (exit $ac_status); }; }; then
86912 ac_cv_lib_iconv_iconv=yes
86913 else
86914 echo "$as_me: failed program was:" >&5
86915 sed 's/^/| /' conftest.$ac_ext >&5
86916
86917 ac_cv_lib_iconv_iconv=no
86918 fi
86919 rm -f conftest.err conftest.$ac_objext \
86920 conftest$ac_exeext conftest.$ac_ext
86921 LIBS=$ac_check_lib_save_LIBS
86922 fi
86923 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86924 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86925 if test $ac_cv_lib_iconv_iconv = yes; then
86926 LIBICONV="-liconv"
86927 fi
86928
86929 ac_save_LIBS="$LIBS"
86930 LIBS="$LIBS $LIBICONV"
86931
86932
86933
86934
86935
86936
86937 for ac_func in iconv_open iconv_close iconv nl_langinfo
86938 do
86939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86940 echo "$as_me:$LINENO: checking for $ac_func" >&5
86941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86942 if eval "test \"\${$as_ac_var+set}\" = set"; then
86943 echo $ECHO_N "(cached) $ECHO_C" >&6
86944 else
86945 if test x$gcc_no_link = xyes; then
86946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86948 { (exit 1); exit 1; }; }
86949 fi
86950 cat >conftest.$ac_ext <<_ACEOF
86951 /* confdefs.h. */
86952 _ACEOF
86953 cat confdefs.h >>conftest.$ac_ext
86954 cat >>conftest.$ac_ext <<_ACEOF
86955 /* end confdefs.h. */
86956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86958 #define $ac_func innocuous_$ac_func
86959
86960 /* System header to define __stub macros and hopefully few prototypes,
86961 which can conflict with char $ac_func (); below.
86962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86963 <limits.h> exists even on freestanding compilers. */
86964
86965 #ifdef __STDC__
86966 # include <limits.h>
86967 #else
86968 # include <assert.h>
86969 #endif
86970
86971 #undef $ac_func
86972
86973 /* Override any gcc2 internal prototype to avoid an error. */
86974 #ifdef __cplusplus
86975 extern "C"
86976 {
86977 #endif
86978 /* We use char because int might match the return type of a gcc2
86979 builtin and then its argument prototype would still apply. */
86980 char $ac_func ();
86981 /* The GNU C library defines this for functions which it implements
86982 to always fail with ENOSYS. Some functions are actually named
86983 something starting with __ and the normal name is an alias. */
86984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86985 choke me
86986 #else
86987 char (*f) () = $ac_func;
86988 #endif
86989 #ifdef __cplusplus
86990 }
86991 #endif
86992
86993 int
86994 main ()
86995 {
86996 return f != $ac_func;
86997 ;
86998 return 0;
86999 }
87000 _ACEOF
87001 rm -f conftest.$ac_objext conftest$ac_exeext
87002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87003 (eval $ac_link) 2>conftest.er1
87004 ac_status=$?
87005 grep -v '^ *+' conftest.er1 >conftest.err
87006 rm -f conftest.er1
87007 cat conftest.err >&5
87008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87009 (exit $ac_status); } &&
87010 { ac_try='test -z "$ac_c_werror_flag"
87011 || test ! -s conftest.err'
87012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87013 (eval $ac_try) 2>&5
87014 ac_status=$?
87015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87016 (exit $ac_status); }; } &&
87017 { ac_try='test -s conftest$ac_exeext'
87018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87019 (eval $ac_try) 2>&5
87020 ac_status=$?
87021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87022 (exit $ac_status); }; }; then
87023 eval "$as_ac_var=yes"
87024 else
87025 echo "$as_me: failed program was:" >&5
87026 sed 's/^/| /' conftest.$ac_ext >&5
87027
87028 eval "$as_ac_var=no"
87029 fi
87030 rm -f conftest.err conftest.$ac_objext \
87031 conftest$ac_exeext conftest.$ac_ext
87032 fi
87033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87035 if test `eval echo '${'$as_ac_var'}'` = yes; then
87036 cat >>confdefs.h <<_ACEOF
87037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87038 _ACEOF
87039 ac_XPG2funcs=yes
87040 else
87041 ac_XPG2funcs=no
87042 fi
87043 done
87044
87045
87046 LIBS="$ac_save_LIBS"
87047
87048 if test x"$ac_has_iconv_h" = xyes &&
87049 test x"$ac_has_langinfo_h" = xyes &&
87050 test x"$ac_XPG2funcs" = xyes;
87051 then
87052
87053 cat >>confdefs.h <<\_ACEOF
87054 #define _GLIBCXX_USE_ICONV 1
87055 _ACEOF
87056
87057 enable_iconv=yes
87058 fi
87059 fi
87060 echo "$as_me:$LINENO: checking for enabled iconv specializations" >&5
87061 echo $ECHO_N "checking for enabled iconv specializations... $ECHO_C" >&6
87062 echo "$as_me:$LINENO: result: $enable_iconv" >&5
87063 echo "${ECHO_T}$enable_iconv" >&6
87064
87065 cat >>confdefs.h <<\_ACEOF
87066 #define HAVE_COPYSIGN 1
87067 _ACEOF
87068
87069 cat >>confdefs.h <<\_ACEOF
87070 #define HAVE_COPYSIGNF 1
87071 _ACEOF
87072
87073 cat >>confdefs.h <<\_ACEOF
87074 #define HAVE_FINITE 1
87075 _ACEOF
87076
87077 cat >>confdefs.h <<\_ACEOF
87078 #define HAVE_FINITEF 1
87079 _ACEOF
87080
87081 cat >>confdefs.h <<\_ACEOF
87082 #define HAVE_FREXPF 1
87083 _ACEOF
87084
87085 cat >>confdefs.h <<\_ACEOF
87086 #define HAVE_HYPOTF 1
87087 _ACEOF
87088
87089 cat >>confdefs.h <<\_ACEOF
87090 #define HAVE_ISINF 1
87091 _ACEOF
87092
87093 cat >>confdefs.h <<\_ACEOF
87094 #define HAVE_ISINFF 1
87095 _ACEOF
87096
87097 cat >>confdefs.h <<\_ACEOF
87098 #define HAVE_ISNAN 1
87099 _ACEOF
87100
87101 cat >>confdefs.h <<\_ACEOF
87102 #define HAVE_ISNANF 1
87103 _ACEOF
87104
87105 cat >>confdefs.h <<\_ACEOF
87106 #define HAVE_SINCOS 1
87107 _ACEOF
87108
87109 cat >>confdefs.h <<\_ACEOF
87110 #define HAVE_SINCOSF 1
87111 _ACEOF
87112
87113 if test x"long_double_math_on_this_cpu" = x"yes"; then
87114 cat >>confdefs.h <<\_ACEOF
87115 #define HAVE_FINITEL 1
87116 _ACEOF
87117
87118 cat >>confdefs.h <<\_ACEOF
87119 #define HAVE_HYPOTL 1
87120 _ACEOF
87121
87122 cat >>confdefs.h <<\_ACEOF
87123 #define HAVE_ISINFL 1
87124 _ACEOF
87125
87126 cat >>confdefs.h <<\_ACEOF
87127 #define HAVE_ISNANL 1
87128 _ACEOF
87129
87130 fi
87131 ;;
87132 *-vxworks)
87133 cat >>confdefs.h <<\_ACEOF
87134 #define HAVE_MMAP 1
87135 _ACEOF
87136
87137 cat >>confdefs.h <<\_ACEOF
87138 #define HAVE_ACOSF 1
87139 _ACEOF
87140
87141 cat >>confdefs.h <<\_ACEOF
87142 #define HAVE_ASINF 1
87143 _ACEOF
87144
87145 cat >>confdefs.h <<\_ACEOF
87146 #define HAVE_ATAN2F 1
87147 _ACEOF
87148
87149 cat >>confdefs.h <<\_ACEOF
87150 #define HAVE_ATANF 1
87151 _ACEOF
87152
87153 cat >>confdefs.h <<\_ACEOF
87154 #define HAVE_CEILF 1
87155 _ACEOF
87156
87157 cat >>confdefs.h <<\_ACEOF
87158 #define HAVE_COSF 1
87159 _ACEOF
87160
87161 cat >>confdefs.h <<\_ACEOF
87162 #define HAVE_COSHF 1
87163 _ACEOF
87164
87165 cat >>confdefs.h <<\_ACEOF
87166 #define HAVE_EXPF 1
87167 _ACEOF
87168
87169 cat >>confdefs.h <<\_ACEOF
87170 #define HAVE_FABSF 1
87171 _ACEOF
87172
87173 cat >>confdefs.h <<\_ACEOF
87174 #define HAVE_FLOORF 1
87175 _ACEOF
87176
87177 cat >>confdefs.h <<\_ACEOF
87178 #define HAVE_FMODF 1
87179 _ACEOF
87180
87181 cat >>confdefs.h <<\_ACEOF
87182 #define HAVE_HYPOT 1
87183 _ACEOF
87184
87185 cat >>confdefs.h <<\_ACEOF
87186 #define HAVE_LOG10F 1
87187 _ACEOF
87188
87189 cat >>confdefs.h <<\_ACEOF
87190 #define HAVE_LOGF 1
87191 _ACEOF
87192
87193 cat >>confdefs.h <<\_ACEOF
87194 #define HAVE_POWF 1
87195 _ACEOF
87196
87197 cat >>confdefs.h <<\_ACEOF
87198 #define HAVE_SINF 1
87199 _ACEOF
87200
87201 cat >>confdefs.h <<\_ACEOF
87202 #define HAVE_SINHF 1
87203 _ACEOF
87204
87205 cat >>confdefs.h <<\_ACEOF
87206 #define HAVE_SQRTF 1
87207 _ACEOF
87208
87209 cat >>confdefs.h <<\_ACEOF
87210 #define HAVE_TANF 1
87211 _ACEOF
87212
87213 cat >>confdefs.h <<\_ACEOF
87214 #define HAVE_TANHF 1
87215 _ACEOF
87216
87217 ;;
87218 *-windiss*)
87219 cat >>confdefs.h <<\_ACEOF
87220 #define HAVE_ACOSF 1
87221 _ACEOF
87222
87223 cat >>confdefs.h <<\_ACEOF
87224 #define HAVE_ACOSL 1
87225 _ACEOF
87226
87227 cat >>confdefs.h <<\_ACEOF
87228 #define HAVE_ASINF 1
87229 _ACEOF
87230
87231 cat >>confdefs.h <<\_ACEOF
87232 #define HAVE_ASINL 1
87233 _ACEOF
87234
87235 cat >>confdefs.h <<\_ACEOF
87236 #define HAVE_ATAN2F 1
87237 _ACEOF
87238
87239 cat >>confdefs.h <<\_ACEOF
87240 #define HAVE_ATAN2L 1
87241 _ACEOF
87242
87243 cat >>confdefs.h <<\_ACEOF
87244 #define HAVE_ATANF 1
87245 _ACEOF
87246
87247 cat >>confdefs.h <<\_ACEOF
87248 #define HAVE_ATANL 1
87249 _ACEOF
87250
87251 cat >>confdefs.h <<\_ACEOF
87252 #define HAVE_CEILF 1
87253 _ACEOF
87254
87255 cat >>confdefs.h <<\_ACEOF
87256 #define HAVE_CEILL 1
87257 _ACEOF
87258
87259 cat >>confdefs.h <<\_ACEOF
87260 #define HAVE_COPYSIGN 1
87261 _ACEOF
87262
87263 cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_COPYSIGNF 1
87265 _ACEOF
87266
87267 cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_COSF 1
87269 _ACEOF
87270
87271 cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_COSL 1
87273 _ACEOF
87274
87275 cat >>confdefs.h <<\_ACEOF
87276 #define HAVE_COSHF 1
87277 _ACEOF
87278
87279 cat >>confdefs.h <<\_ACEOF
87280 #define HAVE_COSHL 1
87281 _ACEOF
87282
87283 cat >>confdefs.h <<\_ACEOF
87284 #define HAVE_EXPF 1
87285 _ACEOF
87286
87287 cat >>confdefs.h <<\_ACEOF
87288 #define HAVE_EXPL 1
87289 _ACEOF
87290
87291 cat >>confdefs.h <<\_ACEOF
87292 #define HAVE_FABSF 1
87293 _ACEOF
87294
87295 cat >>confdefs.h <<\_ACEOF
87296 #define HAVE_FABSL 1
87297 _ACEOF
87298
87299 cat >>confdefs.h <<\_ACEOF
87300 #define HAVE_FLOORF 1
87301 _ACEOF
87302
87303 cat >>confdefs.h <<\_ACEOF
87304 #define HAVE_FLOORL 1
87305 _ACEOF
87306
87307 cat >>confdefs.h <<\_ACEOF
87308 #define HAVE_FMODF 1
87309 _ACEOF
87310
87311 cat >>confdefs.h <<\_ACEOF
87312 #define HAVE_FMODL 1
87313 _ACEOF
87314
87315 cat >>confdefs.h <<\_ACEOF
87316 #define HAVE_FREXPF 1
87317 _ACEOF
87318
87319 cat >>confdefs.h <<\_ACEOF
87320 #define HAVE_FREXPL 1
87321 _ACEOF
87322
87323 cat >>confdefs.h <<\_ACEOF
87324 #define HAVE_LDEXPF 1
87325 _ACEOF
87326
87327 cat >>confdefs.h <<\_ACEOF
87328 #define HAVE_LDEXPL 1
87329 _ACEOF
87330
87331 cat >>confdefs.h <<\_ACEOF
87332 #define HAVE_LOG10F 1
87333 _ACEOF
87334
87335 cat >>confdefs.h <<\_ACEOF
87336 #define HAVE_LOG10L 1
87337 _ACEOF
87338
87339 cat >>confdefs.h <<\_ACEOF
87340 #define HAVE_LOGF 1
87341 _ACEOF
87342
87343 cat >>confdefs.h <<\_ACEOF
87344 #define HAVE_MODFF 1
87345 _ACEOF
87346
87347 cat >>confdefs.h <<\_ACEOF
87348 #define HAVE_MODFL 1
87349 _ACEOF
87350
87351 cat >>confdefs.h <<\_ACEOF
87352 #define HAVE_POWF 1
87353 _ACEOF
87354
87355 cat >>confdefs.h <<\_ACEOF
87356 #define HAVE_POWL 1
87357 _ACEOF
87358
87359 cat >>confdefs.h <<\_ACEOF
87360 #define HAVE_SINF 1
87361 _ACEOF
87362
87363 cat >>confdefs.h <<\_ACEOF
87364 #define HAVE_SINL 1
87365 _ACEOF
87366
87367 cat >>confdefs.h <<\_ACEOF
87368 #define HAVE_SINHF 1
87369 _ACEOF
87370
87371 cat >>confdefs.h <<\_ACEOF
87372 #define HAVE_SINHL 1
87373 _ACEOF
87374
87375 cat >>confdefs.h <<\_ACEOF
87376 #define HAVE_SQRTF 1
87377 _ACEOF
87378
87379 cat >>confdefs.h <<\_ACEOF
87380 #define HAVE_SQRTL 1
87381 _ACEOF
87382
87383 cat >>confdefs.h <<\_ACEOF
87384 #define HAVE_TANF 1
87385 _ACEOF
87386
87387 cat >>confdefs.h <<\_ACEOF
87388 #define HAVE_TANL 1
87389 _ACEOF
87390
87391 cat >>confdefs.h <<\_ACEOF
87392 #define HAVE_TANHF 1
87393 _ACEOF
87394
87395 cat >>confdefs.h <<\_ACEOF
87396 #define HAVE_TANHL 1
87397 _ACEOF
87398
87399 ;;
87400 *)
87401 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
87402 echo "$as_me: error: No support for this host/target combination." >&2;}
87403 { (exit 1); exit 1; }; }
87404 ;;
87405 esac
87406
87407 fi
87408
87409 # At some point, we should differentiate between architectures
87410 # like x86, which have long double versions, and alpha/powerpc/etc.,
87411 # which don't. For the time being, punt.
87412 if test x"long_double_math_on_this_cpu" = x"yes"; then
87413 cat >>confdefs.h <<\_ACEOF
87414 #define HAVE_ACOSL 1
87415 _ACEOF
87416
87417 cat >>confdefs.h <<\_ACEOF
87418 #define HAVE_ASINL 1
87419 _ACEOF
87420
87421 cat >>confdefs.h <<\_ACEOF
87422 #define HAVE_ATAN2L 1
87423 _ACEOF
87424
87425 cat >>confdefs.h <<\_ACEOF
87426 #define HAVE_ATANL 1
87427 _ACEOF
87428
87429 cat >>confdefs.h <<\_ACEOF
87430 #define HAVE_CEILL 1
87431 _ACEOF
87432
87433 cat >>confdefs.h <<\_ACEOF
87434 #define HAVE_COPYSIGNL 1
87435 _ACEOF
87436
87437 cat >>confdefs.h <<\_ACEOF
87438 #define HAVE_COSL 1
87439 _ACEOF
87440
87441 cat >>confdefs.h <<\_ACEOF
87442 #define HAVE_COSHL 1
87443 _ACEOF
87444
87445 cat >>confdefs.h <<\_ACEOF
87446 #define HAVE_EXPL 1
87447 _ACEOF
87448
87449 cat >>confdefs.h <<\_ACEOF
87450 #define HAVE_FABSL 1
87451 _ACEOF
87452
87453 cat >>confdefs.h <<\_ACEOF
87454 #define HAVE_FLOORL 1
87455 _ACEOF
87456
87457 cat >>confdefs.h <<\_ACEOF
87458 #define HAVE_FMODL 1
87459 _ACEOF
87460
87461 cat >>confdefs.h <<\_ACEOF
87462 #define HAVE_FREXPL 1
87463 _ACEOF
87464
87465 cat >>confdefs.h <<\_ACEOF
87466 #define HAVE_LDEXPL 1
87467 _ACEOF
87468
87469 cat >>confdefs.h <<\_ACEOF
87470 #define HAVE_LOG10L 1
87471 _ACEOF
87472
87473 cat >>confdefs.h <<\_ACEOF
87474 #define HAVE_LOGL 1
87475 _ACEOF
87476
87477 cat >>confdefs.h <<\_ACEOF
87478 #define HAVE_MODFL 1
87479 _ACEOF
87480
87481 cat >>confdefs.h <<\_ACEOF
87482 #define HAVE_POWL 1
87483 _ACEOF
87484
87485 cat >>confdefs.h <<\_ACEOF
87486 #define HAVE_SINCOSL 1
87487 _ACEOF
87488
87489 cat >>confdefs.h <<\_ACEOF
87490 #define HAVE_SINL 1
87491 _ACEOF
87492
87493 cat >>confdefs.h <<\_ACEOF
87494 #define HAVE_SINHL 1
87495 _ACEOF
87496
87497 cat >>confdefs.h <<\_ACEOF
87498 #define HAVE_SQRTL 1
87499 _ACEOF
87500
87501 cat >>confdefs.h <<\_ACEOF
87502 #define HAVE_TANL 1
87503 _ACEOF
87504
87505 cat >>confdefs.h <<\_ACEOF
87506 #define HAVE_TANHL 1
87507 _ACEOF
87508
87509 fi
87510
87511 fi
87512
87513 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
87514
87515
87516 # Check whether --enable-symvers or --disable-symvers was given.
87517 if test "${enable_symvers+set}" = set; then
87518 enableval="$enable_symvers"
87519
87520 case "$enableval" in
87521 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
87522 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
87523 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
87524 { (exit 1); exit 1; }; } ;;
87525 esac
87526
87527 else
87528 enable_symvers=yes
87529 fi;
87530
87531
87532 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
87533 # don't know enough about $LD to do tricks...
87534
87535
87536 # Turn a 'yes' into a suitable default.
87537 if test x$enable_symvers = xyes ; then
87538 if test $enable_shared = no || test "x$LD" = x ; then
87539 enable_symvers=no
87540 else
87541 if test $with_gnu_ld = yes ; then
87542 enable_symvers=gnu
87543 else
87544 case ${target_os} in
87545 darwin*)
87546 enable_symvers=darwin ;;
87547 *)
87548 enable_symvers=no ;;
87549 esac
87550 fi
87551 fi
87552 fi
87553
87554 # Check to see if 'darwin' or 'darwin-export' can win.
87555 if test x$enable_symvers = xdarwin-export ; then
87556 enable_symvers=darwin
87557 fi
87558
87559 # Check to see if 'gnu' can win.
87560 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
87561 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
87562 echo "$as_me:$LINENO: checking for shared libgcc" >&5
87563 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
87564 ac_save_CFLAGS="$CFLAGS"
87565 CFLAGS=' -lgcc_s'
87566 if test x$gcc_no_link = xyes; then
87567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87569 { (exit 1); exit 1; }; }
87570 fi
87571 cat >conftest.$ac_ext <<_ACEOF
87572 /* confdefs.h. */
87573 _ACEOF
87574 cat confdefs.h >>conftest.$ac_ext
87575 cat >>conftest.$ac_ext <<_ACEOF
87576 /* end confdefs.h. */
87577
87578 int
87579 main ()
87580 {
87581 return 0;
87582 ;
87583 return 0;
87584 }
87585 _ACEOF
87586 rm -f conftest.$ac_objext conftest$ac_exeext
87587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87588 (eval $ac_link) 2>conftest.er1
87589 ac_status=$?
87590 grep -v '^ *+' conftest.er1 >conftest.err
87591 rm -f conftest.er1
87592 cat conftest.err >&5
87593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87594 (exit $ac_status); } &&
87595 { ac_try='test -z "$ac_c_werror_flag"
87596 || test ! -s conftest.err'
87597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87598 (eval $ac_try) 2>&5
87599 ac_status=$?
87600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87601 (exit $ac_status); }; } &&
87602 { ac_try='test -s conftest$ac_exeext'
87603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87604 (eval $ac_try) 2>&5
87605 ac_status=$?
87606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87607 (exit $ac_status); }; }; then
87608 glibcxx_shared_libgcc=yes
87609 else
87610 echo "$as_me: failed program was:" >&5
87611 sed 's/^/| /' conftest.$ac_ext >&5
87612
87613 glibcxx_shared_libgcc=no
87614 fi
87615 rm -f conftest.err conftest.$ac_objext \
87616 conftest$ac_exeext conftest.$ac_ext
87617 CFLAGS="$ac_save_CFLAGS"
87618 if test $glibcxx_shared_libgcc = no; then
87619 cat > conftest.c <<EOF
87620 int main (void) { return 0; }
87621 EOF
87622 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
87623 -shared -shared-libgcc -o conftest.so \
87624 conftest.c -v 2>&1 >/dev/null \
87625 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
87626 rm -f conftest.c conftest.so
87627 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
87628 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
87629 if test x$gcc_no_link = xyes; then
87630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87632 { (exit 1); exit 1; }; }
87633 fi
87634 cat >conftest.$ac_ext <<_ACEOF
87635 /* confdefs.h. */
87636 _ACEOF
87637 cat confdefs.h >>conftest.$ac_ext
87638 cat >>conftest.$ac_ext <<_ACEOF
87639 /* end confdefs.h. */
87640
87641 int
87642 main ()
87643 {
87644 return 0;
87645 ;
87646 return 0;
87647 }
87648 _ACEOF
87649 rm -f conftest.$ac_objext conftest$ac_exeext
87650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87651 (eval $ac_link) 2>conftest.er1
87652 ac_status=$?
87653 grep -v '^ *+' conftest.er1 >conftest.err
87654 rm -f conftest.er1
87655 cat conftest.err >&5
87656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87657 (exit $ac_status); } &&
87658 { ac_try='test -z "$ac_c_werror_flag"
87659 || test ! -s conftest.err'
87660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87661 (eval $ac_try) 2>&5
87662 ac_status=$?
87663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87664 (exit $ac_status); }; } &&
87665 { ac_try='test -s conftest$ac_exeext'
87666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87667 (eval $ac_try) 2>&5
87668 ac_status=$?
87669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87670 (exit $ac_status); }; }; then
87671 glibcxx_shared_libgcc=yes
87672 else
87673 echo "$as_me: failed program was:" >&5
87674 sed 's/^/| /' conftest.$ac_ext >&5
87675
87676 fi
87677 rm -f conftest.err conftest.$ac_objext \
87678 conftest$ac_exeext conftest.$ac_ext
87679 CFLAGS="$ac_save_CFLAGS"
87680 fi
87681 fi
87682 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
87683 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
87684
87685 # For GNU ld, we need at least this version. The format is described in
87686 # GLIBCXX_CHECK_LINKER_FEATURES above.
87687 glibcxx_min_gnu_ld_version=21400
87688
87689 # If no shared libgcc, can't win.
87690 if test $glibcxx_shared_libgcc != yes; then
87691 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87692 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87693 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
87694 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
87695 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87696 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87697 enable_symvers=no
87698 elif test $with_gnu_ld != yes ; then
87699 # just fail for now
87700 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
87701 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
87702 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
87703 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
87704 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87705 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87706 enable_symvers=no
87707 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
87708 # The right tools, the right setup, but too old. Fallbacks?
87709 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
87710 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
87711 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
87712 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
87713 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
87714 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
87715 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
87716 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
87717 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
87718 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
87719 enable_symvers=no
87720 fi
87721 fi
87722
87723 # Everything parsed; figure out what file to use.
87724 case $enable_symvers in
87725 no)
87726 SYMVER_FILE=config/abi/pre/none.ver
87727 ;;
87728 gnu)
87729 SYMVER_FILE=config/abi/pre/gnu.ver
87730
87731 cat >>confdefs.h <<\_ACEOF
87732 #define _GLIBCXX_SYMVER_GNU 1
87733 _ACEOF
87734
87735 ;;
87736 gnu-versioned-namespace)
87737 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
87738
87739 cat >>confdefs.h <<\_ACEOF
87740 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
87741 _ACEOF
87742
87743 ;;
87744 darwin)
87745 SYMVER_FILE=config/abi/pre/gnu.ver
87746
87747 cat >>confdefs.h <<\_ACEOF
87748 #define _GLIBCXX_SYMVER_DARWIN 1
87749 _ACEOF
87750
87751 ;;
87752 esac
87753
87754 if test x$enable_symvers != xno ; then
87755
87756 cat >>confdefs.h <<\_ACEOF
87757 #define _GLIBCXX_SYMVER 1
87758 _ACEOF
87759
87760 fi
87761
87762
87763
87764
87765
87766
87767
87768 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
87769 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
87770
87771 # Now, set up compatibility support, if any.
87772 # In addition, need this to deal with std::size_t mangling in
87773 # src/compatibility.cc. In a perfect world, could use
87774 # typeid(std::size_t).name()[0] to do direct substitution.
87775 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
87776 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
87777 ac_save_CFLAGS="$CFLAGS"
87778 CFLAGS="-Werror"
87779 cat >conftest.$ac_ext <<_ACEOF
87780 /* confdefs.h. */
87781 _ACEOF
87782 cat confdefs.h >>conftest.$ac_ext
87783 cat >>conftest.$ac_ext <<_ACEOF
87784 /* end confdefs.h. */
87785
87786 int
87787 main ()
87788 {
87789 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
87790 ;
87791 return 0;
87792 }
87793 _ACEOF
87794 rm -f conftest.$ac_objext
87795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87796 (eval $ac_compile) 2>conftest.er1
87797 ac_status=$?
87798 grep -v '^ *+' conftest.er1 >conftest.err
87799 rm -f conftest.er1
87800 cat conftest.err >&5
87801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87802 (exit $ac_status); } &&
87803 { ac_try='test -z "$ac_c_werror_flag"
87804 || test ! -s conftest.err'
87805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87806 (eval $ac_try) 2>&5
87807 ac_status=$?
87808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87809 (exit $ac_status); }; } &&
87810 { ac_try='test -s conftest.$ac_objext'
87811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87812 (eval $ac_try) 2>&5
87813 ac_status=$?
87814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87815 (exit $ac_status); }; }; then
87816 glibcxx_size_t_is_i=yes
87817 else
87818 echo "$as_me: failed program was:" >&5
87819 sed 's/^/| /' conftest.$ac_ext >&5
87820
87821 glibcxx_size_t_is_i=no
87822 fi
87823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87824 CFLAGS=$ac_save_CFLAGS
87825 if test "$glibcxx_size_t_is_i" = yes; then
87826
87827 cat >>confdefs.h <<\_ACEOF
87828 #define _GLIBCXX_SIZE_T_IS_UINT 1
87829 _ACEOF
87830
87831 fi
87832 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
87833 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
87834
87835 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
87836 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
87837 ac_save_CFLAGS="$CFLAGS"
87838 CFLAGS="-Werror"
87839 cat >conftest.$ac_ext <<_ACEOF
87840 /* confdefs.h. */
87841 _ACEOF
87842 cat confdefs.h >>conftest.$ac_ext
87843 cat >>conftest.$ac_ext <<_ACEOF
87844 /* end confdefs.h. */
87845
87846 int
87847 main ()
87848 {
87849 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
87850 ;
87851 return 0;
87852 }
87853 _ACEOF
87854 rm -f conftest.$ac_objext
87855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87856 (eval $ac_compile) 2>conftest.er1
87857 ac_status=$?
87858 grep -v '^ *+' conftest.er1 >conftest.err
87859 rm -f conftest.er1
87860 cat conftest.err >&5
87861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87862 (exit $ac_status); } &&
87863 { ac_try='test -z "$ac_c_werror_flag"
87864 || test ! -s conftest.err'
87865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87866 (eval $ac_try) 2>&5
87867 ac_status=$?
87868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87869 (exit $ac_status); }; } &&
87870 { ac_try='test -s conftest.$ac_objext'
87871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87872 (eval $ac_try) 2>&5
87873 ac_status=$?
87874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87875 (exit $ac_status); }; }; then
87876 glibcxx_ptrdiff_t_is_i=yes
87877 else
87878 echo "$as_me: failed program was:" >&5
87879 sed 's/^/| /' conftest.$ac_ext >&5
87880
87881 glibcxx_ptrdiff_t_is_i=no
87882 fi
87883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87884 CFLAGS=$ac_save_CFLAGS
87885 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
87886
87887 cat >>confdefs.h <<\_ACEOF
87888 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
87889 _ACEOF
87890
87891 fi
87892 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
87893 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
87894
87895
87896 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
87897
87898 if $GLIBCXX_IS_NATIVE ; then
87899 # Do checks for resource limit functions.
87900
87901 setrlimit_have_headers=yes
87902
87903
87904
87905 for ac_header in unistd.h sys/time.h sys/resource.h
87906 do
87907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87909 echo "$as_me:$LINENO: checking for $ac_header" >&5
87910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87912 echo $ECHO_N "(cached) $ECHO_C" >&6
87913 fi
87914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87916 else
87917 # Is the header compilable?
87918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87920 cat >conftest.$ac_ext <<_ACEOF
87921 /* confdefs.h. */
87922 _ACEOF
87923 cat confdefs.h >>conftest.$ac_ext
87924 cat >>conftest.$ac_ext <<_ACEOF
87925 /* end confdefs.h. */
87926 $ac_includes_default
87927 #include <$ac_header>
87928 _ACEOF
87929 rm -f conftest.$ac_objext
87930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87931 (eval $ac_compile) 2>conftest.er1
87932 ac_status=$?
87933 grep -v '^ *+' conftest.er1 >conftest.err
87934 rm -f conftest.er1
87935 cat conftest.err >&5
87936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87937 (exit $ac_status); } &&
87938 { ac_try='test -z "$ac_c_werror_flag"
87939 || test ! -s conftest.err'
87940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87941 (eval $ac_try) 2>&5
87942 ac_status=$?
87943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87944 (exit $ac_status); }; } &&
87945 { ac_try='test -s conftest.$ac_objext'
87946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87947 (eval $ac_try) 2>&5
87948 ac_status=$?
87949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87950 (exit $ac_status); }; }; then
87951 ac_header_compiler=yes
87952 else
87953 echo "$as_me: failed program was:" >&5
87954 sed 's/^/| /' conftest.$ac_ext >&5
87955
87956 ac_header_compiler=no
87957 fi
87958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87960 echo "${ECHO_T}$ac_header_compiler" >&6
87961
87962 # Is the header present?
87963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87965 cat >conftest.$ac_ext <<_ACEOF
87966 /* confdefs.h. */
87967 _ACEOF
87968 cat confdefs.h >>conftest.$ac_ext
87969 cat >>conftest.$ac_ext <<_ACEOF
87970 /* end confdefs.h. */
87971 #include <$ac_header>
87972 _ACEOF
87973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87975 ac_status=$?
87976 grep -v '^ *+' conftest.er1 >conftest.err
87977 rm -f conftest.er1
87978 cat conftest.err >&5
87979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87980 (exit $ac_status); } >/dev/null; then
87981 if test -s conftest.err; then
87982 ac_cpp_err=$ac_c_preproc_warn_flag
87983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87984 else
87985 ac_cpp_err=
87986 fi
87987 else
87988 ac_cpp_err=yes
87989 fi
87990 if test -z "$ac_cpp_err"; then
87991 ac_header_preproc=yes
87992 else
87993 echo "$as_me: failed program was:" >&5
87994 sed 's/^/| /' conftest.$ac_ext >&5
87995
87996 ac_header_preproc=no
87997 fi
87998 rm -f conftest.err conftest.$ac_ext
87999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88000 echo "${ECHO_T}$ac_header_preproc" >&6
88001
88002 # So? What about this header?
88003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88004 yes:no: )
88005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88009 ac_header_preproc=yes
88010 ;;
88011 no:yes:* )
88012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88024 (
88025 cat <<\_ASBOX
88026 ## ----------------------------------------- ##
88027 ## Report this to the package-unused lists. ##
88028 ## ----------------------------------------- ##
88029 _ASBOX
88030 ) |
88031 sed "s/^/$as_me: WARNING: /" >&2
88032 ;;
88033 esac
88034 echo "$as_me:$LINENO: checking for $ac_header" >&5
88035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88037 echo $ECHO_N "(cached) $ECHO_C" >&6
88038 else
88039 eval "$as_ac_Header=\$ac_header_preproc"
88040 fi
88041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88043
88044 fi
88045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88046 cat >>confdefs.h <<_ACEOF
88047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88048 _ACEOF
88049
88050 else
88051 setrlimit_have_headers=no
88052 fi
88053
88054 done
88055
88056 # If don't have the headers, then we can't run the tests now, and we
88057 # won't be seeing any of these during testsuite compilation.
88058 if test $setrlimit_have_headers = yes; then
88059 # Can't do these in a loop, else the resulting syntax is wrong.
88060
88061 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
88062 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
88063 cat >conftest.$ac_ext <<_ACEOF
88064 /* confdefs.h. */
88065 _ACEOF
88066 cat confdefs.h >>conftest.$ac_ext
88067 cat >>conftest.$ac_ext <<_ACEOF
88068 /* end confdefs.h. */
88069 #include <unistd.h>
88070 #include <sys/time.h>
88071 #include <sys/resource.h>
88072
88073 int
88074 main ()
88075 {
88076 int f = RLIMIT_DATA ;
88077 ;
88078 return 0;
88079 }
88080 _ACEOF
88081 rm -f conftest.$ac_objext
88082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88083 (eval $ac_compile) 2>conftest.er1
88084 ac_status=$?
88085 grep -v '^ *+' conftest.er1 >conftest.err
88086 rm -f conftest.er1
88087 cat conftest.err >&5
88088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88089 (exit $ac_status); } &&
88090 { ac_try='test -z "$ac_c_werror_flag"
88091 || test ! -s conftest.err'
88092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88093 (eval $ac_try) 2>&5
88094 ac_status=$?
88095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88096 (exit $ac_status); }; } &&
88097 { ac_try='test -s conftest.$ac_objext'
88098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88099 (eval $ac_try) 2>&5
88100 ac_status=$?
88101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88102 (exit $ac_status); }; }; then
88103 glibcxx_mresult=1
88104 else
88105 echo "$as_me: failed program was:" >&5
88106 sed 's/^/| /' conftest.$ac_ext >&5
88107
88108 glibcxx_mresult=0
88109 fi
88110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88111
88112 cat >>confdefs.h <<_ACEOF
88113 #define HAVE_LIMIT_DATA $glibcxx_mresult
88114 _ACEOF
88115
88116 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88117 echo "$as_me:$LINENO: result: $res" >&5
88118 echo "${ECHO_T}$res" >&6
88119
88120
88121 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
88122 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
88123 cat >conftest.$ac_ext <<_ACEOF
88124 /* confdefs.h. */
88125 _ACEOF
88126 cat confdefs.h >>conftest.$ac_ext
88127 cat >>conftest.$ac_ext <<_ACEOF
88128 /* end confdefs.h. */
88129 #include <unistd.h>
88130 #include <sys/time.h>
88131 #include <sys/resource.h>
88132
88133 int
88134 main ()
88135 {
88136 int f = RLIMIT_RSS ;
88137 ;
88138 return 0;
88139 }
88140 _ACEOF
88141 rm -f conftest.$ac_objext
88142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88143 (eval $ac_compile) 2>conftest.er1
88144 ac_status=$?
88145 grep -v '^ *+' conftest.er1 >conftest.err
88146 rm -f conftest.er1
88147 cat conftest.err >&5
88148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88149 (exit $ac_status); } &&
88150 { ac_try='test -z "$ac_c_werror_flag"
88151 || test ! -s conftest.err'
88152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88153 (eval $ac_try) 2>&5
88154 ac_status=$?
88155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88156 (exit $ac_status); }; } &&
88157 { ac_try='test -s conftest.$ac_objext'
88158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88159 (eval $ac_try) 2>&5
88160 ac_status=$?
88161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88162 (exit $ac_status); }; }; then
88163 glibcxx_mresult=1
88164 else
88165 echo "$as_me: failed program was:" >&5
88166 sed 's/^/| /' conftest.$ac_ext >&5
88167
88168 glibcxx_mresult=0
88169 fi
88170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88171
88172 cat >>confdefs.h <<_ACEOF
88173 #define HAVE_LIMIT_RSS $glibcxx_mresult
88174 _ACEOF
88175
88176 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88177 echo "$as_me:$LINENO: result: $res" >&5
88178 echo "${ECHO_T}$res" >&6
88179
88180
88181 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
88182 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
88183 cat >conftest.$ac_ext <<_ACEOF
88184 /* confdefs.h. */
88185 _ACEOF
88186 cat confdefs.h >>conftest.$ac_ext
88187 cat >>conftest.$ac_ext <<_ACEOF
88188 /* end confdefs.h. */
88189 #include <unistd.h>
88190 #include <sys/time.h>
88191 #include <sys/resource.h>
88192
88193 int
88194 main ()
88195 {
88196 int f = RLIMIT_VMEM ;
88197 ;
88198 return 0;
88199 }
88200 _ACEOF
88201 rm -f conftest.$ac_objext
88202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88203 (eval $ac_compile) 2>conftest.er1
88204 ac_status=$?
88205 grep -v '^ *+' conftest.er1 >conftest.err
88206 rm -f conftest.er1
88207 cat conftest.err >&5
88208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88209 (exit $ac_status); } &&
88210 { ac_try='test -z "$ac_c_werror_flag"
88211 || test ! -s conftest.err'
88212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88213 (eval $ac_try) 2>&5
88214 ac_status=$?
88215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88216 (exit $ac_status); }; } &&
88217 { ac_try='test -s conftest.$ac_objext'
88218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88219 (eval $ac_try) 2>&5
88220 ac_status=$?
88221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88222 (exit $ac_status); }; }; then
88223 glibcxx_mresult=1
88224 else
88225 echo "$as_me: failed program was:" >&5
88226 sed 's/^/| /' conftest.$ac_ext >&5
88227
88228 glibcxx_mresult=0
88229 fi
88230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88231
88232 cat >>confdefs.h <<_ACEOF
88233 #define HAVE_LIMIT_VMEM $glibcxx_mresult
88234 _ACEOF
88235
88236 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88237 echo "$as_me:$LINENO: result: $res" >&5
88238 echo "${ECHO_T}$res" >&6
88239
88240
88241 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
88242 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
88243 cat >conftest.$ac_ext <<_ACEOF
88244 /* confdefs.h. */
88245 _ACEOF
88246 cat confdefs.h >>conftest.$ac_ext
88247 cat >>conftest.$ac_ext <<_ACEOF
88248 /* end confdefs.h. */
88249 #include <unistd.h>
88250 #include <sys/time.h>
88251 #include <sys/resource.h>
88252
88253 int
88254 main ()
88255 {
88256 int f = RLIMIT_AS ;
88257 ;
88258 return 0;
88259 }
88260 _ACEOF
88261 rm -f conftest.$ac_objext
88262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88263 (eval $ac_compile) 2>conftest.er1
88264 ac_status=$?
88265 grep -v '^ *+' conftest.er1 >conftest.err
88266 rm -f conftest.er1
88267 cat conftest.err >&5
88268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88269 (exit $ac_status); } &&
88270 { ac_try='test -z "$ac_c_werror_flag"
88271 || test ! -s conftest.err'
88272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88273 (eval $ac_try) 2>&5
88274 ac_status=$?
88275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88276 (exit $ac_status); }; } &&
88277 { ac_try='test -s conftest.$ac_objext'
88278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88279 (eval $ac_try) 2>&5
88280 ac_status=$?
88281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88282 (exit $ac_status); }; }; then
88283 glibcxx_mresult=1
88284 else
88285 echo "$as_me: failed program was:" >&5
88286 sed 's/^/| /' conftest.$ac_ext >&5
88287
88288 glibcxx_mresult=0
88289 fi
88290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88291
88292 cat >>confdefs.h <<_ACEOF
88293 #define HAVE_LIMIT_AS $glibcxx_mresult
88294 _ACEOF
88295
88296 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88297 echo "$as_me:$LINENO: result: $res" >&5
88298 echo "${ECHO_T}$res" >&6
88299
88300
88301 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
88302 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
88303 cat >conftest.$ac_ext <<_ACEOF
88304 /* confdefs.h. */
88305 _ACEOF
88306 cat confdefs.h >>conftest.$ac_ext
88307 cat >>conftest.$ac_ext <<_ACEOF
88308 /* end confdefs.h. */
88309 #include <unistd.h>
88310 #include <sys/time.h>
88311 #include <sys/resource.h>
88312
88313 int
88314 main ()
88315 {
88316 int f = RLIMIT_FSIZE ;
88317 ;
88318 return 0;
88319 }
88320 _ACEOF
88321 rm -f conftest.$ac_objext
88322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88323 (eval $ac_compile) 2>conftest.er1
88324 ac_status=$?
88325 grep -v '^ *+' conftest.er1 >conftest.err
88326 rm -f conftest.er1
88327 cat conftest.err >&5
88328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88329 (exit $ac_status); } &&
88330 { ac_try='test -z "$ac_c_werror_flag"
88331 || test ! -s conftest.err'
88332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88333 (eval $ac_try) 2>&5
88334 ac_status=$?
88335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88336 (exit $ac_status); }; } &&
88337 { ac_try='test -s conftest.$ac_objext'
88338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88339 (eval $ac_try) 2>&5
88340 ac_status=$?
88341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88342 (exit $ac_status); }; }; then
88343 glibcxx_mresult=1
88344 else
88345 echo "$as_me: failed program was:" >&5
88346 sed 's/^/| /' conftest.$ac_ext >&5
88347
88348 glibcxx_mresult=0
88349 fi
88350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88351
88352 cat >>confdefs.h <<_ACEOF
88353 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
88354 _ACEOF
88355
88356 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
88357 echo "$as_me:$LINENO: result: $res" >&5
88358 echo "${ECHO_T}$res" >&6
88359
88360
88361 # Check for rlimit, setrlimit.
88362 if test "${ac_setrlimit+set}" = set; then
88363 echo $ECHO_N "(cached) $ECHO_C" >&6
88364 else
88365
88366 cat >conftest.$ac_ext <<_ACEOF
88367 /* confdefs.h. */
88368 _ACEOF
88369 cat confdefs.h >>conftest.$ac_ext
88370 cat >>conftest.$ac_ext <<_ACEOF
88371 /* end confdefs.h. */
88372 #include <unistd.h>
88373 #include <sys/time.h>
88374 #include <sys/resource.h>
88375
88376 int
88377 main ()
88378 {
88379 struct rlimit r;
88380 setrlimit(0, &r);
88381 ;
88382 return 0;
88383 }
88384 _ACEOF
88385 rm -f conftest.$ac_objext
88386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88387 (eval $ac_compile) 2>conftest.er1
88388 ac_status=$?
88389 grep -v '^ *+' conftest.er1 >conftest.err
88390 rm -f conftest.er1
88391 cat conftest.err >&5
88392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88393 (exit $ac_status); } &&
88394 { ac_try='test -z "$ac_c_werror_flag"
88395 || test ! -s conftest.err'
88396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88397 (eval $ac_try) 2>&5
88398 ac_status=$?
88399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88400 (exit $ac_status); }; } &&
88401 { ac_try='test -s conftest.$ac_objext'
88402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88403 (eval $ac_try) 2>&5
88404 ac_status=$?
88405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88406 (exit $ac_status); }; }; then
88407 ac_setrlimit=yes
88408 else
88409 echo "$as_me: failed program was:" >&5
88410 sed 's/^/| /' conftest.$ac_ext >&5
88411
88412 ac_setrlimit=no
88413 fi
88414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88415
88416 fi
88417
88418 fi
88419
88420 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
88421 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
88422 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
88423 ac_res_limits=yes
88424
88425 cat >>confdefs.h <<\_ACEOF
88426 #define _GLIBCXX_RES_LIMITS 1
88427 _ACEOF
88428
88429 else
88430 ac_res_limits=no
88431 fi
88432 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
88433 echo "${ECHO_T}$ac_res_limits" >&6
88434
88435
88436 # Look for setenv, so that extended locale tests can be performed.
88437
88438 echo "$as_me:$LINENO: checking for setenv declaration" >&5
88439 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
88440 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
88441 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
88442 echo $ECHO_N "(cached) $ECHO_C" >&6
88443 else
88444
88445
88446
88447 ac_ext=cc
88448 ac_cpp='$CXXCPP $CPPFLAGS'
88449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88452
88453 cat >conftest.$ac_ext <<_ACEOF
88454 /* confdefs.h. */
88455 _ACEOF
88456 cat confdefs.h >>conftest.$ac_ext
88457 cat >>conftest.$ac_ext <<_ACEOF
88458 /* end confdefs.h. */
88459 #include <stdlib.h>
88460 int
88461 main ()
88462 {
88463 setenv(0, 0, 0);
88464 ;
88465 return 0;
88466 }
88467 _ACEOF
88468 rm -f conftest.$ac_objext
88469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88470 (eval $ac_compile) 2>conftest.er1
88471 ac_status=$?
88472 grep -v '^ *+' conftest.er1 >conftest.err
88473 rm -f conftest.er1
88474 cat conftest.err >&5
88475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88476 (exit $ac_status); } &&
88477 { ac_try='test -z "$ac_cxx_werror_flag"
88478 || test ! -s conftest.err'
88479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88480 (eval $ac_try) 2>&5
88481 ac_status=$?
88482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88483 (exit $ac_status); }; } &&
88484 { ac_try='test -s conftest.$ac_objext'
88485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88486 (eval $ac_try) 2>&5
88487 ac_status=$?
88488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88489 (exit $ac_status); }; }; then
88490 glibcxx_cv_func_setenv_use=yes
88491 else
88492 echo "$as_me: failed program was:" >&5
88493 sed 's/^/| /' conftest.$ac_ext >&5
88494
88495 glibcxx_cv_func_setenv_use=no
88496 fi
88497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88498 ac_ext=c
88499 ac_cpp='$CPP $CPPFLAGS'
88500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88503
88504
88505 fi
88506
88507 fi
88508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
88509 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
88510 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
88511
88512 for ac_func in setenv
88513 do
88514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88515 echo "$as_me:$LINENO: checking for $ac_func" >&5
88516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88517 if eval "test \"\${$as_ac_var+set}\" = set"; then
88518 echo $ECHO_N "(cached) $ECHO_C" >&6
88519 else
88520 if test x$gcc_no_link = xyes; then
88521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88523 { (exit 1); exit 1; }; }
88524 fi
88525 cat >conftest.$ac_ext <<_ACEOF
88526 /* confdefs.h. */
88527 _ACEOF
88528 cat confdefs.h >>conftest.$ac_ext
88529 cat >>conftest.$ac_ext <<_ACEOF
88530 /* end confdefs.h. */
88531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88533 #define $ac_func innocuous_$ac_func
88534
88535 /* System header to define __stub macros and hopefully few prototypes,
88536 which can conflict with char $ac_func (); below.
88537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88538 <limits.h> exists even on freestanding compilers. */
88539
88540 #ifdef __STDC__
88541 # include <limits.h>
88542 #else
88543 # include <assert.h>
88544 #endif
88545
88546 #undef $ac_func
88547
88548 /* Override any gcc2 internal prototype to avoid an error. */
88549 #ifdef __cplusplus
88550 extern "C"
88551 {
88552 #endif
88553 /* We use char because int might match the return type of a gcc2
88554 builtin and then its argument prototype would still apply. */
88555 char $ac_func ();
88556 /* The GNU C library defines this for functions which it implements
88557 to always fail with ENOSYS. Some functions are actually named
88558 something starting with __ and the normal name is an alias. */
88559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88560 choke me
88561 #else
88562 char (*f) () = $ac_func;
88563 #endif
88564 #ifdef __cplusplus
88565 }
88566 #endif
88567
88568 int
88569 main ()
88570 {
88571 return f != $ac_func;
88572 ;
88573 return 0;
88574 }
88575 _ACEOF
88576 rm -f conftest.$ac_objext conftest$ac_exeext
88577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88578 (eval $ac_link) 2>conftest.er1
88579 ac_status=$?
88580 grep -v '^ *+' conftest.er1 >conftest.err
88581 rm -f conftest.er1
88582 cat conftest.err >&5
88583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88584 (exit $ac_status); } &&
88585 { ac_try='test -z "$ac_c_werror_flag"
88586 || test ! -s conftest.err'
88587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88588 (eval $ac_try) 2>&5
88589 ac_status=$?
88590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88591 (exit $ac_status); }; } &&
88592 { ac_try='test -s conftest$ac_exeext'
88593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88594 (eval $ac_try) 2>&5
88595 ac_status=$?
88596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88597 (exit $ac_status); }; }; then
88598 eval "$as_ac_var=yes"
88599 else
88600 echo "$as_me: failed program was:" >&5
88601 sed 's/^/| /' conftest.$ac_ext >&5
88602
88603 eval "$as_ac_var=no"
88604 fi
88605 rm -f conftest.err conftest.$ac_objext \
88606 conftest$ac_exeext conftest.$ac_ext
88607 fi
88608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88610 if test `eval echo '${'$as_ac_var'}'` = yes; then
88611 cat >>confdefs.h <<_ACEOF
88612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88613 _ACEOF
88614
88615 fi
88616 done
88617
88618 fi
88619
88620 fi
88621
88622 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
88623 test $enable_symvers != no; then
88624 case "$host" in
88625 *-*-cygwin*)
88626 enable_abi_check=no ;;
88627 *)
88628 enable_abi_check=yes ;;
88629 esac
88630 else
88631 # Only build this as native, since automake does not understand
88632 # CXX_FOR_BUILD.
88633 enable_abi_check=no
88634 fi
88635
88636 # Export file names for ABI checking.
88637 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
88638
88639
88640
88641 # Propagate the target-specific source directories through the build chain.
88642 ATOMICITY_SRCDIR=config/${atomicity_dir}
88643 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
88644 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
88645 OS_INC_SRCDIR=config/${os_include_dir}
88646 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
88647
88648
88649
88650
88651
88652
88653 # Determine cross-compile flags and AM_CONDITIONALs.
88654 #AC_SUBST(GLIBCXX_IS_NATIVE)
88655 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
88656 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
88657 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
88658
88659
88660 if test $is_hosted = yes; then
88661 GLIBCXX_HOSTED_TRUE=
88662 GLIBCXX_HOSTED_FALSE='#'
88663 else
88664 GLIBCXX_HOSTED_TRUE='#'
88665 GLIBCXX_HOSTED_FALSE=
88666 fi
88667
88668
88669
88670
88671 if test $enable_libstdcxx_pch = yes; then
88672 GLIBCXX_BUILD_PCH_TRUE=
88673 GLIBCXX_BUILD_PCH_FALSE='#'
88674 else
88675 GLIBCXX_BUILD_PCH_TRUE='#'
88676 GLIBCXX_BUILD_PCH_FALSE=
88677 fi
88678
88679
88680
88681
88682 if test $enable_cheaders = c; then
88683 GLIBCXX_C_HEADERS_C_TRUE=
88684 GLIBCXX_C_HEADERS_C_FALSE='#'
88685 else
88686 GLIBCXX_C_HEADERS_C_TRUE='#'
88687 GLIBCXX_C_HEADERS_C_FALSE=
88688 fi
88689
88690
88691
88692
88693 if test $enable_cheaders = c_std; then
88694 GLIBCXX_C_HEADERS_C_STD_TRUE=
88695 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
88696 else
88697 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
88698 GLIBCXX_C_HEADERS_C_STD_FALSE=
88699 fi
88700
88701
88702
88703
88704 if test $c_compatibility = yes; then
88705 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
88706 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
88707 else
88708 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
88709 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
88710 fi
88711
88712
88713
88714
88715 if test $enable_libstdcxx_debug = yes; then
88716 GLIBCXX_BUILD_DEBUG_TRUE=
88717 GLIBCXX_BUILD_DEBUG_FALSE='#'
88718 else
88719 GLIBCXX_BUILD_DEBUG_TRUE='#'
88720 GLIBCXX_BUILD_DEBUG_FALSE=
88721 fi
88722
88723
88724
88725
88726 if test $enable_symvers != no; then
88727 ENABLE_SYMVERS_TRUE=
88728 ENABLE_SYMVERS_FALSE='#'
88729 else
88730 ENABLE_SYMVERS_TRUE='#'
88731 ENABLE_SYMVERS_FALSE=
88732 fi
88733
88734
88735
88736
88737 if test $enable_symvers = gnu; then
88738 ENABLE_SYMVERS_GNU_TRUE=
88739 ENABLE_SYMVERS_GNU_FALSE='#'
88740 else
88741 ENABLE_SYMVERS_GNU_TRUE='#'
88742 ENABLE_SYMVERS_GNU_FALSE=
88743 fi
88744
88745
88746
88747
88748 if test $enable_symvers = gnu-versioned-namespace; then
88749 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
88750 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
88751 else
88752 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
88753 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
88754 fi
88755
88756
88757
88758
88759 if test $enable_symvers = darwin; then
88760 ENABLE_SYMVERS_DARWIN_TRUE=
88761 ENABLE_SYMVERS_DARWIN_FALSE='#'
88762 else
88763 ENABLE_SYMVERS_DARWIN_TRUE='#'
88764 ENABLE_SYMVERS_DARWIN_FALSE=
88765 fi
88766
88767
88768
88769
88770 cat >confcache <<\_ACEOF
88771 # This file is a shell script that caches the results of configure
88772 # tests run on this system so they can be shared between configure
88773 # scripts and configure runs, see configure's option --config-cache.
88774 # It is not useful on other systems. If it contains results you don't
88775 # want to keep, you may remove or edit it.
88776 #
88777 # config.status only pays attention to the cache file if you give it
88778 # the --recheck option to rerun configure.
88779 #
88780 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88781 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88782 # following values.
88783
88784 _ACEOF
88785
88786 # The following way of writing the cache mishandles newlines in values,
88787 # but we know of no workaround that is simple, portable, and efficient.
88788 # So, don't put newlines in cache variables' values.
88789 # Ultrix sh set writes to stderr and can't be redirected directly,
88790 # and sets the high bit in the cache file unless we assign to the vars.
88791 {
88792 (set) 2>&1 |
88793 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88794 *ac_space=\ *)
88795 # `set' does not quote correctly, so add quotes (double-quote
88796 # substitution turns \\\\ into \\, and sed turns \\ into \).
88797 sed -n \
88798 "s/'/'\\\\''/g;
88799 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
88800 ;;
88801 *)
88802 # `set' quotes correctly as required by POSIX, so do not add quotes.
88803 sed -n \
88804 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
88805 ;;
88806 esac;
88807 } |
88808 sed '
88809 t clear
88810 : clear
88811 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
88812 t end
88813 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
88814 : end' >>confcache
88815 if diff $cache_file confcache >/dev/null 2>&1; then :; else
88816 if test -w $cache_file; then
88817 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
88818 cat confcache >$cache_file
88819 else
88820 echo "not updating unwritable cache $cache_file"
88821 fi
88822 fi
88823 rm -f confcache
88824
88825 if test ${multilib} = yes; then
88826 multilib_arg="--enable-multilib"
88827 else
88828 multilib_arg=
88829 fi
88830
88831 # Export all the install information.
88832
88833 glibcxx_toolexecdir=no
88834 glibcxx_toolexeclibdir=no
88835 glibcxx_prefixdir=$prefix
88836
88837 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
88838 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
88839
88840 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
88841 if test "${with_gxx_include_dir+set}" = set; then
88842 withval="$with_gxx_include_dir"
88843 case "$withval" in
88844 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
88845 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
88846 { (exit 1); exit 1; }; } ;;
88847 no) gxx_include_dir=no ;;
88848 *) gxx_include_dir=$withval ;;
88849 esac
88850 else
88851 gxx_include_dir=no
88852 fi;
88853 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88854 echo "${ECHO_T}$gxx_include_dir" >&6
88855
88856 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
88857 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
88858 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
88859 if test "${enable_version_specific_runtime_libs+set}" = set; then
88860 enableval="$enable_version_specific_runtime_libs"
88861 case "$enableval" in
88862 yes) version_specific_libs=yes ;;
88863 no) version_specific_libs=no ;;
88864 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
88865 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
88866 { (exit 1); exit 1; }; };;
88867 esac
88868 else
88869 version_specific_libs=no
88870 fi;
88871 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
88872 echo "${ECHO_T}$version_specific_libs" >&6
88873
88874 # Default case for install directory for include files.
88875 if test $version_specific_libs = no && test $gxx_include_dir = no; then
88876 gxx_include_dir='${prefix}/include/c++/${gcc_version}'
88877 fi
88878
88879 # Version-specific runtime libs processing.
88880 if test $version_specific_libs = yes; then
88881 # Need the gcc compiler version to know where to install libraries
88882 # and header files if --enable-version-specific-runtime-libs option
88883 # is selected. FIXME: these variables are misnamed, there are
88884 # no executables installed in _toolexecdir or _toolexeclibdir.
88885 if test x"$gxx_include_dir" = x"no"; then
88886 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
88887 fi
88888 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88889 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
88890 fi
88891
88892 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
88893 # Install a library built with a cross compiler in tooldir, not libdir.
88894 if test x"$glibcxx_toolexecdir" = x"no"; then
88895 if test -n "$with_cross_host" &&
88896 test x"$with_cross_host" != x"no"; then
88897 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
88898 glibcxx_toolexeclibdir='${toolexecdir}/lib'
88899 else
88900 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
88901 glibcxx_toolexeclibdir='${libdir}'
88902 fi
88903 multi_os_directory=`$CXX -print-multi-os-directory`
88904 case $multi_os_directory in
88905 .) ;; # Avoid trailing /.
88906 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
88907 esac
88908 fi
88909
88910 echo "$as_me:$LINENO: checking for install location" >&5
88911 echo $ECHO_N "checking for install location... $ECHO_C" >&6
88912 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
88913 echo "${ECHO_T}$gxx_include_dir" >&6
88914
88915
88916
88917
88918
88919
88920
88921 # Export all the include and flag information to Makefiles.
88922
88923 # Used for every C++ compile we perform.
88924 GLIBCXX_INCLUDES="\
88925 -I$glibcxx_builddir/include/$host_alias \
88926 -I$glibcxx_builddir/include \
88927 -I$glibcxx_srcdir/libsupc++"
88928
88929 # For Canadian crosses, pick this up too.
88930 if test $CANADIAN = yes; then
88931 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
88932 fi
88933
88934 # Stuff in the actual top level. Currently only used by libsupc++ to
88935 # get unwind* headers from the gcc dir.
88936 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
88937 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
88938
88939 # Now, export this to all the little Makefiles....
88940
88941
88942
88943
88944 # Optimization flags that are probably a good idea for thrill-seekers. Just
88945 # uncomment the lines below and make, everything else is ready to go...
88946 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
88947 OPTIMIZE_CXXFLAGS=
88948
88949
88950 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
88951
88952
88953
88954 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
88955 grep "enable shared" > /dev/null;
88956 then
88957 LIBSUPCXX_PICFLAGS=-prefer-pic
88958 else
88959 LIBSUPCXX_PICFLAGS=
88960 fi
88961
88962
88963 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
88964
88965 ac_config_files="$ac_config_files scripts/testsuite_flags"
88966
88967
88968 ac_config_commands="$ac_config_commands default"
88969
88970
88971 cat >confcache <<\_ACEOF
88972 # This file is a shell script that caches the results of configure
88973 # tests run on this system so they can be shared between configure
88974 # scripts and configure runs, see configure's option --config-cache.
88975 # It is not useful on other systems. If it contains results you don't
88976 # want to keep, you may remove or edit it.
88977 #
88978 # config.status only pays attention to the cache file if you give it
88979 # the --recheck option to rerun configure.
88980 #
88981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
88982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
88983 # following values.
88984
88985 _ACEOF
88986
88987 # The following way of writing the cache mishandles newlines in values,
88988 # but we know of no workaround that is simple, portable, and efficient.
88989 # So, don't put newlines in cache variables' values.
88990 # Ultrix sh set writes to stderr and can't be redirected directly,
88991 # and sets the high bit in the cache file unless we assign to the vars.
88992 {
88993 (set) 2>&1 |
88994 case `(ac_space=' '; set | grep ac_space) 2>&1` in
88995 *ac_space=\ *)
88996 # `set' does not quote correctly, so add quotes (double-quote
88997 # substitution turns \\\\ into \\, and sed turns \\ into \).
88998 sed -n \
88999 "s/'/'\\\\''/g;
89000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
89001 ;;
89002 *)
89003 # `set' quotes correctly as required by POSIX, so do not add quotes.
89004 sed -n \
89005 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
89006 ;;
89007 esac;
89008 } |
89009 sed '
89010 t clear
89011 : clear
89012 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
89013 t end
89014 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
89015 : end' >>confcache
89016 if diff $cache_file confcache >/dev/null 2>&1; then :; else
89017 if test -w $cache_file; then
89018 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
89019 cat confcache >$cache_file
89020 else
89021 echo "not updating unwritable cache $cache_file"
89022 fi
89023 fi
89024 rm -f confcache
89025
89026 test "x$prefix" = xNONE && prefix=$ac_default_prefix
89027 # Let make expand exec_prefix.
89028 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
89029
89030 # VPATH may cause trouble with some makes, so we remove $(srcdir),
89031 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
89032 # trailing colons and then remove the whole line if VPATH becomes empty
89033 # (actually we leave an empty line to preserve line numbers).
89034 if test "x$srcdir" = x.; then
89035 ac_vpsub='/^[ ]*VPATH[ ]*=/{
89036 s/:*\$(srcdir):*/:/;
89037 s/:*\${srcdir}:*/:/;
89038 s/:*@srcdir@:*/:/;
89039 s/^\([^=]*=[ ]*\):*/\1/;
89040 s/:*$//;
89041 s/^[^=]*=[ ]*$//;
89042 }'
89043 fi
89044
89045 DEFS=-DHAVE_CONFIG_H
89046
89047 ac_libobjs=
89048 ac_ltlibobjs=
89049 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
89050 # 1. Remove the extension, and $U if already installed.
89051 ac_i=`echo "$ac_i" |
89052 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
89053 # 2. Add them.
89054 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
89055 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
89056 done
89057 LIBOBJS=$ac_libobjs
89058
89059 LTLIBOBJS=$ac_ltlibobjs
89060
89061
89062 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
89063 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
89064 Usually this means the macro was only invoked conditionally." >&5
89065 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
89066 Usually this means the macro was only invoked conditionally." >&2;}
89067 { (exit 1); exit 1; }; }
89068 fi
89069 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
89070 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89071 Usually this means the macro was only invoked conditionally." >&5
89072 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
89073 Usually this means the macro was only invoked conditionally." >&2;}
89074 { (exit 1); exit 1; }; }
89075 fi
89076 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
89077 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89078 Usually this means the macro was only invoked conditionally." >&5
89079 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
89080 Usually this means the macro was only invoked conditionally." >&2;}
89081 { (exit 1); exit 1; }; }
89082 fi
89083 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
89084 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89085 Usually this means the macro was only invoked conditionally." >&5
89086 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
89087 Usually this means the macro was only invoked conditionally." >&2;}
89088 { (exit 1); exit 1; }; }
89089 fi
89090 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
89091 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89092 Usually this means the macro was only invoked conditionally." >&5
89093 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
89094 Usually this means the macro was only invoked conditionally." >&2;}
89095 { (exit 1); exit 1; }; }
89096 fi
89097 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
89098 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89099 Usually this means the macro was only invoked conditionally." >&5
89100 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
89101 Usually this means the macro was only invoked conditionally." >&2;}
89102 { (exit 1); exit 1; }; }
89103 fi
89104 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
89105 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89106 Usually this means the macro was only invoked conditionally." >&5
89107 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
89108 Usually this means the macro was only invoked conditionally." >&2;}
89109 { (exit 1); exit 1; }; }
89110 fi
89111 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
89112 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
89113 Usually this means the macro was only invoked conditionally." >&5
89114 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
89115 Usually this means the macro was only invoked conditionally." >&2;}
89116 { (exit 1); exit 1; }; }
89117 fi
89118 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
89119 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89120 Usually this means the macro was only invoked conditionally." >&5
89121 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
89122 Usually this means the macro was only invoked conditionally." >&2;}
89123 { (exit 1); exit 1; }; }
89124 fi
89125 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
89126 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89127 Usually this means the macro was only invoked conditionally." >&5
89128 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
89129 Usually this means the macro was only invoked conditionally." >&2;}
89130 { (exit 1); exit 1; }; }
89131 fi
89132 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
89133 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89134 Usually this means the macro was only invoked conditionally." >&5
89135 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
89136 Usually this means the macro was only invoked conditionally." >&2;}
89137 { (exit 1); exit 1; }; }
89138 fi
89139
89140 : ${CONFIG_STATUS=./config.status}
89141 ac_clean_files_save=$ac_clean_files
89142 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
89143 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
89144 echo "$as_me: creating $CONFIG_STATUS" >&6;}
89145 cat >$CONFIG_STATUS <<_ACEOF
89146 #! $SHELL
89147 # Generated by $as_me.
89148 # Run this file to recreate the current configuration.
89149 # Compiler output produced by configure, useful for debugging
89150 # configure, is in config.log if it exists.
89151
89152 debug=false
89153 ac_cs_recheck=false
89154 ac_cs_silent=false
89155 SHELL=\${CONFIG_SHELL-$SHELL}
89156 _ACEOF
89157
89158 cat >>$CONFIG_STATUS <<\_ACEOF
89159 ## --------------------- ##
89160 ## M4sh Initialization. ##
89161 ## --------------------- ##
89162
89163 # Be Bourne compatible
89164 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
89165 emulate sh
89166 NULLCMD=:
89167 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
89168 # is contrary to our usage. Disable this feature.
89169 alias -g '${1+"$@"}'='"$@"'
89170 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
89171 set -o posix
89172 fi
89173 DUALCASE=1; export DUALCASE # for MKS sh
89174
89175 # Support unset when possible.
89176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
89177 as_unset=unset
89178 else
89179 as_unset=false
89180 fi
89181
89182
89183 # Work around bugs in pre-3.0 UWIN ksh.
89184 $as_unset ENV MAIL MAILPATH
89185 PS1='$ '
89186 PS2='> '
89187 PS4='+ '
89188
89189 # NLS nuisances.
89190 for as_var in \
89191 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
89192 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
89193 LC_TELEPHONE LC_TIME
89194 do
89195 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
89196 eval $as_var=C; export $as_var
89197 else
89198 $as_unset $as_var
89199 fi
89200 done
89201
89202 # Required to use basename.
89203 if expr a : '\(a\)' >/dev/null 2>&1; then
89204 as_expr=expr
89205 else
89206 as_expr=false
89207 fi
89208
89209 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
89210 as_basename=basename
89211 else
89212 as_basename=false
89213 fi
89214
89215
89216 # Name of the executable.
89217 as_me=`$as_basename "$0" ||
89218 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
89219 X"$0" : 'X\(//\)$' \| \
89220 X"$0" : 'X\(/\)$' \| \
89221 . : '\(.\)' 2>/dev/null ||
89222 echo X/"$0" |
89223 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
89224 /^X\/\(\/\/\)$/{ s//\1/; q; }
89225 /^X\/\(\/\).*/{ s//\1/; q; }
89226 s/.*/./; q'`
89227
89228
89229 # PATH needs CR, and LINENO needs CR and PATH.
89230 # Avoid depending upon Character Ranges.
89231 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
89232 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89233 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
89234 as_cr_digits='0123456789'
89235 as_cr_alnum=$as_cr_Letters$as_cr_digits
89236
89237 # The user is always right.
89238 if test "${PATH_SEPARATOR+set}" != set; then
89239 echo "#! /bin/sh" >conf$$.sh
89240 echo "exit 0" >>conf$$.sh
89241 chmod +x conf$$.sh
89242 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
89243 PATH_SEPARATOR=';'
89244 else
89245 PATH_SEPARATOR=:
89246 fi
89247 rm -f conf$$.sh
89248 fi
89249
89250
89251 as_lineno_1=$LINENO
89252 as_lineno_2=$LINENO
89253 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89254 test "x$as_lineno_1" != "x$as_lineno_2" &&
89255 test "x$as_lineno_3" = "x$as_lineno_2" || {
89256 # Find who we are. Look in the path if we contain no path at all
89257 # relative or not.
89258 case $0 in
89259 *[\\/]* ) as_myself=$0 ;;
89260 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89261 for as_dir in $PATH
89262 do
89263 IFS=$as_save_IFS
89264 test -z "$as_dir" && as_dir=.
89265 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
89266 done
89267
89268 ;;
89269 esac
89270 # We did not find ourselves, most probably we were run as `sh COMMAND'
89271 # in which case we are not to be found in the path.
89272 if test "x$as_myself" = x; then
89273 as_myself=$0
89274 fi
89275 if test ! -f "$as_myself"; then
89276 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
89277 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
89278 { (exit 1); exit 1; }; }
89279 fi
89280 case $CONFIG_SHELL in
89281 '')
89282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89283 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
89284 do
89285 IFS=$as_save_IFS
89286 test -z "$as_dir" && as_dir=.
89287 for as_base in sh bash ksh sh5; do
89288 case $as_dir in
89289 /*)
89290 if ("$as_dir/$as_base" -c '
89291 as_lineno_1=$LINENO
89292 as_lineno_2=$LINENO
89293 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
89294 test "x$as_lineno_1" != "x$as_lineno_2" &&
89295 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
89296 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
89297 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
89298 CONFIG_SHELL=$as_dir/$as_base
89299 export CONFIG_SHELL
89300 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
89301 fi;;
89302 esac
89303 done
89304 done
89305 ;;
89306 esac
89307
89308 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
89309 # uniformly replaced by the line number. The first 'sed' inserts a
89310 # line-number line before each line; the second 'sed' does the real
89311 # work. The second script uses 'N' to pair each line-number line
89312 # with the numbered line, and appends trailing '-' during
89313 # substitution so that $LINENO is not a special case at line end.
89314 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
89315 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
89316 sed '=' <$as_myself |
89317 sed '
89318 N
89319 s,$,-,
89320 : loop
89321 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
89322 t loop
89323 s,-$,,
89324 s,^['$as_cr_digits']*\n,,
89325 ' >$as_me.lineno &&
89326 chmod +x $as_me.lineno ||
89327 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
89328 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
89329 { (exit 1); exit 1; }; }
89330
89331 # Don't try to exec as it changes $[0], causing all sort of problems
89332 # (the dirname of $[0] is not the place where we might find the
89333 # original and so on. Autoconf is especially sensible to this).
89334 . ./$as_me.lineno
89335 # Exit status is that of the last command.
89336 exit
89337 }
89338
89339
89340 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
89341 *c*,-n*) ECHO_N= ECHO_C='
89342 ' ECHO_T=' ' ;;
89343 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
89344 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
89345 esac
89346
89347 if expr a : '\(a\)' >/dev/null 2>&1; then
89348 as_expr=expr
89349 else
89350 as_expr=false
89351 fi
89352
89353 rm -f conf$$ conf$$.exe conf$$.file
89354 echo >conf$$.file
89355 if ln -s conf$$.file conf$$ 2>/dev/null; then
89356 # We could just check for DJGPP; but this test a) works b) is more generic
89357 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
89358 if test -f conf$$.exe; then
89359 # Don't use ln at all; we don't have any links
89360 as_ln_s='cp -p'
89361 else
89362 as_ln_s='ln -s'
89363 fi
89364 elif ln conf$$.file conf$$ 2>/dev/null; then
89365 as_ln_s=ln
89366 else
89367 as_ln_s='cp -p'
89368 fi
89369 rm -f conf$$ conf$$.exe conf$$.file
89370
89371 if mkdir -p . 2>/dev/null; then
89372 as_mkdir_p=:
89373 else
89374 test -d ./-p && rmdir ./-p
89375 as_mkdir_p=false
89376 fi
89377
89378 as_executable_p="test -f"
89379
89380 # Sed expression to map a string onto a valid CPP name.
89381 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
89382
89383 # Sed expression to map a string onto a valid variable name.
89384 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
89385
89386
89387 # IFS
89388 # We need space, tab and new line, in precisely that order.
89389 as_nl='
89390 '
89391 IFS=" $as_nl"
89392
89393 # CDPATH.
89394 $as_unset CDPATH
89395
89396 exec 6>&1
89397
89398 # Open the log real soon, to keep \$[0] and so on meaningful, and to
89399 # report actual input values of CONFIG_FILES etc. instead of their
89400 # values after options handling. Logging --version etc. is OK.
89401 exec 5>>config.log
89402 {
89403 echo
89404 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
89405 ## Running $as_me. ##
89406 _ASBOX
89407 } >&5
89408 cat >&5 <<_CSEOF
89409
89410 This file was extended by package-unused $as_me version-unused, which was
89411 generated by GNU Autoconf 2.59. Invocation command line was
89412
89413 CONFIG_FILES = $CONFIG_FILES
89414 CONFIG_HEADERS = $CONFIG_HEADERS
89415 CONFIG_LINKS = $CONFIG_LINKS
89416 CONFIG_COMMANDS = $CONFIG_COMMANDS
89417 $ $0 $@
89418
89419 _CSEOF
89420 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
89421 echo >&5
89422 _ACEOF
89423
89424 # Files that config.status was made for.
89425 if test -n "$ac_config_files"; then
89426 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
89427 fi
89428
89429 if test -n "$ac_config_headers"; then
89430 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
89431 fi
89432
89433 if test -n "$ac_config_links"; then
89434 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
89435 fi
89436
89437 if test -n "$ac_config_commands"; then
89438 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
89439 fi
89440
89441 cat >>$CONFIG_STATUS <<\_ACEOF
89442
89443 ac_cs_usage="\
89444 \`$as_me' instantiates files from templates according to the
89445 current configuration.
89446
89447 Usage: $0 [OPTIONS] [FILE]...
89448
89449 -h, --help print this help, then exit
89450 -V, --version print version number, then exit
89451 -q, --quiet do not print progress messages
89452 -d, --debug don't remove temporary files
89453 --recheck update $as_me by reconfiguring in the same conditions
89454 --file=FILE[:TEMPLATE]
89455 instantiate the configuration file FILE
89456 --header=FILE[:TEMPLATE]
89457 instantiate the configuration header FILE
89458
89459 Configuration files:
89460 $config_files
89461
89462 Configuration headers:
89463 $config_headers
89464
89465 Configuration commands:
89466 $config_commands
89467
89468 Report bugs to <bug-autoconf@gnu.org>."
89469 _ACEOF
89470
89471 cat >>$CONFIG_STATUS <<_ACEOF
89472 ac_cs_version="\\
89473 package-unused config.status version-unused
89474 configured by $0, generated by GNU Autoconf 2.59,
89475 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
89476
89477 Copyright (C) 2003 Free Software Foundation, Inc.
89478 This config.status script is free software; the Free Software Foundation
89479 gives unlimited permission to copy, distribute and modify it."
89480 srcdir=$srcdir
89481 INSTALL="$INSTALL"
89482 _ACEOF
89483
89484 cat >>$CONFIG_STATUS <<\_ACEOF
89485 # If no file are specified by the user, then we need to provide default
89486 # value. By we need to know if files were specified by the user.
89487 ac_need_defaults=:
89488 while test $# != 0
89489 do
89490 case $1 in
89491 --*=*)
89492 ac_option=`expr "x$1" : 'x\([^=]*\)='`
89493 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
89494 ac_shift=:
89495 ;;
89496 -*)
89497 ac_option=$1
89498 ac_optarg=$2
89499 ac_shift=shift
89500 ;;
89501 *) # This is not an option, so the user has probably given explicit
89502 # arguments.
89503 ac_option=$1
89504 ac_need_defaults=false;;
89505 esac
89506
89507 case $ac_option in
89508 # Handling of the options.
89509 _ACEOF
89510 cat >>$CONFIG_STATUS <<\_ACEOF
89511 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
89512 ac_cs_recheck=: ;;
89513 --version | --vers* | -V )
89514 echo "$ac_cs_version"; exit 0 ;;
89515 --he | --h)
89516 # Conflict between --help and --header
89517 { { echo "$as_me:$LINENO: error: ambiguous option: $1
89518 Try \`$0 --help' for more information." >&5
89519 echo "$as_me: error: ambiguous option: $1
89520 Try \`$0 --help' for more information." >&2;}
89521 { (exit 1); exit 1; }; };;
89522 --help | --hel | -h )
89523 echo "$ac_cs_usage"; exit 0 ;;
89524 --debug | --d* | -d )
89525 debug=: ;;
89526 --file | --fil | --fi | --f )
89527 $ac_shift
89528 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
89529 ac_need_defaults=false;;
89530 --header | --heade | --head | --hea )
89531 $ac_shift
89532 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
89533 ac_need_defaults=false;;
89534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
89535 | -silent | --silent | --silen | --sile | --sil | --si | --s)
89536 ac_cs_silent=: ;;
89537
89538 # This is an error.
89539 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
89540 Try \`$0 --help' for more information." >&5
89541 echo "$as_me: error: unrecognized option: $1
89542 Try \`$0 --help' for more information." >&2;}
89543 { (exit 1); exit 1; }; } ;;
89544
89545 *) ac_config_targets="$ac_config_targets $1" ;;
89546
89547 esac
89548 shift
89549 done
89550
89551 ac_configure_extra_args=
89552
89553 if $ac_cs_silent; then
89554 exec 6>/dev/null
89555 ac_configure_extra_args="$ac_configure_extra_args --silent"
89556 fi
89557
89558 _ACEOF
89559 cat >>$CONFIG_STATUS <<_ACEOF
89560 if \$ac_cs_recheck; then
89561 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
89562 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
89563 fi
89564
89565 _ACEOF
89566
89567 cat >>$CONFIG_STATUS <<_ACEOF
89568 #
89569 # INIT-COMMANDS section.
89570 #
89571
89572
89573 srcdir="$srcdir"
89574 host="$host"
89575 target="$target"
89576 with_multisubdir="$with_multisubdir"
89577 with_multisrctop="$with_multisrctop"
89578 with_target_subdir="$with_target_subdir"
89579 ac_configure_args="${multilib_arg} ${ac_configure_args}"
89580 multi_basedir="$multi_basedir"
89581 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
89582 CC="$CC"
89583
89584 # Variables needed in config.status (file generation) which aren't already
89585 # passed by autoconf.
89586 SUBDIRS="$SUBDIRS"
89587
89588
89589 _ACEOF
89590
89591
89592
89593 cat >>$CONFIG_STATUS <<\_ACEOF
89594 for ac_config_target in $ac_config_targets
89595 do
89596 case "$ac_config_target" in
89597 # Handling of arguments.
89598 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
89599 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
89600 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
89601 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
89602 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
89603 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
89604 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
89605 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
89606 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
89607 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
89608 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
89609 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
89610 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
89611 { (exit 1); exit 1; }; };;
89612 esac
89613 done
89614
89615 # If the user did not use the arguments to specify the items to instantiate,
89616 # then the envvar interface is used. Set only those that are not.
89617 # We use the long form for the default assignment because of an extremely
89618 # bizarre bug on SunOS 4.1.3.
89619 if $ac_need_defaults; then
89620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
89621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
89622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
89623 fi
89624
89625 # Have a temporary directory for convenience. Make it in the build tree
89626 # simply because there is no reason to put it here, and in addition,
89627 # creating and moving files from /tmp can sometimes cause problems.
89628 # Create a temporary directory, and hook for its removal unless debugging.
89629 $debug ||
89630 {
89631 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
89632 trap '{ (exit 1); exit 1; }' 1 2 13 15
89633 }
89634
89635 # Create a (secure) tmp directory for tmp files.
89636
89637 {
89638 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
89639 test -n "$tmp" && test -d "$tmp"
89640 } ||
89641 {
89642 tmp=./confstat$$-$RANDOM
89643 (umask 077 && mkdir $tmp)
89644 } ||
89645 {
89646 echo "$me: cannot create a temporary directory in ." >&2
89647 { (exit 1); exit 1; }
89648 }
89649
89650 _ACEOF
89651
89652 cat >>$CONFIG_STATUS <<_ACEOF
89653
89654 #
89655 # CONFIG_FILES section.
89656 #
89657
89658 # No need to generate the scripts if there are no CONFIG_FILES.
89659 # This happens for instance when ./config.status config.h
89660 if test -n "\$CONFIG_FILES"; then
89661 # Protect against being on the right side of a sed subst in config.status.
89662 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
89663 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
89664 s,@SHELL@,$SHELL,;t t
89665 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
89666 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
89667 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
89668 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
89669 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
89670 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
89671 s,@exec_prefix@,$exec_prefix,;t t
89672 s,@prefix@,$prefix,;t t
89673 s,@program_transform_name@,$program_transform_name,;t t
89674 s,@bindir@,$bindir,;t t
89675 s,@sbindir@,$sbindir,;t t
89676 s,@libexecdir@,$libexecdir,;t t
89677 s,@datadir@,$datadir,;t t
89678 s,@sysconfdir@,$sysconfdir,;t t
89679 s,@sharedstatedir@,$sharedstatedir,;t t
89680 s,@localstatedir@,$localstatedir,;t t
89681 s,@libdir@,$libdir,;t t
89682 s,@includedir@,$includedir,;t t
89683 s,@oldincludedir@,$oldincludedir,;t t
89684 s,@infodir@,$infodir,;t t
89685 s,@mandir@,$mandir,;t t
89686 s,@build_alias@,$build_alias,;t t
89687 s,@host_alias@,$host_alias,;t t
89688 s,@target_alias@,$target_alias,;t t
89689 s,@DEFS@,$DEFS,;t t
89690 s,@ECHO_C@,$ECHO_C,;t t
89691 s,@ECHO_N@,$ECHO_N,;t t
89692 s,@ECHO_T@,$ECHO_T,;t t
89693 s,@LIBS@,$LIBS,;t t
89694 s,@libtool_VERSION@,$libtool_VERSION,;t t
89695 s,@multi_basedir@,$multi_basedir,;t t
89696 s,@build@,$build,;t t
89697 s,@build_cpu@,$build_cpu,;t t
89698 s,@build_vendor@,$build_vendor,;t t
89699 s,@build_os@,$build_os,;t t
89700 s,@host@,$host,;t t
89701 s,@host_cpu@,$host_cpu,;t t
89702 s,@host_vendor@,$host_vendor,;t t
89703 s,@host_os@,$host_os,;t t
89704 s,@target@,$target,;t t
89705 s,@target_cpu@,$target_cpu,;t t
89706 s,@target_vendor@,$target_vendor,;t t
89707 s,@target_os@,$target_os,;t t
89708 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
89709 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
89710 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
89711 s,@CYGPATH_W@,$CYGPATH_W,;t t
89712 s,@PACKAGE@,$PACKAGE,;t t
89713 s,@VERSION@,$VERSION,;t t
89714 s,@ACLOCAL@,$ACLOCAL,;t t
89715 s,@AUTOCONF@,$AUTOCONF,;t t
89716 s,@AUTOMAKE@,$AUTOMAKE,;t t
89717 s,@AUTOHEADER@,$AUTOHEADER,;t t
89718 s,@MAKEINFO@,$MAKEINFO,;t t
89719 s,@install_sh@,$install_sh,;t t
89720 s,@STRIP@,$STRIP,;t t
89721 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
89722 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
89723 s,@mkdir_p@,$mkdir_p,;t t
89724 s,@AWK@,$AWK,;t t
89725 s,@SET_MAKE@,$SET_MAKE,;t t
89726 s,@am__leading_dot@,$am__leading_dot,;t t
89727 s,@AMTAR@,$AMTAR,;t t
89728 s,@am__tar@,$am__tar,;t t
89729 s,@am__untar@,$am__untar,;t t
89730 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
89731 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
89732 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
89733 s,@CC@,$CC,;t t
89734 s,@ac_ct_CC@,$ac_ct_CC,;t t
89735 s,@EXEEXT@,$EXEEXT,;t t
89736 s,@OBJEXT@,$OBJEXT,;t t
89737 s,@CXX@,$CXX,;t t
89738 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
89739 s,@CFLAGS@,$CFLAGS,;t t
89740 s,@CXXFLAGS@,$CXXFLAGS,;t t
89741 s,@LN_S@,$LN_S,;t t
89742 s,@AS@,$AS,;t t
89743 s,@ac_ct_AS@,$ac_ct_AS,;t t
89744 s,@AR@,$AR,;t t
89745 s,@ac_ct_AR@,$ac_ct_AR,;t t
89746 s,@RANLIB@,$RANLIB,;t t
89747 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
89748 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
89749 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
89750 s,@MAINT@,$MAINT,;t t
89751 s,@LIBTOOL@,$LIBTOOL,;t t
89752 s,@CXXCPP@,$CXXCPP,;t t
89753 s,@CPPFLAGS@,$CPPFLAGS,;t t
89754 s,@enable_shared@,$enable_shared,;t t
89755 s,@enable_static@,$enable_static,;t t
89756 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
89757 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
89758 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
89759 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
89760 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
89761 s,@CSTDIO_H@,$CSTDIO_H,;t t
89762 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
89763 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
89764 s,@CPP@,$CPP,;t t
89765 s,@EGREP@,$EGREP,;t t
89766 s,@check_msgfmt@,$check_msgfmt,;t t
89767 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
89768 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
89769 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
89770 s,@USE_NLS@,$USE_NLS,;t t
89771 s,@CLOCALE_H@,$CLOCALE_H,;t t
89772 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
89773 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
89774 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
89775 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
89776 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
89777 s,@CMONEY_CC@,$CMONEY_CC,;t t
89778 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
89779 s,@CTIME_H@,$CTIME_H,;t t
89780 s,@CTIME_CC@,$CTIME_CC,;t t
89781 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
89782 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
89783 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
89784 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
89785 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
89786 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
89787 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
89788 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
89789 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
89790 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
89791 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
89792 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
89793 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
89794 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
89795 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
89796 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
89797 s,@WERROR@,$WERROR,;t t
89798 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
89799 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
89800 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
89801 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
89802 s,@LIBICONV@,$LIBICONV,;t t
89803 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
89804 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
89805 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
89806 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
89807 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
89808 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
89809 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
89810 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
89811 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
89812 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
89813 s,@baseline_dir@,$baseline_dir,;t t
89814 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
89815 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
89816 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
89817 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
89818 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
89819 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
89820 s,@gxx_include_dir@,$gxx_include_dir,;t t
89821 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
89822 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
89823 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
89824 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
89825 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
89826 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
89827 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
89828 s,@LIBOBJS@,$LIBOBJS,;t t
89829 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
89830 CEOF
89831
89832 _ACEOF
89833
89834 cat >>$CONFIG_STATUS <<\_ACEOF
89835 # Split the substitutions into bite-sized pieces for seds with
89836 # small command number limits, like on Digital OSF/1 and HP-UX.
89837 ac_max_sed_lines=48
89838 ac_sed_frag=1 # Number of current file.
89839 ac_beg=1 # First line for current file.
89840 ac_end=$ac_max_sed_lines # Line after last line for current file.
89841 ac_more_lines=:
89842 ac_sed_cmds=
89843 while $ac_more_lines; do
89844 if test $ac_beg -gt 1; then
89845 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89846 else
89847 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
89848 fi
89849 if test ! -s $tmp/subs.frag; then
89850 ac_more_lines=false
89851 else
89852 # The purpose of the label and of the branching condition is to
89853 # speed up the sed processing (if there are no `@' at all, there
89854 # is no need to browse any of the substitutions).
89855 # These are the two extra sed commands mentioned above.
89856 (echo ':t
89857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
89858 if test -z "$ac_sed_cmds"; then
89859 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
89860 else
89861 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
89862 fi
89863 ac_sed_frag=`expr $ac_sed_frag + 1`
89864 ac_beg=$ac_end
89865 ac_end=`expr $ac_end + $ac_max_sed_lines`
89866 fi
89867 done
89868 if test -z "$ac_sed_cmds"; then
89869 ac_sed_cmds=cat
89870 fi
89871 fi # test -n "$CONFIG_FILES"
89872
89873 _ACEOF
89874 cat >>$CONFIG_STATUS <<\_ACEOF
89875 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
89876 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
89877 case $ac_file in
89878 - | *:- | *:-:* ) # input from stdin
89879 cat >$tmp/stdin
89880 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89881 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89882 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
89883 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
89884 * ) ac_file_in=$ac_file.in ;;
89885 esac
89886
89887 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
89888 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
89889 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89890 X"$ac_file" : 'X\(//\)[^/]' \| \
89891 X"$ac_file" : 'X\(//\)$' \| \
89892 X"$ac_file" : 'X\(/\)' \| \
89893 . : '\(.\)' 2>/dev/null ||
89894 echo X"$ac_file" |
89895 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89896 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89897 /^X\(\/\/\)$/{ s//\1/; q; }
89898 /^X\(\/\).*/{ s//\1/; q; }
89899 s/.*/./; q'`
89900 { if $as_mkdir_p; then
89901 mkdir -p "$ac_dir"
89902 else
89903 as_dir="$ac_dir"
89904 as_dirs=
89905 while test ! -d "$as_dir"; do
89906 as_dirs="$as_dir $as_dirs"
89907 as_dir=`(dirname "$as_dir") 2>/dev/null ||
89908 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
89909 X"$as_dir" : 'X\(//\)[^/]' \| \
89910 X"$as_dir" : 'X\(//\)$' \| \
89911 X"$as_dir" : 'X\(/\)' \| \
89912 . : '\(.\)' 2>/dev/null ||
89913 echo X"$as_dir" |
89914 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
89915 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
89916 /^X\(\/\/\)$/{ s//\1/; q; }
89917 /^X\(\/\).*/{ s//\1/; q; }
89918 s/.*/./; q'`
89919 done
89920 test ! -n "$as_dirs" || mkdir $as_dirs
89921 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
89922 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
89923 { (exit 1); exit 1; }; }; }
89924
89925 ac_builddir=.
89926
89927 if test "$ac_dir" != .; then
89928 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89929 # A "../" for each directory in $ac_dir_suffix.
89930 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
89931 else
89932 ac_dir_suffix= ac_top_builddir=
89933 fi
89934
89935 case $srcdir in
89936 .) # No --srcdir option. We are building in place.
89937 ac_srcdir=.
89938 if test -z "$ac_top_builddir"; then
89939 ac_top_srcdir=.
89940 else
89941 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
89942 fi ;;
89943 [\\/]* | ?:[\\/]* ) # Absolute path.
89944 ac_srcdir=$srcdir$ac_dir_suffix;
89945 ac_top_srcdir=$srcdir ;;
89946 *) # Relative path.
89947 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
89948 ac_top_srcdir=$ac_top_builddir$srcdir ;;
89949 esac
89950
89951 # Do not use `cd foo && pwd` to compute absolute paths, because
89952 # the directories may not exist.
89953 case `pwd` in
89954 .) ac_abs_builddir="$ac_dir";;
89955 *)
89956 case "$ac_dir" in
89957 .) ac_abs_builddir=`pwd`;;
89958 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
89959 *) ac_abs_builddir=`pwd`/"$ac_dir";;
89960 esac;;
89961 esac
89962 case $ac_abs_builddir in
89963 .) ac_abs_top_builddir=${ac_top_builddir}.;;
89964 *)
89965 case ${ac_top_builddir}. in
89966 .) ac_abs_top_builddir=$ac_abs_builddir;;
89967 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
89968 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
89969 esac;;
89970 esac
89971 case $ac_abs_builddir in
89972 .) ac_abs_srcdir=$ac_srcdir;;
89973 *)
89974 case $ac_srcdir in
89975 .) ac_abs_srcdir=$ac_abs_builddir;;
89976 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
89977 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
89978 esac;;
89979 esac
89980 case $ac_abs_builddir in
89981 .) ac_abs_top_srcdir=$ac_top_srcdir;;
89982 *)
89983 case $ac_top_srcdir in
89984 .) ac_abs_top_srcdir=$ac_abs_builddir;;
89985 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
89986 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
89987 esac;;
89988 esac
89989
89990
89991 case $INSTALL in
89992 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
89993 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
89994 esac
89995
89996 if test x"$ac_file" != x-; then
89997 { echo "$as_me:$LINENO: creating $ac_file" >&5
89998 echo "$as_me: creating $ac_file" >&6;}
89999 rm -f "$ac_file"
90000 fi
90001 # Let's still pretend it is `configure' which instantiates (i.e., don't
90002 # use $as_me), people would be surprised to read:
90003 # /* config.h. Generated by config.status. */
90004 if test x"$ac_file" = x-; then
90005 configure_input=
90006 else
90007 configure_input="$ac_file. "
90008 fi
90009 configure_input=$configure_input"Generated from `echo $ac_file_in |
90010 sed 's,.*/,,'` by configure."
90011
90012 # First look for the input files in the build tree, otherwise in the
90013 # src tree.
90014 ac_file_inputs=`IFS=:
90015 for f in $ac_file_in; do
90016 case $f in
90017 -) echo $tmp/stdin ;;
90018 [\\/$]*)
90019 # Absolute (can't be DOS-style, as IFS=:)
90020 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90021 echo "$as_me: error: cannot find input file: $f" >&2;}
90022 { (exit 1); exit 1; }; }
90023 echo "$f";;
90024 *) # Relative
90025 if test -f "$f"; then
90026 # Build tree
90027 echo "$f"
90028 elif test -f "$srcdir/$f"; then
90029 # Source tree
90030 echo "$srcdir/$f"
90031 else
90032 # /dev/null tree
90033 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90034 echo "$as_me: error: cannot find input file: $f" >&2;}
90035 { (exit 1); exit 1; }; }
90036 fi;;
90037 esac
90038 done` || { (exit 1); exit 1; }
90039 _ACEOF
90040 cat >>$CONFIG_STATUS <<_ACEOF
90041 sed "$ac_vpsub
90042 $extrasub
90043 _ACEOF
90044 cat >>$CONFIG_STATUS <<\_ACEOF
90045 :t
90046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
90047 s,@configure_input@,$configure_input,;t t
90048 s,@srcdir@,$ac_srcdir,;t t
90049 s,@abs_srcdir@,$ac_abs_srcdir,;t t
90050 s,@top_srcdir@,$ac_top_srcdir,;t t
90051 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
90052 s,@builddir@,$ac_builddir,;t t
90053 s,@abs_builddir@,$ac_abs_builddir,;t t
90054 s,@top_builddir@,$ac_top_builddir,;t t
90055 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
90056 s,@INSTALL@,$ac_INSTALL,;t t
90057 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
90058 rm -f $tmp/stdin
90059 if test x"$ac_file" != x-; then
90060 mv $tmp/out $ac_file
90061 else
90062 cat $tmp/out
90063 rm -f $tmp/out
90064 fi
90065
90066 # Run the commands associated with the file.
90067 case $ac_file in
90068 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
90069 esac
90070 done
90071 _ACEOF
90072 cat >>$CONFIG_STATUS <<\_ACEOF
90073
90074 #
90075 # CONFIG_HEADER section.
90076 #
90077
90078 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
90079 # NAME is the cpp macro being defined and VALUE is the value it is being given.
90080 #
90081 # ac_d sets the value in "#define NAME VALUE" lines.
90082 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
90083 ac_dB='[ ].*$,\1#\2'
90084 ac_dC=' '
90085 ac_dD=',;t'
90086 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
90087 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
90088 ac_uB='$,\1#\2define\3'
90089 ac_uC=' '
90090 ac_uD=',;t'
90091
90092 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
90093 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
90094 case $ac_file in
90095 - | *:- | *:-:* ) # input from stdin
90096 cat >$tmp/stdin
90097 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90098 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90099 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
90100 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
90101 * ) ac_file_in=$ac_file.in ;;
90102 esac
90103
90104 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
90105 echo "$as_me: creating $ac_file" >&6;}
90106
90107 # First look for the input files in the build tree, otherwise in the
90108 # src tree.
90109 ac_file_inputs=`IFS=:
90110 for f in $ac_file_in; do
90111 case $f in
90112 -) echo $tmp/stdin ;;
90113 [\\/$]*)
90114 # Absolute (can't be DOS-style, as IFS=:)
90115 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90116 echo "$as_me: error: cannot find input file: $f" >&2;}
90117 { (exit 1); exit 1; }; }
90118 # Do quote $f, to prevent DOS paths from being IFS'd.
90119 echo "$f";;
90120 *) # Relative
90121 if test -f "$f"; then
90122 # Build tree
90123 echo "$f"
90124 elif test -f "$srcdir/$f"; then
90125 # Source tree
90126 echo "$srcdir/$f"
90127 else
90128 # /dev/null tree
90129 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
90130 echo "$as_me: error: cannot find input file: $f" >&2;}
90131 { (exit 1); exit 1; }; }
90132 fi;;
90133 esac
90134 done` || { (exit 1); exit 1; }
90135 # Remove the trailing spaces.
90136 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
90137
90138 _ACEOF
90139
90140 # Transform confdefs.h into two sed scripts, `conftest.defines' and
90141 # `conftest.undefs', that substitutes the proper values into
90142 # config.h.in to produce config.h. The first handles `#define'
90143 # templates, and the second `#undef' templates.
90144 # And first: Protect against being on the right side of a sed subst in
90145 # config.status. Protect against being in an unquoted here document
90146 # in config.status.
90147 rm -f conftest.defines conftest.undefs
90148 # Using a here document instead of a string reduces the quoting nightmare.
90149 # Putting comments in sed scripts is not portable.
90150 #
90151 # `end' is used to avoid that the second main sed command (meant for
90152 # 0-ary CPP macros) applies to n-ary macro definitions.
90153 # See the Autoconf documentation for `clear'.
90154 cat >confdef2sed.sed <<\_ACEOF
90155 s/[\\&,]/\\&/g
90156 s,[\\$`],\\&,g
90157 t clear
90158 : clear
90159 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
90160 t end
90161 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
90162 : end
90163 _ACEOF
90164 # If some macros were called several times there might be several times
90165 # the same #defines, which is useless. Nevertheless, we may not want to
90166 # sort them, since we want the *last* AC-DEFINE to be honored.
90167 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
90168 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
90169 rm -f confdef2sed.sed
90170
90171 # This sed command replaces #undef with comments. This is necessary, for
90172 # example, in the case of _POSIX_SOURCE, which is predefined and required
90173 # on some systems where configure will not decide to define it.
90174 cat >>conftest.undefs <<\_ACEOF
90175 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
90176 _ACEOF
90177
90178 # Break up conftest.defines because some shells have a limit on the size
90179 # of here documents, and old seds have small limits too (100 cmds).
90180 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
90181 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
90182 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
90183 echo ' :' >>$CONFIG_STATUS
90184 rm -f conftest.tail
90185 while grep . conftest.defines >/dev/null
90186 do
90187 # Write a limited-size here document to $tmp/defines.sed.
90188 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
90189 # Speed up: don't consider the non `#define' lines.
90190 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
90191 # Work around the forget-to-reset-the-flag bug.
90192 echo 't clr' >>$CONFIG_STATUS
90193 echo ': clr' >>$CONFIG_STATUS
90194 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
90195 echo 'CEOF
90196 sed -f $tmp/defines.sed $tmp/in >$tmp/out
90197 rm -f $tmp/in
90198 mv $tmp/out $tmp/in
90199 ' >>$CONFIG_STATUS
90200 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
90201 rm -f conftest.defines
90202 mv conftest.tail conftest.defines
90203 done
90204 rm -f conftest.defines
90205 echo ' fi # grep' >>$CONFIG_STATUS
90206 echo >>$CONFIG_STATUS
90207
90208 # Break up conftest.undefs because some shells have a limit on the size
90209 # of here documents, and old seds have small limits too (100 cmds).
90210 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
90211 rm -f conftest.tail
90212 while grep . conftest.undefs >/dev/null
90213 do
90214 # Write a limited-size here document to $tmp/undefs.sed.
90215 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
90216 # Speed up: don't consider the non `#undef'
90217 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
90218 # Work around the forget-to-reset-the-flag bug.
90219 echo 't clr' >>$CONFIG_STATUS
90220 echo ': clr' >>$CONFIG_STATUS
90221 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
90222 echo 'CEOF
90223 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
90224 rm -f $tmp/in
90225 mv $tmp/out $tmp/in
90226 ' >>$CONFIG_STATUS
90227 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
90228 rm -f conftest.undefs
90229 mv conftest.tail conftest.undefs
90230 done
90231 rm -f conftest.undefs
90232
90233 cat >>$CONFIG_STATUS <<\_ACEOF
90234 # Let's still pretend it is `configure' which instantiates (i.e., don't
90235 # use $as_me), people would be surprised to read:
90236 # /* config.h. Generated by config.status. */
90237 if test x"$ac_file" = x-; then
90238 echo "/* Generated by configure. */" >$tmp/config.h
90239 else
90240 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
90241 fi
90242 cat $tmp/in >>$tmp/config.h
90243 rm -f $tmp/in
90244 if test x"$ac_file" != x-; then
90245 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
90246 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
90247 echo "$as_me: $ac_file is unchanged" >&6;}
90248 else
90249 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
90250 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90251 X"$ac_file" : 'X\(//\)[^/]' \| \
90252 X"$ac_file" : 'X\(//\)$' \| \
90253 X"$ac_file" : 'X\(/\)' \| \
90254 . : '\(.\)' 2>/dev/null ||
90255 echo X"$ac_file" |
90256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90257 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90258 /^X\(\/\/\)$/{ s//\1/; q; }
90259 /^X\(\/\).*/{ s//\1/; q; }
90260 s/.*/./; q'`
90261 { if $as_mkdir_p; then
90262 mkdir -p "$ac_dir"
90263 else
90264 as_dir="$ac_dir"
90265 as_dirs=
90266 while test ! -d "$as_dir"; do
90267 as_dirs="$as_dir $as_dirs"
90268 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90270 X"$as_dir" : 'X\(//\)[^/]' \| \
90271 X"$as_dir" : 'X\(//\)$' \| \
90272 X"$as_dir" : 'X\(/\)' \| \
90273 . : '\(.\)' 2>/dev/null ||
90274 echo X"$as_dir" |
90275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90276 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90277 /^X\(\/\/\)$/{ s//\1/; q; }
90278 /^X\(\/\).*/{ s//\1/; q; }
90279 s/.*/./; q'`
90280 done
90281 test ! -n "$as_dirs" || mkdir $as_dirs
90282 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90283 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90284 { (exit 1); exit 1; }; }; }
90285
90286 rm -f $ac_file
90287 mv $tmp/config.h $ac_file
90288 fi
90289 else
90290 cat $tmp/config.h
90291 rm -f $tmp/config.h
90292 fi
90293 # Compute $ac_file's index in $config_headers.
90294 _am_stamp_count=1
90295 for _am_header in $config_headers :; do
90296 case $_am_header in
90297 $ac_file | $ac_file:* )
90298 break ;;
90299 * )
90300 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
90301 esac
90302 done
90303 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
90304 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90305 X$ac_file : 'X\(//\)[^/]' \| \
90306 X$ac_file : 'X\(//\)$' \| \
90307 X$ac_file : 'X\(/\)' \| \
90308 . : '\(.\)' 2>/dev/null ||
90309 echo X$ac_file |
90310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90311 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90312 /^X\(\/\/\)$/{ s//\1/; q; }
90313 /^X\(\/\).*/{ s//\1/; q; }
90314 s/.*/./; q'`/stamp-h$_am_stamp_count
90315 done
90316 _ACEOF
90317 cat >>$CONFIG_STATUS <<\_ACEOF
90318
90319 #
90320 # CONFIG_COMMANDS section.
90321 #
90322 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
90323 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
90324 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
90325 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
90326 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90327 X"$ac_dest" : 'X\(//\)[^/]' \| \
90328 X"$ac_dest" : 'X\(//\)$' \| \
90329 X"$ac_dest" : 'X\(/\)' \| \
90330 . : '\(.\)' 2>/dev/null ||
90331 echo X"$ac_dest" |
90332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90334 /^X\(\/\/\)$/{ s//\1/; q; }
90335 /^X\(\/\).*/{ s//\1/; q; }
90336 s/.*/./; q'`
90337 { if $as_mkdir_p; then
90338 mkdir -p "$ac_dir"
90339 else
90340 as_dir="$ac_dir"
90341 as_dirs=
90342 while test ! -d "$as_dir"; do
90343 as_dirs="$as_dir $as_dirs"
90344 as_dir=`(dirname "$as_dir") 2>/dev/null ||
90345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
90346 X"$as_dir" : 'X\(//\)[^/]' \| \
90347 X"$as_dir" : 'X\(//\)$' \| \
90348 X"$as_dir" : 'X\(/\)' \| \
90349 . : '\(.\)' 2>/dev/null ||
90350 echo X"$as_dir" |
90351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
90352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
90353 /^X\(\/\/\)$/{ s//\1/; q; }
90354 /^X\(\/\).*/{ s//\1/; q; }
90355 s/.*/./; q'`
90356 done
90357 test ! -n "$as_dirs" || mkdir $as_dirs
90358 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
90359 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
90360 { (exit 1); exit 1; }; }; }
90361
90362 ac_builddir=.
90363
90364 if test "$ac_dir" != .; then
90365 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
90366 # A "../" for each directory in $ac_dir_suffix.
90367 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90368 else
90369 ac_dir_suffix= ac_top_builddir=
90370 fi
90371
90372 case $srcdir in
90373 .) # No --srcdir option. We are building in place.
90374 ac_srcdir=.
90375 if test -z "$ac_top_builddir"; then
90376 ac_top_srcdir=.
90377 else
90378 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
90379 fi ;;
90380 [\\/]* | ?:[\\/]* ) # Absolute path.
90381 ac_srcdir=$srcdir$ac_dir_suffix;
90382 ac_top_srcdir=$srcdir ;;
90383 *) # Relative path.
90384 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
90385 ac_top_srcdir=$ac_top_builddir$srcdir ;;
90386 esac
90387
90388 # Do not use `cd foo && pwd` to compute absolute paths, because
90389 # the directories may not exist.
90390 case `pwd` in
90391 .) ac_abs_builddir="$ac_dir";;
90392 *)
90393 case "$ac_dir" in
90394 .) ac_abs_builddir=`pwd`;;
90395 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
90396 *) ac_abs_builddir=`pwd`/"$ac_dir";;
90397 esac;;
90398 esac
90399 case $ac_abs_builddir in
90400 .) ac_abs_top_builddir=${ac_top_builddir}.;;
90401 *)
90402 case ${ac_top_builddir}. in
90403 .) ac_abs_top_builddir=$ac_abs_builddir;;
90404 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
90405 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
90406 esac;;
90407 esac
90408 case $ac_abs_builddir in
90409 .) ac_abs_srcdir=$ac_srcdir;;
90410 *)
90411 case $ac_srcdir in
90412 .) ac_abs_srcdir=$ac_abs_builddir;;
90413 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
90414 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
90415 esac;;
90416 esac
90417 case $ac_abs_builddir in
90418 .) ac_abs_top_srcdir=$ac_top_srcdir;;
90419 *)
90420 case $ac_top_srcdir in
90421 .) ac_abs_top_srcdir=$ac_abs_builddir;;
90422 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
90423 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
90424 esac;;
90425 esac
90426
90427
90428 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
90429 echo "$as_me: executing $ac_dest commands" >&6;}
90430 case $ac_dest in
90431 default-1 )
90432 # Only add multilib support code if we just rebuilt the top-level
90433 # Makefile.
90434 case " $CONFIG_FILES " in
90435 *" Makefile "*)
90436 ac_file=Makefile . ${multi_basedir}/config-ml.in
90437 ;;
90438 esac ;;
90439 default ) if test -n "$CONFIG_FILES"; then
90440 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
90441 # that multilib installs will end up installed in the correct place.
90442 # The testsuite needs it for multilib-aware ABI baseline files.
90443 # To work around this not being passed down from config-ml.in ->
90444 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
90445 # append it here. Only modify Makefiles that have just been created.
90446 #
90447 # Also, get rid of this simulated-VPATH thing that automake does.
90448 cat > vpsed << \_EOF
90449 s!`test -f '$<' || echo '$(srcdir)/'`!!
90450 _EOF
90451 for i in $SUBDIRS; do
90452 case $CONFIG_FILES in
90453 *${i}/Makefile*)
90454 #echo "Adding MULTISUBDIR to $i/Makefile"
90455 sed -f vpsed $i/Makefile > tmp
90456 grep '^MULTISUBDIR =' Makefile >> tmp
90457 mv tmp $i/Makefile
90458 ;;
90459 esac
90460 done
90461 rm vpsed
90462 fi
90463 (cd include && ${MAKE-make})
90464 ;;
90465 esac
90466 done
90467 _ACEOF
90468
90469 cat >>$CONFIG_STATUS <<\_ACEOF
90470
90471 { (exit 0); exit 0; }
90472 _ACEOF
90473 chmod +x $CONFIG_STATUS
90474 ac_clean_files=$ac_clean_files_save
90475
90476
90477 # configure is writing to config.log, and then calls config.status.
90478 # config.status does its own redirection, appending to config.log.
90479 # Unfortunately, on DOS this fails, as config.log is still kept open
90480 # by configure, so config.status won't be able to write to it; its
90481 # output is simply discarded. So we exec the FD to /dev/null,
90482 # effectively closing config.log, so it can be properly (re)opened and
90483 # appended to by config.status. When coming back to configure, we
90484 # need to make the FD available again.
90485 if test "$no_create" != yes; then
90486 ac_cs_success=:
90487 ac_config_status_args=
90488 test "$silent" = yes &&
90489 ac_config_status_args="$ac_config_status_args --quiet"
90490 exec 5>/dev/null
90491 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
90492 exec 5>>config.log
90493 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
90494 # would make configure fail if this is the last instruction.
90495 $ac_cs_success || { (exit 1); exit 1; }
90496 fi
90497
This page took 5.087904 seconds and 6 git commands to generate.